Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/qede/base/
H A Decore.h391 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument
392 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument
393 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument
395 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument
592 (ECORE_IS_BB((_p_hwfn)->p_dev) ? ((_p_hwfn)->abs_pf_id & 1) : 0)
837 #define IS_MF_SI(_p_hwfn) \ argument
839 #define IS_MF_SD(_p_hwfn) \ argument
1071 #define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ argument
1082 MFW_PORT(_p_hwfn))
1085 (_p_hwfn)->rel_pf_id : \
[all …]
H A Dbcm_osal.h127 #define REG_RD(_p_hwfn, _reg_offset) \ argument
128 DIRECT_REG_RD(_p_hwfn, \
129 ((u8 *)(uintptr_t)(_p_hwfn->regview) + (_reg_offset)))
138 #define REG_WR(_p_hwfn, _reg_offset, _val) \ argument
142 #define REG_WR16(_p_hwfn, _reg_offset, _val) \ argument
143 DIRECT_REG_WR16(((u8 *)(uintptr_t)(_p_hwfn->regview) + \
146 #define DOORBELL(_p_hwfn, _db_addr, _val) \ argument
147 DIRECT_REG_WR_RELAXED((_p_hwfn), \
148 ((u8 *)(uintptr_t)(_p_hwfn->doorbells) + \
439 #define OSAL_REG_ADDR(_p_hwfn, _offset) \ argument
[all …]
H A Decore_iov_api.h769 #define ecore_for_each_vf(_p_hwfn, _i) \ argument
770 for (_i = ecore_iov_get_next_active_vf(_p_hwfn, 0); \
772 _i = ecore_iov_get_next_active_vf(_p_hwfn, _i + 1))
H A Decore_mcp.c42 #define DRV_INNER_WR(_p_hwfn, _p_ptt, _ptr, _offset, _val) \ argument
43 ecore_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset), \
46 #define DRV_INNER_RD(_p_hwfn, _p_ptt, _ptr, _offset) \ argument
47 ecore_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset))
49 #define DRV_MB_WR(_p_hwfn, _p_ptt, _field, _val) \ argument
53 #define DRV_MB_RD(_p_hwfn, _p_ptt, _field) \ argument
54 DRV_INNER_RD(_p_hwfn, _p_ptt, drv_mb_addr, \