Home
last modified time | relevance | path

Searched refs:segctl (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/target/mips/sysemu/
H A Dphysaddr.c105 uint16_t segctl, target_ulong segmask) in get_segctl_physical_address() argument
107 unsigned int am = (segctl & CP0SC_AM_MASK) >> CP0SC_AM; in get_segctl_physical_address()
108 bool eu = (segctl >> CP0SC_EU) & 1; in get_segctl_physical_address()
109 hwaddr pa = ((hwaddr)segctl & CP0SC_PA_MASK) << 20; in get_segctl_physical_address()
135 uint16_t segctl; in get_physical_address() local
138 segctl = env->CP0_SegCtl2; in get_physical_address()
140 segctl = env->CP0_SegCtl2 >> 16; in get_physical_address()
144 mmu_idx, segctl, 0x3FFFFFFF); in get_physical_address()
/openbmc/linux/arch/mips/kvm/
H A Dvz.c693 unsigned long segctl; in kvm_vz_gva_to_gpa() local
703 segctl = read_gc0_segctl2() >> 16; in kvm_vz_gva_to_gpa()
708 segctl = read_gc0_segctl2(); in kvm_vz_gva_to_gpa()
712 segctl = read_gc0_segctl1() >> 16; in kvm_vz_gva_to_gpa()
716 segctl = read_gc0_segctl1(); in kvm_vz_gva_to_gpa()
720 segctl = read_gc0_segctl0() >> 16; in kvm_vz_gva_to_gpa()
724 segctl = read_gc0_segctl0(); in kvm_vz_gva_to_gpa()
736 segctl & 0x0008)) in kvm_vz_gva_to_gpa()
740 pa = (segctl << 20) & mask; in kvm_vz_gva_to_gpa()
757 segctl = read_gc0_segctl2(); in kvm_vz_gva_to_gpa()
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Dpm.h148 unsigned long segctl[3];
/openbmc/linux/arch/mips/kernel/
H A Dasm-offsets.c347 OFFSET(SSS_SEGCTL0, mips_static_suspend_state, segctl[0]); in output_pm_defines()
348 OFFSET(SSS_SEGCTL1, mips_static_suspend_state, segctl[1]); in output_pm_defines()
349 OFFSET(SSS_SEGCTL2, mips_static_suspend_state, segctl[2]); in output_pm_defines()