Lines Matching refs:sh_dmae_chan

67 static void channel_clear(struct sh_dmae_chan *sh_dc)  in channel_clear()
77 static void sh_dmae_writel(struct sh_dmae_chan *sh_dc, u32 data, u32 reg) in sh_dmae_writel()
82 static u32 sh_dmae_readl(struct sh_dmae_chan *sh_dc, u32 reg) in sh_dmae_readl()
107 static void chcr_write(struct sh_dmae_chan *sh_dc, u32 data) in chcr_write()
114 static u32 chcr_read(struct sh_dmae_chan *sh_dc) in chcr_read()
151 struct sh_dmae_chan *sh_chan = shdev->chan[i]; in sh_dmae_rst()
174 static bool dmae_is_busy(struct sh_dmae_chan *sh_chan) in dmae_is_busy()
184 static unsigned int calc_xmit_shift(struct sh_dmae_chan *sh_chan, u32 chcr) in calc_xmit_shift()
197 static u32 log2size_to_chcr(struct sh_dmae_chan *sh_chan, int l2size) in log2size_to_chcr()
214 static void dmae_set_reg(struct sh_dmae_chan *sh_chan, struct sh_dmae_regs *hw) in dmae_set_reg()
221 static void dmae_start(struct sh_dmae_chan *sh_chan) in dmae_start()
233 static void dmae_init(struct sh_dmae_chan *sh_chan) in dmae_init()
244 static int dmae_set_chcr(struct sh_dmae_chan *sh_chan, u32 val) in dmae_set_chcr()
256 static int dmae_set_dmars(struct sh_dmae_chan *sh_chan, u16 val) in dmae_set_dmars()
284 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_start_xfer()
298 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_channel_busy()
306 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_setup_xfer()
325 struct sh_dmae_chan *sh_chan, int match) in dmae_find_slave()
353 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_set_slave()
367 static void dmae_halt(struct sh_dmae_chan *sh_chan) in dmae_halt()
395 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_halt()
402 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_chan_irq()
417 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_get_partial()
455 struct sh_dmae_chan *sh_chan = container_of(schan, in sh_dmae_desc_completed()
456 struct sh_dmae_chan, shdma_chan); in sh_dmae_desc_completed()
522 struct sh_dmae_chan *sh_chan; in sh_dmae_chan_probe()
526 sh_chan = devm_kzalloc(sdev->dma_dev.dev, sizeof(struct sh_dmae_chan), in sh_dmae_chan_probe()
611 struct sh_dmae_chan *sh_chan = shdev->chan[i]; in sh_dmae_resume()
637 struct sh_dmae_chan *sh_chan = container_of(schan, in sh_dmae_slave_addr()
638 struct sh_dmae_chan, shdma_chan); in sh_dmae_slave_addr()