Searched refs:desc_cnt (Results 1 – 2 of 2) sorted by relevance
113 uint8_t desc_cnt; member201 ch_priv->desc_cnt = 0; in bcm6348_iudma_disable()203 ch_priv->desc_cnt = ch_priv->dma_ring_size; in bcm6348_iudma_disable()216 for (i = 0; i < ch_priv->desc_cnt; i++) { in bcm6348_iudma_enable()226 if (i == ch_priv->desc_cnt - 1) in bcm6348_iudma_enable()237 sizeof(*dma_desc) * ch_priv->desc_cnt); in bcm6348_iudma_enable()255 val = ch_priv->desc_cnt / 3; in bcm6348_iudma_enable()258 val = (ch_priv->desc_cnt * 2) / 3; in bcm6348_iudma_enable()265 writel_be(ch_priv->desc_cnt, in bcm6348_iudma_enable()310 ch_priv->desc_cnt = 0; in bcm6348_iudma_request()[all …]
345 int desc_cnt, i, last; in dw_prepare() local356 desc_cnt = (size + DWMMC_DMA_MAX_BUFFER_SIZE - 1) / in dw_prepare()358 assert(desc_cnt * sizeof(struct dw_idmac_desc) < dw_params.desc_size); in dw_prepare()370 for (i = 0; i < desc_cnt; i++) { in dw_prepare()380 last = desc_cnt - 1; in dw_prepare()390 desc_cnt * DWMMC_DMA_MAX_BUFFER_SIZE); in dw_prepare()