Home
last modified time | relevance | path

Searched refs:hwfns (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_selftest.c19 rc = qed_sp_heartbeat_ramrod(&cdev->hwfns[i]); in qed_selftest_memory()
32 rc = qed_sp_heartbeat_ramrod(&cdev->hwfns[i]); in qed_selftest_interrupt()
48 p_hwfn = &cdev->hwfns[i]; in qed_selftest_register()
71 p_hwfn = &cdev->hwfns[i]; in qed_selftest_clock()
H A Dqed_main.c459 qed_vf_get_fw_version(&cdev->hwfns[0], &dev_info->fw_major, in qed_fill_dev_info()
607 * should be a multiple of the number of hwfns. in qed_enable_msix()
704 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config()
713 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean()
735 status = qed_int_igu_read_sisr_reg(&cdev->hwfns[i]); in qed_single_int()
740 hwfn = &cdev->hwfns[i]; in qed_single_int()
848 if (!cdev->hwfns[i].b_int_requested) in qed_slowpath_irq_free()
852 &cdev->hwfns[i].sp_dpc); in qed_slowpath_irq_free()
868 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_nic_stop()
891 struct qed_hwfn *p_hwfn = &cdev->hwfns[ in qed_nic_setup()
[all...]
H A Dqed_devlink.c169 memcpy(buf, cdev->hwfns[0].hw_info.part_num, sizeof(cdev->hwfns[0].hw_info.part_num)); in qed_devlink_info_get()
170 buf[sizeof(cdev->hwfns[0].hw_info.part_num)] = 0; in qed_devlink_info_get()
H A Dqed_l2.c807 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_accept_cmd()
1546 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_mcast_cmd()
1574 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_ucast_cmd()
1873 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in _qed_get_vport_stats()
1926 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_reset_vport_stats()
2205 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_fill_eth_dev_info()
2242 cdev->hwfns[0].hw_info.hw_mac_addr); in qed_fill_eth_dev_info()
2252 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_fill_eth_dev_info()
2265 qed_vf_get_num_vlan_filters(&cdev->hwfns[0], in qed_fill_eth_dev_info()
2267 qed_vf_get_num_mac_filters(&cdev->hwfns[ in qed_fill_eth_dev_info()
[all...]
H A Dqed_sriov.c682 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_set_vf_to_disable()
4371 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate()
4425 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq()
4426 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq()
4434 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable()
4435 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable()
4451 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4480 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable()
4521 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable()
4523 RESC_NUM(&cdev->hwfns[ in qed_sriov_enable()
[all...]
H A Dqed_dev.c114 p_hwfn = db_addr < cdev->hwfns[1].doorbells ? in qed_db_rec_find_hwfn()
115 &cdev->hwfns[0] : &cdev->hwfns[1]; in qed_db_rec_find_hwfn()
1295 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_dp()
1307 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_struct()
1317 cdev->hwfns[0].b_active = true; in qed_init_struct()
1351 qed_l2_free(&cdev->hwfns[i]); in qed_resc_free()
1364 p_hwfn = cdev->hwfns + i; in qed_resc_free()
2157 rc = qed_l2_alloc(&cdev->hwfns[i]); in qed_resc_alloc()
2169 struct qed_hwfn *p_hwfn = &cdev->hwfns[ in qed_resc_alloc()
[all...]
H A Dqed.h781 struct qed_hwfn hwfns[MAX_HWFNS_PER_DEVICE]; member
924 #define QED_LEADING_HWFN(dev) (&dev->hwfns[0])
927 #define QED_FIR_AFFIN_HWFN(dev) (&(dev)->hwfns[dev->fir_affin])
928 #define QED_IWARP_AFFIN_HWFN(dev) (&(dev)->hwfns[dev->iwarp_affin])
H A Dqed_debug.c7670 &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_nvm_image()
7803 &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_all_data()
8029 &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_all_data_size()
8088 &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_feature()
8124 &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_feature_size()
8170 qed_dbg_set_bin_ptr(&cdev->hwfns[i], dbg_values); in qed_dbg_pf_init()
8171 qed_dbg_user_set_bin_ptr(&cdev->hwfns[i], dbg_values); in qed_dbg_pf_init()
H A Dqed_int.c2334 cdev->hwfns[i].b_int_requested = false; in qed_int_disable_post_isr_release()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_selftest.c19 rc = qed_sp_heartbeat_ramrod(&cdev->hwfns[i]); in qed_selftest_memory()
32 rc = qed_sp_heartbeat_ramrod(&cdev->hwfns[i]); in qed_selftest_interrupt()
48 p_hwfn = &cdev->hwfns[i]; in qed_selftest_register()
71 p_hwfn = &cdev->hwfns[i]; in qed_selftest_clock()
H A Dqed_main.c426 qed_vf_get_fw_version(&cdev->hwfns[0], &dev_info->fw_major, in qed_fill_dev_info()
574 * should be a multiple of the number of hwfns. in qed_enable_msix()
671 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config()
680 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean()
702 status = qed_int_igu_read_sisr_reg(&cdev->hwfns[i]); in qed_single_int()
707 hwfn = &cdev->hwfns[i]; in qed_single_int()
815 if (!cdev->hwfns[i].b_int_requested) in qed_slowpath_irq_free()
818 &cdev->hwfns[i].sp_dpc); in qed_slowpath_irq_free()
834 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_nic_stop()
857 struct qed_hwfn *p_hwfn = &cdev->hwfns[ in qed_nic_setup()
[all...]
H A Dqed_devlink.c165 memcpy(buf, cdev->hwfns[0].hw_info.part_num, sizeof(cdev->hwfns[0].hw_info.part_num)); in qed_devlink_info_get()
166 buf[sizeof(cdev->hwfns[0].hw_info.part_num)] = 0; in qed_devlink_info_get()
H A Dqed_l2.c808 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_accept_cmd()
1547 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_mcast_cmd()
1575 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_ucast_cmd()
1875 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in _qed_get_vport_stats()
1936 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_reset_vport_stats()
2215 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_fill_eth_dev_info()
2252 cdev->hwfns[0].hw_info.hw_mac_addr); in qed_fill_eth_dev_info()
2262 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_fill_eth_dev_info()
2275 qed_vf_get_num_vlan_filters(&cdev->hwfns[0], in qed_fill_eth_dev_info()
2277 qed_vf_get_num_mac_filters(&cdev->hwfns[ in qed_fill_eth_dev_info()
[all...]
H A Dqed_sriov.c684 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_set_vf_to_disable()
4397 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate()
4453 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq()
4454 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq()
4462 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable()
4463 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable()
4479 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4508 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable()
4549 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable()
4551 RESC_NUM(&cdev->hwfns[ in qed_sriov_enable()
[all...]
H A Dqed_dev.c116 p_hwfn = db_addr < cdev->hwfns[1].doorbells ? in qed_db_rec_find_hwfn()
117 &cdev->hwfns[0] : &cdev->hwfns[1]; in qed_db_rec_find_hwfn()
1301 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_dp()
1313 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_struct()
1323 cdev->hwfns[0].b_active = true; in qed_init_struct()
1357 qed_l2_free(&cdev->hwfns[i]); in qed_resc_free()
1370 p_hwfn = cdev->hwfns + i; in qed_resc_free()
2170 rc = qed_l2_alloc(&cdev->hwfns[i]); in qed_resc_alloc()
2182 struct qed_hwfn *p_hwfn = &cdev->hwfns[ in qed_resc_alloc()
[all...]
H A Dqed.h773 struct qed_hwfn hwfns[MAX_HWFNS_PER_DEVICE]; member
915 #define QED_LEADING_HWFN(dev) (&(dev)->hwfns[0])
918 #define QED_FIR_AFFIN_HWFN(dev) (&(dev)->hwfns[dev->fir_affin])
919 #define QED_IWARP_AFFIN_HWFN(dev) (&(dev)->hwfns[dev->iwarp_affin])
H A Dqed_debug.c8157 &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_nvm_image()
8290 struct qed_hwfn *p_hwfn = &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_all_data()
8541 struct qed_hwfn *p_hwfn = &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_all_data_size()
8599 struct qed_hwfn *p_hwfn = &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_feature()
8633 struct qed_hwfn *p_hwfn = &cdev->hwfns[cdev->engine_for_debug]; in qed_dbg_feature_size()
8689 qed_dbg_set_bin_ptr(&cdev->hwfns[i], dbg_values); in qed_dbg_pf_init()
8690 qed_dbg_user_set_bin_ptr(&cdev->hwfns[i], dbg_values); in qed_dbg_pf_init()
H A Dqed_int.c2354 cdev->hwfns[i].b_int_requested = false; in qed_int_disable_post_isr_release()

Completed in 65 milliseconds