| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| A D | hnae3.h | 166 struct hnae3_handle; 171 struct hnae3_handle *handle; 550 int (*start)(struct hnae3_handle *handle); 551 void (*stop)(struct hnae3_handle *handle); 602 int (*do_ioctl)(struct hnae3_handle *handle, 606 int (*rm_uc_addr)(struct hnae3_handle *handle, 611 int (*rm_mc_addr)(struct hnae3_handle *handle, 742 u8 (*getdcbx)(struct hnae3_handle *); 743 u8 (*setdcbx)(struct hnae3_handle *, u8); 745 int (*setup_tc)(struct hnae3_handle *handle, [all …]
|
| A D | hns3_dcbnl.c | 9 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getets() 22 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setets() 35 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getpfc() 48 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setpfc() 62 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_getdcbx() 73 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_setdcbx() 94 void hns3_dcbnl_setup(struct hnae3_handle *handle) in hns3_dcbnl_setup()
|
| A D | hns3_ethtool.c | 150 struct hnae3_handle *handle; in hns3_lp_setup_skb() 205 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring() 327 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_prepare() 357 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_restore() 605 struct hnae3_handle *h = priv->ae_handle; in hns3_get_drvinfo() 649 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ringparam() 1034 struct hnae3_handle *h = priv->ae_handle; in hns3_change_all_ring_bd_num() 1091 struct hnae3_handle *h = priv->ae_handle; in hns3_set_ringparam() 1224 struct hnae3_handle *h = priv->ae_handle; in hns3_get_coalesce() 1372 struct hnae3_handle *h = priv->ae_handle; in hns3_set_coalesce_per_queue() [all …]
|
| A D | hns3_debugfs.h | 24 struct hnae3_handle *handle; 51 int (*init)(struct hnae3_handle *handle, unsigned int cmd); 56 int (*dbg_dump)(struct hnae3_handle *handle, char *buf, int len);
|
| A D | hns3_enet.h | 542 struct hnae3_handle *handle; 564 struct hnae3_handle *ae_handle; 688 int hns3_nic_reset_all_ring(struct hnae3_handle *h); 707 void hns3_request_update_promisc_mode(struct hnae3_handle *handle); 710 void hns3_dcbnl_setup(struct hnae3_handle *handle); 712 static inline void hns3_dcbnl_setup(struct hnae3_handle *handle) {} in hns3_dcbnl_setup() 715 int hns3_dbg_init(struct hnae3_handle *handle); 716 void hns3_dbg_uninit(struct hnae3_handle *handle); 720 u16 hns3_get_max_available_channels(struct hnae3_handle *h);
|
| A D | hns3_enet.c | 595 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw() 713 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up() 2311 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_set_features() 2489 struct hnae3_handle *h; in hns3_setup_tc() 2764 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_timeout() 4472 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_init_vector_data() 4570 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_alloc_vector_data() 4622 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_uninit_vector_data() 4652 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_dealloc_vector_data() 4710 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ring_config() [all …]
|
| A D | hns3_debugfs.c | 41 static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd); 42 static int hns3_dbg_common_file_init(struct hnae3_handle *handle, u32 cmd); 638 static int hns3_dbg_rx_queue_info(struct hnae3_handle *h, in hns3_dbg_rx_queue_info() 741 static int hns3_dbg_tx_queue_info(struct hnae3_handle *h, in hns3_dbg_tx_queue_info() 989 hns3_dbg_dev_caps(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_caps() 1095 hns3_dbg_page_pool_info(struct hnae3_handle *h, char *buf, int len) in hns3_dbg_page_pool_info() 1217 struct hnae3_handle *handle = dbg_data->handle; in hns3_dbg_read() 1281 static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd) in hns3_dbg_bd_file_init() 1310 hns3_dbg_common_file_init(struct hnae3_handle *handle, u32 cmd) in hns3_dbg_common_file_init() 1328 int hns3_dbg_init(struct hnae3_handle *handle) in hns3_dbg_init() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| A D | hclgevf_main.c | 278 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_port_base_vlan_filter_state() 441 struct hnae3_handle *nic = &hdev->nic; in hclgevf_knic_setup() 497 struct hnae3_handle *handle = &hdev->nic; in hclgevf_update_link_status() 535 struct hnae3_handle *nic = &hdev->nic; in hclgevf_set_handle_info() 1169 struct hnae3_handle *handle, in hclgevf_unmap_ring_from_vector() 1218 struct hnae3_handle *handle = &hdev->nic; in hclgevf_cmd_set_promisc_mode() 2122 struct hnae3_handle *handle) in hclgevf_reset_event() 2552 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_roce_base_info() 2665 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_vlan_config() 3531 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_max_channels() [all …]
|
| A D | hclgevf_devlink.c | 45 struct hnae3_handle *h = &hdev->nic; in hclgevf_devlink_reload_down() 80 struct hnae3_handle *h = &hdev->nic; in hclgevf_devlink_reload_up()
|
| A D | hclgevf_main.h | 329 struct hnae3_handle nic; 330 struct hnae3_handle roce;
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_ptp.h | 129 bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb); 131 void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb, 137 int hclge_ptp_get_ts_info(struct hnae3_handle *handle,
|
| A D | hclge_mdio.h | 8 int hclge_mac_connect_phy(struct hnae3_handle *handle); 9 void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
|
| A D | hclge_dcb.c | 66 static int hclge_ieee_getets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_getets() 233 static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_setets() 287 static int hclge_ieee_getpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_getpfc() 310 static int hclge_ieee_setpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_setpfc() 363 static u8 hclge_getdcbx(struct hnae3_handle *h) in hclge_getdcbx() 374 static u8 hclge_setdcbx(struct hnae3_handle *h, u8 mode) in hclge_setdcbx() 475 static int hclge_setup_tc(struct hnae3_handle *h, in hclge_setup_tc()
|
| A D | hclge_main.c | 767 struct hnae3_handle *handle; in hclge_update_stats_for_all() 1835 struct hnae3_handle *nic = &vport->nic; in hclge_knic_setup() 1861 struct hnae3_handle *nic = &vport->nic; in hclge_map_tqp_to_vport() 1903 struct hnae3_handle *nic = &vport->nic; in hclge_vport_setup() 2583 struct hnae3_handle *roce = &vport->roce; in hclge_init_roce_base_info() 2584 struct hnae3_handle *nic = &vport->nic; in hclge_init_roce_base_info() 5375 struct hnae3_handle *handle = &vport->nic; in hclge_cmd_set_promisc_mode() 9732 struct hnae3_handle *handle = &vport->nic; in hclge_need_enable_vport_vlan_filter() 10403 struct hnae3_handle *handle = &vport->nic; in hclge_restore_hw_table() 10491 struct hnae3_handle *nic = &vport->nic; in hclge_update_port_base_vlan_cfg() [all …]
|
| A D | hclge_main.h | 1074 struct hnae3_handle nic; 1075 struct hnae3_handle roce; 1107 struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle); 1126 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, 1128 int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable); 1135 int hclge_reset_tqp(struct hnae3_handle *handle); 1141 int hclge_dbg_read_cmd(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd, 1143 u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id);
|
| A D | hclge_devlink.c | 44 struct hnae3_handle *h = &hdev->vport->nic; in hclge_devlink_reload_down() 79 struct hnae3_handle *h = &hdev->vport->nic; in hclge_devlink_reload_up()
|
| A D | hclge_mdio.c | 177 struct hnae3_handle *h = *((void **)netdev_priv(netdev)); in hclge_mac_adjust_link() 199 int hclge_mac_connect_phy(struct hnae3_handle *handle) in hclge_mac_connect_phy() 239 void hclge_mac_disconnect_phy(struct hnae3_handle *handle) in hclge_mac_disconnect_phy()
|
| A D | hclge_mbx.c | 247 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_promisc_mode() 354 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_vlan_cfg() 541 struct hnae3_handle *handle = &vport->nic; in hclge_mbx_reset_vf_queue() 593 struct hnae3_handle *handle = &vport->nic; in hclge_get_queue_id_in_pf()
|
| A D | hclge_ptp.c | 67 bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb) in hclge_ptp_set_tx_info() 114 void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb, in hclge_ptp_get_rx_hwts() 392 int hclge_ptp_get_ts_info(struct hnae3_handle *handle, in hclge_ptp_get_ts_info()
|
| A D | hclge_debugfs.c | 2490 int hclge_dbg_read_cmd(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd, in hclge_dbg_read_cmd()
|
| /linux/drivers/infiniband/hw/hns/ |
| A D | hns_roce_hw_v2.c | 669 struct hnae3_handle *handle = priv->handle; in hns_roce_write512() 1058 struct hnae3_handle *handle = priv->handle; in hns_roce_v2_cmd_hw_resetting() 1090 struct hnae3_handle *handle = priv->handle; in hns_roce_v2_cmd_sw_resetting() 1105 struct hnae3_handle *handle) in check_aedev_reset_status() 1143 struct hnae3_handle *handle = priv->handle; in check_device_is_in_reset() 1379 struct hnae3_handle *handle) in func_clr_hw_resetting_state() 1404 struct hnae3_handle *handle) in func_clr_sw_resetting_state() 1433 struct hnae3_handle *handle = priv->handle; in hns_roce_func_clr_rst_proc() 6288 struct hnae3_handle *handle) in hns_roce_hw_v2_get_cfg() 6379 static int hns_roce_hw_v2_init_instance(struct hnae3_handle *handle) in hns_roce_hw_v2_init_instance() [all …]
|
| A D | hns_roce_hw_v2.h | 1436 struct hnae3_handle *handle; 1577 struct hnae3_handle *handle = priv->handle; in hns_roce_write64()
|