/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | dcr-low.S | 40 dcr = 1 define 42 mfdcr r3,dcr; blr 43 mtdcr dcr,r4; blr 44 dcr = dcr + 1 define
|
H A D | dcr.c | 25 #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 D | ppc4xx_soc.c | 25 #include <asm/dcr.h> 26 #include <asm/dcr-regs.h> 100 dcrreg = of_get_property(np, "dcr-reg", &len); ppc4xx_l2c_probe()
|
H A D | ppc4xx_cpm.c | 39 #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 D | uic.c | 29 #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 D | ppc4xx_msi.c | 34 #include <asm/dcr.h> 35 #include <asm/dcr-regs.h>
|
H A D | mpic.c | 1268 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 D | ppc4xx_pci.c | 31 #include <asm/dcr.h> 32 #include <asm/dcr-regs.h>
|
/linux-4.1.27/arch/sh/drivers/dma/ |
H A D | dmabrg.c | 87 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 D | mic_x100_dma.h | 214 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 D | dcr.h | 27 #include <asm/dcr-native.h> 31 #include <asm/dcr-mmio.h> 39 #include <asm/dcr-generic.h>
|
H A D | mpic.h | 6 #include <asm/dcr.h>
|
/linux-4.1.27/include/linux/ |
H A D | parport_pc.h | 85 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 D | parport.h | 47 unsigned int dcr; member in struct:ip32_parport_state
|
/linux-4.1.27/arch/powerpc/platforms/40x/ |
H A D | virtex.c | 25 { .compatible = "xlnx,dcr-v29-1.00.a", },
|
/linux-4.1.27/arch/powerpc/boot/ |
H A D | bamboo.c | 23 #include "dcr.h"
|
H A D | cuboot-katmai.c | 20 #include "dcr.h"
|
H A D | cuboot-kilauea.c | 16 #include "dcr.h"
|
H A D | cuboot-rainier.c | 26 #include "dcr.h"
|
H A D | cuboot-sequoia.c | 26 #include "dcr.h"
|
H A D | cuboot-taishan.c | 21 #include "dcr.h"
|
H A D | ep405.c | 20 #include "dcr.h"
|
H A D | treeboot-iss4xx.c | 30 #include "dcr.h"
|
H A D | treeboot-walnut.c | 17 #include "dcr.h"
|
H A D | ebony.c | 28 #include "dcr.h"
|
H A D | treeboot-currituck.c | 32 #include "dcr.h"
|
H A D | treeboot-akebono.c | 34 #include "dcr.h"
|
H A D | cuboot-acadia.c | 15 #include "dcr.h"
|
H A D | cuboot-hotfoot.c | 14 #include "dcr.h"
|
H A D | 4xx.c | 26 #include "dcr.h"
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | ppc_ksyms_32.c | 11 #include <asm/dcr.h>
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | break.S | 136 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 D | asm-offsets.c | 63 DEF_0REG(REG_DCR, debug.dcr); foo() 102 OFFSET(DEBUG_DCR, frv_debug_status, dcr); foo()
|
H A D | gdb-stub.c | 907 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 D | debug-stub.c | 69 __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 D | hsu.c | 62 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 D | setup-r8a7778.c | 323 .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 D | setup-r8a7779.c | 569 .dcr = HPB_DMAE_DCR_SPDS_16BIT | 585 .dcr = HPB_DMAE_DCR_SMDL |
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | dma-rcar-hpbdma.h | 72 u32 dcr; member in struct:hpb_dmae_slave_config
|
/linux-4.1.27/arch/powerpc/platforms/44x/ |
H A D | virtex.c | 31 { .compatible = "xlnx,dcr-v29-1.00.a", },
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | mite.c | 352 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 D | parport_ip32.c | 153 * @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 D | ll_temac.h | 10 #include <asm/dcr.h> 11 #include <asm/dcr-regs.h>
|
H A D | ll_temac_main.c | 171 /* setup the dcr address mapping if it's in the device tree */ temac_dcr_setup()
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | paravirt.c | 443 __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 D | perfmon.c | 1026 /* 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 D | head.S | 122 SAVE_FROM_REG(cr.dcr,_reg1,_reg2);; \ 1162 RESTORE_REG(cr.dcr, r25, r17);;
|
H A D | fsys.S | 420 * initializing it from dcr.pp. This makes it possible to
|
H A D | setup.c | 996 * dcr.lc as per recommendation by the architecture team. Most IA-32 apps cpu_init()
|
/linux-4.1.27/drivers/dma/sh/ |
H A D | rcar-hpbdma.c | 437 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 D | gdb-stub.h | 138 unsigned long dcr; member in struct:frv_debug_status
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | nwpserial.c | 27 #include <asm/dcr.h> 351 /* get dcr base. */ nwpserial_register_port()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | axon_msi.c | 21 #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 D | spi-ppc4xx.c | 43 #include <asm/dcr.h> 44 #include <asm/dcr-regs.h>
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | xilinxfb.c | 39 #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 D | registers.h | 147 unsigned long dcr; member in struct:frv_debug_regs
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | mos7720.c | 521 __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 D | core.h | 39 #include <asm/dcr.h>
|
H A D | mal.c | 33 #include <asm/dcr-regs.h>
|
H A D | core.c | 51 #include <asm/dcr.h> 52 #include <asm/dcr-regs.h>
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | fpu_traps.S | 15 /* Legal state when DCR_IFPOE is set in Cheetah %dcr. */
|
H A D | trampoline_64.S | 11 #include <asm/dcr.h>
|
H A D | traps_64.c | 601 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 D | head_64.S | 25 #include <asm/dcr.h>
|
/linux-4.1.27/drivers/crypto/amcc/ |
H A D | crypto4xx_core.c | 35 #include <asm/dcr.h> 36 #include <asm/dcr-regs.h>
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | sal.h | 874 u64 dcr; /* Default Control Register */ member in struct:sal_to_os_boot
|
/linux-4.1.27/sound/soc/intel/atom/ |
H A D | sst-atom-controls.c | 1125 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 D | kvm.h | 287 } dcr; member in union:kvm_run::__anon13391
|
/linux-4.1.27/drivers/edac/ |
H A D | ppc4xx_edac.c | 22 #include <asm/dcr.h>
|
/linux-4.1.27/arch/sh/kernel/cpu/sh5/ |
H A D | entry.S | 1758 getcon dcr, r14
|
/linux-4.1.27/drivers/dma/ppc4xx/ |
H A D | adma.c | 44 #include <asm/dcr.h> 45 #include <asm/dcr-regs.h>
|