Home
last modified time | relevance | path

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

123

/linux-6.12.1/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-6.12.1/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-6.12.1/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.c242 asce->val = vcpu->arch.sie_block->gcr[1]; in ar_translation()
245 asce->val = vcpu->arch.sie_block->gcr[7]; in ar_translation()
253 ald_addr = vcpu->arch.sie_block->gcr[5]; in ar_translation()
255 ald_addr = vcpu->arch.sie_block->gcr[2]; in ar_translation()
288 eax = (vcpu->arch.sie_block->gcr[8] >> 16) & 0xffff; in ar_translation()
416 asce->val = vcpu->arch.sie_block->gcr[1]; in get_vcpu_asce()
419 asce->val = vcpu->arch.sie_block->gcr[7]; in get_vcpu_asce()
422 asce->val = vcpu->arch.sie_block->gcr[13]; in get_vcpu_asce()
472 ctlreg0.val = vcpu->arch.sie_block->gcr[0]; in guest_translate()
632 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 …]
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/arch/mips/include/asm/
Dmips-cm.h18 /* The base address of the CM GCR block */
42 * behind the CM GCR base address. It may be overridden by platforms which
127 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_GCB_OFS + off, name) \
128 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_COCB_OFS + off, redir_##name)
131 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_GCB_OFS + off, name) \
132 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_COCB_OFS + off, redir_##name)
135 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_CLCB_OFS + off, cl_##name) \
136 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_COCB_OFS + off, co_##name)
139 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_CLCB_OFS + off, cl_##name) \
140 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_COCB_OFS + off, co_##name)
[all …]
/linux-6.12.1/drivers/mfd/
Dintel_pmc_bxt.c73 * intel_pmc_gcr_read64() - Read a 64-bit PMC GCR register
75 * @offset: offset of GCR register from GCR address base
78 * Reads the 64-bit PMC GCR register at given offset.
96 * intel_pmc_gcr_update() - Update PMC GCR register bits
98 * @offset: offset of GCR register from GCR address base
102 * Updates the bits of given GCR register as specified by
325 /* GCR registers */ in intel_pmc_get_resources()
/linux-6.12.1/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-6.12.1/Documentation/devicetree/bindings/reset/
Dnuvoton,npcm750-reset.yaml26 description: a phandle to access GCR registers.
51 nuvoton,sysgcr = <&gcr>;
/linux-6.12.1/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-6.12.1/Documentation/devicetree/bindings/media/
Dnuvoton,npcm-vcd.yaml33 description: phandle to access GCR (Global Control Register) registers.
69 nuvoton,sysgcr = <&gcr>;
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/gpu/drm/stm/
Dlvds.c176 u32 GCR; /* Global Control Register */ member
206 .GCR = 0x0,
232 .GCR = 0x0,
363 lvds_set(lvds, phy->base + phy->ofs.GCR, lvds_gcr); in lvds_pll_enable()
573 lvds_set(lvds, phy->base + phy->ofs.GCR, PHY_GCR_DIV_RSTN | PHY_GCR_RSTZ); in lvds_pixel_clk_enable()
587 lvds_set(lvds, phy->base + phy->ofs.GCR, PHY_GCR_DIV_RSTN | PHY_GCR_RSTZ); in lvds_pixel_clk_enable()
612 lvds_clear(lvds, lvds->primary->base + lvds->primary->ofs.GCR, in lvds_pixel_clk_disable()
616 lvds_clear(lvds, lvds->primary->base + lvds->primary->ofs.GCR, in lvds_pixel_clk_disable()
621 lvds_clear(lvds, lvds->secondary->base + lvds->secondary->ofs.GCR, in lvds_pixel_clk_disable()
625 lvds_clear(lvds, lvds->secondary->base + lvds->secondary->ofs.GCR, in lvds_pixel_clk_disable()
/linux-6.12.1/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-6.12.1/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-6.12.1/Documentation/devicetree/bindings/pinctrl/
Dnuvoton,npcm845-pinctrl.yaml33 description: a phandle to access GCR registers.
195 nuvoton,sysgcr = <&gcr>;
/linux-6.12.1/Documentation/devicetree/bindings/arm/cpu-enable-method/
Dnuvoton,npcm750-smp15 "nuvoton,npcm750-gcr".
/linux-6.12.1/Documentation/devicetree/bindings/mmc/
Dnuvoton,ma35d1-sdhci.yaml50 description: phandle to access GCR (Global Control Register) registers.
/linux-6.12.1/Documentation/devicetree/bindings/i2c/
Dnuvoton,npcm7xx-i2c.yaml74 nuvoton,sys-mgr = <&gcr>;
/linux-6.12.1/arch/arm/boot/dts/nuvoton/
Dnuvoton-wpcm450.dtsi55 gcr: syscon@b0000000 { label
56 compatible = "nuvoton,wpcm450-gcr", "syscon", "simple-mfd";

123