Searched refs:dcr (Results 1 - 71 of 71) sorted by relevance

/linux-4.1.27/arch/powerpc/sysdev/
H A Ddcr-low.S40 dcr = 1 define
42 mfdcr r3,dcr; blr
43 mtdcr dcr,r4; blr
44 dcr = dcr + 1 define
H A Ddcr.c25 #include <asm/dcr.h>
34 if (of_get_property(par, "dcr-controller", NULL)) find_dcr_parent()
36 p = of_get_property(par, "dcr-parent", NULL); find_dcr_parent()
75 prop = of_get_property(dp, "dcr-access-method", NULL); dcr_map_generic()
77 pr_debug("dcr_map_generic(dcr-access-method = %s)\n", prop); dcr_map_generic()
132 const u32 *dr = of_get_property(np, "dcr-reg", &ds); dcr_resource_start()
144 const u32 *dr = of_get_property(np, "dcr-reg", &ds); dcr_resource_len()
169 p = of_get_property(dp, "dcr-mmio-stride", NULL); of_translate_dcr_address()
173 p = of_get_property(dp, "dcr-mmio-range", NULL); of_translate_dcr_address()
175 p = of_get_property(dp, "dcr-mmio-space", NULL); of_translate_dcr_address()
H A Dppc4xx_soc.c25 #include <asm/dcr.h>
26 #include <asm/dcr-regs.h>
100 dcrreg = of_get_property(np, "dcr-reg", &len); ppc4xx_l2c_probe()
H A Dppc4xx_cpm.c39 #include <asm/dcr.h>
40 #include <asm/dcr-native.h>
281 printk(KERN_ERR "cpm: could not parse dcr property for %s\n", cpm_init()
290 printk(KERN_ERR "cpm: failed to map dcr property for %s\n", cpm_init()
H A Duic.c29 #include <asm/dcr.h>
252 dcrreg = of_get_property(node, "dcr-reg", &len); uic_init_one()
255 "dcr-reg property\n", node->full_name); uic_init_one()
H A Dppc4xx_msi.c34 #include <asm/dcr.h>
35 #include <asm/dcr-regs.h>
H A Dmpic.c1268 if (of_get_property(node, "dcr-reg", NULL)) { mpic_alloc()
1362 * An MPIC with a "dcr-reg" property must be accessed that way, but mpic_alloc()
H A Dppc4xx_pci.c31 #include <asm/dcr.h>
32 #include <asm/dcr-regs.h>
/linux-4.1.27/arch/sh/drivers/dma/
H A Ddmabrg.c87 unsigned long dcr; dmabrg_irq() local
90 dcr = __raw_readl(DMABRGCR); dmabrg_irq()
91 __raw_writel(dcr & ~0x00ff0003, DMABRGCR); /* ack all */ dmabrg_irq()
92 dcr &= dcr >> 8; /* ignore masked */ dmabrg_irq()
95 if (dcr & 1) dmabrg_irq()
97 if (dcr & 2) dmabrg_irq()
101 dcr >>= 16; dmabrg_irq()
102 while (dcr) { dmabrg_irq()
103 i = __ffs(dcr); dmabrg_irq()
104 dcr &= dcr - 1; dmabrg_irq()
112 unsigned long dcr; dmabrg_disable_irq() local
113 dcr = __raw_readl(DMABRGCR); dmabrg_disable_irq()
114 dcr &= ~(1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); dmabrg_disable_irq()
115 __raw_writel(dcr, DMABRGCR); dmabrg_disable_irq()
120 unsigned long dcr; dmabrg_enable_irq() local
121 dcr = __raw_readl(DMABRGCR); dmabrg_enable_irq()
122 dcr |= (1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); dmabrg_enable_irq()
123 __raw_writel(dcr, DMABRGCR); dmabrg_enable_irq()
/linux-4.1.27/drivers/dma/
H A Dmic_x100_dma.h214 u32 dcr = mic_dma_mmio_read(ch, MIC_DMA_SBOX_BASE + MIC_DMA_SBOX_DCR); mic_dma_chan_set_owner() local
217 dcr = (dcr & ~(0x1 << (chan_num * 2))) | (ch->owner << (chan_num * 2)); mic_dma_chan_set_owner()
218 mic_dma_mmio_write(ch, dcr, MIC_DMA_SBOX_BASE + MIC_DMA_SBOX_DCR); mic_dma_chan_set_owner()
223 u32 dcr = mic_dma_mmio_read(ch, MIC_DMA_SBOX_BASE + MIC_DMA_SBOX_DCR); mic_dma_enable_chan() local
225 dcr |= 2 << (ch->ch_num << 1); mic_dma_enable_chan()
226 mic_dma_mmio_write(ch, dcr, MIC_DMA_SBOX_BASE + MIC_DMA_SBOX_DCR); mic_dma_enable_chan()
231 u32 dcr = mic_dma_mmio_read(ch, MIC_DMA_SBOX_BASE + MIC_DMA_SBOX_DCR); mic_dma_disable_chan() local
233 dcr &= ~(2 << (ch->ch_num << 1)); mic_dma_disable_chan()
234 mic_dma_mmio_write(ch, dcr, MIC_DMA_SBOX_BASE + MIC_DMA_SBOX_DCR); mic_dma_disable_chan()
/linux-4.1.27/arch/powerpc/include/asm/
H A Ddcr.h27 #include <asm/dcr-native.h>
31 #include <asm/dcr-mmio.h>
39 #include <asm/dcr-generic.h>
H A Dmpic.h6 #include <asm/dcr.h>
/linux-4.1.27/include/linux/
H A Dparport_pc.h85 unsigned char dcr = inb (CONTROL (p)); dump_parport_state() local
98 printk ("] dcr(%s)=[", i ? "soft" : "hard"); dump_parport_state()
99 dcr = i ? priv->ctr : inb (CONTROL (p)); dump_parport_state()
101 if (dcr & 0x20) { dump_parport_state()
106 if (dcr & 0x10) printk (",ackIntEn"); dump_parport_state()
107 if (!(dcr & 0x08)) printk (",N-SELECT-IN"); dump_parport_state()
108 if (dcr & 0x04) printk (",N-INIT"); dump_parport_state()
109 if (!(dcr & 0x02)) printk (",N-AUTOFD"); dump_parport_state()
110 if (!(dcr & 0x01)) printk (",N-STROBE"); dump_parport_state()
H A Dparport.h47 unsigned int dcr; member in struct:ip32_parport_state
/linux-4.1.27/arch/powerpc/platforms/40x/
H A Dvirtex.c25 { .compatible = "xlnx,dcr-v29-1.00.a", },
/linux-4.1.27/arch/powerpc/boot/
H A Dbamboo.c23 #include "dcr.h"
H A Dcuboot-katmai.c20 #include "dcr.h"
H A Dcuboot-kilauea.c16 #include "dcr.h"
H A Dcuboot-rainier.c26 #include "dcr.h"
H A Dcuboot-sequoia.c26 #include "dcr.h"
H A Dcuboot-taishan.c21 #include "dcr.h"
H A Dep405.c20 #include "dcr.h"
H A Dtreeboot-iss4xx.c30 #include "dcr.h"
H A Dtreeboot-walnut.c17 #include "dcr.h"
H A Debony.c28 #include "dcr.h"
H A Dtreeboot-currituck.c32 #include "dcr.h"
H A Dtreeboot-akebono.c34 #include "dcr.h"
H A Dcuboot-acadia.c15 #include "dcr.h"
H A Dcuboot-hotfoot.c14 #include "dcr.h"
H A D4xx.c26 #include "dcr.h"
/linux-4.1.27/arch/powerpc/kernel/
H A Dppc_ksyms_32.c11 #include <asm/dcr.h>
/linux-4.1.27/arch/frv/kernel/
H A Dbreak.S136 movsg dcr,gr2
140 movgs gr2,dcr
287 movsg dcr,gr2
291 movgs gr2,dcr
390 movsg dcr,gr2
394 movgs gr2,dcr
421 movsg dcr,gr2
425 movgs gr2,dcr
521 movsg dcr,gr2
529 movgs gr2,dcr
650 movsg dcr,gr6
664 movgs gr5,dcr
712 movgs gr6 ,dcr
H A Dasm-offsets.c63 DEF_0REG(REG_DCR, debug.dcr); foo()
102 OFFSET(DEBUG_DCR, frv_debug_status, dcr); foo()
H A Dgdb-stub.c907 if (!(__debug_regs->dcr & DCR_IBE0)) { gdbstub_set_breakpoint()
909 __debug_regs->dcr |= DCR_IBE0; gdbstub_set_breakpoint()
915 if (!(__debug_regs->dcr & DCR_IBE1)) { gdbstub_set_breakpoint()
917 __debug_regs->dcr |= DCR_IBE1; gdbstub_set_breakpoint()
923 if (!(__debug_regs->dcr & DCR_IBE2)) { gdbstub_set_breakpoint()
925 __debug_regs->dcr |= DCR_IBE2; gdbstub_set_breakpoint()
931 if (!(__debug_regs->dcr & DCR_IBE3)) { gdbstub_set_breakpoint()
933 __debug_regs->dcr |= DCR_IBE3; gdbstub_set_breakpoint()
956 if (!(__debug_regs->dcr & (DCR_DRBE0|DCR_DWBE0))) { gdbstub_set_breakpoint()
960 __debug_regs->dcr |= tmp; gdbstub_set_breakpoint()
976 if (!(__debug_regs->dcr & (DCR_DRBE1|DCR_DWBE1))) { gdbstub_set_breakpoint()
980 __debug_regs->dcr |= tmp; gdbstub_set_breakpoint()
1046 if (__debug_regs->dcr & DCR_IBE0 && __get_ibar(0) == addr) { gdbstub_clear_breakpoint()
1048 __debug_regs->dcr &= ~DCR_IBE0; gdbstub_clear_breakpoint()
1054 if (__debug_regs->dcr & DCR_IBE1 && __get_ibar(1) == addr) { gdbstub_clear_breakpoint()
1056 __debug_regs->dcr &= ~DCR_IBE1; gdbstub_clear_breakpoint()
1062 if (__debug_regs->dcr & DCR_IBE2 && __get_ibar(2) == addr) { gdbstub_clear_breakpoint()
1064 __debug_regs->dcr &= ~DCR_IBE2; gdbstub_clear_breakpoint()
1070 if (__debug_regs->dcr & DCR_IBE3 && __get_ibar(3) == addr) { gdbstub_clear_breakpoint()
1072 __debug_regs->dcr &= ~DCR_IBE3; gdbstub_clear_breakpoint()
1102 if ((__debug_regs->dcr & (DCR_DRBE0|DCR_DWBE0)) != tmp || gdbstub_clear_breakpoint()
1109 __debug_regs->dcr &= ~(DCR_DRBE0|DCR_DWBE0); gdbstub_clear_breakpoint()
1127 if ((__debug_regs->dcr & (DCR_DRBE1|DCR_DWBE1)) != tmp || gdbstub_clear_breakpoint()
1134 __debug_regs->dcr &= ~(DCR_DRBE1|DCR_DWBE1); gdbstub_clear_breakpoint()
1209 gdbstub_printk("DCR %08lx ", __debug_status.dcr); gdbstub_dump_debugregs()
1898 __debug_regs->dcr |= DCR_SE; gdbstub()
1899 __debug_status.dcr |= DCR_SE; gdbstub()
H A Ddebug-stub.c69 __debug_status.dcr &= ~DCR_SE; debug_stub()
126 __debug_status.dcr = DCR_EBE; debug_stub_init()
/linux-4.1.27/drivers/dma/hsu/
H A Dhsu.c62 u32 dcr = HSU_CH_DCR_CHSOE | HSU_CH_DCR_CHEI; hsu_dma_chan_start() local
86 dcr |= HSU_CH_DCR_DESCA(i); hsu_dma_chan_start()
87 dcr |= HSU_CH_DCR_CHTOI(i); /* timeout bit, see HSU Errata 1 */ hsu_dma_chan_start()
92 dcr |= HSU_CH_DCR_CHSOD(count - 1); hsu_dma_chan_start()
93 dcr |= HSU_CH_DCR_CHDI(count - 1); hsu_dma_chan_start()
95 hsu_chan_writel(hsuc, HSU_CH_DCR, dcr); hsu_dma_chan_start()
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dsetup-r8a7778.c323 .dcr = HPB_DMAE_DCR_CT | \
333 .dcr = HPB_DMAE_DCR_CT | \
346 .dcr = HPB_DMAE_DCR_CT | \
356 .dcr = HPB_DMAE_DCR_CT | \
369 .dcr = HPB_DMAE_DCR_SPDS_16BIT |
383 .dcr = HPB_DMAE_DCR_SMDL |
397 .dcr = HPB_DMAE_DCR_SPDS_32BIT |
405 .dcr = HPB_DMAE_DCR_SMDL |
H A Dsetup-r8a7779.c569 .dcr = HPB_DMAE_DCR_SPDS_16BIT |
585 .dcr = HPB_DMAE_DCR_SMDL |
/linux-4.1.27/include/linux/platform_data/
H A Ddma-rcar-hpbdma.h72 u32 dcr; member in struct:hpb_dmae_slave_config
/linux-4.1.27/arch/powerpc/platforms/44x/
H A Dvirtex.c31 { .compatible = "xlnx,dcr-v29-1.00.a", },
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dmite.c352 unsigned int chor, chcr, mcr, dcr, lkcr; mite_prep_dma() local
405 dcr = CR_RL(64) | CR_ASEQUP; mite_prep_dma()
406 dcr |= CR_PORTIO | CR_AMDEVICE | CR_REQSDRQ(mite_chan->channel); mite_prep_dma()
409 dcr |= CR_PSIZE8; mite_prep_dma()
412 dcr |= CR_PSIZE16; mite_prep_dma()
415 dcr |= CR_PSIZE32; mite_prep_dma()
421 writel(dcr, mite->mite_io_addr + MITE_DCR(mite_chan->channel)); mite_prep_dma()
/linux-4.1.27/drivers/parport/
H A Dparport_ip32.c153 * @dcr: Device Control Register
171 void __iomem *dcr; member in struct:parport_ip32_regs
399 unsigned int dcr = i ? priv->dcr_cache : readb(priv->regs.dcr); parport_ip32_dump_state() local
400 printk(KERN_DEBUG PPIP32 " dcr(%s)=0x%02x", parport_ip32_dump_state()
401 i ? "soft" : "hard", dcr); parport_ip32_dump_state()
402 printk(" %s", (dcr & DCR_DIR) ? "rev" : "fwd"); parport_ip32_dump_state()
403 if (dcr & DCR_IRQ) parport_ip32_dump_state()
405 if (!(dcr & DCR_SELECT)) parport_ip32_dump_state()
407 if (dcr & DCR_nINIT) parport_ip32_dump_state()
409 if (!(dcr & DCR_AUTOFD)) parport_ip32_dump_state()
411 if (!(dcr & DCR_STROBE)) parport_ip32_dump_state()
915 writeb(c, priv->regs.dcr); __parport_ip32_write_control()
1039 s->u.ip32.dcr = DCR_SELECT | DCR_nINIT; parport_ip32_init_state()
1051 s->u.ip32.dcr = __parport_ip32_read_control(p); parport_ip32_save_state()
1065 __parport_ip32_write_control(p, s->u.ip32.dcr); parport_ip32_restore_state()
2012 .dcr = r_base(2), parport_ip32_make_isa_registers()
/linux-4.1.27/drivers/net/ethernet/xilinx/
H A Dll_temac.h10 #include <asm/dcr.h>
11 #include <asm/dcr-regs.h>
H A Dll_temac_main.c171 /* setup the dcr address mapping if it's in the device tree */ temac_dcr_setup()
/linux-4.1.27/arch/ia64/kernel/
H A Dparavirt.c443 __DEFINE_GET_CR(DCR, dcr)
526 __DEFINE_SET_CR(DCR, dcr)
724 IA64_NATIVE_PATCH_DEFINE_CR(dcr, dcr);
836 IA64_NATIVE_PATCH_BUNDLE_ELEM_CR(dcr, DCR),
H A Dperfmon.c1026 /* disable dcr pp */ pfm_restore_monitoring()
1083 /* enable dcr pp */ pfm_restore_monitoring()
3977 * disable dcr pp pfm_stop()
4072 /* enable dcr pp */ pfm_start()
4438 * clear psr and dcr bits pfm_context_unload()
5734 unsigned long dcr; pfm_syst_wide_update_task() local
5752 dcr = ia64_getreg(_IA64_REG_CR_DCR); pfm_syst_wide_update_task()
5758 ia64_setreg(_IA64_REG_CR_DCR, dcr & ~IA64_DCR_PP); pfm_syst_wide_update_task()
5770 ia64_setreg(_IA64_REG_CR_DCR, dcr |IA64_DCR_PP); pfm_syst_wide_update_task()
6688 unsigned long psr, dcr, info, flags; dump_pmu_state() local
6696 dcr = ia64_getreg(_IA64_REG_CR_DCR); dump_pmu_state()
6698 if (info == 0 && ia64_psr(regs)->pp == 0 && (dcr & IA64_DCR_PP) == 0) { dump_pmu_state()
6717 printk("->CPU%d pmc0=0x%lx psr.pp=%d psr.up=%d dcr.pp=%d syst_info=0x%lx user_psr.up=%d user_psr.pp=%d\n", dump_pmu_state()
6722 dcr & IA64_DCR_PP ? 1 : 0, dump_pmu_state()
H A Dhead.S122 SAVE_FROM_REG(cr.dcr,_reg1,_reg2);; \
1162 RESTORE_REG(cr.dcr, r25, r17);;
H A Dfsys.S420 * initializing it from dcr.pp. This makes it possible to
H A Dsetup.c996 * dcr.lc as per recommendation by the architecture team. Most IA-32 apps cpu_init()
/linux-4.1.27/drivers/dma/sh/
H A Drcar-hpbdma.c437 if ((cfg->dcr & (HPB_DMAE_DCR_CT | HPB_DMAE_DCR_DIP)) == 0) { hpb_dmae_alloc_chan_resources()
439 } else if ((cfg->dcr & (HPB_DMAE_DCR_CT | HPB_DMAE_DCR_DIP)) == hpb_dmae_alloc_chan_resources()
449 ch_reg_write(hpb_chan, cfg->dcr, HPB_DMAE_DCR); hpb_dmae_alloc_chan_resources()
/linux-4.1.27/arch/frv/include/asm/
H A Dgdb-stub.h138 unsigned long dcr; member in struct:frv_debug_status
/linux-4.1.27/drivers/tty/serial/
H A Dnwpserial.c27 #include <asm/dcr.h>
351 /* get dcr base. */ nwpserial_register_port()
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Daxon_msi.c21 #include <asm/dcr.h>
356 "axon_msi: couldn't parse dcr properties on %s\n", axon_msi_probe()
/linux-4.1.27/drivers/spi/
H A Dspi-ppc4xx.c43 #include <asm/dcr.h>
44 #include <asm/dcr-regs.h>
/linux-4.1.27/drivers/video/fbdev/
H A Dxilinxfb.c39 #include <asm/dcr.h>
431 of_property_read_u32(pdev->dev.of_node, "xlnx,dcr-splb-slave-if", xilinxfb_of_probe()
/linux-4.1.27/arch/frv/include/uapi/asm/
H A Dregisters.h147 unsigned long dcr; member in struct:frv_debug_regs
/linux-4.1.27/drivers/usb/serial/
H A Dmos7720.c521 __u8 dcr; parport_mos7715_read_control() local
529 dcr = mos_parport->shadowDCR & 0x0f; parport_mos7715_read_control()
531 return dcr; parport_mos7715_read_control()
539 __u8 dcr; parport_mos7715_frob_control() local
547 dcr = mos_parport->shadowDCR & 0x0f; parport_mos7715_frob_control()
549 return dcr; parport_mos7715_frob_control()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dcore.h39 #include <asm/dcr.h>
H A Dmal.c33 #include <asm/dcr-regs.h>
H A Dcore.c51 #include <asm/dcr.h>
52 #include <asm/dcr-regs.h>
/linux-4.1.27/arch/sparc/kernel/
H A Dfpu_traps.S15 /* Legal state when DCR_IFPOE is set in Cheetah %dcr. */
H A Dtrampoline_64.S11 #include <asm/dcr.h>
H A Dtraps_64.c601 unsigned long dcr; cheetah_enable_pcache() local
607 : "=r" (dcr) cheetah_enable_pcache()
609 dcr |= (DCU_PE | DCU_HPE | DCU_SPE | DCU_SL); cheetah_enable_pcache()
613 : "r" (dcr), "i" (ASI_DCU_CONTROL_REG)); cheetah_enable_pcache()
1736 * the %dcr register.
H A Dhead_64.S25 #include <asm/dcr.h>
/linux-4.1.27/drivers/crypto/amcc/
H A Dcrypto4xx_core.c35 #include <asm/dcr.h>
36 #include <asm/dcr-regs.h>
/linux-4.1.27/arch/ia64/include/asm/
H A Dsal.h874 u64 dcr; /* Default Control Register */ member in struct:sal_to_os_boot
/linux-4.1.27/sound/soc/intel/atom/
H A Dsst-atom-controls.c1125 SST_ALGO_KCONTROL_BYTES("codec_in0", "dcr", 52, SST_MODULE_ID_FILT_DCR,
1127 SST_ALGO_KCONTROL_BYTES("codec_in1", "dcr", 52, SST_MODULE_ID_FILT_DCR,
/linux-4.1.27/include/uapi/linux/
H A Dkvm.h287 } dcr; member in union:kvm_run::__anon13391
/linux-4.1.27/drivers/edac/
H A Dppc4xx_edac.c22 #include <asm/dcr.h>
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
H A Dentry.S1758 getcon dcr, r14
/linux-4.1.27/drivers/dma/ppc4xx/
H A Dadma.c44 #include <asm/dcr.h>
45 #include <asm/dcr-regs.h>

Completed in 2191 milliseconds