Lines Matching refs:hwfns
468 if (&ha->cdev.hwfns[i] == p_hwfn) { in qlnx_sp_intr()
498 struct ecore_hwfn *p_hwfn = &ha->cdev.hwfns[i]; in qlnx_create_sp_taskqueues()
864 ecore_vf_get_num_rxqs(&ha->cdev.hwfns[0], &max_rxq); in qlnx_pci_attach()
865 ecore_vf_get_num_rxqs(&ha->cdev.hwfns[0], &max_txq); in qlnx_pci_attach()
930 struct ecore_hwfn *p_hwfn = &ha->cdev.hwfns[i]; in qlnx_pci_attach()
1045 struct ecore_hwfn *p_hwfn = &ha->cdev.hwfns[0]; in qlnx_pci_attach()
1258 ha, &ha->cdev, &ha->cdev.hwfns[0]); in qlnx_init_hw()
1425 p_hwfn = &ha->cdev.hwfns[(i % ha->cdev.num_hwfns)]; in qlnx_set_tx_coalesce()
1460 p_hwfn = &ha->cdev.hwfns[(i % ha->cdev.num_hwfns)]; in qlnx_set_rx_coalesce()
2764 struct ecore_hwfn *p_hwfn = &ha->cdev.hwfns[0]; in qlnx_ioctl()
3785 p_hwfn = &ha->cdev.hwfns[0]; in qlnx_get_mac_addr()
4536 p_hwfn = &ha->cdev.hwfns[(fp->rss_id % cdev->num_hwfns)]; in qlnx_rx_int()
5595 struct ecore_hwfn *p_hwfn = &cdev->hwfns[i]; in qlnx_nic_setup()
5737 snprintf(cdev->hwfns[i].name, NAME_SIZE, "%s-%d", name, i); in qlnx_set_id()
5780 p_hwfn = &ha->cdev.hwfns[0]; in qlnx_get_mfw_version()
5800 p_hwfn = &ha->cdev.hwfns[0]; in qlnx_get_flash_size()
5907 p_hwfn = &cdev->hwfns[hwfn_index]; in qlnx_sb_init()
6438 struct ecore_hwfn *p_hwfn = &cdev->hwfns[i]; in qlnx_start_vport()
6497 p_hwfn = &cdev->hwfns[i]; in qlnx_update_vport()
6670 p_hwfn = &cdev->hwfns[(fp->rss_id % cdev->num_hwfns)]; in qlnx_start_queues()
6893 struct ecore_hwfn *p_hwfn = &cdev->hwfns[(i % cdev->num_hwfns)]; in qlnx_stop_queues()
6923 struct ecore_hwfn *p_hwfn = &cdev->hwfns[i]; in qlnx_stop_queues()
7112 hwfn = &cdev->hwfns[i]; in qlnx_set_link()
7272 qlnx_link_update(&ha->cdev.hwfns[0]); in qlnx_load()
7373 p_hwfn = &ha->cdev.hwfns[hwfn_index]; in qlnx_grc_dumpsize()
7404 p_hwfn = &ha->cdev.hwfns[hwfn_index]; in qlnx_idle_chk_size()
7444 hwfn = &cdev->hwfns[i]; in qlnx_sample_storm_stats()
7781 if (&cdev->hwfns[i] == p_hwfn) in qlnx_find_hwfn_index()
7923 struct ecore_hwfn *hwfn = &cdev->hwfns[i]; in qlnx_sriov_disable()
7951 ecore_iov_release_hw_for_vf(&cdev->hwfns[i], in qlnx_sriov_disable()
8011 max_vfs = RESC_NUM(&cdev->hwfns[0], ECORE_VPORT); in qlnx_iov_init()
8018 (RESC_NUM(&cdev->hwfns[0], ECORE_VPORT) - 1)); in qlnx_iov_init()
8032 struct ecore_hwfn *hwfn = &cdev->hwfns[j]; in qlnx_iov_init()
8064 qlnx_inform_vf_link_state(&cdev->hwfns[0], ha); in qlnx_iov_init()
8136 p_hwfn = &ha->cdev.hwfns[0]; in qlnx_iov_add_vf()
8275 struct ecore_hwfn *p_hwfn = &ha->cdev.hwfns[i]; in qlnx_create_pf_taskqueues()