Lines Matching refs:lch_count
51 int lch_count; member
676 channel = find_first_zero_bit(od->lch_bitmap, od->lch_count); in omap_dma_get_lch()
677 if (channel >= od->lch_count) in omap_dma_get_lch()
1537 lch = find_next_bit(od->lch_bitmap, od->lch_count, lch + 1); in omap_dma_busy()
1538 if (lch >= od->lch_count) in omap_dma_busy()
1598 for (i = 0; i < od->lch_count; i++) in omap_dma_context_restore()
1736 od->lch_count = od->plat->dma_attr->lch_count; in omap_dma_probe()
1737 if (unlikely(!od->lch_count)) in omap_dma_probe()
1738 od->lch_count = OMAP_SDMA_CHANNELS; in omap_dma_probe()
1740 &od->lch_count)) { in omap_dma_probe()
1744 od->lch_count = OMAP_SDMA_CHANNELS; in omap_dma_probe()
1753 bitmap_from_arr32(od->lch_bitmap, &val, od->lch_count); in omap_dma_probe()
1758 od->lch_map = devm_kcalloc(&pdev->dev, od->lch_count, in omap_dma_probe()