/linux-6.3-rc2/arch/sh/drivers/dma/ |
A D | dma-sh.c | 109 u32 chcr; in dma_tei() local 113 if (!(chcr & CHCR_TE)) in dma_tei() 116 chcr &= ~(CHCR_IE | CHCR_DE); in dma_tei() 141 if (!chcr) in sh_dmac_configure_channel() 142 chcr = RS_DUAL | CHCR_IE; in sh_dmac_configure_channel() 144 if (chcr & CHCR_IE) { in sh_dmac_configure_channel() 145 chcr &= ~CHCR_IE; in sh_dmac_configure_channel() 160 u32 chcr; in sh_dmac_enable_dma() local 163 chcr |= CHCR_DE; in sh_dmac_enable_dma() 166 chcr |= CHCR_IE; in sh_dmac_enable_dma() [all …]
|
/linux-6.3-rc2/arch/sh/kernel/cpu/sh4a/ |
A D | setup-sh7757.c | 121 .chcr = SM_INC | RS_ERS | 0x40000000 | 128 .chcr = DM_INC | RS_ERS | 0x40000000 | 135 .chcr = SM_INC | RS_ERS | 0x40000000 | 142 .chcr = DM_INC | RS_ERS | 0x40000000 | 152 .chcr = SM_INC | RS_ERS | 0x40000000 | 159 .chcr = DM_INC | RS_ERS | 0x40000000 | 166 .chcr = SM_INC | RS_ERS | 0x40000000 | 173 .chcr = DM_INC | RS_ERS | 0x40000000 | 180 .chcr = SM_INC | RS_ERS | 0x40000000 | 187 .chcr = DM_INC | RS_ERS | 0x40000000 | [all …]
|
A D | setup-sh7724.c | 37 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 42 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 47 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 52 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 57 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 62 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 67 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 72 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 77 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 82 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), [all …]
|
A D | setup-sh7722.c | 31 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 36 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 41 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 46 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 51 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 56 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_8BIT), 61 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_32BIT), 66 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_32BIT), 71 .chcr = DM_FIX | SM_INC | RS_ERS | TS_INDEX2VAL(XMIT_SZ_32BIT), 76 .chcr = DM_INC | SM_FIX | RS_ERS | TS_INDEX2VAL(XMIT_SZ_32BIT), [all …]
|
/linux-6.3-rc2/drivers/dma/sh/ |
A D | rcar-dmac.c | 76 u32 chcr; member 380 u32 chcr = desc->chcr; in rcar_dmac_chan_start_xfer() local 786 u32 chcr; in rcar_dmac_chcr_de_barrier() local 795 if (!(chcr & RCAR_DMACHCR_DE)) in rcar_dmac_chcr_de_barrier() 890 u32 chcr; in rcar_dmac_chan_configure_desc() local 914 desc->chcr = chcr | chcr_ts[desc->xfer_shift]; in rcar_dmac_chan_configure_desc() 1583 u32 chcr; in rcar_dmac_isr_channel() local 1588 if (chcr & RCAR_DMACHCR_CAE) { in rcar_dmac_isr_channel() 1602 if (chcr & RCAR_DMACHCR_TE) in rcar_dmac_isr_channel() 1608 if (chcr & RCAR_DMACHCR_DSE) in rcar_dmac_isr_channel() [all …]
|
A D | shdmac.c | 177 u32 chcr = chcr_read(sh_chan); in dmae_is_busy() local 179 if ((chcr & (CHCR_DE | CHCR_TE)) == CHCR_DE) in dmae_is_busy() 225 u32 chcr = chcr_read(sh_chan); in dmae_start() local 230 chcr |= CHCR_DE | shdev->chcr_ie_bit; in dmae_start() 231 chcr_write(sh_chan, chcr & ~CHCR_TE); in dmae_start() 242 chcr_write(sh_chan, chcr); in dmae_init() 315 dmae_set_chcr(sh_chan, cfg->chcr); in sh_dmae_setup_xfer() 371 u32 chcr = chcr_read(sh_chan); in dmae_halt() local 373 chcr &= ~(CHCR_DE | CHCR_TE | shdev->chcr_ie_bit); in dmae_halt() 374 chcr_write(sh_chan, chcr); in dmae_halt() [all …]
|
A D | usb-dmac.c | 177 u32 chcr = usb_dmac_chan_read(chan, USB_DMACHCR); in usb_dmac_chan_is_busy() local 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() 618 chcr |= USB_DMACHCR_FTE; in usb_dmac_isr_channel() [all …]
|
/linux-6.3-rc2/drivers/crypto/chelsio/ |
A D | Makefile | 4 obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chcr.o 5 chcr-objs := chcr_core.o chcr_algo.o
|
A D | Kconfig | 23 will be called chcr.
|
/linux-6.3-rc2/drivers/comedi/drivers/ |
A D | mite.c | 479 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()
|
/linux-6.3-rc2/include/linux/ |
A D | sh_dma.h | 29 u32 chcr; member
|
/linux-6.3-rc2/sound/soc/sh/rcar/ |
A D | dma.c | 31 u32 chcr; member 492 rsnd_dmapp_write(dma, dmapp->chcr, PDMACHCR); in rsnd_dmapp_start() 507 dmapp->chcr = rsnd_dmapp_get_chcr(io, mod_from, mod_to) | PDMACHCR_DE; in rsnd_dmapp_attach() 512 dmapp->dmapp_id, &dma->src_addr, &dma->dst_addr, dmapp->chcr); in rsnd_dmapp_attach()
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 5524 CXGB4 CRYPTO DRIVER (chcr)
|