Lines Matching full:stp
260 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_chan_alloc() local
272 stp = find_dbdev_id(srcid); in au1xxx_dbdma_chan_alloc()
273 if (stp == NULL) in au1xxx_dbdma_chan_alloc()
283 if (!(stp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc()
284 (stp->dev_flags & DEV_FLAGS_ANYUSE)) { in au1xxx_dbdma_chan_alloc()
286 stp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
293 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
326 ctp->chan_src = stp; in au1xxx_dbdma_chan_alloc()
333 if (stp->dev_intlevel) in au1xxx_dbdma_chan_alloc()
335 if (stp->dev_intpolarity) in au1xxx_dbdma_chan_alloc()
341 if ((stp->dev_flags & DEV_FLAGS_SYNC) || in au1xxx_dbdma_chan_alloc()
355 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
370 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_set_devwidth() local
373 stp = ctp->chan_src; in au1xxx_dbdma_set_devwidth()
377 if (stp->dev_flags & DEV_FLAGS_IN) { /* Source in fifo */ in au1xxx_dbdma_set_devwidth()
378 rv = stp->dev_devwidth; in au1xxx_dbdma_set_devwidth()
379 stp->dev_devwidth = bits; in au1xxx_dbdma_set_devwidth()
398 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_ring_alloc() local
406 stp = ctp->chan_src; in au1xxx_dbdma_ring_alloc()
443 srcid = stp->dev_id; in au1xxx_dbdma_ring_alloc()
461 switch (stp->dev_devwidth) { in au1xxx_dbdma_ring_alloc()
491 if (stp->dev_flags & DEV_FLAGS_IN) in au1xxx_dbdma_ring_alloc()
500 switch (stp->dev_tsize) { in au1xxx_dbdma_ring_alloc()
517 if (stp->dev_flags & DEV_FLAGS_IN) { in au1xxx_dbdma_ring_alloc()
518 if (stp->dev_flags & DEV_FLAGS_BURSTABLE) in au1xxx_dbdma_ring_alloc()
524 if (stp->dev_physaddr) in au1xxx_dbdma_ring_alloc()
525 src0 = stp->dev_physaddr; in au1xxx_dbdma_ring_alloc()
561 dtp->dev_id, stp->dev_id, cmd0, cmd1, src0, in au1xxx_dbdma_ring_alloc()
847 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_chan_free() local
850 stp = ctp->chan_src; in au1xxx_dbdma_chan_free()
857 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_free()
896 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_dump() local
901 stp = ctp->chan_src; in au1xxx_dbdma_dump()
905 printk(KERN_DEBUG "Chan %x, stp %x (dev %d) dtp %x (dev %d)\n", in au1xxx_dbdma_dump()
906 (u32)ctp, (u32)stp, stp - dbdev_tab, (u32)dtp, in au1xxx_dbdma_dump()