Home
last modified time | relevance | path

Searched refs:gcr (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/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 …]
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()
1028 cr0.val = vcpu->arch.sie_block->gcr[0]; in vsie_handle_mvpg()
1203 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow()
1204 cr0.val = vcpu->arch.sie_block->gcr[0]; in acquire_gmap_shadow()
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 …]
Dsigp.c77 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()
Dpriv.c495 inti = kvm_s390_get_io_int(vcpu->kvm, vcpu->arch.sie_block->gcr[6], 0); in handle_tpi()
1334 vcpu->arch.sie_block->gcr[reg] &= 0xffffffff00000000ul; in kvm_s390_handle_lctl()
1335 vcpu->arch.sie_block->gcr[reg] |= ctl_array[nr_regs++]; in kvm_s390_handle_lctl()
1369 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in kvm_s390_handle_stctl()
1407 vcpu->arch.sie_block->gcr[reg] = ctl_array[nr_regs++]; in handle_lctlg()
1441 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in handle_stctg()
Dkvm-s390.c4218 memset(vcpu->arch.sie_block->gcr, 0, sizeof(vcpu->arch.sie_block->gcr)); in kvm_arch_vcpu_ioctl_initial_reset()
4219 vcpu->arch.sie_block->gcr[0] = CR0_INITIAL_MASK; in kvm_arch_vcpu_ioctl_initial_reset()
4220 vcpu->arch.sie_block->gcr[14] = CR14_INITIAL_MASK; in kvm_arch_vcpu_ioctl_initial_reset()
4286 memcpy(&vcpu->arch.sie_block->gcr, &sregs->crs, sizeof(sregs->crs)); in kvm_arch_vcpu_ioctl_set_sregs()
4298 memcpy(&sregs->crs, &vcpu->arch.sie_block->gcr, sizeof(sregs->crs)); in kvm_arch_vcpu_ioctl_get_sregs()
4650 if (!(vcpu->arch.sie_block->gcr[0] & CR0_SERVICE_SIGNAL_SUBMASK)) in kvm_arch_setup_async_pf()
4938 memcpy(&vcpu->arch.sie_block->gcr, &kvm_run->s.regs.crs, 128); in sync_regs()
5013 memcpy(&kvm_run->s.regs.crs, &vcpu->arch.sie_block->gcr, 128); in store_regs()
5161 &vcpu->arch.sie_block->gcr, 128); in kvm_s390_store_status_unloaded()
/linux-6.6.21/Documentation/devicetree/bindings/soc/nuvoton/
Dnuvoton,npcm-gcr.yaml4 $id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml#
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.6.21/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()
/linux-6.6.21/arch/mips/include/asm/
Dmips-cm.h115 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)
/linux-6.6.21/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.6.21/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.6.21/sound/arm/
Dpxa2xx-ac97-lib.c275 u32 gcr = readl(ac97_reg_base + GCR); in pxa2xx_ac97_finish_reset() local
276 gcr &= ~(GCR_PRIRDY_IEN|GCR_SECRDY_IEN); in pxa2xx_ac97_finish_reset()
277 gcr |= GCR_SDONE_IE|GCR_CDONE_IE; in pxa2xx_ac97_finish_reset()
278 writel(gcr, ac97_reg_base + GCR); in pxa2xx_ac97_finish_reset()
/linux-6.6.21/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()
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.6.21/sound/soc/stm/
Dstm32_sai.c252 sai->gcr = readl_relaxed(sai->base); in stm32_sai_suspend()
267 writel_relaxed(sai->gcr, sai->base); in stm32_sai_resume()
Dstm32_sai.h301 u32 gcr; member
/linux-6.6.21/Documentation/devicetree/bindings/arm/cpu-enable-method/
Dnuvoton,npcm750-smp15 "nuvoton,npcm750-gcr".
/linux-6.6.21/Documentation/devicetree/bindings/reset/
Dnuvoton,npcm750-reset.yaml51 nuvoton,sysgcr = <&gcr>;
/linux-6.6.21/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-6.6.21/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()
761 retval = opp->gcr; in openpic_gbl_read()
1184 if ((opp->gcr & opp->mpic_mode_mask) == GCR_MODE_PROXY) in kvmppc_mpic_set_epr()
/linux-6.6.21/Documentation/devicetree/bindings/i2c/
Dnuvoton,npcm7xx-i2c.yaml74 nuvoton,sys-mgr = <&gcr>;
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/intel/igb/
De1000_82575.c2025 u32 gcr = rd32(E1000_GCR); in igb_set_pcie_completion_timeout() local
2030 if (gcr & E1000_GCR_CMPL_TMOUT_MASK) in igb_set_pcie_completion_timeout()
2036 if (!(gcr & E1000_GCR_CAP_VER2)) { in igb_set_pcie_completion_timeout()
2037 gcr |= E1000_GCR_CMPL_TMOUT_10ms; in igb_set_pcie_completion_timeout()
2056 gcr &= ~E1000_GCR_CMPL_TMOUT_RESEND; in igb_set_pcie_completion_timeout()
2058 wr32(E1000_GCR, gcr); in igb_set_pcie_completion_timeout()
/linux-6.6.21/drivers/dma/ti/
Domap-dma.c39 u32 gcr; member
1581 od->context.gcr = omap_dma_glbl_read(od, GCR); in omap_dma_context_save()
1588 omap_dma_glbl_write(od, GCR, od->context.gcr); in omap_dma_context_restore()

12