Home
last modified time | relevance | path

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

/linux/drivers/clk/at91/
H A Dsama7d65.c1102 void **alloc_mem = NULL; in sama7d65_pmc_setup() local
1130 alloc_mem = kmalloc(sizeof(void *) * in sama7d65_pmc_setup()
1133 if (!alloc_mem) in sama7d65_pmc_setup()
1234 alloc_mem[alloc_mem_size++] = mux_table; in sama7d65_pmc_setup()
1335 alloc_mem[alloc_mem_size++] = mux_table; in sama7d65_pmc_setup()
1364 kfree(alloc_mem); in sama7d65_pmc_setup()
1369 if (alloc_mem) { in sama7d65_pmc_setup()
1371 kfree(alloc_mem[i]); in sama7d65_pmc_setup()
1372 kfree(alloc_mem); in sama7d65_pmc_setup()
H A Dsama7g5.c979 void **alloc_mem = NULL; in sama7g5_pmc_setup() local
1007 alloc_mem = kmalloc(sizeof(void *) * in sama7g5_pmc_setup()
1010 if (!alloc_mem) in sama7g5_pmc_setup()
1130 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1230 alloc_mem[alloc_mem_size++] = mux_table; in sama7g5_pmc_setup()
1238 if (alloc_mem) { in sama7g5_pmc_setup()
1240 kfree(alloc_mem[i]); in sama7g5_pmc_setup()
1241 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.h362 void * (*alloc_mem)(size_t size, void **other); member
H A Daltera_edac.c589 if (!priv->alloc_mem) in altr_edac_device_trig()
596 ptemp = priv->alloc_mem(priv->trig_alloc_sz, &generic_ptr); in altr_edac_device_trig()
1166 .alloc_mem = ocram_alloc_mem,
1319 .alloc_mem = l2_alloc_mem,
1334 .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()