Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c397 asce->val = vcpu->arch.sie_block->gcr[1]; in ar_translation()
400 asce->val = vcpu->arch.sie_block->gcr[7]; in ar_translation()
408 ald_addr = vcpu->arch.sie_block->gcr[5]; in ar_translation()
410 ald_addr = vcpu->arch.sie_block->gcr[2]; in ar_translation()
443 eax = (vcpu->arch.sie_block->gcr[8] >> 16) & 0xffff; in ar_translation()
571 asce->val = vcpu->arch.sie_block->gcr[1]; in get_vcpu_asce()
574 asce->val = vcpu->arch.sie_block->gcr[7]; in get_vcpu_asce()
577 asce->val = vcpu->arch.sie_block->gcr[13]; in get_vcpu_asce()
627 ctlreg0.val = vcpu->arch.sie_block->gcr[0]; in guest_translate()
787 union ctlreg0 ctlreg0 = {.val = vcpu->arch.sie_block->gcr[0]}; in low_address_protection_enabled()
[all …]
Dvsie.c402 memcpy(scb_o->gcr, scb_s->gcr, 128); in unshadow_scb()
468 memcpy(scb_s->gcr, scb_o->gcr, 128); in shadow_scb()
1011 cr0.val = vcpu->arch.sie_block->gcr[0]; in vsie_handle_mvpg()
1184 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow()
1185 cr0.val = vcpu->arch.sie_block->gcr[0]; in acquire_gmap_shadow()
Dinterrupt.c169 !(vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SUBMASK)) in ckc_interrupts_enabled()
182 if (vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SIGN) { in ckc_irq_pending()
194 (vcpu->arch.sie_block->gcr[0] & CR0_CPU_TIMER_SUBMASK); in cpu_timer_interrupts_enabled()
361 if (!(vcpu->arch.sie_block->gcr[6] & isc_to_isc_bits(i))) in disable_iscs()
381 if (!(vcpu->arch.sie_block->gcr[0] & CR0_EXTERNAL_CALL_SUBMASK)) in deliverable_irqs()
383 if (!(vcpu->arch.sie_block->gcr[0] & CR0_EMERGENCY_SIGNAL_SUBMASK)) in deliverable_irqs()
385 if (!(vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SUBMASK)) in deliverable_irqs()
387 if (!(vcpu->arch.sie_block->gcr[0] & CR0_CPU_TIMER_SUBMASK)) in deliverable_irqs()
389 if (!(vcpu->arch.sie_block->gcr[0] & CR0_SERVICE_SIGNAL_SUBMASK)) { in deliverable_irqs()
405 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.c497 inti = kvm_s390_get_io_int(vcpu->kvm, vcpu->arch.sie_block->gcr[6], 0); in handle_tpi()
1322 vcpu->arch.sie_block->gcr[reg] &= 0xffffffff00000000ul; in kvm_s390_handle_lctl()
1323 vcpu->arch.sie_block->gcr[reg] |= ctl_array[nr_regs++]; in kvm_s390_handle_lctl()
1357 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in kvm_s390_handle_stctl()
1395 vcpu->arch.sie_block->gcr[reg] = ctl_array[nr_regs++]; in handle_lctlg()
1429 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in handle_stctg()
Dkvm-s390.c3556 memset(vcpu->arch.sie_block->gcr, 0, sizeof(vcpu->arch.sie_block->gcr)); in kvm_arch_vcpu_ioctl_initial_reset()
3557 vcpu->arch.sie_block->gcr[0] = CR0_INITIAL_MASK; in kvm_arch_vcpu_ioctl_initial_reset()
3558 vcpu->arch.sie_block->gcr[14] = CR14_INITIAL_MASK; in kvm_arch_vcpu_ioctl_initial_reset()
3624 memcpy(&vcpu->arch.sie_block->gcr, &sregs->crs, sizeof(sregs->crs)); in kvm_arch_vcpu_ioctl_set_sregs()
3636 memcpy(&sregs->crs, &vcpu->arch.sie_block->gcr, sizeof(sregs->crs)); in kvm_arch_vcpu_ioctl_get_sregs()
3995 if (!(vcpu->arch.sie_block->gcr[0] & CR0_SERVICE_SIGNAL_SUBMASK)) in kvm_arch_setup_async_pf()
4279 memcpy(&vcpu->arch.sie_block->gcr, &kvm_run->s.regs.crs, 128); in sync_regs()
4354 memcpy(&kvm_run->s.regs.crs, &vcpu->arch.sie_block->gcr, 128); in store_regs()
4493 &vcpu->arch.sie_block->gcr, 128); in kvm_s390_store_status_unloaded()
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-xra1403.c125 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()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dnuvoton-common-npcm7xx.dtsi66 gcr: gcr@800000 { label
67 compatible = "nuvoton,npcm750-gcr", "syscon",
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/cpu-enable-method/
Dnuvoton,npcm750-smp15 "nuvoton,npcm750-gcr".
/kernel/linux/linux-5.10/sound/soc/stm/
Dstm32_sai.c263 sai->gcr = readl_relaxed(sai->base); in stm32_sai_suspend()
278 writel_relaxed(sai->gcr, sai->base); in stm32_sai_resume()
Dstm32_sai.h301 u32 gcr; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/dma/ti/
Domap-dma.c39 u32 gcr; member
1576 od->context.gcr = omap_dma_glbl_read(od, GCR); in omap_dma_context_save()
1583 omap_dma_glbl_write(od, GCR, od->context.gcr); in omap_dma_context_restore()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dkvm_host.h325 __u64 gcr[16]; /* 0x0100 */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c4772 u32 gcr, int_mask; in mvpp2_set_ts_config() local
4786 int_mask = gcr = 0; in mvpp2_set_ts_config()
4788 gcr |= MVPP22_PTP_GCR_TSU_ENABLE | MVPP22_PTP_GCR_TX_RESET; in mvpp2_set_ts_config()
4795 gcr |= MVPP22_PTP_GCR_TSU_ENABLE | MVPP22_PTP_GCR_RX_RESET | in mvpp2_set_ts_config()
4798 if (gcr & MVPP22_PTP_GCR_TSU_ENABLE) in mvpp2_set_ts_config()
4806 MVPP22_PTP_GCR_TSU_ENABLE, gcr); in mvpp2_set_ts_config()
4813 MVPP22_PTP_GCR_TSU_ENABLE, gcr); in mvpp2_set_ts_config()
4820 if (!(gcr & MVPP22_PTP_GCR_TSU_ENABLE)) in mvpp2_set_ts_config()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c239 int ry, rcr, rcb, gy, gcr, gcb, by, bcr, bcb; member
670 dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->gcb, ct->gcr)); in dispc_ovl_write_color_conv_coef()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddispc.c851 int ry, rcb, rcr, gy, gcb, gcr, by, bcb, bcr; member
868 dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->gcb, ct->gcr)); in dispc_ovl_write_color_conv_coef()