Home
last modified time | relevance | path

Searched refs:chcr (Results 1 – 6 of 6) sorted by relevance

/drivers/dma/sh/
Drcar-dmac.c76 u32 chcr; member
372 u32 chcr = rcar_dmac_chan_read(chan, RCAR_DMACHCR); in rcar_dmac_chan_is_busy() local
374 return !!(chcr & (RCAR_DMACHCR_DE | RCAR_DMACHCR_TE)); in rcar_dmac_chan_is_busy()
380 u32 chcr = desc->chcr; in rcar_dmac_chan_start_xfer() local
427 chcr |= RCAR_DMACHCR_RPT_SAR | RCAR_DMACHCR_RPT_DAR in rcar_dmac_chan_start_xfer()
435 chcr |= RCAR_DMACHCR_DPM_ENABLED | RCAR_DMACHCR_IE; in rcar_dmac_chan_start_xfer()
441 chcr |= RCAR_DMACHCR_DPM_INFINITE | RCAR_DMACHCR_DSIE; in rcar_dmac_chan_start_xfer()
447 chcr |= RCAR_DMACHCR_DPM_INFINITE; in rcar_dmac_chan_start_xfer()
469 chcr |= RCAR_DMACHCR_DPM_DISABLED | RCAR_DMACHCR_IE; in rcar_dmac_chan_start_xfer()
473 chcr | RCAR_DMACHCR_DE | RCAR_DMACHCR_CAIE); in rcar_dmac_chan_start_xfer()
[all …]
Dshdmac.c176 u32 chcr = chcr_read(sh_chan); in dmae_is_busy() local
178 if ((chcr & (CHCR_DE | CHCR_TE)) == CHCR_DE) in dmae_is_busy()
184 static unsigned int calc_xmit_shift(struct sh_dmae_chan *sh_chan, u32 chcr) in calc_xmit_shift() argument
188 int cnt = ((chcr & pdata->ts_low_mask) >> pdata->ts_low_shift) | in calc_xmit_shift()
189 ((chcr & pdata->ts_high_mask) >> pdata->ts_high_shift); in calc_xmit_shift()
224 u32 chcr = chcr_read(sh_chan); in dmae_start() local
229 chcr |= CHCR_DE | shdev->chcr_ie_bit; in dmae_start()
230 chcr_write(sh_chan, chcr & ~CHCR_TE); in dmae_start()
238 u32 chcr = DM_INC | SM_INC | RS_AUTO | log2size_to_chcr(sh_chan, in dmae_init() local
240 sh_chan->xmit_shift = calc_xmit_shift(sh_chan, chcr); in dmae_init()
[all …]
Dusb-dmac.c177 u32 chcr = usb_dmac_chan_read(chan, USB_DMACHCR); in usb_dmac_chan_is_busy() local
179 return (chcr & (USB_DMACHCR_DE | USB_DMACHCR_TE)) == USB_DMACHCR_DE; in usb_dmac_chan_is_busy()
364 u32 chcr = usb_dmac_chan_read(chan, USB_DMACHCR); in usb_dmac_chan_halt() local
366 chcr &= ~(USB_DMACHCR_IE | USB_DMACHCR_TE | USB_DMACHCR_DE); in usb_dmac_chan_halt()
367 usb_dmac_chan_write(chan, USB_DMACHCR, chcr); in usb_dmac_chan_halt()
603 u32 chcr; in usb_dmac_isr_channel() local
608 chcr = usb_dmac_chan_read(chan, USB_DMACHCR); in usb_dmac_isr_channel()
609 if (chcr & (USB_DMACHCR_TE | USB_DMACHCR_SP)) { in usb_dmac_isr_channel()
611 if (chcr & USB_DMACHCR_DE) in usb_dmac_isr_channel()
615 if (chcr & USB_DMACHCR_NULL) { in usb_dmac_isr_channel()
[all …]
/drivers/crypto/chelsio/
DMakefile4 obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chcr.o
5 chcr-objs := chcr_core.o chcr_algo.o
DKconfig23 will be called chcr.
/drivers/comedi/drivers/
Dmite.c479 unsigned int chcr, mcr, dcr, lkcr; in mite_prep_dma() local
484 chcr = CHCR_SET_DMA_IE | CHCR_LINKSHORT | CHCR_SET_DONE_IE | in mite_prep_dma()
494 chcr |= CHCR_SET_LC_IE; in mite_prep_dma()
503 chcr |= CHCR_BYTE_SWAP_DEVICE | CHCR_BYTE_SWAP_MEMORY; in mite_prep_dma()
506 chcr |= CHCR_DEV_TO_MEM; in mite_prep_dma()
508 writel(chcr, mite->mmio + MITE_CHCR(mite_chan->channel)); in mite_prep_dma()