/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mbox.h | 29 bool (*check_cmd)(struct hinic_hwdev *hwdev, u16 src_func_idx, 89 struct hinic_hwdev *hwdev; 131 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx, 134 bool hinic_mbox_check_cmd_valid(struct hinic_hwdev *hwdev, 139 int hinic_register_pf_mbox_cb(struct hinic_hwdev *hwdev, 143 int hinic_register_vf_mbox_cb(struct hinic_hwdev *hwdev, 147 void hinic_unregister_pf_mbox_cb(struct hinic_hwdev *hwdev, 150 void hinic_unregister_vf_mbox_cb(struct hinic_hwdev *hwdev, 157 int hinic_func_to_func_init(struct hinic_hwdev *hwdev); 159 void hinic_func_to_func_free(struct hinic_hwdev *hwdev); [all …]
|
D | hinic_hw_dev.h | 360 struct hinic_hwdev { struct 398 struct hinic_hwdev hwdev; 544 void hinic_hwdev_cb_register(struct hinic_hwdev *hwdev, 550 void hinic_hwdev_cb_unregister(struct hinic_hwdev *hwdev, 553 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd, 557 int hinic_hilink_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_hilink_cmd cmd, 561 int hinic_hwdev_ifup(struct hinic_hwdev *hwdev, u16 sq_depth, u16 rq_depth); 563 void hinic_hwdev_ifdown(struct hinic_hwdev *hwdev); 565 struct hinic_hwdev *hinic_init_hwdev(struct pci_dev *pdev, struct devlink *devlink); 567 void hinic_free_hwdev(struct hinic_hwdev *hwdev); [all …]
|
D | hinic_hw_dev.c | 57 static int parse_capability(struct hinic_hwdev *hwdev, in parse_capability() 102 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in get_capability() 128 static int get_dev_cap(struct hinic_hwdev *hwdev) in get_dev_cap() 160 static int init_msix(struct hinic_hwdev *hwdev) in init_msix() 196 static void disable_msix(struct hinic_hwdev *hwdev) in disable_msix() 215 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd, in hinic_port_msg_cmd() 227 int hinic_hilink_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_hilink_cmd cmd, in hinic_hilink_msg_cmd() 246 static int init_fw_ctxt(struct hinic_hwdev *hwdev) in init_fw_ctxt() 277 static int set_hw_ioctxt(struct hinic_hwdev *hwdev, unsigned int sq_depth, in set_hw_ioctxt() 306 static int wait_for_outbound_state(struct hinic_hwdev *hwdev) in wait_for_outbound_state() [all …]
|
D | hinic_port.c | 40 struct hinic_hwdev *hwdev = nic_dev->hwdev; in change_mac() 119 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_get_mac() 151 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_mtu() 193 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_add_vlan() 213 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_del_vlan() 233 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_rx_mode() 254 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_link_state() 285 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_state() 320 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_func_state() 351 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_get_cap() [all …]
|
D | hinic_sriov.c | 27 static int hinic_set_mac(struct hinic_hwdev *hwdev, const u8 *mac_addr, in hinic_set_mac() 50 static void hinic_notify_vf_link_status(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_notify_vf_link_status() 74 void hinic_notify_all_vfs_link_changed(struct hinic_hwdev *hwdev, in hinic_notify_all_vfs_link_changed() 87 static u16 hinic_vf_info_vlanprio(struct hinic_hwdev *hwdev, int vf_id) in hinic_vf_info_vlanprio() 100 static int hinic_set_vf_vlan(struct hinic_hwdev *hwdev, bool add, u16 vid, in hinic_set_vf_vlan() 132 static int hinic_set_vf_tx_rate_max_min(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_tx_rate_max_min() 162 static int hinic_set_vf_rate_limit(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_rate_limit() 191 static int hinic_set_vf_tx_rate(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_tx_rate() 210 static int hinic_init_vf_config(struct hinic_hwdev *hwdev, u16 vf_id) in hinic_init_vf_config() 260 struct hinic_hwdev *hw_dev = hwdev; in hinic_register_vf_msg_handler() [all …]
|
D | hinic_hw_mbox.c | 191 static bool check_func_id(struct hinic_hwdev *hwdev, u16 src_func_idx, in check_func_id() 215 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_mbox_check_func_id_8B() 229 int hinic_register_pf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_register_pf_mbox_cb() 252 int hinic_register_vf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_register_vf_mbox_cb() 273 void hinic_unregister_pf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_unregister_pf_mbox_cb() 292 void hinic_unregister_vf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_unregister_vf_mbox_cb() 519 static int set_vf_mbox_random_id(struct hinic_hwdev *hwdev, u16 func_id) in set_vf_mbox_random_id() 575 struct hinic_hwdev *hwdev = func_to_func->hwdev; in check_vf_mbox_random_id() 631 func_to_func = ((struct hinic_hwdev *)handle)->func_to_func; in hinic_mbox_func_aeqe_handler() 657 func_to_func = ((struct hinic_hwdev *)handle)->func_to_func; in hinic_mbox_self_aeqe_handler() [all …]
|
D | hinic_sriov.h | 28 struct hinic_hwdev *hwdev; 96 void hinic_notify_all_vfs_link_changed(struct hinic_hwdev *hwdev, 103 int hinic_vf_func_init(struct hinic_hwdev *hwdev); 105 void hinic_vf_func_free(struct hinic_hwdev *hwdev);
|
D | hinic_port.h | 835 int hinic_set_link_settings(struct hinic_hwdev *hwdev, 838 int hinic_get_link_mode(struct hinic_hwdev *hwdev, 841 int hinic_set_autoneg(struct hinic_hwdev *hwdev, bool enable); 843 int hinic_set_speed(struct hinic_hwdev *hwdev, enum nic_speed_level speed); 845 int hinic_get_hw_pause_info(struct hinic_hwdev *hwdev, 848 int hinic_set_hw_pause_info(struct hinic_hwdev *hwdev, 851 int hinic_dcb_set_pfc(struct hinic_hwdev *hwdev, u8 pfc_en, u8 pfc_bitmap); 853 int hinic_set_loopback_mode(struct hinic_hwdev *hwdev, u32 mode, u32 enable); 874 int hinic_reset_led_status(struct hinic_hwdev *hwdev, u8 port); 876 int hinic_set_led_status(struct hinic_hwdev *hwdev, u8 port, [all …]
|
D | hinic_hw_eqs.h | 175 struct hinic_hwdev *hwdev; 224 struct hinic_hwdev *hwdev; 258 void hinic_dump_ceq_info(struct hinic_hwdev *hwdev); 260 void hinic_dump_aeq_info(struct hinic_hwdev *hwdev);
|
D | hinic_hw_io.h | 61 struct hinic_hwdev *hwdev; 106 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx,
|
D | hinic_dev.h | 77 struct hinic_hwdev *hwdev; 126 struct hinic_hwdev *hwdev;
|
D | hinic_hw_mgmt.h | 131 struct hinic_hwdev *hwdev;
|
D | hinic_rx.c | 132 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_alloc_skb() 169 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_unmap_skb() 522 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_request_irq()
|
D | hinic_hw_cmdq.c | 791 static int init_cmdqs_ctxt(struct hinic_hwdev *hwdev, in init_cmdqs_ctxt() 854 static int hinic_set_cmdq_depth(struct hinic_hwdev *hwdev, u16 cmdq_depth) in hinic_set_cmdq_depth() 886 struct hinic_hwdev *hwdev; in hinic_init_cmdqs() 914 hwdev = container_of(func_to_io, struct hinic_hwdev, func_to_io); in hinic_init_cmdqs()
|
D | hinic_hw_cmdq.h | 141 struct hinic_hwdev *hwdev;
|
D | hinic_tx.c | 136 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_map_skb() 187 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_unmap_skb() 801 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_request_irq() 862 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_init_txq()
|
D | hinic_hw_mgmt.c | 624 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_init() 674 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_free()
|
D | hinic_hw_eqs.c | 542 struct hinic_hwdev *hwdev = eq->hwdev; in set_ceq_ctrl_reg() 960 void hinic_dump_ceq_info(struct hinic_hwdev *hwdev) in hinic_dump_ceq_info() 979 void hinic_dump_aeq_info(struct hinic_hwdev *hwdev) in hinic_dump_aeq_info()
|
D | hinic_hw_io.c | 492 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_set_wq_page_size()
|
D | hinic_main.c | 387 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_enable_rss() 1189 struct hinic_hwdev *hwdev; in nic_dev_init()
|
D | hinic_ethtool.c | 542 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_get_drvinfo() 887 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_get_channels()
|
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/huawei/ |
D | hinic.rst | 37 hinic_hwdev - Implement the HW details of the device and include the components 40 hinic_hwdev contains the following components:
|