Lines Matching refs:ch_count
4965 int ch_count, ret; in setup_resources() local
4984 ch_count = ud->bchan_cnt + ud->tchan_cnt + ud->rchan_cnt; in setup_resources()
4986 ch_count -= bitmap_weight(ud->bchan_map, ud->bchan_cnt); in setup_resources()
4987 ch_count -= bitmap_weight(ud->tchan_map, ud->tchan_cnt); in setup_resources()
4988 ch_count -= bitmap_weight(ud->rchan_map, ud->rchan_cnt); in setup_resources()
4989 if (!ch_count) in setup_resources()
4992 ud->channels = devm_kcalloc(dev, ch_count, sizeof(*ud->channels), in setup_resources()
5001 ch_count, in setup_resources()
5012 ch_count, in setup_resources()
5023 ch_count, in setup_resources()
5033 return ch_count; in setup_resources()
5246 int ch_count; in udma_probe() local
5404 ch_count = setup_resources(ud); in udma_probe()
5405 if (ch_count <= 0) in udma_probe()
5406 return ch_count; in udma_probe()
5446 for (i = 0; i < ch_count; i++) { in udma_probe()