Home
last modified time | relevance | path

Searched refs:hwfns (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_selftest.c45 rc = qed_sp_heartbeat_ramrod(&cdev->hwfns[i]); in qed_selftest_memory()
58 rc = qed_sp_heartbeat_ramrod(&cdev->hwfns[i]); in qed_selftest_interrupt()
74 p_hwfn = &cdev->hwfns[i]; in qed_selftest_register()
97 p_hwfn = &cdev->hwfns[i]; in qed_selftest_clock()
Dqed_main.c285 qed_vf_get_fw_version(&cdev->hwfns[0], &dev_info->fw_major, in qed_fill_dev_info()
522 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config()
531 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean()
553 status = qed_int_igu_read_sisr_reg(&cdev->hwfns[i]); in qed_single_int()
558 hwfn = &cdev->hwfns[i]; in qed_single_int()
666 if (!cdev->hwfns[i].b_int_requested) in qed_slowpath_irq_free()
670 cdev->hwfns[i].sp_dpc); in qed_slowpath_irq_free()
686 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_nic_stop()
709 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_nic_setup()
784 qed_int_get_num_sbs(&cdev->hwfns[i], &sb_cnt_info); in qed_slowpath_setup_int()
[all …]
Dqed_l2.c820 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_accept_cmd()
1558 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_mcast_cmd()
1586 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_ucast_cmd()
1889 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in _qed_get_vport_stats()
1940 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_reset_vport_stats()
2210 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_fill_eth_dev_info()
2246 cdev->hwfns[0].hw_info.hw_mac_addr); in qed_fill_eth_dev_info()
2256 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_fill_eth_dev_info()
2269 qed_vf_get_num_vlan_filters(&cdev->hwfns[0], in qed_fill_eth_dev_info()
2271 qed_vf_get_num_mac_filters(&cdev->hwfns[0], in qed_fill_eth_dev_info()
[all …]
Dqed_dev.c105 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_dp()
117 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_struct()
127 cdev->hwfns[0].b_active = true; in qed_init_struct()
153 qed_l2_free(&cdev->hwfns[i]); in qed_resc_free()
164 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_free()
927 rc = qed_l2_alloc(&cdev->hwfns[i]); in qed_resc_alloc()
939 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_alloc()
1107 qed_l2_setup(&cdev->hwfns[i]); in qed_resc_setup()
1112 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_setup()
1248 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_cau_rt_data()
[all …]
Dqed_sriov.c702 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_set_vf_to_disable()
4380 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate()
4431 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq()
4432 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq()
4440 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable()
4441 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable()
4450 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4479 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable()
4520 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable()
4522 RESC_NUM(&cdev->hwfns[0], QED_VPORT) - 1); in qed_sriov_enable()
[all …]
Dqed.h775 struct qed_hwfn hwfns[MAX_HWFNS_PER_DEVICE]; member
877 #define QED_LEADING_HWFN(dev) (&dev->hwfns[0])
897 #define QED_LEADING_HWFN(dev) (&dev->hwfns[0])
Dqed_debug.c7862 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_nvm_image()
8135 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_all_data_size()
8176 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_feature()
8212 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_feature_size()
Dqed_int.c2197 cdev->hwfns[i].b_int_requested = false; in qed_int_disable_post_isr_release()
Dqed_ll2.c2474 rc = qed_ll2_prepare_tx_packet(&cdev->hwfns[0], cdev->ll2->handle, in qed_ll2_start_xmit()
Dqed_mcp.c1854 struct qed_hwfn *p_hwfn = &cdev->hwfns[0]; in qed_mcp_get_media_type()