Searched refs:_p_hwfn (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
| D | qed.h | 332 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument 333 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument 334 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument 335 RESC_NUM(_p_hwfn, resc)) 336 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument 556 #define QED_PATH_ID(_p_hwfn) \ argument 557 (QED_IS_K2((_p_hwfn)->cdev) ? 0 : ((_p_hwfn)->abs_pf_id & 1)) 968 #define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ argument 969 qed_device_num_ports((_p_hwfn)->cdev))
|
| D | qed_sriov.h | 471 #define qed_for_each_vf(_p_hwfn, _i) \ argument 472 for (_i = qed_iov_get_next_active_vf(_p_hwfn, 0); \ 474 _i = qed_iov_get_next_active_vf(_p_hwfn, _i + 1))
|
| D | qed_mcp.c | 56 #define DRV_INNER_WR(_p_hwfn, _p_ptt, _ptr, _offset, _val) \ argument 57 qed_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset), \ 60 #define DRV_INNER_RD(_p_hwfn, _p_ptt, _ptr, _offset) \ argument 61 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset)) 63 #define DRV_MB_WR(_p_hwfn, _p_ptt, _field, _val) \ argument 67 #define DRV_MB_RD(_p_hwfn, _p_ptt, _field) \ argument 68 DRV_INNER_RD(_p_hwfn, _p_ptt, drv_mb_addr, \
|