Lines Matching refs:rflow_cnt
194 int rflow_cnt; member
1262 if (tmp_from + cnt > ud->rflow_cnt) in __udma_alloc_gp_rflow_range()
1266 ud->rflow_cnt); in __udma_alloc_gp_rflow_range()
1269 ud->rflow_cnt, in __udma_alloc_gp_rflow_range()
1271 if (start >= ud->rflow_cnt) in __udma_alloc_gp_rflow_range()
1285 if (from + cnt > ud->rflow_cnt) in __udma_free_gp_rflow_range()
1301 if (id < 0 || id >= ud->rflow_cnt) in __udma_get_rflow()
4413 ud->rflow_cnt = UDMA_CAP3_RFLOW_CNT(cap3); in udma_get_mmrs()
4422 ud->rflow_cnt = ud->rchan_cnt; in udma_get_mmrs()
4428 ud->rflow_cnt = UDMA_CAP3_RFLOW_CNT(cap3); in udma_get_mmrs()
4511 ud->rflow_gp_map = devm_kmalloc_array(dev, BITS_TO_LONGS(ud->rflow_cnt), in udma_setup_resources()
4515 BITS_TO_LONGS(ud->rflow_cnt), in udma_setup_resources()
4518 ud->rflow_in_use = devm_kcalloc(dev, BITS_TO_LONGS(ud->rflow_cnt), in udma_setup_resources()
4521 ud->rflows = devm_kcalloc(dev, ud->rflow_cnt, sizeof(*ud->rflows), in udma_setup_resources()
4537 bitmap_set(ud->rflow_gp_map, 0, ud->rflow_cnt); in udma_setup_resources()
4622 ud->rflow_cnt - ud->rchan_cnt); in udma_setup_resources()
4870 ud->rflow_in_use = devm_kcalloc(dev, BITS_TO_LONGS(ud->rflow_cnt), in pktdma_setup_resources()
4873 ud->rflows = devm_kcalloc(dev, ud->rflow_cnt, sizeof(*ud->rflows), in pktdma_setup_resources()
4919 bitmap_zero(ud->rflow_in_use, ud->rflow_cnt); in pktdma_setup_resources()
4922 bitmap_fill(ud->rflow_in_use, ud->rflow_cnt); in pktdma_setup_resources()
4961 irq_res.desc[i].num = ud->rflow_cnt; in pktdma_setup_resources()
5023 ud->rflow_cnt - bitmap_weight(ud->rflow_gp_map, in setup_resources()
5024 ud->rflow_cnt)); in setup_resources()
5346 ring_init_data.num_rings = ud->rflow_cnt + in udma_probe()
5457 for (i = 0; i < ud->rflow_cnt; i++) { in udma_probe()