Home
last modified time | relevance | path

Searched refs:quadrant (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/iio/accel/
Dmma9551.c56 u8 quad_shift, angle, quadrant; in mma9551_read_incli_chan() local
87 MMA9551_TILT_QUAD_REG, &quadrant); in mma9551_read_incli_chan()
92 quadrant = (quadrant >> quad_shift) & 0x03; in mma9551_read_incli_chan()
94 if (quadrant == 1 || quadrant == 3) in mma9551_read_incli_chan()
95 *val = 90 * (quadrant + 1) - angle; in mma9551_read_incli_chan()
97 *val = angle + 90 * quadrant; in mma9551_read_incli_chan()
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c37 unsigned long quadrant, ret = n; in __kvmhv_copy_tofrom_guest_radix() local
46 quadrant = 1; in __kvmhv_copy_tofrom_guest_radix()
48 quadrant = 2; in __kvmhv_copy_tofrom_guest_radix()
50 from = (void *) (eaddr | (quadrant << 62)); in __kvmhv_copy_tofrom_guest_radix()
52 to = (void *) (eaddr | (quadrant << 62)); in __kvmhv_copy_tofrom_guest_radix()
60 if (quadrant == 1) { in __kvmhv_copy_tofrom_guest_radix()
73 if (quadrant == 1 && pid != old_pid) in __kvmhv_copy_tofrom_guest_radix()
/Linux-v5.10/tools/lib/traceevent/plugins/
Dplugin_kvm.c365 unsigned quadrant:2; member
401 role.quadrant, in kvm_mmu_print_role()
/Linux-v5.10/arch/x86/kvm/mmu/
Dmmutrace.h39 role.quadrant, \
Dmmu.c2041 unsigned quadrant; in kvm_mmu_get_page() local
2055 quadrant = gaddr >> (PAGE_SHIFT + (PT64_PT_BITS * level)); in kvm_mmu_get_page()
2056 quadrant &= (1 << ((PT32_PT_BITS - PT64_PT_BITS) * level)) - 1; in kvm_mmu_get_page()
2057 role.quadrant = quadrant; in kvm_mmu_get_page()
4913 unsigned page_offset, quadrant; in get_written_sptes() local
4932 quadrant = page_offset >> PAGE_SHIFT; in get_written_sptes()
4934 if (quadrant != sp->role.quadrant) in get_written_sptes()
4954 .quadrant = 0x3,
Dpaging_tmpl.h896 offset = sp->role.quadrant << PT64_LEVEL_BITS; in FNAME()
/Linux-v5.10/Documentation/virt/kvm/
Dmmu.rst163 role.quadrant:
167 For first-level shadow pages, role.quadrant can be 0 or 1 and denotes the
171 shadow pages) so role.quadrant takes values in the range 0..3. Each
172 quadrant maps 1GB virtual address space.
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h260 unsigned quadrant:2; member