Searched refs:num_dma_ch (Results 1 – 7 of 7) sorted by relevance
265 mdrv->dma_ch[mdrv->num_dma_ch++] = chan; in mic_request_dma_chans()266 if (mdrv->num_dma_ch >= MIC_MAX_DMA_CHAN) in mic_request_dma_chans()270 dev_info(mdrv->dev, "DMA channels # %d\n", mdrv->num_dma_ch); in mic_request_dma_chans()271 return mdrv->num_dma_ch; in mic_request_dma_chans()278 for (i = 0; i < mdrv->num_dma_ch; i++) { in mic_free_dma_chans()282 mdrv->num_dma_ch = 0; in mic_free_dma_chans()321 mdrv->num_dma_ch, true); in mic_driver_init()
91 int num_dma_ch; member
326 mdev->dma_ch[mdev->num_dma_ch++] = chan; in mic_request_dma_chans()327 if (mdev->num_dma_ch >= MIC_MAX_DMA_CHAN) in mic_request_dma_chans()331 dev_info(&mdev->pdev->dev, "DMA channels # %d\n", mdev->num_dma_ch); in mic_request_dma_chans()332 return mdev->num_dma_ch; in mic_request_dma_chans()345 for (i = 0; i < mdev->num_dma_ch; i++) { in mic_free_dma_chans()349 mdev->num_dma_ch = 0; in mic_free_dma_chans()383 mdev->dma_ch, mdev->num_dma_ch, in _mic_start()
99 int num_dma_ch; member
63 int num_dma_ch; member
171 sdev->num_dma_ch = num_chan; in scif_register_device()
105 if (!sdev->num_dma_ch) in scif_reserve_dma_chan()108 scifdev->dma_ch_idx = (scifdev->dma_ch_idx + 1) % sdev->num_dma_ch; in scif_reserve_dma_chan()