Home
last modified time | relevance | path

Searched refs:ccr (Results 1 – 93 of 93) sorted by relevance

/linux-4.4.14/drivers/usb/host/
Dohci-tmio.c68 void __iomem *ccr; member
88 tmio_iowrite16(pm, tmio->ccr + CCR_PM); in tmio_write_pm()
110 tmio_iowrite8(0, tmio->ccr + CCR_INTC); in tmio_stop_hc()
111 tmio_iowrite8(0, tmio->ccr + CCR_ILME); in tmio_stop_hc()
112 tmio_iowrite16(0, tmio->ccr + CCR_BASE); in tmio_stop_hc()
113 tmio_iowrite16(0, tmio->ccr + CCR_BASE + 2); in tmio_stop_hc()
114 tmio_iowrite16(pm, tmio->ccr + CCR_PM); in tmio_stop_hc()
124 tmio_iowrite16(base, tmio->ccr + CCR_BASE); in tmio_start_hc()
125 tmio_iowrite16(base >> 16, tmio->ccr + CCR_BASE + 2); in tmio_start_hc()
126 tmio_iowrite8(1, tmio->ccr + CCR_ILME); in tmio_start_hc()
[all …]
/linux-4.4.14/arch/powerpc/math-emu/
Dmcrfs.c9 mcrfs(u32 *ccr, u32 crfD, u32 crfS) in mcrfs() argument
14 printk("%s: %p (%08x) %d %d\n", __func__, ccr, *ccr, crfD, crfS); in mcrfs()
24 *ccr &= ~(15 << ((7 - crfD) << 2)); in mcrfs()
25 *ccr |= (value << ((7 - crfD) << 2)); in mcrfs()
28 printk("CR: %08x\n", __func__, *ccr); in mcrfs()
Dfcmpu.c10 fcmpu(u32 *ccr, int crfD, void *frA, void *frB) in fcmpu() argument
19 printk("%s: %p (%08x) %d %p %p\n", __func__, ccr, *ccr, crfD, frA, frB); in fcmpu()
36 *ccr &= ~(15 << ((7 - crfD) << 2)); in fcmpu()
37 *ccr |= (cmp << ((7 - crfD) << 2)); in fcmpu()
40 printk("CR: %08x\n", *ccr); in fcmpu()
Dfcmpo.c10 fcmpo(u32 *ccr, int crfD, void *frA, void *frB) in fcmpo() argument
19 printk("%s: %p (%08x) %d %p %p\n", __func__, ccr, *ccr, crfD, frA, frB); in fcmpo()
39 *ccr &= ~(15 << ((7 - crfD) << 2)); in fcmpo()
40 *ccr |= (cmp << ((7 - crfD) << 2)); in fcmpo()
43 printk("CR: %08x\n", *ccr); in fcmpo()
Dmath.c397 op0 = (void *)&regs->ccr; in do_mathemu()
404 op0 = (void *)&regs->ccr; in do_mathemu()
437 regs->ccr &= ~(0x0f000000); in do_mathemu()
438 regs->ccr |= (__FPU_FPSCR >> 4) & 0x0f000000; in do_mathemu()
Dmath_efp.c659 regs->ccr &= ~(15 << ((7 - ((speinsn >> 23) & 0x7)) << 2)); in do_spe_mathemu()
660 regs->ccr |= (IR << ((7 - ((speinsn >> 23) & 0x7)) << 2)); in do_spe_mathemu()
688 pr_debug("ccr = %08lx\n", regs->ccr); in do_spe_mathemu()
/linux-4.4.14/drivers/net/can/sja1000/
Dpeak_pcmcia.c149 u8 ccr; member
232 if (card->ccr == v) in pcan_write_reg()
234 card->ccr = v; in pcan_write_reg()
352 u8 ccr = card->ccr; in pcan_set_leds() local
358 ccr &= ~PCC_CCR_LED_MASK_CHAN(i); in pcan_set_leds()
360 ccr |= PCC_CCR_LED_CHAN(state, i); in pcan_set_leds()
364 pcan_write_reg(card, PCC_CCR, ccr); in pcan_set_leds()
389 u8 ccr; in pcan_led_timer() local
391 ccr = card->ccr; in pcan_led_timer()
394 ccr &= ~PCC_CCR_LED_MASK_CHAN(i); in pcan_led_timer()
[all …]
/linux-4.4.14/arch/sh/mm/
Dcache-shx3.c20 unsigned int ccr; in shx3_cache_init() local
22 ccr = __raw_readl(SH_CCR); in shx3_cache_init()
28 ccr |= CCR_CACHE_SNM; in shx3_cache_init()
40 ccr |= CCR_CACHE_IBE; in shx3_cache_init()
43 writel_uncached(ccr, SH_CCR); in shx3_cache_init()
Dcache-sh2.c61 unsigned long ccr; in sh2__flush_invalidate_region() local
66 ccr = __raw_readl(SH_CCR); in sh2__flush_invalidate_region()
67 ccr |= CCR_CACHE_INVALIDATE; in sh2__flush_invalidate_region()
68 __raw_writel(ccr, SH_CCR); in sh2__flush_invalidate_region()
Dcache-debugfs.c30 unsigned long ccr; in cache_seq_show() local
39 ccr = __raw_readl(SH_CCR); in cache_seq_show()
40 if ((ccr & CCR_CACHE_ENABLE) == 0) { in cache_seq_show()
61 if ((ccr & CCR_CACHE_ORA) && cache_type == CACHE_TYPE_DCACHE) in cache_seq_show()
Dcache-sh4.c130 unsigned long flags, ccr; in flush_icache_all() local
136 ccr = __raw_readl(SH_CCR); in flush_icache_all()
137 ccr |= CCR_CACHE_ICI; in flush_icache_all()
138 __raw_writel(ccr, SH_CCR); in flush_icache_all()
/linux-4.4.14/drivers/mtd/nand/
Dndfc.c50 uint32_t ccr; in ndfc_select_chip() local
54 ccr = in_be32(ndfc->ndfcbase + NDFC_CCR); in ndfc_select_chip()
56 ccr &= ~NDFC_CCR_BS_MASK; in ndfc_select_chip()
57 ccr |= NDFC_CCR_BS(chip + ndfc->chip_select); in ndfc_select_chip()
59 ccr |= NDFC_CCR_RESET_CE; in ndfc_select_chip()
60 out_be32(ndfc->ndfcbase + NDFC_CCR, ccr); in ndfc_select_chip()
87 uint32_t ccr; in ndfc_enable_hwecc() local
91 ccr = in_be32(ndfc->ndfcbase + NDFC_CCR); in ndfc_enable_hwecc()
92 ccr |= NDFC_CCR_RESET_ECC; in ndfc_enable_hwecc()
93 out_be32(ndfc->ndfcbase + NDFC_CCR, ccr); in ndfc_enable_hwecc()
[all …]
Dtmio_nand.c111 void __iomem *ccr; member
317 tmio_iowrite8(0x81, tmio->ccr + CCR_ICC); in tmio_hw_init()
320 tmio_iowrite16(tmio->fcr_base, tmio->ccr + CCR_BASE); in tmio_hw_init()
321 tmio_iowrite16(tmio->fcr_base >> 16, tmio->ccr + CCR_BASE + 2); in tmio_hw_init()
324 tmio_iowrite8(0x02, tmio->ccr + CCR_COMMAND); in tmio_hw_init()
328 tmio_iowrite8(0x02, tmio->ccr + CCR_NFPSC); in tmio_hw_init()
331 tmio_iowrite8(0x02, tmio->ccr + CCR_NFDC); in tmio_hw_init()
363 struct resource *ccr = platform_get_resource(dev, in tmio_probe() local
387 tmio->ccr = devm_ioremap(&dev->dev, ccr->start, resource_size(ccr)); in tmio_probe()
388 if (!tmio->ccr) in tmio_probe()
/linux-4.4.14/drivers/dma/
Dtxx9dmac.h170 u32 ccr; member
242 return (dc->ccr & TXX9_DMA_CCR_INTENT) != 0; in txx9dmac_chan_INTENT()
247 dc->ccr |= TXX9_DMA_CCR_INTENT; in txx9dmac_chan_set_INTENT()
257 dc->ccr |= TXX9_DMA_CCR_SMPCHN; in txx9dmac_chan_set_SMPCHN()
262 u32 sair, u32 dair, u32 ccr) in txx9dmac_desc_set_nosimple() argument
292 u32 sai, u32 dai, u32 ccr) in txx9dmac_desc_set_nosimple() argument
297 desc->hwdesc.CCR = ccr; in txx9dmac_desc_set_nosimple()
301 desc->hwdesc32.CCR = ccr; in txx9dmac_desc_set_nosimple()
Domap-dma.c48 uint32_t ccr; member
73 uint32_t ccr; /* CCR value */ member
299 omap_dma_chan_write(c, CCR, d->ccr | CCR_ENABLE); in omap_dma_start()
411 omap_dma_chan_write(c, CCR, d->ccr); in omap_dma_start_desc()
413 omap_dma_chan_write(c, CCR2, d->ccr >> 16); in omap_dma_start_desc()
562 c->ccr = CCR_OMAP31_DISABLE; in omap_dma_alloc_chan_resources()
564 c->ccr |= c->dma_ch + 1; in omap_dma_alloc_chan_resources()
566 c->ccr = c->dma_sig & 0x1f; in omap_dma_alloc_chan_resources()
569 c->ccr = c->dma_sig & 0x1f; in omap_dma_alloc_chan_resources()
570 c->ccr |= (c->dma_sig & ~0x1f) << 14; in omap_dma_alloc_chan_resources()
[all …]
Dpl330.c235 #define BRST_LEN(ccr) ((((ccr) >> CC_SRCBRSTLEN_SHFT) & 0xf) + 1) argument
236 #define BRST_SIZE(ccr) (1 << (((ccr) >> CC_SRCBRSTSIZE_SHFT) & 0x7)) argument
238 #define BYTE_TO_BURST(b, ccr) ((b) / BRST_SIZE(ccr) / BRST_LEN(ccr)) argument
239 #define BURST_TO_BYTE(c, ccr) ((c) * BRST_SIZE(ccr) * BRST_LEN(ccr)) argument
521 u32 ccr; member
1279 u32 ccr = pxs->ccr; in _setup_loops() local
1280 unsigned long c, bursts = BYTE_TO_BURST(x->bytes, ccr); in _setup_loops()
1324 off += _emit_MOV(dry_run, &buf[off], CCR, pxs->ccr); in _setup_req()
1328 if (x->bytes % (BRST_SIZE(pxs->ccr) * BRST_LEN(pxs->ccr))) in _setup_req()
1343 u32 ccr = 0; in _prepare_ccr() local
[all …]
Dtxx9dmac.c369 channel64_writel(dc, CCR, dc->ccr); in txx9dmac_dostart()
390 channel32_writel(dc, CCR, dc->ccr); in txx9dmac_dostart()
395 channel32_writel(dc, CCR, dc->ccr); in txx9dmac_dostart()
766 dc->ccr | TXX9_DMA_CCR_XFACT); in txx9dmac_prep_dma_memcpy()
772 dc->ccr | TXX9_DMA_CCR_XFACT); in txx9dmac_prep_dma_memcpy()
874 dc->ccr | TXX9_DMA_CCR_XFACT); in txx9dmac_prep_slave_sg()
1009 dc->ccr = TXX9_DMA_CCR_IMMCHN | TXX9_DMA_CCR_INTENE | CCR_LE; in txx9dmac_alloc_chan_resources()
1011 if (!txx9_dma_have_SMPCHN() || (dc->ccr & TXX9_DMA_CCR_SMPCHN)) in txx9dmac_alloc_chan_resources()
1012 dc->ccr |= TXX9_DMA_CCR_INTENC; in txx9dmac_alloc_chan_resources()
1016 dc->ccr |= TXX9_DMA_CCR_XFSZ_X8; in txx9dmac_alloc_chan_resources()
[all …]
/linux-4.4.14/drivers/spi/
Dspi-mpc512x-psc.c101 u32 ccr; in mpc512x_psc_spi_activate_cs() local
124 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs()
125 ccr &= 0xFF000000; in mpc512x_psc_spi_activate_cs()
131 ccr |= (((bclkdiv & 0xff) << 16) | (((bclkdiv >> 8) & 0xff) << 8)); in mpc512x_psc_spi_activate_cs()
132 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_activate_cs()
414 u32 ccr; in mpc512x_psc_spi_port_config() local
442 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_port_config()
443 ccr &= 0xFF000000; in mpc512x_psc_spi_port_config()
446 ccr |= (((bclkdiv & 0xff) << 16) | (((bclkdiv >> 8) & 0xff) << 8)); in mpc512x_psc_spi_port_config()
447 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_port_config()
Dspi-mpc52xx-psc.c82 u16 ccr; in mpc52xx_psc_spi_activate_cs() local
106 ccr = in_be16((u16 __iomem *)&psc->ccr); in mpc52xx_psc_spi_activate_cs()
107 ccr &= 0xFF00; in mpc52xx_psc_spi_activate_cs()
109 ccr |= (MCLK / cs->speed_hz - 1) & 0xFF; in mpc52xx_psc_spi_activate_cs()
111 ccr |= (MCLK / 1000000 - 1) & 0xFF; in mpc52xx_psc_spi_activate_cs()
112 out_be16((u16 __iomem *)&psc->ccr, ccr); in mpc52xx_psc_spi_activate_cs()
340 out_be16((u16 __iomem *)&psc->ccr, 0x070F); /* default SPI Clk 1MHz */ in mpc52xx_psc_spi_port_config()
/linux-4.4.14/arch/h8300/kernel/
Dsignal.c77 unsigned int ccr; in restore_sigcontext() local
91 ccr = regs->ccr & 0x10; in restore_sigcontext()
92 COPY(ccr); in restore_sigcontext()
94 regs->ccr &= 0xef; in restore_sigcontext()
95 regs->ccr |= ccr; in restore_sigcontext()
146 err |= __put_user(regs->ccr, &sc->sc_ccr); in setup_sigcontext()
Dentry.S85 stc ccr,r0l /* check kernel mode */
92 orc #0x10,ccr /* switch kernel stack */
133 orc #0xc0,ccr
148 andc #0xef,ccr /* switch to user mode */
239 andc #0xbf,ccr
273 orc #0xc0,ccr
287 orc #0xc0,ccr
294 andc #0xbf,ccr
356 stc ccr,r3l
360 orc #0xc0,ccr
[all …]
Dhead_ram.S43 ldc #0xd0,ccr /* running kernel */
51 ldc #0x90,ccr /* running kernel */
Dasm-offsets.c39 OFFSET(THREAD_CCR, thread_struct, ccr); in main()
51 DEFINE(LCCR, offsetof(struct pt_regs, ccr) - sizeof(long)); in main()
Dhead_rom.S82 ldc #0xd0,ccr /* running kernel */
90 ldc #0x90,ccr /* running kernel */
Dprocess.c89 regs->pc, regs->ccr); in show_regs()
Dptrace.c32 PT_REG(orig_er0), PT_REG(ccr), PT_REG(pc),
/linux-4.4.14/drivers/mfd/
Dtc6393xb.c102 u16 ccr; member
226 u16 ccr; in tc6393xb_ohci_enable() local
231 ccr = tmio_ioread16(tc6393xb->scr + SCR_CCR); in tc6393xb_ohci_enable()
232 ccr |= SCR_CCR_USBCK; in tc6393xb_ohci_enable()
233 tmio_iowrite16(ccr, tc6393xb->scr + SCR_CCR); in tc6393xb_ohci_enable()
248 u16 ccr; in tc6393xb_ohci_disable() local
257 ccr = tmio_ioread16(tc6393xb->scr + SCR_CCR); in tc6393xb_ohci_disable()
258 ccr &= ~SCR_CCR_USBCK; in tc6393xb_ohci_disable()
259 tmio_iowrite16(ccr, tc6393xb->scr + SCR_CCR); in tc6393xb_ohci_disable()
281 u16 ccr; in tc6393xb_fb_enable() local
[all …]
/linux-4.4.14/arch/h8300/include/asm/
Dprocessor.h59 unsigned long ccr; /* saved status register */ member
70 .ccr = PS_S, \
88 (_regs)->ccr = 0x00; /* clear all flags */ \
97 (_regs)->ccr = 0x00; /* clear kernel flag */ \
Duser.h41 long ccr; member
Dptrace.h20 #define user_mode(regs) (!((regs)->ccr & PS_S))
/linux-4.4.14/drivers/video/fbdev/
Dtmiofb.c204 void __iomem *ccr; member
257 tmio_iowrite16(0, par->ccr + CCR_UGCC); in tmiofb_hw_stop()
282 tmio_iowrite16(0x003a, par->ccr + CCR_UGCC); in tmiofb_hw_init()
283 tmio_iowrite16(0x003a, par->ccr + CCR_GCC); in tmiofb_hw_init()
284 tmio_iowrite16(0x3f00, par->ccr + CCR_USC); in tmiofb_hw_init()
288 tmio_iowrite16(0x0000, par->ccr + CCR_USC); in tmiofb_hw_init()
289 tmio_iowrite16(base >> 16, par->ccr + CCR_BASEH); in tmiofb_hw_init()
290 tmio_iowrite16(base, par->ccr + CCR_BASEL); in tmiofb_hw_init()
291 tmio_iowrite16(0x0002, par->ccr + CCR_CMD); /* base address enable */ in tmiofb_hw_init()
292 tmio_iowrite16(0x40a8, par->ccr + CCR_VRAMRTC); /* VRAMRC, VRAMTC */ in tmiofb_hw_init()
[all …]
Dcg14.c107 u8 ccr; /* Clock Control Reg */ member
141 u8 ccr; /* Cursor Control Reg */ member
/linux-4.4.14/drivers/rtc/
Drtc-xgene.c92 u32 ccr; in xgene_rtc_alarm_irq_enable() local
94 ccr = readl(pdata->csr_base + RTC_CCR); in xgene_rtc_alarm_irq_enable()
96 ccr &= ~RTC_CCR_MASK; in xgene_rtc_alarm_irq_enable()
97 ccr |= RTC_CCR_IE; in xgene_rtc_alarm_irq_enable()
99 ccr &= ~RTC_CCR_IE; in xgene_rtc_alarm_irq_enable()
100 ccr |= RTC_CCR_MASK; in xgene_rtc_alarm_irq_enable()
102 writel(ccr, pdata->csr_base + RTC_CCR); in xgene_rtc_alarm_irq_enable()
/linux-4.4.14/arch/sparc/include/asm/
Dbackoff.h56 88: rd %ccr, %g0; \
57 rd %ccr, %g0; \
58 rd %ccr, %g0; \
Dleon.h210 unsigned long ccr; /* 0x00 - Cache Control Register */ member
/linux-4.4.14/arch/sh/kernel/cpu/
Dinit.c112 unsigned long ccr, flags; in cache_init() local
115 ccr = __raw_readl(SH_CCR); in cache_init()
128 if (ccr & CCR_CACHE_ENABLE) { in cache_init()
138 if (ccr & CCR_CACHE_ORA) in cache_init()
146 if (!(ccr & CCR_CACHE_EMODE)) in cache_init()
/linux-4.4.14/arch/arm/plat-omap/
Ddma.c210 u32 ccr; in omap_set_dma_priority() local
212 ccr = p->dma_read(CCR, lch); in omap_set_dma_priority()
214 ccr |= (1 << 6); in omap_set_dma_priority()
216 ccr &= ~(1 << 6); in omap_set_dma_priority()
217 p->dma_write(ccr, CCR, lch); in omap_set_dma_priority()
234 u16 ccr; in omap_set_dma_transfer_params() local
236 ccr = p->dma_read(CCR, lch); in omap_set_dma_transfer_params()
237 ccr &= ~(1 << 5); in omap_set_dma_transfer_params()
239 ccr |= 1 << 5; in omap_set_dma_transfer_params()
240 p->dma_write(ccr, CCR, lch); in omap_set_dma_transfer_params()
[all …]
/linux-4.4.14/arch/sparc/mm/
Dleon_mm.c217 unsigned long ccr, iccr, dccr; in leon3_getCacheRegs() local
227 : "=r"(ccr), "=r"(iccr), "=r"(dccr) in leon3_getCacheRegs()
232 regs->ccr = ccr; in leon3_getCacheRegs()
/linux-4.4.14/arch/arm/mach-mmp/
Dtime.c163 uint32_t ccr = __raw_readl(mmp_timer_base + TMR_CCR); in timer_config() local
167 ccr &= (cpu_is_mmp2()) ? (TMR_CCR_CS_0(0) | TMR_CCR_CS_1(0)) : in timer_config()
169 __raw_writel(ccr, mmp_timer_base + TMR_CCR); in timer_config()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/4xx/
Dndfc.txt8 - ccr : NDFC config and control register value (default 0).
19 ccr = <0x00001000>;
/linux-4.4.14/arch/powerpc/lib/
Dsstep.c77 if (((regs->ccr >> (31 - bi)) & 1) != ((bo >> 3) & 1)) in branch_taken()
537 regs->ccr = (regs->ccr & 0x0fffffff) | ((regs->xer >> 3) & 0x10000000); in set_cr0()
543 regs->ccr |= 0x80000000; in set_cr0()
545 regs->ccr |= 0x40000000; in set_cr0()
547 regs->ccr |= 0x20000000; in set_cr0()
584 regs->ccr = (regs->ccr & ~(0xf << shift)) | (crval << shift); in do_cmp_signed()
600 regs->ccr = (regs->ccr & ~(0xf << shift)) | (crval << shift); in do_cmp_unsigned()
692 val = (regs->ccr >> ra) & 0xf; in analyse_instr()
693 regs->ccr = (regs->ccr & ~(0xfUL << rd)) | (val << rd); in analyse_instr()
730 ra = (regs->ccr >> (31 - ra)) & 1; in analyse_instr()
[all …]
/linux-4.4.14/arch/powerpc/include/asm/
Dsyscall.h59 regs->ccr |= 0x10000000L; in syscall_set_return_value()
62 regs->ccr &= ~0x10000000L; in syscall_set_return_value()
Dmpc52xx_psc.h195 u32 ccr; /* PSC + 0x20 */ member
337 u32 ccr; /* PSC + 0x30 */ member
Dptrace.h93 return !(regs->ccr & 0x10000000); in is_syscall_success()
/linux-4.4.14/arch/frv/kernel/
Dbreak.S79 movsg ccr,gr3
296 movgs gr3,ccr
314 movgs gr3,ccr
345 movgs gr3,ccr
349 movsg ccr,gr3
399 movgs gr3,ccr
448 movgs gr3,ccr
Dasm-offsets.c47 DEF_PTREG(REG_CCR, ccr); in foo()
Dgdb-stub.c1634 ptr = mem2hex(&__debug_frame->ccr, ptr, 4, 0); in gdbstub()
1713 ptr = hex2mem(ptr, &__debug_frame->ccr, 4); in gdbstub()
1826 __debug_user_context->i.ccr = temp; in gdbstub()
Dhead.S509 movgs gr0,ccr
Dentry.S116 movsg ccr ,gr24
/linux-4.4.14/arch/frv/mm/
Dtlb-miss.S77 movgs gr30,ccr
115 movgs gr30,ccr
146 movsg ccr,gr30 /* save CCR */
209 movgs gr30,ccr
338 movgs gr30,ccr
459 movgs gr30,ccr
579 movgs gr30,ccr
/linux-4.4.14/arch/h8300/lib/
Dmodsi3.S39 stc ccr,S2L ; keep the sign in bit 3 of S2L
58 stc ccr,S2L ; keep the sign in bit 3 of S2L
Dmoddivsi3.S39 stc ccr,S2L ; keep the sign in bit 3 of S2L
58 stc ccr,S2L ; keep the sign in bit 3 of S2L
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup_tx3927.c82 tx3927_dmaptr->ch[i].ccr = TX3927_DMA_CCR_CHRST; in tx3927_setup()
83 tx3927_dmaptr->ch[i].ccr = 0; in tx3927_setup()
/linux-4.4.14/arch/powerpc/kernel/
Dsignal.c62 if (!(regs->ccr & 0x10000000)) in check_syscall_restart()
98 regs->ccr |= 0x10000000; in check_syscall_restart()
Dppc32.h27 unsigned int ccr; member
Dkgdb.c254 PACK32(ptr, regs->ccr); in sleeping_thread_to_gdb_regs()
342 { "cr", GDB_SIZEOF_REG_U32, offsetof(struct pt_regs, ccr) },
Dsignal_64.c340 err |= __get_user(regs->ccr, &sc->gp_regs[PT_CCR]); in restore_sigcontext()
455 err |= __get_user(regs->ccr, &tm_sc->gp_regs[PT_CCR]); in restore_tm_sigcontexts()
462 err |= __get_user(current->thread.ckpt_regs.ccr, in restore_tm_sigcontexts()
Dtraps.c977 bit = (regs->ccr >> (31 - BC)) & 0x1; in emulate_isel()
1038 regs->ccr = (regs->ccr & ~msk) | ((regs->xer >> shift) & msk); in emulate_instruction()
1320 regs->ccr&0x10000000?"Error=":"", regs->gpr[3], print_tainted()); in trace_syscall()
Dprocess.c620 thr->regs->ccr, thr->regs->msr, in tm_reclaim_task()
1023 printk(" CR: %08lx XER: %08lx\n", regs->ccr, regs->xer); in show_regs()
1246 regs->ccr = 0; in start_thread()
Dfadump.c463 regs->ccr = (unsigned long)reg_val; in fadump_set_regval()
Dasm-offsets.c319 DEFINE(_CCR, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, ccr)); in main()
Dptrace.c104 REG_OFFSET_NAME(ccr),
/linux-4.4.14/arch/frv/include/uapi/asm/
Dregisters.h79 unsigned long ccr; /* Condition Code Register */ member
170 unsigned long ccr; /* Condition Code Register */ member
/linux-4.4.14/arch/powerpc/mm/
Dicswx.c269 regs->ccr &= ~(0xful << 28); in acop_handle_fault()
270 regs->ccr |= ICSWX_RC_NOT_FOUND << 28; in acop_handle_fault()
/linux-4.4.14/drivers/pcmcia/
Dpxa2xx_sharpsl.c115 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local
135 nccr = (ccr = read_scoop_reg(scoop, SCOOP_CCR)) & ~0x0080; in sharpsl_pcmcia_configure_socket()
172 if (ccr != nccr) in sharpsl_pcmcia_configure_socket()
/linux-4.4.14/arch/h8300/include/uapi/asm/
Dptrace.h32 unsigned short ccr; member
/linux-4.4.14/arch/cris/include/uapi/arch-v10/arch/
Duser.h29 unsigned long ccr; /* Condition code register (only 16 bits). */ member
/linux-4.4.14/arch/parisc/kernel/
Dperf_asm.S54 mfctl ccr,%r26 ; get coprocessor register
56 mtctl %r26,ccr ; turn on performance coprocessor
61 mtctl %r26,ccr ; turn off performance coprocessor
80 mfctl ccr,%r26 ; get coprocessor register
82 mtctl %r26,ccr ; turn on performance coprocessor
87 mtctl %r26,ccr ; turn off performance coprocessor
/linux-4.4.14/arch/sh/include/asm/
Dsuspend.h53 unsigned long ccr; member
/linux-4.4.14/sound/soc/dwc/
Ddesignware_i2s.c221 u32 ccr, xfer_resolution, ch_reg, irq; in dw_i2s_hw_params() local
227 ccr = 0x00; in dw_i2s_hw_params()
233 ccr = 0x08; in dw_i2s_hw_params()
239 ccr = 0x10; in dw_i2s_hw_params()
281 i2s_write_reg(dev->i2s_base, CCR, ccr); in dw_i2s_hw_params()
/linux-4.4.14/arch/s390/include/asm/
Dsysinfo.h25 unsigned char ccr; member
/linux-4.4.14/arch/sh/kernel/
Dasm-offsets.c56 DEFINE(SH_SLEEP_REG_CCR, offsetof(struct sh_sleep_regs, ccr)); in main()
/linux-4.4.14/arch/powerpc/include/uapi/asm/
Dptrace.h39 unsigned long ccr; member
/linux-4.4.14/arch/sh/kernel/cpu/shmobile/
Dpm.c101 sdp->addr.ccr = 0xff00001c; /* CCR */ in sh_mobile_register_self_refresh()
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dkgdb.c219 unsigned short ccr; /* 0x44 Condition code register */ member
595 if (hex2bin((unsigned char *)&(current_reg->ccr) + (regno-CCR) * sizeof(unsigned short), in write_register()
/linux-4.4.14/Documentation/networking/
Ddctcp.txt31 http://www.sigcomm.org/ccr/papers/2010/October/1851275.1851192
/linux-4.4.14/drivers/hsi/controllers/
Domap_ssi_port.c221 u16 ccr; in ssi_start_dma() local
236 ccr = msg->channel + 0x10 + (port->num * 8); /* Sync */ in ssi_start_dma()
237 ccr |= SSI_DST_AMODE_POSTINC | SSI_SRC_AMODE_CONST | in ssi_start_dma()
252 ccr = (msg->channel + 1 + (port->num * 8)) & 0xf; /* Sync */ in ssi_start_dma()
253 ccr |= SSI_SRC_AMODE_POSTINC | SSI_DST_AMODE_CONST | in ssi_start_dma()
260 lch, csdp, ccr, s_addr, d_addr); in ssi_start_dma()
277 writew(ccr, gdd + SSI_GDD_CCR_REG(lch)); in ssi_start_dma()
/linux-4.4.14/arch/sparc/kernel/
Dvisemul.c358 unsigned long ccr, tstate; in edge() local
362 : "=r" (ccr) in edge()
366 regs->tstate = tstate | (ccr << 32UL); in edge()
/linux-4.4.14/sound/pci/ctxfi/
Dcthw20k2.c93 u16 ccr:1; member
106 unsigned int ccr; member
298 set_field(&ctl->ccr, SRCCCR_CISZ, cisz); in src_set_cisz()
299 ctl->dirty.bf.ccr = 1; in src_set_cisz()
414 if (ctl->dirty.bf.ccr) { in src_commit_write()
415 hw_write_20kx(hw, SRC_CCR+idx*0x100, ctl->ccr); in src_commit_write()
416 ctl->dirty.bf.ccr = 0; in src_commit_write()
Dcthw20k1.c93 u16 ccr:1; member
106 unsigned int ccr; member
298 set_field(&ctl->ccr, SRCCCR_CISZ, cisz); in src_set_cisz()
299 ctl->dirty.bf.ccr = 1; in src_set_cisz()
414 if (ctl->dirty.bf.ccr) { in src_commit_write()
415 hw_write_20kx(hw, SRCCCR+idx*0x100, ctl->ccr); in src_commit_write()
416 ctl->dirty.bf.ccr = 0; in src_commit_write()
/linux-4.4.14/arch/mips/include/asm/txx9/
Dtx3927.h44 volatile unsigned long ccr; member
/linux-4.4.14/arch/parisc/include/asm/
Dasmregs.h133 ccr: .reg %cr10
/linux-4.4.14/arch/powerpc/boot/dts/
Dwarp.dts180 ccr = <0x00001000>;
Dsequoia.dts217 ccr = <0x00001000>;
Deiger.dts200 ccr = <0x00003000>;
Dbluestone.dts207 ccr = <0x00001000>;
Dkilauea.dts189 ccr = <0x00001000>;
Dcanyonlands.dts262 ccr = <0x00001000>;
Dglacier.dts217 ccr = <0x00001000>;
/linux-4.4.14/arch/s390/kernel/
Dsysinfo.c101 seq_printf(m, "Capacity Ch. Reason: %d\n", info->ccr); in stsi_1_1_1()
/linux-4.4.14/drivers/tty/
Dcyclades.c363 void __iomem *ccr = base_addr + (CyCCR << index); in __cyy_issue_cmd() local
368 if (readb(ccr) == 0) in __cyy_issue_cmd()
378 cy_writeb(ccr, cmd); in __cyy_issue_cmd()
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dilsp.S279 # v (overflow) bit is set in the saved %ccr. If overflow, the dividend #
/linux-4.4.14/arch/powerpc/xmon/
Dxmon.c1578 printf("msr = "REG" cr = %.8lx\n", fp->msr, fp->ccr); in prregs()