Home
last modified time | relevance | path

Searched refs:calc_xmit_shift (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/sh/drivers/dma/
H A Ddma-sh.c103 static inline unsigned int calc_xmit_shift(struct dma_channel *chan) in calc_xmit_shift() function
236 __raw_writel(chan->count >> calc_xmit_shift(chan), in sh_dmac_xfer_dma()
250 << calc_xmit_shift(chan); in sh_dmac_get_dma_residue()
/openbmc/linux/drivers/dma/sh/
H A Dshdmac.c184 static unsigned int calc_xmit_shift(struct sh_dmae_chan *sh_chan, u32 chcr) in calc_xmit_shift() function
240 sh_chan->xmit_shift = calc_xmit_shift(sh_chan, chcr); in dmae_init()
250 sh_chan->xmit_shift = calc_xmit_shift(sh_chan, val); in dmae_set_chcr()