• Home
  • Raw
  • Download

Lines Matching refs:dtp

259 	dbdev_tab_t	*stp, *dtp;  in au1xxx_dbdma_chan_alloc()  local
274 dtp = find_dbdev_id(destid); in au1xxx_dbdma_chan_alloc()
275 if (dtp == NULL) in au1xxx_dbdma_chan_alloc()
286 if (!(dtp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc()
287 (dtp->dev_flags & DEV_FLAGS_ANYUSE)) { in au1xxx_dbdma_chan_alloc()
289 dtp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
326 ctp->chan_dest = dtp; in au1xxx_dbdma_chan_alloc()
336 if (dtp->dev_intlevel) in au1xxx_dbdma_chan_alloc()
338 if (dtp->dev_intpolarity) in au1xxx_dbdma_chan_alloc()
341 (dtp->dev_flags & DEV_FLAGS_SYNC)) in au1xxx_dbdma_chan_alloc()
355 dtp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
369 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_set_devwidth() local
373 dtp = ctp->chan_dest; in au1xxx_dbdma_set_devwidth()
380 if (dtp->dev_flags & DEV_FLAGS_OUT) { /* Destination out fifo */ in au1xxx_dbdma_set_devwidth()
381 rv = dtp->dev_devwidth; in au1xxx_dbdma_set_devwidth()
382 dtp->dev_devwidth = bits; in au1xxx_dbdma_set_devwidth()
397 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_ring_alloc() local
406 dtp = ctp->chan_dest; in au1xxx_dbdma_ring_alloc()
443 destid = dtp->dev_id; in au1xxx_dbdma_ring_alloc()
473 switch (dtp->dev_devwidth) { in au1xxx_dbdma_ring_alloc()
492 if (dtp->dev_flags & DEV_FLAGS_OUT) in au1xxx_dbdma_ring_alloc()
530 switch (dtp->dev_tsize) { in au1xxx_dbdma_ring_alloc()
547 if (dtp->dev_flags & DEV_FLAGS_OUT) { in au1xxx_dbdma_ring_alloc()
548 if (dtp->dev_flags & DEV_FLAGS_BURSTABLE) in au1xxx_dbdma_ring_alloc()
554 if (dtp->dev_physaddr) in au1xxx_dbdma_ring_alloc()
555 dest0 = dtp->dev_physaddr; in au1xxx_dbdma_ring_alloc()
560 dtp->dev_id, stp->dev_id, cmd0, cmd1, src0, in au1xxx_dbdma_ring_alloc()
844 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_chan_free() local
848 dtp = ctp->chan_dest; in au1xxx_dbdma_chan_free()
855 dtp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_free()
893 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_dump() local
899 dtp = ctp->chan_dest; in au1xxx_dbdma_dump()
903 (u32)ctp, (u32)stp, stp - dbdev_tab, (u32)dtp, in au1xxx_dbdma_dump()
904 dtp - dbdev_tab); in au1xxx_dbdma_dump()