Searched refs:rsrc_cnt (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mcs_rvu_if.c | 705 for (i = 0; i < req->rsrc_cnt; i++) { in rvu_mbox_handler_mcs_alloc_resources() 710 rsp->rsrc_cnt++; in rvu_mbox_handler_mcs_alloc_resources() 714 for (i = 0; i < req->rsrc_cnt; i++) { in rvu_mbox_handler_mcs_alloc_resources() 719 rsp->rsrc_cnt++; in rvu_mbox_handler_mcs_alloc_resources() 723 for (i = 0; i < req->rsrc_cnt; i++) { in rvu_mbox_handler_mcs_alloc_resources() 728 rsp->rsrc_cnt++; in rvu_mbox_handler_mcs_alloc_resources() 732 for (i = 0; i < req->rsrc_cnt; i++) { in rvu_mbox_handler_mcs_alloc_resources() 737 rsp->rsrc_cnt++; in rvu_mbox_handler_mcs_alloc_resources()
|
D | mbox.h | 1818 u8 rsrc_cnt; /* Resources count */ member 1832 u8 rsrc_cnt; /* No of entries reserved */ member
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | cn10k_macsec.c | 156 req->rsrc_cnt = 1; in cn10k_mcs_alloc_rsrc() 165 if (IS_ERR(rsp) || req->rsrc_cnt != rsp->rsrc_cnt || in cn10k_mcs_alloc_rsrc()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 6409 uint16_t rsrc_id_cnt, rsrc_cnt, rsrc_size; in lpfc_sli4_alloc_extent() local 6425 &rsrc_cnt, in lpfc_sli4_alloc_extent() 6430 if ((rsrc_cnt == 0) || (rsrc_size == 0)) { in lpfc_sli4_alloc_extent() 6434 "Size 0x%x\n", type, rsrc_cnt, in lpfc_sli4_alloc_extent() 6441 "count:%d, size %d\n", type, rsrc_cnt, rsrc_size); in lpfc_sli4_alloc_extent() 6447 rc = lpfc_sli4_cfg_post_extnts(phba, rsrc_cnt, type, &emb, mbox); in lpfc_sli4_alloc_extent() 6462 rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, &rsrc_ext->u.rsp); in lpfc_sli4_alloc_extent() 6466 rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, n_rsrc); in lpfc_sli4_alloc_extent() 6470 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent() 6471 rsrc_id_cnt = rsrc_cnt * rsrc_size; in lpfc_sli4_alloc_extent() [all …]
|