Searched refs:alloc_mem (Results 1 – 6 of 6) sorted by relevance
| /drivers/clk/at91/ |
| A D | sama7d65.c | 1098 void **alloc_mem = NULL; in sama7d65_pmc_setup() local 1126 alloc_mem = kmalloc(sizeof(void *) * in sama7d65_pmc_setup() 1129 if (!alloc_mem) in sama7d65_pmc_setup() 1230 alloc_mem[alloc_mem_size++] = mux_table; in sama7d65_pmc_setup() 1331 alloc_mem[alloc_mem_size++] = mux_table; in sama7d65_pmc_setup() 1360 kfree(alloc_mem); in sama7d65_pmc_setup() 1365 if (alloc_mem) { in sama7d65_pmc_setup() 1367 kfree(alloc_mem[i]); in sama7d65_pmc_setup() 1368 kfree(alloc_mem); in sama7d65_pmc_setup()
|
| A D | sama7g5.c | 977 void **alloc_mem = NULL; in sama7g5_pmc_setup() local 1005 alloc_mem = kmalloc(sizeof(void *) * in sama7g5_pmc_setup() 1008 if (!alloc_mem) in sama7g5_pmc_setup() 1128 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup() 1228 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup() 1236 if (alloc_mem) { in sama7g5_pmc_setup() 1238 kfree(alloc_mem[i]); in sama7g5_pmc_setup() 1239 kfree(alloc_mem); in sama7g5_pmc_setup()
|
| /drivers/net/ethernet/marvell/octeontx2/af/ |
| A D | mcs.c | 1075 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()
|
| /drivers/edac/ |
| A D | altera_edac.h | 362 void * (*alloc_mem)(size_t size, void **other); member
|
| A D | altera_edac.c | 590 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() 1167 .alloc_mem = ocram_alloc_mem, 1308 .alloc_mem = l2_alloc_mem, 1323 .alloc_mem = l2_alloc_mem,
|
| /drivers/usb/isp1760/ |
| A D | isp1760-hcd.c | 603 static void alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) in alloc_mem() function 1158 alloc_mem(hcd, qtd); in enqueue_qtds()
|
Completed in 23 milliseconds