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()
4559 ud->tchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->tchan_cnt), in udma_setup_resources()
4580 if (!ud->tchan_map || !ud->rchan_map || !ud->rflow_gp_map || in udma_setup_resources()
4609 bitmap_zero(ud->tchan_map, ud->tchan_cnt); in udma_setup_resources()
4612 bitmap_fill(ud->tchan_map, ud->tchan_cnt); in udma_setup_resources()
4614 udma_mark_resource_ranges(ud, ud->tchan_map, in udma_setup_resources()
4737 ud->tchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->tchan_cnt), in bcdma_setup_resources()
4752 if (!ud->bchan_map || !ud->tchan_map || !ud->rchan_map || in bcdma_setup_resources()
4796 bitmap_zero(ud->tchan_map, ud->tchan_cnt); in bcdma_setup_resources()
4799 bitmap_fill(ud->tchan_map, ud->tchan_cnt); in bcdma_setup_resources()
4801 udma_mark_resource_ranges(ud, ud->tchan_map, in bcdma_setup_resources()
4921 ud->tchan_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->tchan_cnt), in pktdma_setup_resources()
4937 if (!ud->tchan_map || !ud->rchan_map || !ud->tflow_map || !ud->tchans || in pktdma_setup_resources()
4955 bitmap_zero(ud->tchan_map, ud->tchan_cnt); in pktdma_setup_resources()
4957 bitmap_fill(ud->tchan_map, ud->tchan_cnt); in pktdma_setup_resources()
4959 udma_mark_resource_ranges(ud, ud->tchan_map, in pktdma_setup_resources()
5063 ch_count -= bitmap_weight(ud->tchan_map, ud->tchan_cnt); in setup_resources()
5078 ud->tchan_cnt - bitmap_weight(ud->tchan_map, in setup_resources()
5091 ud->tchan_cnt - bitmap_weight(ud->tchan_map, in setup_resources()
5100 ud->tchan_cnt - bitmap_weight(ud->tchan_map, in setup_resources()