Home
last modified time | relevance | path

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

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore.h461 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument
462 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument
463 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument
464 RESC_NUM(_p_hwfn, resc))
465 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument
653 #define ECORE_PATH_ID(_p_hwfn) \ argument
654 (ECORE_IS_BB((_p_hwfn)->p_dev) ? ((_p_hwfn)->abs_pf_id & 1) : 0)
870 #define IS_MF_DEFAULT(_p_hwfn) (((_p_hwfn)->p_dev)->mf_mode == ECORE_MF_DEFAULT) argument
871 #define IS_MF_SI(_p_hwfn) (((_p_hwfn)->p_dev)->mf_mode == ECORE_MF_NPAR) argument
872 #define IS_MF_SD(_p_hwfn) (((_p_hwfn)->p_dev)->mf_mode == ECORE_MF_OVLAN) argument
[all …]
H A Decore_rdma.h79 #define IS_IWARP(_p_hwfn) (_p_hwfn->p_rdma_info->proto == PROTOCOLID_IWARP) argument
80 #define IS_ROCE(_p_hwfn) (_p_hwfn->p_rdma_info->proto == PROTOCOLID_ROCE) argument
H A Decore_iov_api.h826 #define ecore_for_each_vf(_p_hwfn, _i) \ argument
827 for (_i = ecore_iov_get_next_active_vf(_p_hwfn, 0); \
829 _i = ecore_iov_get_next_active_vf(_p_hwfn, _i + 1))
H A Decore_mcp.c56 #define DRV_INNER_WR(_p_hwfn, _p_ptt, _ptr, _offset, _val) \ argument
57 ecore_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset), \
60 #define DRV_INNER_RD(_p_hwfn, _p_ptt, _ptr, _offset) \ argument
61 ecore_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, \