Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/dma/ti/
Ddma-crossbar.c382 size_t nelm = sz / sizeof(*rsv_events); in ti_dra7_xbar_probe() local
385 if (!nelm) in ti_dra7_xbar_probe()
388 rsv_events = kcalloc(nelm, sizeof(*rsv_events), GFP_KERNEL); in ti_dra7_xbar_probe()
393 nelm * 2); in ti_dra7_xbar_probe()
399 for (i = 0; i < nelm; i++) { in ti_dra7_xbar_probe()
Dedma.c2060 size_t nelm = sz / sizeof(s16); in edma_xbar_event_map() local
2064 xbar_chans = devm_kcalloc(dev, nelm + 2, sizeof(s16), GFP_KERNEL); in edma_xbar_event_map()
2077 nelm); in edma_xbar_event_map()
2082 nelm >>= 1; in edma_xbar_event_map()
2083 xbar_chans[nelm][0] = -1; in edma_xbar_event_map()
2084 xbar_chans[nelm][1] = -1; in edma_xbar_event_map()
2086 for (i = 0; i < nelm; i++) { in edma_xbar_event_map()
2125 size_t nelm = sz / sizeof(s32); in edma_setup_info_from_dt() local
2128 memcpy_ch = devm_kcalloc(dev, nelm + 1, sizeof(s32), in edma_setup_info_from_dt()
2134 (u32 *)memcpy_ch, nelm); in edma_setup_info_from_dt()
[all …]