Home
last modified time | relevance | path

Searched full:gcr (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v6.6/sound/arm/
Dpxa2xx-ac97-lib.c127 writel(readl(ac97_reg_base + GCR) | (GCR_WARM_RST), ac97_reg_base + GCR); in pxa_ac97_warm_pxa25x()
132 …writel(readl(ac97_reg_base + GCR) & ( GCR_COLD_RST), ac97_reg_base + GCR); /* clear everything bu… in pxa_ac97_cold_pxa25x()
133 writel(readl(ac97_reg_base + GCR) & (~GCR_COLD_RST), ac97_reg_base + GCR); /* then assert nCRST */ in pxa_ac97_cold_pxa25x()
137 writel(GCR_COLD_RST, ac97_reg_base + GCR); in pxa_ac97_cold_pxa25x()
149 writel(readl(ac97_reg_base + GCR) | (GCR_WARM_RST), ac97_reg_base + GCR); in pxa_ac97_warm_pxa27x()
156 …writel(readl(ac97_reg_base + GCR) & ( GCR_COLD_RST), ac97_reg_base + GCR); /* clear everything bu… in pxa_ac97_cold_pxa27x()
157 writel(readl(ac97_reg_base + GCR) & (~GCR_COLD_RST), ac97_reg_base + GCR); /* then assert nCRST */ in pxa_ac97_cold_pxa27x()
165 writel(GCR_COLD_RST | GCR_WARM_RST, ac97_reg_base + GCR); in pxa_ac97_cold_pxa27x()
175 writel(readl(ac97_reg_base + GCR) | (GCR_WARM_RST), ac97_reg_base + GCR); in pxa_ac97_warm_pxa3xx()
181 writel(0, ac97_reg_base + GCR); in pxa_ac97_cold_pxa3xx()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/soc/nuvoton/
Dnuvoton,npcm-gcr.yaml4 $id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml#
14 The Global Control Registers (GCR) are a block of registers in Nuvoton SoCs
22 - nuvoton,wpcm450-gcr
23 - nuvoton,npcm750-gcr
24 - nuvoton,npcm845-gcr
40 gcr: syscon@800000 {
41 compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd";
/Linux-v6.6/arch/s390/kvm/
Dguestdbg.c62 u64 *cr9 = &vcpu->arch.sie_block->gcr[9]; in enable_all_hw_bp()
63 u64 *cr10 = &vcpu->arch.sie_block->gcr[10]; in enable_all_hw_bp()
64 u64 *cr11 = &vcpu->arch.sie_block->gcr[11]; in enable_all_hw_bp()
102 u64 *cr9 = &vcpu->arch.sie_block->gcr[9]; in enable_all_hw_wp()
103 u64 *cr10 = &vcpu->arch.sie_block->gcr[10]; in enable_all_hw_wp()
104 u64 *cr11 = &vcpu->arch.sie_block->gcr[11]; in enable_all_hw_wp()
132 vcpu->arch.guestdbg.cr0 = vcpu->arch.sie_block->gcr[0]; in kvm_s390_backup_guest_per_regs()
133 vcpu->arch.guestdbg.cr9 = vcpu->arch.sie_block->gcr[9]; in kvm_s390_backup_guest_per_regs()
134 vcpu->arch.guestdbg.cr10 = vcpu->arch.sie_block->gcr[10]; in kvm_s390_backup_guest_per_regs()
135 vcpu->arch.guestdbg.cr11 = vcpu->arch.sie_block->gcr[11]; in kvm_s390_backup_guest_per_regs()
[all …]
Dgaccess.c398 asce->val = vcpu->arch.sie_block->gcr[1]; in ar_translation()
401 asce->val = vcpu->arch.sie_block->gcr[7]; in ar_translation()
409 ald_addr = vcpu->arch.sie_block->gcr[5]; in ar_translation()
411 ald_addr = vcpu->arch.sie_block->gcr[2]; in ar_translation()
444 eax = (vcpu->arch.sie_block->gcr[8] >> 16) & 0xffff; in ar_translation()
589 asce->val = vcpu->arch.sie_block->gcr[1]; in get_vcpu_asce()
592 asce->val = vcpu->arch.sie_block->gcr[7]; in get_vcpu_asce()
595 asce->val = vcpu->arch.sie_block->gcr[13]; in get_vcpu_asce()
645 ctlreg0.val = vcpu->arch.sie_block->gcr[0]; in guest_translate()
805 union ctlreg0 ctlreg0 = {.val = vcpu->arch.sie_block->gcr[0]}; in low_address_protection_enabled()
[all …]
Dinterrupt.c175 !(vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SUBMASK)) in ckc_interrupts_enabled()
188 if (vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SIGN) { in ckc_irq_pending()
200 (vcpu->arch.sie_block->gcr[0] & CR0_CPU_TIMER_SUBMASK); in cpu_timer_interrupts_enabled()
357 if (!(vcpu->arch.sie_block->gcr[6] & isc_to_isc_bits(i))) in disable_iscs()
377 if (!(vcpu->arch.sie_block->gcr[0] & CR0_EXTERNAL_CALL_SUBMASK)) in deliverable_irqs()
379 if (!(vcpu->arch.sie_block->gcr[0] & CR0_EMERGENCY_SIGNAL_SUBMASK)) in deliverable_irqs()
381 if (!(vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SUBMASK)) in deliverable_irqs()
383 if (!(vcpu->arch.sie_block->gcr[0] & CR0_CPU_TIMER_SUBMASK)) in deliverable_irqs()
385 if (!(vcpu->arch.sie_block->gcr[0] & CR0_SERVICE_SIGNAL_SUBMASK)) { in deliverable_irqs()
401 if (!(vcpu->arch.sie_block->gcr[14] & in deliverable_irqs()
[all …]
Dvsie.c413 memcpy(scb_o->gcr, scb_s->gcr, 128); in unshadow_scb()
479 memcpy(scb_s->gcr, scb_o->gcr, 128); in shadow_scb()
1032 cr0.val = vcpu->arch.sie_block->gcr[0]; in vsie_handle_mvpg()
1207 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow()
1208 cr0.val = vcpu->arch.sie_block->gcr[0]; in acquire_gmap_shadow()
/Linux-v6.6/drivers/soc/nuvoton/
Dwpcm450-soc.c52 struct regmap *gcr; in wpcm450_soc_init() local
59 gcr = syscon_regmap_lookup_by_compatible("nuvoton,wpcm450-gcr"); in wpcm450_soc_init()
60 if (IS_ERR(gcr)) in wpcm450_soc_init()
61 return PTR_ERR(gcr); in wpcm450_soc_init()
62 ret = regmap_read(gcr, GCR_PDID, &pdid); in wpcm450_soc_init()
67 pr_warn("Unknown chip ID in GCR.PDID: 0x%06x\n", PDID_CHIP(pdid)); in wpcm450_soc_init()
73 pr_warn("Unknown chip revision in GCR.PDID: 0x%02x\n", PDID_REV(pdid)); in wpcm450_soc_init()
/Linux-v6.6/include/linux/mfd/
Dintel_pmc_bxt.h5 /* GCR reg offsets from GCR base */
17 * @gcr_mem_base: Virtual base address of GCR (Global Configuration Registers)
18 * @gcr_lock: Lock used to serialize access to GCR registers
/Linux-v6.6/arch/arm64/boot/dts/nuvoton/
Dnuvoton-common-npcm8xx.dtsi20 gcr: system-controller@f0800000 { label
21 compatible = "nuvoton,npcm845-gcr", "syscon";
54 nuvoton,sysgcr = <&gcr>;
157 syscon = <&gcr>;
166 syscon = <&gcr>;
175 syscon = <&gcr>;
/Linux-v6.6/drivers/mfd/
Dintel_pmc_bxt.c74 * intel_pmc_gcr_read64() - Read a 64-bit PMC GCR register
76 * @offset: offset of GCR register from GCR address base
79 * Reads the 64-bit PMC GCR register at given offset.
97 * intel_pmc_gcr_update() - Update PMC GCR register bits
99 * @offset: offset of GCR register from GCR address base
103 * Updates the bits of given GCR register as specified by
326 /* GCR registers */ in intel_pmc_get_resources()
/Linux-v6.6/arch/mips/include/asm/
Dmips-cm.h18 /* The base address of the CM GCR block */
115 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_GCB_OFS + off, name) \
116 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_COCB_OFS + off, redir_##name)
119 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_GCB_OFS + off, name) \
120 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_COCB_OFS + off, redir_##name)
123 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_CLCB_OFS + off, cl_##name) \
124 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_COCB_OFS + off, co_##name)
127 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_CLCB_OFS + off, cl_##name) \
128 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_COCB_OFS + off, co_##name)
296 /* GCR_Cx_OTHER - Configure the core-other/redirect GCR block */
/Linux-v6.6/arch/arm/mach-npcm/
Dplatsmp.c28 gcr_np = of_find_compatible_node(NULL, NULL, "nuvoton,npcm750-gcr"); in npcm7xx_smp_boot_secondary()
30 pr_err("no gcr device node\n"); in npcm7xx_smp_boot_secondary()
36 pr_err("could not iomap gcr"); in npcm7xx_smp_boot_secondary()
/Linux-v6.6/Documentation/devicetree/bindings/reset/
Dnuvoton,npcm750-reset.yaml26 description: a phandle to access GCR registers.
51 nuvoton,sysgcr = <&gcr>;
/Linux-v6.6/sound/soc/stm/
Dstm32_sai.c72 /* Enable peripheral clock to allow GCR register access */ in stm32_sai_sync_conf_client()
89 /* Enable peripheral clock to allow GCR register access */ in stm32_sai_sync_conf_provider()
252 sai->gcr = readl_relaxed(sai->base); in stm32_sai_suspend()
267 writel_relaxed(sai->gcr, sai->base); in stm32_sai_resume()
Dstm32_sai.h289 * @gcr: SAI Global Configuration Register
301 u32 gcr; member
/Linux-v6.6/drivers/gpio/
Dgpio-xra1403.c124 unsigned int gcr; in xra1403_dbg_show() local
137 gcr = value[XRA_GCR + 1] << 8 | value[XRA_GCR]; in xra1403_dbg_show()
142 (gcr & BIT(i)) ? "in" : "out", in xra1403_dbg_show()
/Linux-v6.6/drivers/reset/
Dreset-npcm.c18 /* NPCM7xx GCR registers */
346 dev_info(&pdev->dev, "Using nuvoton,npcm750-gcr for Poleg backward compatibility\n"); in npcm_usb_reset()
347 rc->gcr_regmap = syscon_regmap_lookup_by_compatible("nuvoton,npcm750-gcr"); in npcm_usb_reset()
349 dev_err(&pdev->dev, "Failed to find nuvoton,npcm750-gcr"); in npcm_usb_reset()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c36 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR); in ixgbe_set_pcie_completion_timeout() local
43 if (gcr & IXGBE_GCR_CMPL_TMOUT_MASK) in ixgbe_set_pcie_completion_timeout()
48 * timeout of 10ms to 250ms through the GCR register in ixgbe_set_pcie_completion_timeout()
50 if (!(gcr & IXGBE_GCR_CAP_VER2)) { in ixgbe_set_pcie_completion_timeout()
51 gcr |= IXGBE_GCR_CMPL_TMOUT_10ms; in ixgbe_set_pcie_completion_timeout()
65 gcr &= ~IXGBE_GCR_CMPL_TMOUT_RESEND; in ixgbe_set_pcie_completion_timeout()
66 IXGBE_WRITE_REG(hw, IXGBE_GCR, gcr); in ixgbe_set_pcie_completion_timeout()
/Linux-v6.6/arch/powerpc/kvm/
Dmpic.c216 uint32_t gcr; /* Global configuration register */ member
516 opp->gcr = GCR_RESET; in openpic_reset()
558 opp->gcr = 0; in openpic_reset()
684 opp->gcr &= ~opp->mpic_mode_mask; in openpic_gcr_write()
685 opp->gcr |= val & opp->mpic_mode_mask; in openpic_gcr_write()
713 case 0x1020: /* GCR */ in openpic_gbl_write()
760 case 0x1020: /* GCR */ in openpic_gbl_read()
761 retval = opp->gcr; in openpic_gbl_read()
1184 if ((opp->gcr & opp->mpic_mode_mask) == GCR_MODE_PROXY) in kvmppc_mpic_set_epr()
1763 /* This might need to be changed if GCR gets extended */ in kvmppc_mpic_connect_vcpu()
/Linux-v6.6/Documentation/devicetree/bindings/arm/cpu-enable-method/
Dnuvoton,npcm750-smp15 "nuvoton,npcm750-gcr".
/Linux-v6.6/Documentation/devicetree/bindings/i2c/
Dnuvoton,npcm7xx-i2c.yaml74 nuvoton,sys-mgr = <&gcr>;
/Linux-v6.6/arch/arm/boot/dts/nuvoton/
Dnuvoton-wpcm450.dtsi55 gcr: syscon@b0000000 { label
56 compatible = "nuvoton,wpcm450-gcr", "syscon", "simple-mfd";
Dnuvoton-common-npcm7xx.dtsi91 gcr: gcr@800000 { label
92 compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd";
113 nuvoton,sysgcr = <&gcr>;
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/
Dmac.c1676 u32 gcr; in e1000e_set_pcie_no_snoop() local
1679 gcr = er32(GCR); in e1000e_set_pcie_no_snoop()
1680 gcr &= ~(PCIE_NO_SNOOP_ALL); in e1000e_set_pcie_no_snoop()
1681 gcr |= no_snoop; in e1000e_set_pcie_no_snoop()
1682 ew32(GCR, gcr); in e1000e_set_pcie_no_snoop()
/Linux-v6.6/drivers/net/wireless/atmel/
Datmel.c123 #define GCR 0x00 /* (SIR0) General Configuration Register */ macro
136 * Constants for the GCR register.
1378 atmel_write16(dev, GCR, 0x0060); in atmel_close()
1379 atmel_write16(dev, GCR, 0x0040); in atmel_close()
1630 atmel_write16(dev, GCR, 0x0060); in stop_atmel_card()
1631 atmel_write16(dev, GCR, 0x0040); in stop_atmel_card()
3672 atmel_write16(dev, GCR, 0x0060); in probe_atmel_card()
3674 atmel_write16(dev, GCR, 0x0040); in probe_atmel_card()
3699 atmel_write16(dev, GCR, 0x0060); in probe_atmel_card()
3700 atmel_write16(dev, GCR, 0x0040); in probe_atmel_card()
[all …]

123