Lines Matching refs:p_dma_ch
81 ppc_dma_ch_t *p_dma_ch; in ppc4xx_add_dma_sgl() local
93 p_dma_ch = &dma_channels[psgl->dmanr]; in ppc4xx_add_dma_sgl()
100 switch (p_dma_ch->pwidth) { in ppc4xx_add_dma_sgl()
117 p_dma_ch->pwidth); in ppc4xx_add_dma_sgl()
123 src_addr, dst_addr, count, p_dma_ch->pwidth); in ppc4xx_add_dma_sgl()
145 psgl->ptail->control_count = (count >> p_dma_ch->shift) | in ppc4xx_add_dma_sgl()
159 ppc_dma_ch_t *p_dma_ch; in ppc4xx_enable_dma_sgl() local
174 p_dma_ch = &dma_channels[psgl->dmanr]; in ppc4xx_enable_dma_sgl()
251 ppc_dma_ch_t *p_dma_ch; in ppc4xx_get_dma_sgl_residue() local
325 p_dma_ch = &dma_channels[psgl->dmanr]; in ppc4xx_get_dma_sgl_residue()
326 return (count_left << p_dma_ch->shift); /* count in bytes */ in ppc4xx_get_dma_sgl_residue()
419 ppc_dma_ch_t *p_dma_ch = &dma_channels[dmanr]; in ppc4xx_alloc_dma_handle() local
454 psgl->control = p_dma_ch->control; in ppc4xx_alloc_dma_handle()
464 if (p_dma_ch->int_enable) { in ppc4xx_alloc_dma_handle()
496 if (p_dma_ch->int_enable) { in ppc4xx_alloc_dma_handle()
497 if (p_dma_ch->tce_enable) in ppc4xx_alloc_dma_handle()