Lines Matching refs:sh_dc
67 static void channel_clear(struct sh_dmae_chan *sh_dc) in channel_clear() argument
69 struct sh_dmae_device *shdev = to_sh_dev(sh_dc); in channel_clear()
71 sh_dc->shdma_chan.id; in channel_clear()
77 static void sh_dmae_writel(struct sh_dmae_chan *sh_dc, u32 data, u32 reg) in sh_dmae_writel() argument
79 __raw_writel(data, sh_dc->base + reg); in sh_dmae_writel()
82 static u32 sh_dmae_readl(struct sh_dmae_chan *sh_dc, u32 reg) in sh_dmae_readl() argument
84 return __raw_readl(sh_dc->base + reg); in sh_dmae_readl()
107 static void chcr_write(struct sh_dmae_chan *sh_dc, u32 data) in chcr_write() argument
109 struct sh_dmae_device *shdev = to_sh_dev(sh_dc); in chcr_write()
111 __raw_writel(data, sh_dc->base + shdev->chcr_offset); in chcr_write()
114 static u32 chcr_read(struct sh_dmae_chan *sh_dc) in chcr_read() argument
116 struct sh_dmae_device *shdev = to_sh_dev(sh_dc); in chcr_read()
118 return __raw_readl(sh_dc->base + shdev->chcr_offset); in chcr_read()