id
stringlengths
4
63
text
stringlengths
153
8.81M
hid_match_report(9)
NAME hid_match_report - check if driver's raw_event should be called SYNOPSIS int hid_match_report (struct hid_device *hid , struct hid_report *report ); ARGUMENTS hid hid device report hid report to match against DESCRIPTION compare hid->driver->report_table->report_type to report->type SEE AL...
hid_match_usage(9)
NAME hid_match_usage - check if driver's event should be called SYNOPSIS int hid_match_usage (struct hid_device *hid , struct hid_usage *usage ); ARGUMENTS hid hid device usage usage to match against DESCRIPTION compare hid->driver->usage_table->usage_{type,code} to usage->usage_{type,code} SE...
hid_modify_dquirk(9)
NAME hid_modify_dquirk - add/replace a HID quirk SYNOPSIS int hid_modify_dquirk (const struct hid_device_id *id , const unsigned long quirks ); ARGUMENTS id the HID device to match quirks the unsigned long quirks value to add/replace DESCRIPTION If an dynamic quirk exists in memory for this dev...
hid_open_report(9)
NAME hid_open_report - open a driver-specific device report SYNOPSIS int hid_open_report (struct hid_device *device ); ARGUMENTS device hid device DESCRIPTION Parse a report description into a hid_device structure. Reports are enumerated, fields are attached to these reports. 0 returned on success, otherw...
hid_parse(9)
NAME hid_parse - parse HW reports SYNOPSIS int hid_parse (struct hid_device *hdev ); ARGUMENTS hdev hid device DESCRIPTION Call this from probe after you set up the device (if needed). Your report_fixup will be called (if non-NULL) after reading raw report from device before passing it to hid layer for real p...
hid_parse_report(9)
NAME hid_parse_report - parse device report SYNOPSIS int hid_parse_report (struct hid_device *hid , const __u8 *start , unsigned size ); ARGUMENTS hid hid device start report start size report size DESCRIPTION Allocate the device report as read by the bus driver. This function sh...
hid_quirks_exit(9)
NAME hid_quirks_exit - release memory associated with dynamic_quirks SYNOPSIS void hid_quirks_exit (__u16 bus ); ARGUMENTS bus a bus to match against DESCRIPTION Release all memory associated with dynamic quirks for a given bus. Called upon module unload. Use HID_BUS_ANY to remove all dynamic quirks. RETU...
hid_quirks_init(9)
NAME hid_quirks_init - apply HID quirks specified at module load time SYNOPSIS int hid_quirks_init (char **quirks_param , __u16 bus , int count ); ARGUMENTS quirks_param array of quirks strings (vendor:product:quirks) bus bus type count number of quirks to check SEE ALSO Kernel file ./d...
hid_remove_all_dquirks(9)
NAME hid_remove_all_dquirks - remove all runtime HID quirks from memory SYNOPSIS void hid_remove_all_dquirks (__u16 bus ); ARGUMENTS bus bus to match against. Use HID_BUS_ANY if all need to be removed. DESCRIPTION Free all memory associated with dynamic quirks - called before module unload. SEE ALSO Kernel ...
hid_report_len(9)
NAME hid_report_len - calculate the report length SYNOPSIS u32 hid_report_len (struct hid_report *report ); ARGUMENTS report the report whose length we want to know DESCRIPTION The length counts the report ID byte, but only if the ID is nonzero and therefore is included in the report. Reports whose ID is zero ...
hid_validate_values(9)
NAME hid_validate_values - validate existing device report's value indexes SYNOPSIS struct hid_report * hid_validate_values (struct hid_device *hid , enum hid_report_type type , unsigned int id , unsigned int field_index , unsigned int report_counts ); ARGUMENTS hid hid device type which report...
hide_panel.3x(3)
NAME panel - panel stack extension for curses SYNOPSIS #include <panel.h> PANEL *new_panel(WINDOW *win); int bottom_panel(PANEL *pan); int top_panel(PANEL *pan); int show_panel(PANEL *pan); void update_panels(void); int hide_panel(PANEL *pan); WINDOW *panel_window(co...
hidinput_calc_abs_res(9)
NAME hidinput_calc_abs_res - calculate an absolute axis resolution SYNOPSIS __s32 hidinput_calc_abs_res (const struct hid_field *field , __u16 code ); ARGUMENTS field the HID report field to calculate resolution for code axis code DESCRIPTION The formula is: (logical_maximum - logical_minimum) r...
hidpp10_set_register(9)
NAME hidpp10_set_register - Modify a HID++ 1.0 register. SYNOPSIS int hidpp10_set_register (struct hidpp_device *hidpp_dev , u8 register_address , u8 byte , u8 mask , u8 value ); ARGUMENTS hidpp_dev the device to set the register on. register_address the address of the register to modify....
hidpp_scroll_counter_handle_scroll(9)
NAME hidpp_scroll_counter_handle_scroll - Send high- and low-resolution scroll events given a high-resolution wheel movement. SYNOPSIS void hidpp_scroll_counter_handle_scroll (struct input_dev *input_dev , struct hidpp_scroll_counter *counter , int hi_res_value ); ARGUMENTS input_dev Pointer to the input device ...
hier(7)
NAME hier - description of the filesystem hierarchy DESCRIPTION A typical Linux system has, among others, the following directories: / This is the root directory. This is where the whole tree starts. /bin This directory contains executable programs which are needed in single user mode and to br...
highest_data_key(9)
NAME highest_data_key - get the highest possible data key for an inode. SYNOPSIS void highest_data_key (const struct ubifs_info *c , union ubifs_key *key , ino_t inum ); ARGUMENTS c UBIFS file-system description object key key to initialize inum inode number SEE ALSO Kernel ...
highest_flag_domain(9)
NAME highest_flag_domain - Return highest sched_domain containing flag. SYNOPSIS struct sched_domain * highest_flag_domain (int cpu , int flag ); ARGUMENTS cpu The CPU whose highest level of sched domain is to be returned. flag The flag to check for the highest sched_domain for the given CPU. ...
highest_ino_key(9)
NAME highest_ino_key - get the highest possible inode key. SYNOPSIS void highest_ino_key (const struct ubifs_info *c , union ubifs_key *key , ino_t inum ); ARGUMENTS c UBIFS file-system description object key key to initialize inum inode number SEE ALSO Kernel file ./fs/ubi...
hih6130_humidity_show(9)
NAME hih6130_humidity_show - show humidity measurement value in sysfs SYNOPSIS ssize_t hih6130_humidity_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device attr device attribute buf sysfs buffer (PAGE_SIZE) where measurement values are wr...
hih6130_rh_ticks_to_per_cent_mille(9)
NAME hih6130_rh_ticks_to_per_cent_mille - convert raw humidity ticks to one-thousandths of a percent relative humidity SYNOPSIS int hih6130_rh_ticks_to_per_cent_mille (int ticks ); ARGUMENTS ticks humidity ticks value received from sensor SEE ALSO Kernel file ./drivers/hwmon/hih6130.c struct hih6130(9), hih613...
hih6130_temp_ticks_to_millicelsius(9)
NAME hih6130_temp_ticks_to_millicelsius - convert raw temperature ticks to milli celsius SYNOPSIS int hih6130_temp_ticks_to_millicelsius (int ticks ); ARGUMENTS ticks temperature ticks value received from sensor SEE ALSO Kernel file ./drivers/hwmon/hih6130.c struct hih6130(9), hih6130_rh_ticks_to_per_cent_mill...
hih6130_temperature_show(9)
NAME hih6130_temperature_show - show temperature measurement value in sysfs SYNOPSIS ssize_t hih6130_temperature_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device attr device attribute buf sysfs buffer (PAGE_SIZE) where measurement valu...
hih6130_update_measurements(9)
NAME hih6130_update_measurements - get updated measurements from device SYNOPSIS int hih6130_update_measurements (struct device *dev ); ARGUMENTS dev device DESCRIPTION Returns 0 on success, else negative errno. SEE ALSO Kernel file ./drivers/hwmon/hih6130.c struct hih6130(9), hih6130_temp_ticks_to_millicel...
hinfo_to_cinfo(9)
NAME hinfo_to_cinfo - Convert new format hba info into old format SYNOPSIS void hinfo_to_cinfo (mraid_hba_info_t *hinfo , mcontroller_t *cinfo ); ARGUMENTS hinfo New format, more comprehensive adapter info cinfo Old format adapter info to support mimd_t apps SEE ALSO Kernel file ./drivers/scsi/me...
hinic_aeq_register_hw_cb(9)
NAME hinic_aeq_register_hw_cb - register AEQ callback for specific event SYNOPSIS void hinic_aeq_register_hw_cb (struct hinic_aeqs *aeqs , enum hinic_aeq_type event , void *handle , void (*hwe_handler)(void *handle, void *data, u8 size) ); ARGUMENTS aeqs pointer to Async eqs of the chip event aeq...
hinic_aeq_unregister_hw_cb(9)
NAME hinic_aeq_unregister_hw_cb - unregister the AEQ callback for specific event SYNOPSIS void hinic_aeq_unregister_hw_cb (struct hinic_aeqs *aeqs , enum hinic_aeq_type event ); ARGUMENTS aeqs pointer to Async eqs of the chip event aeq event to unregister callback for it SEE ALSO Kernel file ....
hinic_aeqs_free(9)
NAME hinic_aeqs_free - free all the aeqs SYNOPSIS void hinic_aeqs_free (struct hinic_aeqs *aeqs ); ARGUMENTS aeqs pointer to Async eqs of the chip SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c hinic_aeq_register_hw_cb(9), hinic_aeq_unregister_hw_cb(9), hinic_ceq_register_cb(9), ...
hinic_aeqs_init(9)
NAME hinic_aeqs_init - initialize all the aeqs SYNOPSIS int hinic_aeqs_init (struct hinic_aeqs *aeqs , struct hinic_hwif *hwif , int num_aeqs , u32 q_len , u32 page_size , struct msix_entry *msix_entries ); ARGUMENTS aeqs pointer to Async eqs of the chip hwif the HW interface of a PCI function d...
hinic_alloc_cmdq_buf(9)
NAME hinic_alloc_cmdq_buf - alloc buffer for sending command SYNOPSIS int hinic_alloc_cmdq_buf (struct hinic_cmdqs *cmdqs , struct hinic_cmdq_buf *cmdq_buf ); ARGUMENTS cmdqs the cmdqs cmdq_buf the buffer returned in this struct DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel f...
hinic_api_cmd_free(9)
NAME hinic_api_cmd_free - free the API CMD chains SYNOPSIS void hinic_api_cmd_free (struct hinic_api_cmd_chain **chain ); ARGUMENTS chain the API CMD chains that are freed SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c chain_busy(9), get_cell_data_size(9), prepare_cell_ctrl(9)...
hinic_api_cmd_init(9)
NAME hinic_api_cmd_init - Initialize all the API CMD chains SYNOPSIS int hinic_api_cmd_init (struct hinic_api_cmd_chain **chain , struct hinic_hwif *hwif ); ARGUMENTS chain the API CMD chains that are initialized hwif the hardware interface of a pci function device DESCRIPTION Return 0 - Success...
hinic_api_cmd_write(9)
NAME hinic_api_cmd_write - Write API CMD command SYNOPSIS int hinic_api_cmd_write (struct hinic_api_cmd_chain *chain , enum hinic_node_id dest , u8 *cmd , u16 size ); ARGUMENTS chain chain for write command dest destination node on the card that will receive the command cmd comman...
hinic_be32_to_cpu(9)
NAME hinic_be32_to_cpu - convert data from big endian 32 bit format SYNOPSIS void hinic_be32_to_cpu (void *data , int len ); ARGUMENTS data the data to convert len length of data to convert SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_common.c hinic_cpu_to_be32(9), hinic_set_...
hinic_ceq_register_cb(9)
NAME hinic_ceq_register_cb - register CEQ callback for specific event SYNOPSIS void hinic_ceq_register_cb (struct hinic_ceqs *ceqs , enum hinic_ceq_type event , void *handle , void (*handler)(void *handle, u32 ceqe_data) ); ARGUMENTS ceqs pointer to Completion eqs part of the chip event ceq event...
hinic_ceq_unregister_cb(9)
NAME hinic_ceq_unregister_cb - unregister the CEQ callback for specific event SYNOPSIS void hinic_ceq_unregister_cb (struct hinic_ceqs *ceqs , enum hinic_ceq_type event ); ARGUMENTS ceqs pointer to Completion eqs part of the chip event ceq event to unregister callback for it SEE ALSO Kernel fil...
hinic_ceqs_free(9)
NAME hinic_ceqs_free - free all the ceqs SYNOPSIS void hinic_ceqs_free (struct hinic_ceqs *ceqs ); ARGUMENTS ceqs ceqs part of the chip SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c hinic_aeq_register_hw_cb(9), hinic_aeq_unregister_hw_cb(9), hinic_ceq_register_cb(9), hinic_ceq_unreg...
hinic_ceqs_init(9)
NAME hinic_ceqs_init - init all the ceqs SYNOPSIS int hinic_ceqs_init (struct hinic_ceqs *ceqs , struct hinic_hwif *hwif , int num_ceqs , u32 q_len , u32 page_size , struct msix_entry *msix_entries ); ARGUMENTS ceqs ceqs part of the chip hwif the hardware interface of a pci function device ...
hinic_clean_rq(9)
NAME hinic_clean_rq - Clean HW Receive Queue's Resources SYNOPSIS void hinic_clean_rq (struct hinic_rq *rq ); ARGUMENTS rq HW Receive Queue SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c alloc_sq_skb_arr(9), free_sq_skb_arr(9), alloc_rq_skb_arr(9), free_rq_skb_arr(9), hinic_in...
hinic_clean_rxq(9)
NAME hinic_clean_rxq - Clean the Rx Queue SYNOPSIS void hinic_clean_rxq (struct hinic_rxq *rxq ); ARGUMENTS rxq Logical Rx Queue SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_rx.c hinic_rxq_clean_stats(9), hinic_rxq_get_stats(9), rxq_stats_init(9), rx_alloc_skb(9), rx_unmap_skb(9), rx_f...
hinic_clean_sq(9)
NAME hinic_clean_sq - Clean HW Send Queue's Resources SYNOPSIS void hinic_clean_sq (struct hinic_sq *sq ); ARGUMENTS sq Send Queue SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c alloc_sq_skb_arr(9), free_sq_skb_arr(9), alloc_rq_skb_arr(9), free_rq_skb_arr(9), hinic_init_sq(9),...
hinic_clean_txq(9)
NAME hinic_clean_txq - Clean the Tx Queue SYNOPSIS void hinic_clean_txq (struct hinic_txq *txq ); ARGUMENTS txq Logical Tx Queue SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_tx.c hinic_txq_clean_stats(9), hinic_txq_get_stats(9), txq_stats_init(9), tx_map_skb(9), tx_unmap_skb(9), tx_free_skb...
hinic_cmdq_direct_resp(9)
NAME hinic_cmdq_direct_resp - send command with direct data as resp SYNOPSIS int hinic_cmdq_direct_resp (struct hinic_cmdqs *cmdqs , enum hinic_mod_type mod , u8 cmd , struct hinic_cmdq_buf *buf_in , u64 *resp ); ARGUMENTS cmdqs the cmdqs mod module on the card that will handle the command ...
hinic_cpu_to_be32(9)
NAME hinic_cpu_to_be32 - convert data to big endian 32 bit format SYNOPSIS void hinic_cpu_to_be32 (void *data , int len ); ARGUMENTS data the data to convert len length of data to convert SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_common.c hinic_be32_to_cpu(9), hinic_set_sg...
hinic_free_cmdq_buf(9)
NAME hinic_free_cmdq_buf - free buffer SYNOPSIS void hinic_free_cmdq_buf (struct hinic_cmdqs *cmdqs , struct hinic_cmdq_buf *cmdq_buf ); ARGUMENTS cmdqs the cmdqs cmdq_buf the buffer to free that is in this struct SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c hinic_a...
hinic_free_cmdqs(9)
NAME hinic_free_cmdqs - free all cmdqs SYNOPSIS void hinic_free_cmdqs (struct hinic_cmdqs *cmdqs ); ARGUMENTS cmdqs cmdqs to free SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c hinic_alloc_cmdq_buf(9), hinic_free_cmdq_buf(9), hinic_cmdq_direct_resp(9), hinic_set_arm_bit(9), cm...
hinic_free_hwdev(9)
NAME hinic_free_hwdev - Free the NIC HW device SYNOPSIS void hinic_free_hwdev (struct hinic_hwdev *hwdev ); ARGUMENTS hwdev the NIC HW device SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c parse_capability(9), get_capability(9), get_dev_cap(9), init_msix(9), disable_msix(9), hinic_por...
hinic_free_hwif(9)
NAME hinic_free_hwif - free the HW interface SYNOPSIS void hinic_free_hwif (struct hinic_hwif *hwif ); ARGUMENTS hwif the HW interface of a pci function device SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_if.c hinic_msix_attr_set(9), hinic_msix_attr_cnt_clear(9), hinic_set_pf_action(9), ...
hinic_get_rq_free_wqebbs(9)
NAME hinic_get_rq_free_wqebbs - return number of free wqebbs for use SYNOPSIS int hinic_get_rq_free_wqebbs (struct hinic_rq *rq ); ARGUMENTS rq recv queue DESCRIPTION Return number of free wqebbs SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c alloc_sq_skb_arr(9), free_sq_skb_arr...
hinic_get_sq_free_wqebbs(9)
NAME hinic_get_sq_free_wqebbs - return number of free wqebbs for use SYNOPSIS int hinic_get_sq_free_wqebbs (struct hinic_sq *sq ); ARGUMENTS sq send queue DESCRIPTION Return number of free wqebbs SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c alloc_sq_skb_arr(9), free_sq_skb_arr...
hinic_get_wqe(9)
NAME hinic_get_wqe - get wqe ptr in the current pi and update the pi SYNOPSIS struct hinic_hw_wqe * hinic_get_wqe (struct hinic_wq *wq , unsigned int wqe_size , u16 *prod_idx ); ARGUMENTS wq wq to get wqe from wqe_size wqe size prod_idx returned pi DESCRIPTION Return wqe pointer SEE A...
hinic_hwdev_cb_register(9)
NAME hinic_hwdev_cb_register - register callback handler for MGMT events SYNOPSIS void hinic_hwdev_cb_register (struct hinic_hwdev *hwdev , enum hinic_mgmt_msg_cmd cmd , void *handle , void (*handler)(void *handle, void *buf_in, u16 in_size, void *buf_out, u16 *out_size) ); ARGUMENTS hwdev the NIC HW device ...
hinic_hwdev_cb_unregister(9)
NAME hinic_hwdev_cb_unregister - unregister callback handler for MGMT events SYNOPSIS void hinic_hwdev_cb_unregister (struct hinic_hwdev *hwdev , enum hinic_mgmt_msg_cmd cmd ); ARGUMENTS hwdev the NIC HW device cmd the mgmt event SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_h...
hinic_hwdev_get_rq(9)
NAME hinic_hwdev_get_rq - get RQ SYNOPSIS struct hinic_rq * hinic_hwdev_get_rq (struct hinic_hwdev *hwdev , int i ); ARGUMENTS hwdev the NIC HW device i the position of the RQ RETURN the RQ in the i position SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c parse_capab...
hinic_hwdev_get_sq(9)
NAME hinic_hwdev_get_sq - get SQ SYNOPSIS struct hinic_sq * hinic_hwdev_get_sq (struct hinic_hwdev *hwdev , int i ); ARGUMENTS hwdev the NIC HW device i the position of the SQ RETURN the SQ in the i position SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c parse_capab...
hinic_hwdev_hw_ci_addr_set(9)
NAME hinic_hwdev_hw_ci_addr_set - set cons idx addr and attributes in HW for sq SYNOPSIS int hinic_hwdev_hw_ci_addr_set (struct hinic_hwdev *hwdev , struct hinic_sq *sq , u8 pending_limit , u8 coalesc_timer ); ARGUMENTS hwdev the NIC HW device sq send queue pending_limit ...
hinic_hwdev_ifdown(9)
NAME hinic_hwdev_ifdown - Closing the HW for passing IO SYNOPSIS void hinic_hwdev_ifdown (struct hinic_hwdev *hwdev ); ARGUMENTS hwdev the NIC HW device SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c parse_capability(9), get_capability(9), get_dev_cap(9), init_msix(9), disable_msix(9)...
hinic_hwdev_ifup(9)
NAME hinic_hwdev_ifup - Preparing the HW for passing IO SYNOPSIS int hinic_hwdev_ifup (struct hinic_hwdev *hwdev , u16 sq_depth , u16 rq_depth ); ARGUMENTS hwdev the NIC HW device sq_depth the send queue depth rq_depth the receive queue depth DESCRIPTION Return 0 - Success, negative - Fai...
hinic_hwdev_msix_cnt_set(9)
NAME hinic_hwdev_msix_cnt_set - clear message attribute counters for msix entry SYNOPSIS int hinic_hwdev_msix_cnt_set (struct hinic_hwdev *hwdev , u16 msix_index ); ARGUMENTS hwdev the NIC HW device msix_index msix_index DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drive...
hinic_hwdev_msix_set(9)
NAME hinic_hwdev_msix_set - set message attribute for msix entry SYNOPSIS int hinic_hwdev_msix_set (struct hinic_hwdev *hwdev , u16 msix_index , u8 pending_limit , u8 coalesc_timer , u8 lli_timer_cfg , u8 lli_credit_limit , u8 resend_timer ); ARGUMENTS hwdev the NIC HW device msix_index msix_index ...
hinic_hwdev_num_qps(9)
NAME hinic_hwdev_num_qps - return the number QPs available for use SYNOPSIS int hinic_hwdev_num_qps (struct hinic_hwdev *hwdev ); ARGUMENTS hwdev the NIC HW device DESCRIPTION Return number QPs available for use SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c parse_capability(9), g...
hinic_hwdev_set_msix_state(9)
NAME hinic_hwdev_set_msix_state - set msix state SYNOPSIS void hinic_hwdev_set_msix_state (struct hinic_hwdev *hwdev , u16 msix_index , enum hinic_msix_state flag ); ARGUMENTS hwdev the NIC HW device msix_index IRQ corresponding index number flag msix state SEE ALSO Kernel file ./drive...
hinic_init_cmdqs(9)
NAME hinic_init_cmdqs - init all cmdqs SYNOPSIS int hinic_init_cmdqs (struct hinic_cmdqs *cmdqs , struct hinic_hwif *hwif , void __iomem **db_area ); ARGUMENTS cmdqs cmdqs to init hwif HW interface for accessing cmdqs db_area doorbell areas for all the cmdqs DESCRIPTION Return 0 - Su...
hinic_init_hwdev(9)
NAME hinic_init_hwdev - Initialize the NIC HW SYNOPSIS struct hinic_hwdev * hinic_init_hwdev (struct pci_dev *pdev , struct devlink *devlink ); ARGUMENTS pdev the NIC pci device devlink the poniter of hinic devlink DESCRIPTION Return initialized NIC HW device Initialize the NIC HW device and retur...
hinic_init_hwif(9)
NAME hinic_init_hwif - initialize the hw interface SYNOPSIS int hinic_init_hwif (struct hinic_hwif *hwif , struct pci_dev *pdev ); ARGUMENTS hwif the HW interface of a pci function device pdev the pci device for accessing PCI resources DESCRIPTION Return 0 - Success, negative - Failure SEE ALS...
hinic_init_rq(9)
NAME hinic_init_rq - Initialize HW Receive Queue SYNOPSIS int hinic_init_rq (struct hinic_rq *rq , struct hinic_hwif *hwif , struct hinic_wq *wq , struct msix_entry *entry ); ARGUMENTS rq HW Receive Queue hwif HW Interface for accessing HW wq Work Queue for the data of the RQ ...
hinic_init_rxq(9)
NAME hinic_init_rxq - Initialize the Rx Queue SYNOPSIS int hinic_init_rxq (struct hinic_rxq *rxq , struct hinic_rq *rq , struct net_device *netdev ); ARGUMENTS rxq Logical Rx Queue rq Hardware Rx Queue to connect the Logical queue with netdev network device to connect the Logical...
hinic_init_sq(9)
NAME hinic_init_sq - Initialize HW Send Queue SYNOPSIS int hinic_init_sq (struct hinic_sq *sq , struct hinic_hwif *hwif , struct hinic_wq *wq , struct msix_entry *entry , void *ci_addr , dma_addr_t ci_dma_addr , void __iomem *db_base ); ARGUMENTS sq HW Send Queue hwif HW Interface for accessin...
hinic_init_txq(9)
NAME hinic_init_txq - Initialize the Tx Queue SYNOPSIS int hinic_init_txq (struct hinic_txq *txq , struct hinic_sq *sq , struct net_device *netdev ); ARGUMENTS txq Logical Tx Queue sq Hardware Tx Queue to connect the Logical queue with netdev network device to connect the Logical...
hinic_io_create_qps(9)
NAME hinic_io_create_qps - Create Queue Pairs SYNOPSIS int hinic_io_create_qps (struct hinic_func_to_io *func_to_io , u16 base_qpn , int num_qps , struct msix_entry *sq_msix_entries , struct msix_entry *rq_msix_entries ); ARGUMENTS func_to_io func to io channel that holds the IO components base_qpn base q...
hinic_io_destroy_qps(9)
NAME hinic_io_destroy_qps - Destroy the IO Queue Pairs SYNOPSIS void hinic_io_destroy_qps (struct hinic_func_to_io *func_to_io , int num_qps ); ARGUMENTS func_to_io func to io channel that holds the IO components num_qps number queue pairs to destroy SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hi...
hinic_io_free(9)
NAME hinic_io_free - Free the IO components SYNOPSIS void hinic_io_free (struct hinic_func_to_io *func_to_io ); ARGUMENTS func_to_io func to io channel that holds the IO components SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_io.c write_qp_ctxts(9), init_qp(9), destroy_qp(9), hinic_io_create_qp...
hinic_io_init(9)
NAME hinic_io_init - Initialize the IO components SYNOPSIS int hinic_io_init (struct hinic_func_to_io *func_to_io , struct hinic_hwif *hwif , u16 max_qps , int num_ceqs , struct msix_entry *ceq_msix_entries ); ARGUMENTS func_to_io func to io channel that holds the IO components hwif HW interface for a...
hinic_msg_to_mgmt(9)
NAME hinic_msg_to_mgmt - send message to mgmt SYNOPSIS int hinic_msg_to_mgmt (struct hinic_pf_to_mgmt *pf_to_mgmt , enum hinic_mod_type mod , u8 cmd , void *buf_in , u16 in_size , void *buf_out , u16 *out_size , enum hinic_mgmt_msg_type sync ); ARGUMENTS pf_to_mgmt PF to MGMT channel mod module in th...
hinic_msix_attr_cnt_clear(9)
NAME hinic_msix_attr_cnt_clear - clear message attribute counters for msix entry SYNOPSIS int hinic_msix_attr_cnt_clear (struct hinic_hwif *hwif , u16 msix_index ); ARGUMENTS hwif the HW interface of a pci function device msix_index msix_index DESCRIPTION Return 0 - Success, negative - Failure SEE A...
hinic_msix_attr_set(9)
NAME hinic_msix_attr_set - set message attribute for msix entry SYNOPSIS int hinic_msix_attr_set (struct hinic_hwif *hwif , u16 msix_index , u8 pending_limit , u8 coalesc_timer , u8 lli_timer , u8 lli_credit_limit , u8 resend_timer ); ARGUMENTS hwif the HW interface of a pci function device msix_index ...
hinic_pf_to_mgmt_free(9)
NAME hinic_pf_to_mgmt_free - free PF to MGMT channel SYNOPSIS void hinic_pf_to_mgmt_free (struct hinic_pf_to_mgmt *pf_to_mgmt ); ARGUMENTS pf_to_mgmt PF to MGMT channel SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c hinic_register_mgmt_msg_cb(9), hinic_unregister_mgmt_msg_cb(9), ...
hinic_pf_to_mgmt_init(9)
NAME hinic_pf_to_mgmt_init - initialize PF to MGMT channel SYNOPSIS int hinic_pf_to_mgmt_init (struct hinic_pf_to_mgmt *pf_to_mgmt , struct hinic_hwif *hwif ); ARGUMENTS pf_to_mgmt PF to MGMT channel hwif HW interface the PF to MGMT will use for accessing HW DESCRIPTION Return 0 - Success, negative -...
hinic_port_add_mac(9)
NAME hinic_port_add_mac - add mac address SYNOPSIS int hinic_port_add_mac (struct hinic_dev *nic_dev , const u8 *addr , u16 vlan_id ); ARGUMENTS nic_dev nic device addr mac address vlan_id vlan number to set with the mac DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kern...
hinic_port_add_vlan(9)
NAME hinic_port_add_vlan - add vlan to the nic device SYNOPSIS int hinic_port_add_vlan (struct hinic_dev *nic_dev , u16 vlan_id ); ARGUMENTS nic_dev nic device vlan_id the vlan number to add DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic...
hinic_port_del_mac(9)
NAME hinic_port_del_mac - remove mac address SYNOPSIS int hinic_port_del_mac (struct hinic_dev *nic_dev , const u8 *addr , u16 vlan_id ); ARGUMENTS nic_dev nic device addr mac address vlan_id vlan number that is connected to the mac DESCRIPTION Return 0 - Success, negative - Failure S...
hinic_port_del_vlan(9)
NAME hinic_port_del_vlan - delete vlan from the nic device SYNOPSIS int hinic_port_del_vlan (struct hinic_dev *nic_dev , u16 vlan_id ); ARGUMENTS nic_dev nic device vlan_id the vlan number to delete DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huaw...
hinic_port_get_cap(9)
NAME hinic_port_get_cap - get port capabilities SYNOPSIS int hinic_port_get_cap (struct hinic_dev *nic_dev , struct hinic_port_cap *port_cap ); ARGUMENTS nic_dev nic device port_cap returned port capabilities DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethe...
hinic_port_get_mac(9)
NAME hinic_port_get_mac - get the mac address of the nic device SYNOPSIS int hinic_port_get_mac (struct hinic_dev *nic_dev , u8 *addr ); ARGUMENTS nic_dev nic device addr returned mac address DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/h...
hinic_port_link_state(9)
NAME hinic_port_link_state - get the link state SYNOPSIS int hinic_port_link_state (struct hinic_dev *nic_dev , enum hinic_port_link_state *link_state ); ARGUMENTS nic_dev nic device link_state the returned link state DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/n...
hinic_port_msg_cmd(9)
NAME hinic_port_msg_cmd - send port msg to mgmt SYNOPSIS int hinic_port_msg_cmd (struct hinic_hwdev *hwdev , enum hinic_port_cmd cmd , void *buf_in , u16 in_size , void *buf_out , u16 *out_size ); ARGUMENTS hwdev the NIC HW device cmd the port command buf_in input buffer in_...
hinic_port_set_func_state(9)
NAME hinic_port_set_func_state - set func device state SYNOPSIS int hinic_port_set_func_state (struct hinic_dev *nic_dev , enum hinic_func_port_state state ); ARGUMENTS nic_dev nic device state the state to set DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net...
hinic_port_set_mtu(9)
NAME hinic_port_set_mtu - set mtu SYNOPSIS int hinic_port_set_mtu (struct hinic_dev *nic_dev , int new_mtu ); ARGUMENTS nic_dev nic device new_mtu new mtu DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_port.c change_mac(9), hinic_p...
hinic_port_set_rx_mode(9)
NAME hinic_port_set_rx_mode - set rx mode in the nic device SYNOPSIS int hinic_port_set_rx_mode (struct hinic_dev *nic_dev , u32 rx_mode ); ARGUMENTS nic_dev nic device rx_mode the rx mode to set DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/...
hinic_port_set_state(9)
NAME hinic_port_set_state - set port state SYNOPSIS int hinic_port_set_state (struct hinic_dev *nic_dev , enum hinic_port_state state ); ARGUMENTS nic_dev nic device state the state to set DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic...
hinic_port_set_tso(9)
NAME hinic_port_set_tso - set port tso configuration SYNOPSIS int hinic_port_set_tso (struct hinic_dev *nic_dev , enum hinic_tso_state state ); ARGUMENTS nic_dev nic device state the tso state to set DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/h...
hinic_put_wqe(9)
NAME hinic_put_wqe - return the wqe place to use for a new wqe SYNOPSIS void hinic_put_wqe (struct hinic_wq *wq , unsigned int wqe_size ); ARGUMENTS wq wq to return wqe wqe_size wqe size SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c queue_alloc_page(9), wqs_alloca...
hinic_read_wqe(9)
NAME hinic_read_wqe - read wqe ptr in the current ci SYNOPSIS struct hinic_hw_wqe * hinic_read_wqe (struct hinic_wq *wq , unsigned int wqe_size , u16 *cons_idx ); ARGUMENTS wq wq to get read from wqe_size wqe size cons_idx returned ci DESCRIPTION Return wqe pointer SEE ALSO Kernel f...
hinic_read_wqe_direct(9)
NAME hinic_read_wqe_direct - read wqe directly from ci position SYNOPSIS struct hinic_hw_wqe * hinic_read_wqe_direct (struct hinic_wq *wq , u16 cons_idx ); ARGUMENTS wq wq cons_idx ci position DESCRIPTION Return wqe SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c que...
hinic_register_mgmt_msg_cb(9)
NAME hinic_register_mgmt_msg_cb - register msg handler for a msg from a module SYNOPSIS void hinic_register_mgmt_msg_cb (struct hinic_pf_to_mgmt *pf_to_mgmt , enum hinic_mod_type mod , void *handle , void (*callback)(void *handle, u8 cmd, void *buf_in, u16 in_size, void *buf_out, u16 *out_size) ); ARGUMENTS pf_to_mgm...
hinic_register_pf_mbox_cb(9)
NAME hinic_register_pf_mbox_cb - register mbox callback for pf SYNOPSIS int hinic_register_pf_mbox_cb (struct hinic_hwdev *hwdev , enum hinic_mod_type mod , hinic_pf_mbox_cb callback ); ARGUMENTS hwdev the pointer to hw device mod specific mod that the callback will handle callback ca...
hinic_register_vf_mbox_cb(9)
NAME hinic_register_vf_mbox_cb - register mbox callback for vf SYNOPSIS int hinic_register_vf_mbox_cb (struct hinic_hwdev *hwdev , enum hinic_mod_type mod , hinic_vf_mbox_cb callback ); ARGUMENTS hwdev the pointer to hw device mod specific mod that the callback will handle callback ca...
hinic_return_wqe(9)
NAME hinic_return_wqe - return the wqe when transmit failed SYNOPSIS void hinic_return_wqe (struct hinic_wq *wq , unsigned int wqe_size ); ARGUMENTS wq wq to return wqe wqe_size wqe size SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c queue_alloc_page(9), wqs_alloca...
hinic_rq_get_sge(9)
NAME hinic_rq_get_sge - get sge from the wqe SYNOPSIS void hinic_rq_get_sge (struct hinic_rq *rq , struct hinic_rq_wqe *rq_wqe , u16 cons_idx , struct hinic_sge *sge ); ARGUMENTS rq recv queue rq_wqe wqe to get the sge from its buf address cons_idx consumer index sge r...
hinic_rq_get_wqe(9)
NAME hinic_rq_get_wqe - get wqe ptr in the current pi and update the pi SYNOPSIS struct hinic_rq_wqe * hinic_rq_get_wqe (struct hinic_rq *rq , unsigned int wqe_size , u16 *prod_idx ); ARGUMENTS rq rq to get wqe from wqe_size wqe size prod_idx returned pi DESCRIPTION Return wqe pointer ...