Searched refs:ghc (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/ata/ |
| H A D | dwc_ahsata.c | 51 u32 ghc; member 125 tmp = readl(&host_mmio->ghc); in ahci_host_init() 127 writel_with_flush(tmp | SATA_HOST_GHC_HR, &host_mmio->ghc); in ahci_host_init() 129 while ((readl(&host_mmio->ghc) & SATA_HOST_GHC_HR) && --timeout) in ahci_host_init() 142 writel_with_flush(SATA_HOST_GHC_AE, &host_mmio->ghc); in ahci_host_init() 261 tmp = readl(&host_mmio->ghc); in ahci_host_init() 263 writel(tmp | SATA_HOST_GHC_IE, &host_mmio->ghc); in ahci_host_init() 264 tmp = readl(&host_mmio->ghc); in ahci_host_init() 920 setbits_le32(&host_mmio->ghc, SATA_HOST_GHC_HR); in reset_sata() 921 while (readl(&host_mmio->ghc) & SATA_HOST_GHC_HR) in reset_sata() [all …]
|
| /OK3568_Linux_fs/kernel/virt/kvm/ |
| H A D | kvm_main.c | 2573 struct gfn_to_hva_cache *ghc, in __kvm_gfn_to_hva_cache_init() argument 2583 ghc->generation = slots->generation; in __kvm_gfn_to_hva_cache_init() 2586 ghc->hva = KVM_HVA_ERR_BAD; in __kvm_gfn_to_hva_cache_init() 2595 ghc->memslot = __gfn_to_memslot(slots, start_gfn); in __kvm_gfn_to_hva_cache_init() 2596 ghc->hva = gfn_to_hva_many(ghc->memslot, start_gfn, in __kvm_gfn_to_hva_cache_init() 2598 if (kvm_is_error_hva(ghc->hva)) in __kvm_gfn_to_hva_cache_init() 2604 ghc->hva += offset; in __kvm_gfn_to_hva_cache_init() 2606 ghc->memslot = NULL; in __kvm_gfn_to_hva_cache_init() 2608 ghc->gpa = gpa; in __kvm_gfn_to_hva_cache_init() 2609 ghc->len = len; in __kvm_gfn_to_hva_cache_init() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kvm_host.h | 763 int kvm_read_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc, 765 int kvm_read_guest_offset_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc, 772 int kvm_write_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc, 774 int kvm_write_guest_offset_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc, 777 int kvm_gfn_to_hva_cache_init(struct kvm *kvm, struct gfn_to_hva_cache *ghc,
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/ |
| H A D | lapic.c | 2843 struct gfn_to_hva_cache *ghc = &vcpu->arch.pv_eoi.data; in kvm_lapic_enable_pv_eoi() local 2853 if (addr == ghc->gpa && len <= ghc->len) in kvm_lapic_enable_pv_eoi() 2854 new_len = ghc->len; in kvm_lapic_enable_pv_eoi() 2858 return kvm_gfn_to_hva_cache_init(vcpu->kvm, ghc, addr, new_len); in kvm_lapic_enable_pv_eoi()
|