Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/dma/ti/
Ddma-crossbar.c384 size_t nelm = sz / sizeof(*rsv_events); in ti_dra7_xbar_probe() local
387 if (!nelm) in ti_dra7_xbar_probe()
390 rsv_events = kcalloc(nelm, sizeof(*rsv_events), GFP_KERNEL); in ti_dra7_xbar_probe()
395 nelm * 2); in ti_dra7_xbar_probe()
401 for (i = 0; i < nelm; i++) { in ti_dra7_xbar_probe()
Dedma.c2152 size_t nelm = sz / sizeof(s16); in edma_xbar_event_map() local
2156 xbar_chans = devm_kcalloc(dev, nelm + 2, sizeof(s16), GFP_KERNEL); in edma_xbar_event_map()
2169 nelm); in edma_xbar_event_map()
2174 nelm >>= 1; in edma_xbar_event_map()
2175 xbar_chans[nelm][0] = -1; in edma_xbar_event_map()
2176 xbar_chans[nelm][1] = -1; in edma_xbar_event_map()
2178 for (i = 0; i < nelm; i++) { in edma_xbar_event_map()
2217 size_t nelm = sz / sizeof(s32); in edma_setup_info_from_dt() local
2220 memcpy_ch = devm_kcalloc(dev, nelm + 1, sizeof(s32), in edma_setup_info_from_dt()
2226 (u32 *)memcpy_ch, nelm); in edma_setup_info_from_dt()
[all …]