Home
last modified time | relevance | path

Searched refs:alloc_mem (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/clk/at91/
Dsama7g5.c890 void **alloc_mem = NULL; in sama7g5_pmc_setup() local
926 alloc_mem = kmalloc(sizeof(void *) * in sama7g5_pmc_setup()
929 if (!alloc_mem) in sama7g5_pmc_setup()
1032 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1123 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1131 if (alloc_mem) { in sama7g5_pmc_setup()
1133 kfree(alloc_mem[i]); in sama7g5_pmc_setup()
1134 kfree(alloc_mem); in sama7g5_pmc_setup()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs.c1083 static void *alloc_mem(struct mcs *mcs, int n) in alloc_mem() function
1093 res->flowid2pf_map = alloc_mem(mcs, hw->tcam_entries); in mcs_alloc_struct_mem()
1097 res->secy2pf_map = alloc_mem(mcs, hw->secy_entries); in mcs_alloc_struct_mem()
1101 res->sc2pf_map = alloc_mem(mcs, hw->sc_entries); in mcs_alloc_struct_mem()
1105 res->sa2pf_map = alloc_mem(mcs, hw->sa_entries); in mcs_alloc_struct_mem()
1109 res->flowid2secy_map = alloc_mem(mcs, hw->tcam_entries); in mcs_alloc_struct_mem()
1113 res->ctrlpktrule2pf_map = alloc_mem(mcs, MCS_MAX_CTRLPKT_RULES); in mcs_alloc_struct_mem()
1184 mcs->tx_sa_active = alloc_mem(mcs, mcs->hw->sc_entries); in mcs_register_interrupts()
/linux-6.1.9/drivers/edac/
Daltera_edac.h360 void * (*alloc_mem)(size_t size, void **other); member
Daltera_edac.c597 if (!priv->alloc_mem) in altr_edac_device_trig()
604 ptemp = priv->alloc_mem(priv->trig_alloc_sz, &generic_ptr); in altr_edac_device_trig()
1180 .alloc_mem = ocram_alloc_mem,
1321 .alloc_mem = l2_alloc_mem,
1336 .alloc_mem = l2_alloc_mem,
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-hcd.c603 static void alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) in alloc_mem() function
1158 alloc_mem(hcd, qtd); in enqueue_qtds()
/linux-6.1.9/drivers/scsi/cxlflash/
Dmain.c1005 static int alloc_mem(struct cxlflash_cfg *cfg) in alloc_mem() function
3672 rc = alloc_mem(cfg); in cxlflash_probe()