Lines Matching defs:sc
54 #define to_sdev(sc) container_of(sc->shdma_chan.dma_chan.device, \ argument
82 static void sudmac_writel(struct sudmac_chan *sc, u32 data, u32 reg) in sudmac_writel()
87 static u32 sudmac_readl(struct sudmac_chan *sc, u32 reg) in sudmac_readl()
92 static bool sudmac_is_busy(struct sudmac_chan *sc) in sudmac_is_busy()
102 static void sudmac_set_reg(struct sudmac_chan *sc, struct sudmac_regs *hw, in sudmac_set_reg()
110 static void sudmac_start(struct sudmac_chan *sc) in sudmac_start()
121 struct sudmac_chan *sc = to_chan(schan); in sudmac_start_xfer() local
130 struct sudmac_chan *sc = to_chan(schan); in sudmac_channel_busy() local
140 struct sudmac_chan *sc, int slave_id) in sudmac_find_slave()
157 struct sudmac_chan *sc = to_chan(schan); in sudmac_set_slave() local
166 static inline void sudmac_dma_halt(struct sudmac_chan *sc) in sudmac_dma_halt()
179 struct sudmac_chan *sc = to_chan(schan); in sudmac_desc_setup() local
199 struct sudmac_chan *sc = to_chan(schan); in sudmac_halt() local
206 struct sudmac_chan *sc = to_chan(schan); in sudmac_chan_irq() local
221 struct sudmac_chan *sc = to_chan(schan); in sudmac_get_partial() local
231 struct sudmac_chan *sc = to_chan(schan); in sudmac_desc_completed() local
243 struct sudmac_chan *sc; in sudmac_chan_probe() local