Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/mips/au1000/common/
Ddbdma.c216 chan_tab_t *ctp; in au1xxx_dbdma_chan_alloc() local
263 ctp = NULL; in au1xxx_dbdma_chan_alloc()
271 ctp = (chan_tab_t *)kmalloc(sizeof(chan_tab_t), GFP_KERNEL); in au1xxx_dbdma_chan_alloc()
272 chan_tab_ptr[i] = ctp; in au1xxx_dbdma_chan_alloc()
273 ctp->chan_index = chan = i; in au1xxx_dbdma_chan_alloc()
279 if (ctp != NULL) { in au1xxx_dbdma_chan_alloc()
280 memset(ctp, 0, sizeof(chan_tab_t)); in au1xxx_dbdma_chan_alloc()
283 ctp->chan_ptr = (au1x_dma_chan_t *)dcp; in au1xxx_dbdma_chan_alloc()
285 ctp->chan_src = stp; in au1xxx_dbdma_chan_alloc()
286 ctp->chan_dest = dtp; in au1xxx_dbdma_chan_alloc()
[all …]