Searched refs:_p_hwfn (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 325 #define RESC_START(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_start[resc]) argument 326 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) argument 327 #define RESC_END(_p_hwfn, resc) (RESC_START(_p_hwfn, resc) + \ argument 328 RESC_NUM(_p_hwfn, resc)) 329 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc]) argument 533 #define QED_PATH_ID(_p_hwfn) \ argument 534 (QED_IS_K2((_p_hwfn)->cdev) ? 0 : ((_p_hwfn)->abs_pf_id & 1))
|
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.h | 625 #define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ argument 626 ((_p_hwfn)->cdev->num_ports_in_engine * \ 627 qed_device_num_engines((_p_hwfn)->cdev)))
|
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, \
|