Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/dma/ti/
Ddma-crossbar.c386 size_t nelm = sz / sizeof(*rsv_events); in ti_dra7_xbar_probe() local
389 if (!nelm) in ti_dra7_xbar_probe()
392 rsv_events = kcalloc(nelm, sizeof(*rsv_events), GFP_KERNEL); in ti_dra7_xbar_probe()
397 nelm * 2); in ti_dra7_xbar_probe()
401 for (i = 0; i < nelm; i++) { in ti_dra7_xbar_probe()
Dedma.c2002 size_t nelm = sz / sizeof(s16); in edma_xbar_event_map() local
2006 xbar_chans = devm_kcalloc(dev, nelm + 2, sizeof(s16), GFP_KERNEL); in edma_xbar_event_map()
2019 nelm); in edma_xbar_event_map()
2024 nelm >>= 1; in edma_xbar_event_map()
2025 xbar_chans[nelm][0] = -1; in edma_xbar_event_map()
2026 xbar_chans[nelm][1] = -1; in edma_xbar_event_map()
2028 for (i = 0; i < nelm; i++) { in edma_xbar_event_map()
2067 size_t nelm = sz / sizeof(s32); in edma_setup_info_from_dt() local
2070 memcpy_ch = devm_kcalloc(dev, nelm + 1, sizeof(s32), in edma_setup_info_from_dt()
2076 (u32 *)memcpy_ch, nelm); in edma_setup_info_from_dt()
[all …]