Searched refs:rsrc_cnt (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mcs_rvu_if.c | 710 for (i = 0; i < req->rsrc_cnt; i++) { in rvu_mbox_handler_mcs_alloc_resources() 715 rsp->rsrc_cnt++; in rvu_mbox_handler_mcs_alloc_resources() 719 for (i = 0; i < req->rsrc_cnt; i++) { in rvu_mbox_handler_mcs_alloc_resources() 724 rsp->rsrc_cnt++; in rvu_mbox_handler_mcs_alloc_resources() 728 for (i = 0; i < req->rsrc_cnt; i++) { in rvu_mbox_handler_mcs_alloc_resources() 733 rsp->rsrc_cnt++; in rvu_mbox_handler_mcs_alloc_resources() 737 for (i = 0; i < req->rsrc_cnt; i++) { in rvu_mbox_handler_mcs_alloc_resources() 742 rsp->rsrc_cnt++; in rvu_mbox_handler_mcs_alloc_resources()
|
D | mbox.h | 1917 u8 rsrc_cnt; /* Resources count */ member 1931 u8 rsrc_cnt; /* No of entries reserved */ member
|
/linux-6.12.1/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.12.1/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 6426 uint16_t rsrc_id_cnt, rsrc_cnt, rsrc_size; in lpfc_sli4_alloc_extent() local 6442 &rsrc_cnt, in lpfc_sli4_alloc_extent() 6447 if ((rsrc_cnt == 0) || (rsrc_size == 0)) { in lpfc_sli4_alloc_extent() 6451 "Size 0x%x\n", type, rsrc_cnt, in lpfc_sli4_alloc_extent() 6458 "count:%d, size %d\n", type, rsrc_cnt, rsrc_size); in lpfc_sli4_alloc_extent() 6464 rc = lpfc_sli4_cfg_post_extnts(phba, rsrc_cnt, type, &emb, mbox); in lpfc_sli4_alloc_extent() 6479 rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, &rsrc_ext->u.rsp); in lpfc_sli4_alloc_extent() 6483 rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, n_rsrc); in lpfc_sli4_alloc_extent() 6487 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent() 6488 rsrc_id_cnt = rsrc_cnt * rsrc_size; in lpfc_sli4_alloc_extent() [all …]
|