Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma/ti/
Ddma-crossbar.c385 size_t nelm = sz / sizeof(*rsv_events); in ti_dra7_xbar_probe() local
388 if (!nelm) in ti_dra7_xbar_probe()
391 rsv_events = kcalloc(nelm, sizeof(*rsv_events), GFP_KERNEL); in ti_dra7_xbar_probe()
396 nelm * 2); in ti_dra7_xbar_probe()
402 for (i = 0; i < nelm; i++) { in ti_dra7_xbar_probe()
Dedma.c2094 size_t nelm = sz / sizeof(s16); in edma_xbar_event_map() local
2098 xbar_chans = devm_kcalloc(dev, nelm + 2, sizeof(s16), GFP_KERNEL); in edma_xbar_event_map()
2111 nelm); in edma_xbar_event_map()
2116 nelm >>= 1; in edma_xbar_event_map()
2117 xbar_chans[nelm][0] = -1; in edma_xbar_event_map()
2118 xbar_chans[nelm][1] = -1; in edma_xbar_event_map()
2120 for (i = 0; i < nelm; i++) { in edma_xbar_event_map()
2159 size_t nelm = sz / sizeof(s32); in edma_setup_info_from_dt() local
2162 memcpy_ch = devm_kcalloc(dev, nelm + 1, sizeof(s32), in edma_setup_info_from_dt()
2168 (u32 *)memcpy_ch, nelm); in edma_setup_info_from_dt()
[all …]