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()
1532 lch = find_next_bit(od->lch_bitmap, od->lch_count, lch + 1); in omap_dma_busy()
1533 if (lch >= od->lch_count) in omap_dma_busy()
1593 for (i = 0; i < od->lch_count; i++) in omap_dma_context_restore()
1731 od->lch_count = od->plat->dma_attr->lch_count; in omap_dma_probe()
1732 if (unlikely(!od->lch_count)) in omap_dma_probe()
1733 od->lch_count = OMAP_SDMA_CHANNELS; in omap_dma_probe()
1735 &od->lch_count)) { in omap_dma_probe()
1739 od->lch_count = OMAP_SDMA_CHANNELS; in omap_dma_probe()
1748 bitmap_from_arr32(od->lch_bitmap, &val, od->lch_count); in omap_dma_probe()
1753 od->lch_map = devm_kcalloc(&pdev->dev, od->lch_count, in omap_dma_probe()