Home
last modified time | relevance | path

Searched refs:num_sbs (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c265 for (i = 0; i < p_vf->num_sbs; i++) in qed_iov_validate_sb()
272 p_vf->abs_vf_id, sb_idx, p_vf->num_sbs); in qed_iov_validate_sb()
727 for (i = 0; i < vf->num_sbs; i++) in qed_iov_vf_igu_reset()
756 struct qed_ptt *p_ptt, u8 abs_vf_id, u8 num_sbs) in qed_iov_enable_vf_access_msix() argument
772 current_max = max_t(u8, current_max, p_vf->num_sbs); in qed_iov_enable_vf_access_msix()
776 if (num_sbs > current_max) in qed_iov_enable_vf_access_msix()
778 abs_vf_id, num_sbs); in qed_iov_enable_vf_access_msix()
808 vf->abs_vf_id, vf->num_sbs); in qed_iov_enable_vf_access()
909 vf->num_sbs = (u8)num_rx_queues; in qed_iov_alloc_vf_igu_sbs()
911 return vf->num_sbs; in qed_iov_alloc_vf_igu_sbs()
[all …]
Dqed_vf.c223 p_req->num_sbs, in qed_vf_pf_acquire_reduce_resc()
224 p_resp->num_sbs, in qed_vf_pf_acquire_reduce_resc()
235 p_req->num_sbs = p_resp->num_sbs; in qed_vf_pf_acquire_reduce_resc()
262 p_resc->num_sbs = QED_MAX_VF_CHAINS_PER_PF; in qed_vf_pf_acquire()
956 for (i = 0; i < p_hwfn->vf_iov_info->acquire_resp.resc.num_sbs; i++) { in qed_vf_pf_vport_start()
Dqed_vf.h18 u8 num_sbs; member
209 u8 num_sbs; member
Dqed_sriov.h198 u8 num_sbs; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.h33 u8 num_sbs; member
202 u8 num_sbs; member
Dbnx2x_vfpf.c247 req->resc_request.num_sbs = bp->igu_sb_cnt; in bnx2x_vfpf_acquire()
309 req->resc_request.num_sbs = in bnx2x_vfpf_acquire()
310 min(req->resc_request.num_sbs, in bnx2x_vfpf_acquire()
311 bp->acquire_resp.resc.num_sbs); in bnx2x_vfpf_acquire()
379 bp->igu_sb_cnt = bp->acquire_resp.resc.num_sbs; in bnx2x_vfpf_acquire()
1287 resc->num_sbs = vf_sb_count(vf); in bnx2x_vf_mbx_acquire_resp()
1323 resc->num_sbs, in bnx2x_vf_mbx_acquire_resp()
1410 acquire->resc_request.num_sbs, acquire->resc_request.num_mac_filters, in bnx2x_vf_mbx_acquire()
Dbnx2x_sriov.h168 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs)
Dbnx2x_sriov.c842 resc->num_sbs = vf->sb_count; in bnx2x_iov_static_resc()
2001 (req_resc->num_sbs <= vf_sb_count(vf)) && in bnx2x_vf_chk_avail_resc()
2054 vf_sb_count(vf) = resc->num_sbs; in bnx2x_vf_acquire()
/drivers/media/platform/verisilicon/
Dhantro_hw.h517 size_t num_sbs = hantro_av1_num_sbs(width) * hantro_av1_num_sbs(height); in hantro_av1_mv_size() local
519 return ALIGN(num_sbs * 384, 16) * 2 + 512; in hantro_av1_mv_size()