Lines Matching refs:dtp
215 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_chan_alloc() local
231 if ((dtp = find_dbdev_id(destid)) == NULL) return 0; in au1xxx_dbdma_chan_alloc()
243 if (!(dtp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc()
244 (dtp->dev_flags & DEV_FLAGS_ANYUSE)) { in au1xxx_dbdma_chan_alloc()
246 dtp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
286 ctp->chan_dest = dtp; in au1xxx_dbdma_chan_alloc()
297 if (dtp->dev_intlevel) in au1xxx_dbdma_chan_alloc()
299 if (dtp->dev_intpolarity) in au1xxx_dbdma_chan_alloc()
314 dtp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
328 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_set_devwidth() local
332 dtp = ctp->chan_dest; in au1xxx_dbdma_set_devwidth()
339 if (dtp->dev_flags & DEV_FLAGS_OUT) { /* Destination out fifo */ in au1xxx_dbdma_set_devwidth()
340 rv = dtp->dev_devwidth; in au1xxx_dbdma_set_devwidth()
341 dtp->dev_devwidth = bits; in au1xxx_dbdma_set_devwidth()
357 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_ring_alloc() local
365 dtp = ctp->chan_dest; in au1xxx_dbdma_ring_alloc()
397 destid = dtp->dev_id; in au1xxx_dbdma_ring_alloc()
420 switch (dtp->dev_devwidth) { in au1xxx_dbdma_ring_alloc()
438 if (dtp->dev_flags & DEV_FLAGS_OUT) in au1xxx_dbdma_ring_alloc()
470 switch (dtp->dev_tsize) { in au1xxx_dbdma_ring_alloc()
488 if (dtp->dev_flags & DEV_FLAGS_OUT) { in au1xxx_dbdma_ring_alloc()
489 dest0 = dtp->dev_physaddr; in au1xxx_dbdma_ring_alloc()
732 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_chan_free() local
736 dtp = ctp->chan_dest; in au1xxx_dbdma_chan_free()
744 dtp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_free()
797 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_dump() local
802 dtp = ctp->chan_dest; in au1xxx_dbdma_dump()
806 (u32)ctp, (u32)stp, stp - dbdev_tab, (u32)dtp, dtp - dbdev_tab); in au1xxx_dbdma_dump()