Lines Matching refs:rchan_map
199 unsigned long *rchan_map; member
1506 !test_bit(chan_id, ud->rchan_map)) in udma_get_chan_pair()
1514 set_bit(chan_id, ud->rchan_map); in udma_get_chan_pair()
1570 clear_bit(uc->rchan->id, ud->rchan_map); in udma_put_rchan()
4598 ud->rchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->rchan_cnt), in udma_setup_resources()
4615 if (!ud->tchan_map || !ud->rchan_map || !ud->rflow_gp_map || in udma_setup_resources()
4657 bitmap_zero(ud->rchan_map, ud->rchan_cnt); in udma_setup_resources()
4660 bitmap_fill(ud->rchan_map, ud->rchan_cnt); in udma_setup_resources()
4662 udma_mark_resource_ranges(ud, ud->rchan_map, in udma_setup_resources()
4776 ud->rchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->rchan_cnt), in bcdma_setup_resources()
4787 if (!ud->bchan_map || !ud->tchan_map || !ud->rchan_map || in bcdma_setup_resources()
4847 bitmap_zero(ud->rchan_map, ud->rchan_cnt); in bcdma_setup_resources()
4850 bitmap_fill(ud->rchan_map, ud->rchan_cnt); in bcdma_setup_resources()
4852 udma_mark_resource_ranges(ud, ud->rchan_map, in bcdma_setup_resources()
4960 ud->rchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->rchan_cnt), in pktdma_setup_resources()
4972 if (!ud->tchan_map || !ud->rchan_map || !ud->tflow_map || !ud->tchans || in pktdma_setup_resources()
5001 bitmap_zero(ud->rchan_map, ud->rchan_cnt); in pktdma_setup_resources()
5003 bitmap_fill(ud->rchan_map, ud->rchan_cnt); in pktdma_setup_resources()
5005 udma_mark_resource_ranges(ud, ud->rchan_map, in pktdma_setup_resources()
5099 ch_count -= bitmap_weight(ud->rchan_map, ud->rchan_cnt); in setup_resources()
5115 ud->rchan_cnt - bitmap_weight(ud->rchan_map, in setup_resources()
5128 ud->rchan_cnt - bitmap_weight(ud->rchan_map, in setup_resources()
5137 ud->rchan_cnt - bitmap_weight(ud->rchan_map, in setup_resources()