Lines Matching refs:bchan_cnt
190 int bchan_cnt; member
1670 ring_idx = ud->bchan_cnt + tchan->id; in udma_alloc_tx_resources()
1761 fd_ring_id = ud->bchan_cnt + ud->tchan_cnt + ud->echan_cnt + in udma_alloc_rx_resources()
4402 ud->bchan_cnt = BCDMA_CAP2_BCHAN_CNT(cap2); in udma_get_mmrs()
4419 if (i == MMR_BCHANRT && ud->bchan_cnt == 0) in udma_get_mmrs()
4660 ud->bchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->bchan_cnt), in bcdma_setup_resources()
4662 ud->bchans = devm_kcalloc(dev, ud->bchan_cnt, sizeof(*ud->bchans), in bcdma_setup_resources()
4688 if (i == RM_RANGE_BCHAN && ud->bchan_cnt == 0) in bcdma_setup_resources()
4704 if (ud->bchan_cnt) { in bcdma_setup_resources()
4707 bitmap_zero(ud->bchan_map, ud->bchan_cnt); in bcdma_setup_resources()
4710 bitmap_fill(ud->bchan_map, ud->bchan_cnt); in bcdma_setup_resources()
4754 if (ud->bchan_cnt) { in bcdma_setup_resources()
4758 irq_res.desc[0].num = ud->bchan_cnt; in bcdma_setup_resources()
4984 ch_count = ud->bchan_cnt + ud->tchan_cnt + ud->rchan_cnt; in setup_resources()
4985 if (ud->bchan_cnt) in setup_resources()
4986 ch_count -= bitmap_weight(ud->bchan_map, ud->bchan_cnt); in setup_resources()
5013 ud->bchan_cnt - bitmap_weight(ud->bchan_map, in setup_resources()
5014 ud->bchan_cnt), in setup_resources()
5213 if (ud->bchan_cnt) in udma_get_copy_align()
5325 ring_init_data.num_rings = ud->bchan_cnt + in udma_probe()
5391 !(ud->match_data->type == DMA_TYPE_BCDMA && ud->bchan_cnt == 0)) { in udma_probe()
5419 for (i = 0; i < ud->bchan_cnt; i++) { in udma_probe()