/Linux-v6.1/sound/arm/ |
D | pxa2xx-ac97-lib.c | 129 writel(readl(ac97_reg_base + GCR) | (GCR_WARM_RST), ac97_reg_base + GCR); in pxa_ac97_warm_pxa25x() 134 …writel(readl(ac97_reg_base + GCR) & ( GCR_COLD_RST), ac97_reg_base + GCR); /* clear everything bu… in pxa_ac97_cold_pxa25x() 135 writel(readl(ac97_reg_base + GCR) & (~GCR_COLD_RST), ac97_reg_base + GCR); /* then assert nCRST */ in pxa_ac97_cold_pxa25x() 139 writel(GCR_COLD_RST, ac97_reg_base + GCR); in pxa_ac97_cold_pxa25x() 151 writel(readl(ac97_reg_base + GCR) | (GCR_WARM_RST), ac97_reg_base + GCR); in pxa_ac97_warm_pxa27x() 158 …writel(readl(ac97_reg_base + GCR) & ( GCR_COLD_RST), ac97_reg_base + GCR); /* clear everything bu… in pxa_ac97_cold_pxa27x() 159 writel(readl(ac97_reg_base + GCR) & (~GCR_COLD_RST), ac97_reg_base + GCR); /* then assert nCRST */ in pxa_ac97_cold_pxa27x() 167 writel(GCR_COLD_RST | GCR_WARM_RST, ac97_reg_base + GCR); in pxa_ac97_cold_pxa27x() 177 writel(readl(ac97_reg_base + GCR) | (GCR_WARM_RST), ac97_reg_base + GCR); in pxa_ac97_warm_pxa3xx() 183 writel(0, ac97_reg_base + GCR); in pxa_ac97_cold_pxa3xx() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/arm/npcm/ |
D | nuvoton,gcr.yaml | 4 $id: http://devicetree.org/schemas/arm/npcm/nuvoton,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.1/arch/s390/kvm/ |
D | guestdbg.c | 62 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 …]
|
D | gaccess.c | 398 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 …]
|
D | interrupt.c | 171 !(vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SUBMASK)) in ckc_interrupts_enabled() 184 if (vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SIGN) { in ckc_irq_pending() 196 (vcpu->arch.sie_block->gcr[0] & CR0_CPU_TIMER_SUBMASK); in cpu_timer_interrupts_enabled() 363 if (!(vcpu->arch.sie_block->gcr[6] & isc_to_isc_bits(i))) in disable_iscs() 383 if (!(vcpu->arch.sie_block->gcr[0] & CR0_EXTERNAL_CALL_SUBMASK)) in deliverable_irqs() 385 if (!(vcpu->arch.sie_block->gcr[0] & CR0_EMERGENCY_SIGNAL_SUBMASK)) in deliverable_irqs() 387 if (!(vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SUBMASK)) in deliverable_irqs() 389 if (!(vcpu->arch.sie_block->gcr[0] & CR0_CPU_TIMER_SUBMASK)) in deliverable_irqs() 391 if (!(vcpu->arch.sie_block->gcr[0] & CR0_SERVICE_SIGNAL_SUBMASK)) { in deliverable_irqs() 407 if (!(vcpu->arch.sie_block->gcr[14] & in deliverable_irqs() [all …]
|
D | vsie.c | 403 memcpy(scb_o->gcr, scb_s->gcr, 128); in unshadow_scb() 469 memcpy(scb_s->gcr, scb_o->gcr, 128); in shadow_scb() 1022 cr0.val = vcpu->arch.sie_block->gcr[0]; in vsie_handle_mvpg() 1197 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow() 1198 cr0.val = vcpu->arch.sie_block->gcr[0]; in acquire_gmap_shadow()
|
D | sigp.c | 77 p_asn = dst_vcpu->arch.sie_block->gcr[4] & 0xffff; /* Primary ASN */ in __sigp_conditional_emergency() 78 s_asn = dst_vcpu->arch.sie_block->gcr[3] & 0xffff; /* Secondary ASN */ in __sigp_conditional_emergency()
|
/Linux-v6.1/include/linux/mfd/ |
D | intel_pmc_bxt.h | 5 /* 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.1/arch/arm64/boot/dts/nuvoton/ |
D | nuvoton-common-npcm8xx.dtsi | 20 gcr: system-controller@f0800000 { label 21 compatible = "nuvoton,npcm845-gcr", "syscon"; 54 nuvoton,sysgcr = <&gcr>; 148 syscon = <&gcr>; 157 syscon = <&gcr>; 166 syscon = <&gcr>;
|
/Linux-v6.1/drivers/mfd/ |
D | intel_pmc_bxt.c | 74 * 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.1/arch/mips/include/asm/ |
D | mips-cm.h | 18 /* 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.1/arch/arm/mach-npcm/ |
D | platsmp.c | 31 gcr_np = of_find_compatible_node(NULL, NULL, "nuvoton,npcm750-gcr"); in npcm7xx_smp_boot_secondary() 33 pr_err("no gcr device node\n"); in npcm7xx_smp_boot_secondary() 39 pr_err("could not iomap gcr"); in npcm7xx_smp_boot_secondary()
|
/Linux-v6.1/Documentation/devicetree/bindings/reset/ |
D | nuvoton,npcm750-reset.yaml | 26 description: a phandle to access GCR registers. 51 nuvoton,sysgcr = <&gcr>;
|
/Linux-v6.1/sound/soc/stm/ |
D | stm32_sai.c | 72 /* 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()
|
D | stm32_sai.h | 289 * @gcr: SAI Global Configuration Register 301 u32 gcr; member
|
/Linux-v6.1/drivers/gpio/ |
D | gpio-xra1403.c | 125 unsigned int gcr; in xra1403_dbg_show() local 138 gcr = value[XRA_GCR + 1] << 8 | value[XRA_GCR]; in xra1403_dbg_show() 143 (gcr & BIT(i)) ? "in" : "out", in xra1403_dbg_show()
|
/Linux-v6.1/drivers/reset/ |
D | reset-npcm.c | 18 /* 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.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_82598.c | 36 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.1/arch/powerpc/kvm/ |
D | mpic.c | 216 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.1/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
D | nuvoton,npcm750-smp | 15 "nuvoton,npcm750-gcr".
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | nuvoton-wpcm450.dtsi | 47 gcr: syscon@b0000000 { label 48 compatible = "nuvoton,wpcm450-gcr", "syscon", "simple-mfd";
|
D | nuvoton-common-npcm7xx.dtsi | 91 gcr: gcr@800000 { label 92 compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd"; 113 nuvoton,sysgcr = <&gcr>;
|
/Linux-v6.1/Documentation/devicetree/bindings/i2c/ |
D | nuvoton,npcm7xx-i2c.yaml | 74 nuvoton,sys-mgr = <&gcr>;
|
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 1676 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.1/drivers/net/wireless/atmel/ |
D | atmel.c | 123 #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() 3676 atmel_write16(dev, GCR, 0x0060); in probe_atmel_card() 3678 atmel_write16(dev, GCR, 0x0040); in probe_atmel_card() 3703 atmel_write16(dev, GCR, 0x0060); in probe_atmel_card() 3704 atmel_write16(dev, GCR, 0x0040); in probe_atmel_card() [all …]
|