Searched refs:ch_priv (Results 1 – 1 of 1) sorted by relevance
186 struct bcm6348_chan_priv *ch_priv = priv->ch_priv[dma->id]; in bcm6348_iudma_disable() local202 ch_priv->desc_cnt = ch_priv->dma_ring_size; in bcm6348_iudma_disable()210 struct bcm6348_chan_priv *ch_priv = priv->ch_priv[dma->id]; in bcm6348_iudma_enable() local291 ch_priv = priv->ch_priv[dma->id]; in bcm6348_iudma_request()312 ch_priv->desc_cnt = ch_priv->dma_ring_size; in bcm6348_iudma_request()323 struct bcm6348_chan_priv *ch_priv = priv->ch_priv[dma->id]; in bcm6348_iudma_receive() local356 ch_priv->busy_desc[ch_priv->desc_id] = true; in bcm6348_iudma_receive()359 ch_priv->desc_id = (ch_priv->desc_id + 1) % ch_priv->desc_cnt; in bcm6348_iudma_receive()384 if (ch_priv->desc_id == ch_priv->desc_cnt - 1) in bcm6348_iudma_send()408 ch_priv->desc_id = (ch_priv->desc_id + 1) % ch_priv->desc_cnt; in bcm6348_iudma_send()[all …]