Home
last modified time | relevance | path

Searched refs:alloc_req (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_switch.c158 struct npc_mcam_alloc_entry_req alloc_req = { 0 }; in rvu_switch_enable() local
167 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()
/linux/drivers/video/fbdev/omap/
H A Dhwa742.c235 static inline struct hwa742_request *alloc_req(bool can_sleep) in alloc_req() function
411 req = alloc_req(can_sleep); \
560 req = alloc_req(true); in hwa742_sync()