Searched refs:_p_hwfn (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore.h | 448 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument 449 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument 450 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument 451 RESC_NUM(_p_hwfn, resc)) 452 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument 574 #define ECORE_PATH_ID(_p_hwfn) \ argument 575 (ECORE_IS_K2((_p_hwfn)->p_dev) ? 0 : ((_p_hwfn)->abs_pf_id & 1)) 771 #define IS_MF_DEFAULT(_p_hwfn) (((_p_hwfn)->p_dev)->mf_mode == ECORE_MF_DEFAULT) argument 772 #define IS_MF_SI(_p_hwfn) (((_p_hwfn)->p_dev)->mf_mode == ECORE_MF_NPAR) argument 773 #define IS_MF_SD(_p_hwfn) (((_p_hwfn)->p_dev)->mf_mode == ECORE_MF_OVLAN) argument
|
H A D | ecore_mcp.h | 57 #define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ argument 58 ((_p_hwfn)->p_dev->num_ports_in_engine * \ 59 ecore_device_num_engines((_p_hwfn)->p_dev)))
|
H A D | ecore_iov_api.h | 804 #define ecore_for_each_vf(_p_hwfn, _i) \ argument 805 for (_i = ecore_iov_get_next_active_vf(_p_hwfn, 0); \ 807 _i = ecore_iov_get_next_active_vf(_p_hwfn, _i + 1))
|
H A D | ecore_mcp.c | 64 #define DRV_INNER_WR(_p_hwfn, _p_ptt, _ptr, _offset, _val) \ argument 65 ecore_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset), \ 68 #define DRV_INNER_RD(_p_hwfn, _p_ptt, _ptr, _offset) \ argument 69 ecore_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset)) 71 #define DRV_MB_WR(_p_hwfn, _p_ptt, _field, _val) \ argument 75 #define DRV_MB_RD(_p_hwfn, _p_ptt, _field) \ argument 76 DRV_INNER_RD(_p_hwfn, _p_ptt, drv_mb_addr, \
|
H A D | ecore_dev.c | 2567 #define ECORE_WOL_WR(_p_hwfn, _p_ptt, _offset, _val) ECORE_IS_BB(_p_hwfn->p_dev) ? \ argument 2568 ecore_wr(_p_hwfn, _p_ptt, _offset, _val) : \ 2569 ecore_mcp_wol_wr(_p_hwfn, _p_ptt, _offset, _val);
|