Searched refs:p_dma_ch (Results 1 – 3 of 3) sorted by relevance
115 ppc_dma_ch_t *p_dma_ch = &dma_channels[dmanr]; in ppc4xx_enable_dma() local121 if (p_dma_ch->in_use) { in ppc4xx_enable_dma()131 if (p_dma_ch->mode == DMA_MODE_READ) { in ppc4xx_enable_dma()134 ppc4xx_set_dst_addr(dmanr, p_dma_ch->addr); in ppc4xx_enable_dma()135 } else if (p_dma_ch->mode == DMA_MODE_WRITE) { in ppc4xx_enable_dma()137 ppc4xx_set_src_addr(dmanr, p_dma_ch->addr); in ppc4xx_enable_dma()160 if (p_dma_ch->mode == DMA_MODE_MM) { in ppc4xx_enable_dma()197 if ((p_dma_ch->mode == DMA_MODE_MM_DEVATDST) || in ppc4xx_enable_dma()198 (p_dma_ch->mode == DMA_MODE_MM_DEVATSRC)) in ppc4xx_enable_dma()205 control |= (p_dma_ch->mode | DMA_CE_ENABLE); in ppc4xx_enable_dma()[all …]
81 ppc_dma_ch_t *p_dma_ch; in ppc4xx_add_dma_sgl() local93 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() local174 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() local325 p_dma_ch = &dma_channels[psgl->dmanr]; in ppc4xx_get_dma_sgl_residue()[all …]
39 ppc_dma_ch_t *p_dma_ch = &dma_channels[dmanr]; in ppc4xx_clr_dma_status() local41 p_dma_ch->int_enable = 1; in ppc4xx_clr_dma_status()76 ppc_dma_ch_t *p_dma_ch = &dma_channels[dmanr]; in ppc4xx_map_dma_port() local107 ppc_dma_ch_t *p_dma_ch = &dma_channels[dmanr]; in ppc4xx_disable_dma_port() local