Lines Matching refs:tchan_map

198 	unsigned long *tchan_map;  member
1435 clear_bit(uc->tchan->id, ud->tchan_map); in udma_get_tchan()
1505 if (!test_bit(chan_id, ud->tchan_map) && in udma_get_chan_pair()
1513 set_bit(chan_id, ud->tchan_map); in udma_get_chan_pair()
1582 clear_bit(uc->tchan->id, ud->tchan_map); in udma_put_tchan()
4594 ud->tchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->tchan_cnt), in udma_setup_resources()
4615 if (!ud->tchan_map || !ud->rchan_map || !ud->rflow_gp_map || in udma_setup_resources()
4644 bitmap_zero(ud->tchan_map, ud->tchan_cnt); in udma_setup_resources()
4647 bitmap_fill(ud->tchan_map, ud->tchan_cnt); in udma_setup_resources()
4649 udma_mark_resource_ranges(ud, ud->tchan_map, in udma_setup_resources()
4772 ud->tchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->tchan_cnt), in bcdma_setup_resources()
4787 if (!ud->bchan_map || !ud->tchan_map || !ud->rchan_map || in bcdma_setup_resources()
4831 bitmap_zero(ud->tchan_map, ud->tchan_cnt); in bcdma_setup_resources()
4834 bitmap_fill(ud->tchan_map, ud->tchan_cnt); in bcdma_setup_resources()
4836 udma_mark_resource_ranges(ud, ud->tchan_map, in bcdma_setup_resources()
4956 ud->tchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->tchan_cnt), in pktdma_setup_resources()
4972 if (!ud->tchan_map || !ud->rchan_map || !ud->tflow_map || !ud->tchans || in pktdma_setup_resources()
4990 bitmap_zero(ud->tchan_map, ud->tchan_cnt); in pktdma_setup_resources()
4992 bitmap_fill(ud->tchan_map, ud->tchan_cnt); in pktdma_setup_resources()
4994 udma_mark_resource_ranges(ud, ud->tchan_map, in pktdma_setup_resources()
5098 ch_count -= bitmap_weight(ud->tchan_map, ud->tchan_cnt); in setup_resources()
5113 ud->tchan_cnt - bitmap_weight(ud->tchan_map, in setup_resources()
5126 ud->tchan_cnt - bitmap_weight(ud->tchan_map, in setup_resources()
5135 ud->tchan_cnt - bitmap_weight(ud->tchan_map, in setup_resources()