Searched refs:_p_hwfn (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 288 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument 289 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument 290 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument 291 RESC_NUM(_p_hwfn, resc)) 294 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument 527 #define QED_PATH_ID(_p_hwfn) \ argument 528 (QED_IS_K2((_p_hwfn)->cdev) ? 0 : ((_p_hwfn)->abs_pf_id & 1)) 965 #define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ argument 966 qed_device_num_ports((_p_hwfn)->cdev))
|
D | qed_sriov.h | 447 #define qed_for_each_vf(_p_hwfn, _i) \ argument 448 for (_i = qed_iov_get_next_active_vf(_p_hwfn, 0); \ 450 _i = qed_iov_get_next_active_vf(_p_hwfn, _i + 1))
|
D | qed_mcp.c | 32 #define DRV_INNER_WR(_p_hwfn, _p_ptt, _ptr, _offset, _val) \ argument 33 qed_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset), \ 36 #define DRV_INNER_RD(_p_hwfn, _p_ptt, _ptr, _offset) \ argument 37 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset)) 39 #define DRV_MB_WR(_p_hwfn, _p_ptt, _field, _val) \ argument 43 #define DRV_MB_RD(_p_hwfn, _p_ptt, _field) \ argument 44 DRV_INNER_RD(_p_hwfn, _p_ptt, drv_mb_addr, \
|