Home
last modified time | relevance | path

Searched refs:_p_hwfn (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed.h291 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument
292 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument
293 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument
294 RESC_NUM(_p_hwfn, resc))
297 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument
536 #define QED_PATH_ID(_p_hwfn) \ argument
537 (QED_IS_K2((_p_hwfn)->cdev) ? 0 : ((_p_hwfn)->abs_pf_id & 1))
972 #define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ argument
973 qed_device_num_ports((_p_hwfn)->cdev))
Dqed_sriov.h448 #define qed_for_each_vf(_p_hwfn, _i) \ argument
449 for (_i = qed_iov_get_next_active_vf(_p_hwfn, 0); \
451 _i = qed_iov_get_next_active_vf(_p_hwfn, _i + 1))
Dqed_mcp.c32 #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, \