Home
last modified time | relevance | path

Searched refs:p_dma_ch (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/ppc/kernel/
Dppc4xx_dma.c115 ppc_dma_ch_t *p_dma_ch = &dma_channels[dmanr]; in ppc4xx_enable_dma() local
121 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 …]
Dppc4xx_sgdma.c81 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()
[all …]
Dppc4xx_stbdma.c39 ppc_dma_ch_t *p_dma_ch = &dma_channels[dmanr]; in ppc4xx_clr_dma_status() local
41 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() local
107 ppc_dma_ch_t *p_dma_ch = &dma_channels[dmanr]; in ppc4xx_disable_dma_port() local