Home
last modified time | relevance | path

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

/linux/drivers/clk/at91/
H A Dsama7g5.c984 void **alloc_mem = NULL; in sama7g5_pmc_setup() local
1012 alloc_mem = kmalloc(sizeof(void *) * in sama7g5_pmc_setup()
1015 if (!alloc_mem) in sama7g5_pmc_setup()
1135 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1235 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1243 if (alloc_mem) { in sama7g5_pmc_setup()
1245 kfree(alloc_mem[i]); in sama7g5_pmc_setup()
1246 kfree(alloc_mem); in sama7g5_pmc_setup()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs.c1075 static void *alloc_mem(struct mcs *mcs, int n) in alloc_mem() function
1085 res->flowid2pf_map = alloc_mem(mcs, hw->tcam_entries); in mcs_alloc_struct_mem()
1089 res->secy2pf_map = alloc_mem(mcs, hw->secy_entries); in mcs_alloc_struct_mem()
1093 res->sc2pf_map = alloc_mem(mcs, hw->sc_entries); in mcs_alloc_struct_mem()
1097 res->sa2pf_map = alloc_mem(mcs, hw->sa_entries); in mcs_alloc_struct_mem()
1101 res->flowid2secy_map = alloc_mem(mcs, hw->tcam_entries); in mcs_alloc_struct_mem()
1105 res->ctrlpktrule2pf_map = alloc_mem(mcs, MCS_MAX_CTRLPKT_RULES); in mcs_alloc_struct_mem()
1176 mcs->tx_sa_active = alloc_mem(mcs, mcs->hw->sc_entries); in mcs_register_interrupts()
/linux/drivers/edac/
H A Daltera_edac.h360 void * (*alloc_mem)(size_t size, void **other); member
H A Daltera_edac.c590 if (!priv->alloc_mem) in altr_edac_device_trig()
597 ptemp = priv->alloc_mem(priv->trig_alloc_sz, &generic_ptr); in altr_edac_device_trig()
1170 .alloc_mem = ocram_alloc_mem,
1311 .alloc_mem = l2_alloc_mem,
1326 .alloc_mem = l2_alloc_mem,
/linux/drivers/usb/isp1760/
H A 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/drivers/scsi/cxlflash/
H A Dmain.c1010 static int alloc_mem(struct cxlflash_cfg *cfg) in alloc_mem() function
3675 rc = alloc_mem(cfg); in cxlflash_probe()