Searched refs:chcr (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/arch/sh/drivers/dma/ |
D | dma-sh.c | 58 u32 chcr = __raw_readl(dma_base_addr[chan->chan] + CHCR); in calc_xmit_shift() local 59 int cnt = ((chcr & CHCR_TS_LOW_MASK) >> CHCR_TS_LOW_SHIFT) | in calc_xmit_shift() 60 ((chcr & CHCR_TS_HIGH_MASK) >> CHCR_TS_HIGH_SHIFT); in calc_xmit_shift() 74 u32 chcr; in dma_tei() local 76 chcr = __raw_readl(dma_base_addr[chan->chan] + CHCR); in dma_tei() 78 if (!(chcr & CHCR_TE)) in dma_tei() 81 chcr &= ~(CHCR_IE | CHCR_DE); in dma_tei() 82 __raw_writel(chcr, (dma_base_addr[chan->chan] + CHCR)); in dma_tei() 109 sh_dmac_configure_channel(struct dma_channel *chan, unsigned long chcr) in sh_dmac_configure_channel() argument 111 if (!chcr) in sh_dmac_configure_channel() [all …]
|
/linux-2.6.39/arch/arm/mach-shmobile/ |
D | setup-sh7372.c | 336 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 341 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 346 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 351 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 356 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 361 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 366 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 371 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 376 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 381 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), [all …]
|
/linux-2.6.39/arch/sh/kernel/cpu/sh4a/ |
D | setup-sh7757.c | 148 .chcr = SM_INC | 0x800 | 0x40000000 | 155 .chcr = DM_INC | 0x800 | 0x40000000 | 162 .chcr = SM_INC | 0x800 | 0x40000000 | 169 .chcr = DM_INC | 0x800 | 0x40000000 | 179 .chcr = SM_INC | 0x800 | 0x40000000 | 186 .chcr = SM_INC | 0x800 | 0x40000000 | 193 .chcr = SM_INC | 0x800 | 0x40000000 | 200 .chcr = SM_INC | 0x800 | 0x40000000 | 207 .chcr = SM_INC | 0x800 | 0x40000000 | 214 .chcr = SM_INC | 0x800 | 0x40000000 | [all …]
|
D | setup-sh7722.c | 30 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 35 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 40 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 45 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 50 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 55 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 60 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_32BIT), 65 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_32BIT), 70 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_32BIT), 75 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_32BIT), [all …]
|
D | setup-sh7724.c | 38 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 43 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 48 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 53 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 58 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 63 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 68 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 73 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 78 .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), 83 .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_8BIT), [all …]
|
/linux-2.6.39/drivers/dma/ |
D | shdma.c | 110 u32 chcr = sh_dmae_readl(sh_chan, CHCR); in dmae_is_busy() local 112 if ((chcr & (CHCR_DE | CHCR_TE)) == CHCR_DE) in dmae_is_busy() 118 static unsigned int calc_xmit_shift(struct sh_dmae_chan *sh_chan, u32 chcr) in calc_xmit_shift() argument 123 int cnt = ((chcr & pdata->ts_low_mask) >> pdata->ts_low_shift) | in calc_xmit_shift() 124 ((chcr & pdata->ts_high_mask) >> pdata->ts_high_shift); in calc_xmit_shift() 159 u32 chcr = sh_dmae_readl(sh_chan, CHCR); in dmae_start() local 161 chcr |= CHCR_DE | CHCR_IE; in dmae_start() 162 sh_dmae_writel(sh_chan, chcr & ~CHCR_TE, CHCR); in dmae_start() 167 u32 chcr = sh_dmae_readl(sh_chan, CHCR); in dmae_halt() local 169 chcr &= ~(CHCR_DE | CHCR_TE | CHCR_IE); in dmae_halt() [all …]
|
/linux-2.6.39/drivers/staging/comedi/drivers/ |
D | mite.c | 398 unsigned int chor, chcr, mcr, dcr, lkcr; in mite_prep_dma() local 408 chcr = CHCR_SET_DMA_IE | CHCR_LINKSHORT | CHCR_SET_DONE_IE | in mite_prep_dma() 418 chcr |= CHCR_SET_LC_IE; in mite_prep_dma() 427 chcr |= CHCR_BYTE_SWAP_DEVICE | CHCR_BYTE_SWAP_MEMORY; in mite_prep_dma() 430 chcr |= CHCR_DEV_TO_MEM; in mite_prep_dma() 432 writel(chcr, mite->mite_io_addr + MITE_CHCR(mite_chan->channel)); in mite_prep_dma()
|
/linux-2.6.39/include/linux/ |
D | sh_dma.h | 43 u32 chcr; member
|