Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sh/drivers/dma/
Ddma-sh.c96 u32 chcr = __raw_readl(dma_base_addr(chan->chan) + CHCR); in calc_xmit_shift() local
97 int cnt = ((chcr & CHCR_TS_LOW_MASK) >> CHCR_TS_LOW_SHIFT) | in calc_xmit_shift()
98 ((chcr & CHCR_TS_HIGH_MASK) >> CHCR_TS_HIGH_SHIFT); in calc_xmit_shift()
112 u32 chcr; in dma_tei() local
114 chcr = __raw_readl(dma_base_addr(chan->chan) + CHCR); in dma_tei()
116 if (!(chcr & CHCR_TE)) in dma_tei()
119 chcr &= ~(CHCR_IE | CHCR_DE); in dma_tei()
120 __raw_writel(chcr, (dma_base_addr(chan->chan) + CHCR)); in dma_tei()
142 sh_dmac_configure_channel(struct dma_channel *chan, unsigned long chcr) in sh_dmac_configure_channel() argument
144 if (!chcr) in sh_dmac_configure_channel()
[all …]
/Linux-v4.19/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7757.c123 .chcr = SM_INC | RS_ERS | 0x40000000 |
130 .chcr = DM_INC | RS_ERS | 0x40000000 |
137 .chcr = SM_INC | RS_ERS | 0x40000000 |
144 .chcr = DM_INC | RS_ERS | 0x40000000 |
154 .chcr = SM_INC | RS_ERS | 0x40000000 |
161 .chcr = DM_INC | RS_ERS | 0x40000000 |
168 .chcr = SM_INC | RS_ERS | 0x40000000 |
175 .chcr = DM_INC | RS_ERS | 0x40000000 |
182 .chcr = SM_INC | RS_ERS | 0x40000000 |
189 .chcr = DM_INC | RS_ERS | 0x40000000 |
[all …]
Dsetup-sh7724.c39 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
44 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
49 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
54 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
59 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
64 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
69 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
74 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
79 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
84 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
[all …]
Dsetup-sh7722.c33 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
38 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
43 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
48 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
53 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
58 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT),
63 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_32BIT),
68 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_32BIT),
73 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_32BIT),
78 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_32BIT),
[all …]
/Linux-v4.19/drivers/dma/sh/
Dshdma-r8a73a4.c18 .chcr = CHCR_TX(XMIT_SZ_32BIT),
21 .chcr = CHCR_RX(XMIT_SZ_32BIT),
24 .chcr = CHCR_TX(XMIT_SZ_32BIT),
27 .chcr = CHCR_RX(XMIT_SZ_32BIT),
Drcar-dmac.c76 u32 chcr; member
331 u32 chcr = rcar_dmac_chan_read(chan, RCAR_DMACHCR); in rcar_dmac_chan_is_busy() local
333 return !!(chcr & (RCAR_DMACHCR_DE | RCAR_DMACHCR_TE)); in rcar_dmac_chan_is_busy()
339 u32 chcr = desc->chcr; in rcar_dmac_chan_start_xfer() local
386 chcr |= RCAR_DMACHCR_RPT_SAR | RCAR_DMACHCR_RPT_DAR in rcar_dmac_chan_start_xfer()
394 chcr |= RCAR_DMACHCR_DPM_ENABLED | RCAR_DMACHCR_IE; in rcar_dmac_chan_start_xfer()
400 chcr |= RCAR_DMACHCR_DPM_INFINITE | RCAR_DMACHCR_DSIE; in rcar_dmac_chan_start_xfer()
406 chcr |= RCAR_DMACHCR_DPM_INFINITE; in rcar_dmac_chan_start_xfer()
428 chcr |= RCAR_DMACHCR_DPM_DISABLED | RCAR_DMACHCR_IE; in rcar_dmac_chan_start_xfer()
432 chcr | RCAR_DMACHCR_DE | RCAR_DMACHCR_CAIE); in rcar_dmac_chan_start_xfer()
[all …]
Dshdmac.c181 u32 chcr = chcr_read(sh_chan); in dmae_is_busy() local
183 if ((chcr & (CHCR_DE | CHCR_TE)) == CHCR_DE) in dmae_is_busy()
189 static unsigned int calc_xmit_shift(struct sh_dmae_chan *sh_chan, u32 chcr) in calc_xmit_shift() argument
193 int cnt = ((chcr & pdata->ts_low_mask) >> pdata->ts_low_shift) | in calc_xmit_shift()
194 ((chcr & pdata->ts_high_mask) >> pdata->ts_high_shift); in calc_xmit_shift()
229 u32 chcr = chcr_read(sh_chan); in dmae_start() local
234 chcr |= CHCR_DE | shdev->chcr_ie_bit; in dmae_start()
235 chcr_write(sh_chan, chcr & ~CHCR_TE); in dmae_start()
243 u32 chcr = DM_INC | SM_INC | RS_AUTO | log2size_to_chcr(sh_chan, in dmae_init() local
245 sh_chan->xmit_shift = calc_xmit_shift(sh_chan, chcr); in dmae_init()
[all …]
Dusb-dmac.c180 u32 chcr = usb_dmac_chan_read(chan, USB_DMACHCR); in usb_dmac_chan_is_busy() local
182 return (chcr & (USB_DMACHCR_DE | USB_DMACHCR_TE)) == USB_DMACHCR_DE; in usb_dmac_chan_is_busy()
367 u32 chcr = usb_dmac_chan_read(chan, USB_DMACHCR); in usb_dmac_chan_halt() local
369 chcr &= ~(USB_DMACHCR_IE | USB_DMACHCR_TE | USB_DMACHCR_DE); in usb_dmac_chan_halt()
370 usb_dmac_chan_write(chan, USB_DMACHCR, chcr); in usb_dmac_chan_halt()
604 u32 chcr; in usb_dmac_isr_channel() local
609 chcr = usb_dmac_chan_read(chan, USB_DMACHCR); in usb_dmac_isr_channel()
610 if (chcr & (USB_DMACHCR_TE | USB_DMACHCR_SP)) { in usb_dmac_isr_channel()
612 if (chcr & USB_DMACHCR_DE) in usb_dmac_isr_channel()
616 if (chcr & USB_DMACHCR_NULL) { in usb_dmac_isr_channel()
[all …]
/Linux-v4.19/drivers/crypto/chelsio/
DMakefile3 obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chcr.o
4 chcr-objs := chcr_core.o chcr_algo.o
5 chcr-$(CONFIG_CHELSIO_IPSEC_INLINE) += chcr_ipsec.o
DKconfig21 will be called chcr.
/Linux-v4.19/drivers/staging/comedi/drivers/
Dmite.c482 unsigned int chcr, mcr, dcr, lkcr; in mite_prep_dma() local
487 chcr = CHCR_SET_DMA_IE | CHCR_LINKSHORT | CHCR_SET_DONE_IE | in mite_prep_dma()
497 chcr |= CHCR_SET_LC_IE; in mite_prep_dma()
506 chcr |= CHCR_BYTE_SWAP_DEVICE | CHCR_BYTE_SWAP_MEMORY; in mite_prep_dma()
509 chcr |= CHCR_DEV_TO_MEM; in mite_prep_dma()
511 writel(chcr, mite->mmio + MITE_CHCR(mite_chan->channel)); in mite_prep_dma()
/Linux-v4.19/include/linux/
Dsh_dma.h32 u32 chcr; member
/Linux-v4.19/sound/soc/sh/rcar/
Ddma.c31 u32 chcr; member
440 rsnd_dmapp_write(dma, dmapp->chcr, PDMACHCR); in rsnd_dmapp_start()
455 dmapp->chcr = rsnd_dmapp_get_chcr(io, mod_from, mod_to) | PDMACHCR_DE; in rsnd_dmapp_attach()
460 dmapp->dmapp_id, &dma->src_addr, &dma->dst_addr, dmapp->chcr); in rsnd_dmapp_attach()
/Linux-v4.19/
DMAINTAINERS3993 CXGB4 CRYPTO DRIVER (chcr)