Searched refs:quadrant (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/iio/accel/ |
| H A D | mma9551.c | 54 u8 quad_shift, angle, quadrant; in mma9551_read_incli_chan() local 85 MMA9551_TILT_QUAD_REG, &quadrant); in mma9551_read_incli_chan() 90 quadrant = (quadrant >> quad_shift) & 0x03; in mma9551_read_incli_chan() 92 if (quadrant == 1 || quadrant == 3) in mma9551_read_incli_chan() 93 *val = 90 * (quadrant + 1) - angle; in mma9551_read_incli_chan() 95 *val = angle + 90 * quadrant; in mma9551_read_incli_chan()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 40 unsigned long quadrant, ret = n; in __kvmhv_copy_tofrom_guest_radix() local 55 quadrant = 1; in __kvmhv_copy_tofrom_guest_radix() 57 quadrant = 2; in __kvmhv_copy_tofrom_guest_radix() 59 from = (void *) (eaddr | (quadrant << 62)); in __kvmhv_copy_tofrom_guest_radix() 61 to = (void *) (eaddr | (quadrant << 62)); in __kvmhv_copy_tofrom_guest_radix() 71 if (quadrant == 1) { in __kvmhv_copy_tofrom_guest_radix() 88 if (quadrant == 1 && pid != old_pid) in __kvmhv_copy_tofrom_guest_radix()
|
| /linux/arch/x86/kvm/mmu/ |
| H A D | mmu.c | 2032 * - quadrant: not part of the overall MMU role (similar to level) in kvm_sync_page_check() 2037 .quadrant = 0x3, in kvm_sync_page_check() 2438 * 1GiB of the address space. @role.quadrant encodes which quarter of in kvm_mmu_child_role() 2443 * @role.quadrant encodes which half of the region they map. in kvm_mmu_child_role() 2448 * quadrant is assigned in mmu_alloc_root(). A 4-byte PTE consumes in kvm_mmu_child_role() 2451 * quadrant, i.e. sets quadrant to '0' or '1'. The parent 8-byte PDE in kvm_mmu_child_role() 2452 * covers bit 21 (see above), thus the quadrant is calculated from the in kvm_mmu_child_role() 2457 role.quadrant = spte_index(sptep) & 1; in kvm_mmu_child_role() 3900 static hpa_t mmu_alloc_root(struct kvm_vcpu *vcpu, gfn_t gfn, int quadrant, in mmu_alloc_root() 3897 mmu_alloc_root(struct kvm_vcpu * vcpu,gfn_t gfn,int quadrant,u8 level) mmu_alloc_root() argument 4059 int quadrant, i, r; mmu_alloc_shadow_roots() local 6212 unsigned page_offset, quadrant; get_written_sptes() local [all...] |
| H A D | mmutrace.h | 39 role.quadrant, \
|
| H A D | paging_tmpl.h | 854 offset = sp->role.quadrant << SPTE_LEVEL_BITS; in FNAME()
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | mmu.rst | 163 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/arch/x86/include/asm/ |
| H A D | kvm_host.h | 356 unsigned quadrant:2; member
|