Searched refs:alloc_req (Results 1 – 2 of 2) sorted by relevance
158 struct npc_mcam_alloc_entry_req alloc_req = { 0 }; in rvu_switch_enable() local167 alloc_req.contig = true; in rvu_switch_enable()168 alloc_req.count = rvu->cgx_mapped_pfs + rvu->cgx_mapped_vfs; in rvu_switch_enable()170 alloc_req.count = alloc_req.count * 4; in rvu_switch_enable()171 ret = rvu_mbox_handler_npc_mcam_alloc_entry(rvu, &alloc_req, in rvu_switch_enable()179 if (alloc_rsp.count != alloc_req.count) { in rvu_switch_enable()182 alloc_req.count, alloc_rsp.count); in rvu_switch_enable()186 rswitch->entry2pcifunc = kcalloc(alloc_req.count, sizeof(u16), in rvu_switch_enable()
235 static inline struct hwa742_request *alloc_req(bool can_sleep) in alloc_req() function411 req = alloc_req(can_sleep); \560 req = alloc_req(true); in hwa742_sync()