Lines Matching refs:hwfns
43 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_dp()
55 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_struct()
65 cdev->hwfns[0].b_active = true; in qed_init_struct()
93 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_free()
102 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_free()
216 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_alloc()
240 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_alloc()
327 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_setup()
444 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_cau_rt_data()
668 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_hw_init()
768 struct qed_hwfn *p_hwfn = &cdev->hwfns[j]; in qed_hw_stop()
824 t_rc = qed_change_pci_hwfn(&cdev->hwfns[0], in qed_hw_stop()
825 cdev->hwfns[0].p_main_ptt, in qed_hw_stop()
838 struct qed_hwfn *p_hwfn = &cdev->hwfns[j]; in qed_hw_stop_fastpath()
909 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_hw_reset()
1298 cdev->chip_num = (u16)qed_rd(cdev->hwfns, cdev->hwfns[0].p_main_ptt, in qed_get_dev_info()
1300 cdev->chip_rev = (u16)qed_rd(cdev->hwfns, cdev->hwfns[0].p_main_ptt, in qed_get_dev_info()
1305 tmp = qed_rd(cdev->hwfns, cdev->hwfns[0].p_main_ptt, in qed_get_dev_info()
1308 if (tmp & (1 << cdev->hwfns[0].rel_pf_id)) { in qed_get_dev_info()
1309 DP_NOTICE(cdev->hwfns, "device in CMT mode\n"); in qed_get_dev_info()
1315 cdev->chip_bond_id = qed_rd(cdev->hwfns, cdev->hwfns[0].p_main_ptt, in qed_get_dev_info()
1318 cdev->chip_metal = (u16)qed_rd(cdev->hwfns, cdev->hwfns[0].p_main_ptt, in qed_get_dev_info()
1322 DP_INFO(cdev->hwfns, in qed_get_dev_info()
1431 rc = qed_hw_prepare_single(&cdev->hwfns[1], p_regview, in qed_hw_prepare()
1452 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_hw_remove()
1547 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in __qed_get_vport_stats()
1715 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_reset_vport_stats()