Searched refs:nelm (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/dma/ti/ |
| H A D | dma-crossbar.c | 384 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()
|
| H A D | edma.c | 2152 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 …]
|
| /OK3568_Linux_fs/u-boot/fs/zfs/ |
| H A D | zfs.c | 1528 int nelm; in nvlist_find_value() local 1541 nelm = be32_to_cpu(*(uint32_t *) nvpair); in nvlist_find_value() 1542 if (nelm < 1) { in nvlist_find_value() 1553 *nelm_out = nelm; in nvlist_find_value() 1633 size_t nelm, size; in zfs_nvlist_lookup_nvlist_array_get_nelm() local 1637 &size, &nelm); in zfs_nvlist_lookup_nvlist_array_get_nelm() 1640 return nelm; in zfs_nvlist_lookup_nvlist_array_get_nelm() 1652 size_t nelm; in zfs_nvlist_lookup_nvlist_array() local 1655 &size, &nelm); in zfs_nvlist_lookup_nvlist_array() 1658 if (index >= nelm) { in zfs_nvlist_lookup_nvlist_array()
|