Searched refs:quadrant (Results 1 – 8 of 8) sorted by relevance
56 u8 quad_shift, angle, quadrant; in mma9551_read_incli_chan() local87 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()
37 unsigned long quadrant, ret = n; in __kvmhv_copy_tofrom_guest_radix() local46 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()
365 unsigned quadrant:2; member401 role.quadrant, in kvm_mmu_print_role()
39 role.quadrant, \
2041 unsigned quadrant; in kvm_mmu_get_page() local2055 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() local4932 quadrant = page_offset >> PAGE_SHIFT; in get_written_sptes()4934 if (quadrant != sp->role.quadrant) in get_written_sptes()4954 .quadrant = 0x3,
896 offset = sp->role.quadrant << PT64_LEVEL_BITS; in FNAME()
163 role.quadrant:167 For first-level shadow pages, role.quadrant can be 0 or 1 and denotes the171 shadow pages) so role.quadrant takes values in the range 0..3. Each172 quadrant maps 1GB virtual address space.
260 unsigned quadrant:2; member