Searched refs:hwfns (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
| D | qed_selftest.c | 45 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()
|
| D | qed_main.c | 292 qed_vf_get_fw_version(&cdev->hwfns[0], &dev_info->fw_major, in qed_fill_dev_info() 640 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config() 649 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean() 671 status = qed_int_igu_read_sisr_reg(&cdev->hwfns[i]); in qed_single_int() 676 hwfn = &cdev->hwfns[i]; in qed_single_int() 784 if (!cdev->hwfns[i].b_int_requested) in qed_slowpath_irq_free() 788 cdev->hwfns[i].sp_dpc); in qed_slowpath_irq_free() 804 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_nic_stop() 827 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_nic_setup() 902 qed_int_get_num_sbs(&cdev->hwfns[i], &sb_cnt_info); in qed_slowpath_setup_int() [all …]
|
| D | qed_l2.c | 828 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_accept_cmd() 1567 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_mcast_cmd() 1595 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_ucast_cmd() 1894 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in _qed_get_vport_stats() 1947 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_reset_vport_stats() 2221 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_fill_eth_dev_info() 2258 cdev->hwfns[0].hw_info.hw_mac_addr); in qed_fill_eth_dev_info() 2268 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_fill_eth_dev_info() 2281 qed_vf_get_num_vlan_filters(&cdev->hwfns[0], in qed_fill_eth_dev_info() 2283 qed_vf_get_num_mac_filters(&cdev->hwfns[0], in qed_fill_eth_dev_info() [all …]
|
| D | qed_sriov.c | 703 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_set_vf_to_disable() 4384 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate() 4435 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq() 4436 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq() 4444 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable() 4445 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable() 4461 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable() 4490 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable() 4531 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable() 4533 RESC_NUM(&cdev->hwfns[0], QED_VPORT) - 1); in qed_sriov_enable() [all …]
|
| D | qed_dev.c | 140 p_hwfn = db_addr < cdev->hwfns[1].doorbells ? in qed_db_rec_find_hwfn() 141 &cdev->hwfns[0] : &cdev->hwfns[1]; in qed_db_rec_find_hwfn() 1321 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_dp() 1333 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_struct() 1343 cdev->hwfns[0].b_active = true; in qed_init_struct() 1375 qed_l2_free(&cdev->hwfns[i]); in qed_resc_free() 1388 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_free() 2178 rc = qed_l2_alloc(&cdev->hwfns[i]); in qed_resc_alloc() 2190 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_alloc() 2380 qed_l2_setup(&cdev->hwfns[i]); in qed_resc_setup() [all …]
|
| D | qed.h | 804 struct qed_hwfn hwfns[MAX_HWFNS_PER_DEVICE]; member 920 #define QED_LEADING_HWFN(dev) (&dev->hwfns[0]) 923 #define QED_FIR_AFFIN_HWFN(dev) (&(dev)->hwfns[dev->fir_affin]) 924 #define QED_IWARP_AFFIN_HWFN(dev) (&(dev)->hwfns[dev->iwarp_affin])
|
| D | qed_debug.c | 7969 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_nvm_image() 8073 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_all_data() 8252 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_all_data_size() 8293 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_feature() 8329 &cdev->hwfns[cdev->dbg_params.engine_for_debug]; in qed_dbg_feature_size()
|
| D | qed_int.c | 2349 cdev->hwfns[i].b_int_requested = false; in qed_int_disable_post_isr_release()
|