Searched refs:_p_hwfn (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 290 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument 291 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument 292 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument 293 RESC_NUM(_p_hwfn, resc)) 296 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument 529 #define QED_PATH_ID(_p_hwfn) \ argument 530 (QED_IS_K2((_p_hwfn)->cdev) ? 0 : ((_p_hwfn)->abs_pf_id & 1)) 967 #define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ argument 968 qed_device_num_ports((_p_hwfn)->cdev))
|
D | qed_sriov.h | 496 #define qed_for_each_vf(_p_hwfn, _i) \ argument 497 for (_i = qed_iov_get_next_active_vf(_p_hwfn, 0); \ 499 _i = qed_iov_get_next_active_vf(_p_hwfn, _i + 1))
|
D | qed_mcp.c | 33 #define DRV_INNER_WR(_p_hwfn, _p_ptt, _ptr, _offset, _val) \ argument 34 qed_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + (_offset)), \ 37 #define DRV_INNER_RD(_p_hwfn, _p_ptt, _ptr, _offset) \ argument 38 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + (_offset))) 40 #define DRV_MB_WR(_p_hwfn, _p_ptt, _field, _val) \ argument 44 #define DRV_MB_RD(_p_hwfn, _p_ptt, _field) \ argument 45 DRV_INNER_RD(_p_hwfn, _p_ptt, drv_mb_addr, \
|