Searched refs:sh_chan (Results 1 – 1 of 1) sorted by relevance
151 struct sh_dmae_chan *sh_chan = shdev->chan[i]; in sh_dmae_rst() local152 if (sh_chan) in sh_dmae_rst()153 channel_clear(sh_chan); in sh_dmae_rst()174 static bool dmae_is_busy(struct sh_dmae_chan *sh_chan) in dmae_is_busy() argument176 u32 chcr = chcr_read(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() argument186 struct sh_dmae_device *shdev = to_sh_dev(sh_chan); in calc_xmit_shift()197 static u32 log2size_to_chcr(struct sh_dmae_chan *sh_chan, int l2size) in log2size_to_chcr() argument199 struct sh_dmae_device *shdev = to_sh_dev(sh_chan); 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() argument[all …]