Home
last modified time | relevance | path

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

/Linux-v4.19/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.c238 memcpy(scb_o->gcr, scb_s->gcr, 128); in unshadow_scb()
309 memcpy(scb_s->gcr, scb_o->gcr, 128); in shadow_scb()
918 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow()
919 cr0.val = vcpu->arch.sie_block->gcr[0]; in acquire_gmap_shadow()
Dinterrupt.c162 !(vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SUBMASK)) in ckc_interrupts_enabled()
175 if (vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SIGN) { in ckc_irq_pending()
187 (vcpu->arch.sie_block->gcr[0] & CR0_CPU_TIMER_SUBMASK); in cpu_timer_interrupts_enabled()
268 if (!(vcpu->arch.sie_block->gcr[6] & isc_to_isc_bits(i))) in disable_iscs()
288 if (!(vcpu->arch.sie_block->gcr[0] & CR0_EXTERNAL_CALL_SUBMASK)) in deliverable_irqs()
290 if (!(vcpu->arch.sie_block->gcr[0] & CR0_EMERGENCY_SIGNAL_SUBMASK)) in deliverable_irqs()
292 if (!(vcpu->arch.sie_block->gcr[0] & CR0_CLOCK_COMPARATOR_SUBMASK)) in deliverable_irqs()
294 if (!(vcpu->arch.sie_block->gcr[0] & CR0_CPU_TIMER_SUBMASK)) in deliverable_irqs()
296 if (!(vcpu->arch.sie_block->gcr[0] & CR0_SERVICE_SIGNAL_SUBMASK)) in deliverable_irqs()
304 if (!(vcpu->arch.sie_block->gcr[14] & in deliverable_irqs()
[all …]
Dpriv.c482 inti = kvm_s390_get_io_int(vcpu->kvm, vcpu->arch.sie_block->gcr[6], 0); in handle_tpi()
1215 vcpu->arch.sie_block->gcr[reg] &= 0xffffffff00000000ul; in kvm_s390_handle_lctl()
1216 vcpu->arch.sie_block->gcr[reg] |= ctl_array[nr_regs++]; in kvm_s390_handle_lctl()
1250 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in kvm_s390_handle_stctl()
1288 vcpu->arch.sie_block->gcr[reg] = ctl_array[nr_regs++]; in handle_lctlg()
1322 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in handle_stctg()
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()
Dkvm-s390.c2546 memset(vcpu->arch.sie_block->gcr, 0, 16 * sizeof(__u64)); in kvm_s390_vcpu_initial_reset()
2547 vcpu->arch.sie_block->gcr[0] = CR0_UNUSED_56 | in kvm_s390_vcpu_initial_reset()
2550 vcpu->arch.sie_block->gcr[14] = CR14_UNUSED_32 | in kvm_s390_vcpu_initial_reset()
2955 memcpy(&vcpu->arch.sie_block->gcr, &sregs->crs, sizeof(sregs->crs)); in kvm_arch_vcpu_ioctl_set_sregs()
2967 memcpy(&sregs->crs, &vcpu->arch.sie_block->gcr, sizeof(sregs->crs)); in kvm_arch_vcpu_ioctl_get_sregs()
3311 if (!(vcpu->arch.sie_block->gcr[0] & CR0_SERVICE_SIGNAL_SUBMASK)) in kvm_arch_setup_async_pf()
3508 memcpy(&vcpu->arch.sie_block->gcr, &kvm_run->s.regs.crs, 128); in sync_regs()
3593 memcpy(&kvm_run->s.regs.crs, &vcpu->arch.sie_block->gcr, 128); in store_regs()
3738 &vcpu->arch.sie_block->gcr, 128); in kvm_s390_store_status_unloaded()
/Linux-v4.19/arch/mips/include/asm/
Dmips-cm.h118 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_GCB_OFS + off, name) \
119 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_COCB_OFS + off, redir_##name)
122 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_GCB_OFS + off, name) \
123 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_COCB_OFS + off, redir_##name)
126 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_CLCB_OFS + off, cl_##name) \
127 CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_COCB_OFS + off, co_##name)
130 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_CLCB_OFS + off, cl_##name) \
131 CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_COCB_OFS + off, co_##name)
/Linux-v4.19/drivers/gpio/
Dgpio-xra1403.c132 unsigned int gcr; in xra1403_dbg_show() local
145 gcr = value[XRA_GCR + 1] << 8 | value[XRA_GCR]; in xra1403_dbg_show()
155 (gcr & BIT(i)) ? "in" : "out", in xra1403_dbg_show()
/Linux-v4.19/arch/arm/boot/dts/
Dnuvoton-common-npcm7xx.dtsi66 gcr: gcr@800000 { label
67 compatible = "nuvoton,npcm750-gcr", "syscon",
/Linux-v4.19/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-v4.19/Documentation/devicetree/bindings/arm/cpu-enable-method/
Dnuvoton,npcm750-smp15 "nuvoton,npcm750-gcr".
/Linux-v4.19/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-v4.19/arch/powerpc/kvm/
Dmpic.c217 uint32_t gcr; /* Global configuration register */ member
517 opp->gcr = GCR_RESET; in openpic_reset()
559 opp->gcr = 0; in openpic_reset()
685 opp->gcr &= ~opp->mpic_mode_mask; in openpic_gcr_write()
686 opp->gcr |= val & opp->mpic_mode_mask; in openpic_gcr_write()
762 retval = opp->gcr; in openpic_gbl_read()
1185 if ((opp->gcr & opp->mpic_mode_mask) == GCR_MODE_PROXY) in kvmppc_mpic_set_epr()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
De1000_82575.c2029 u32 gcr = rd32(E1000_GCR); in igb_set_pcie_completion_timeout() local
2034 if (gcr & E1000_GCR_CMPL_TMOUT_MASK) in igb_set_pcie_completion_timeout()
2040 if (!(gcr & E1000_GCR_CAP_VER2)) { in igb_set_pcie_completion_timeout()
2041 gcr |= E1000_GCR_CMPL_TMOUT_10ms; in igb_set_pcie_completion_timeout()
2060 gcr &= ~E1000_GCR_CMPL_TMOUT_RESEND; in igb_set_pcie_completion_timeout()
2062 wr32(E1000_GCR, gcr); in igb_set_pcie_completion_timeout()
/Linux-v4.19/arch/s390/include/asm/
Dkvm_host.h261 __u64 gcr[16]; /* 0x0100 */ member
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c250 int ry, rcr, rcb, gy, gcr, gcb, by, bcr, bcb; member
707 dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->gcb, ct->gcr)); in dispc_ovl_write_color_conv_coef()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddispc.c873 int ry, rcb, rcr, gy, gcb, gcr, by, bcb, bcr; member
890 dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->gcb, ct->gcr)); in dispc_ovl_write_color_conv_coef()