Lines Matching refs:stp

259 	dbdev_tab_t	*stp, *dtp;  in au1xxx_dbdma_chan_alloc()  local
271 stp = find_dbdev_id(srcid); in au1xxx_dbdma_chan_alloc()
272 if (stp == NULL) in au1xxx_dbdma_chan_alloc()
282 if (!(stp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc()
283 (stp->dev_flags & DEV_FLAGS_ANYUSE)) { in au1xxx_dbdma_chan_alloc()
285 stp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
292 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
325 ctp->chan_src = stp; in au1xxx_dbdma_chan_alloc()
332 if (stp->dev_intlevel) in au1xxx_dbdma_chan_alloc()
334 if (stp->dev_intpolarity) in au1xxx_dbdma_chan_alloc()
340 if ((stp->dev_flags & DEV_FLAGS_SYNC) || in au1xxx_dbdma_chan_alloc()
354 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
369 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_set_devwidth() local
372 stp = ctp->chan_src; in au1xxx_dbdma_set_devwidth()
376 if (stp->dev_flags & DEV_FLAGS_IN) { /* Source in fifo */ in au1xxx_dbdma_set_devwidth()
377 rv = stp->dev_devwidth; in au1xxx_dbdma_set_devwidth()
378 stp->dev_devwidth = bits; in au1xxx_dbdma_set_devwidth()
397 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_ring_alloc() local
405 stp = ctp->chan_src; in au1xxx_dbdma_ring_alloc()
442 srcid = stp->dev_id; in au1xxx_dbdma_ring_alloc()
460 switch (stp->dev_devwidth) { in au1xxx_dbdma_ring_alloc()
490 if (stp->dev_flags & DEV_FLAGS_IN) in au1xxx_dbdma_ring_alloc()
499 switch (stp->dev_tsize) { in au1xxx_dbdma_ring_alloc()
516 if (stp->dev_flags & DEV_FLAGS_IN) { in au1xxx_dbdma_ring_alloc()
517 if (stp->dev_flags & DEV_FLAGS_BURSTABLE) in au1xxx_dbdma_ring_alloc()
523 if (stp->dev_physaddr) in au1xxx_dbdma_ring_alloc()
524 src0 = stp->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
847 stp = ctp->chan_src; in au1xxx_dbdma_chan_free()
854 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_free()
893 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_dump() local
898 stp = ctp->chan_src; in au1xxx_dbdma_dump()
903 (u32)ctp, (u32)stp, stp - dbdev_tab, (u32)dtp, in au1xxx_dbdma_dump()