| /linux/drivers/media/platform/sti/hva/ |
| A D | hva-hw.c | 106 hva->sts_reg = readl_relaxed(hva->regs + HVA_HIF_FIFO_STS); in hva_hw_its_interrupt() 107 hva->sfl_reg = readl_relaxed(hva->regs + HVA_HIF_REG_SFL); in hva_hw_its_interrupt() 124 HVA_PREFIX, __func__, hva->sts_reg & 0xFF, hva->sfl_reg & 0xF); in hva_hw_its_irq_thread() 204 hva->sts_reg = readl_relaxed(hva->regs + HVA_HIF_FIFO_STS); in hva_hw_err_interrupt() 205 hva->sfl_reg = readl_relaxed(hva->regs + HVA_HIF_REG_SFL); in hva_hw_err_interrupt() 210 hva->hec_mif_err_reg = readl_relaxed(hva->regs + in hva_hw_err_interrupt() 227 HVA_PREFIX, hva->sts_reg & 0xFF, hva->sfl_reg & 0xF); in hva_hw_err_irq_thread() 304 WARN_ON(!hva); in hva_hw_probe() 323 HVA_PREFIX, hva->esram_addr, hva->esram_size); in hva_hw_probe() 392 hva->ip_version = hva_hw_get_ip_version(hva); in hva_hw_probe() [all …]
|
| A D | hva-v4l2.c | 160 hva->pixelformats, in register_formats() 183 hva->encoders[hva->nb_of_encoders++] = hva_encoders[i]; in register_encoders() 263 hva->pdev->name); in hva_querycap() 1289 if (!hva) in hva_register_device() 1326 hva->vdev = vdev; in hva_register_device() 1340 if (!hva) in hva_unregister_device() 1343 if (hva->m2m_dev) in hva_unregister_device() 1355 hva = devm_kzalloc(dev, sizeof(*hva), GFP_KERNEL); in hva_probe() 1356 if (!hva) { in hva_probe() 1365 hva->dev = dev; in hva_probe() [all …]
|
| A D | hva-debugfs.c | 276 struct hva_dev *hva = s->private; in device_show() local 286 struct hva_dev *hva = s->private; in encoders_show() local 290 hva->nb_of_encoders); in encoders_show() 292 while (hva->encoders[i]) { in encoders_show() 304 struct hva_dev *hva = s->private; in last_show() local 321 struct hva_dev *hva = s->private; in regs_show() local 323 hva_hw_dump_regs(hva, s); in regs_show() 329 debugfs_create_file(#name, 0444, hva->dbg.debugfs_entry, hva, \ 350 hva->dbg.debugfs_entry = NULL; in hva_debugfs_remove() 373 struct hva_dev *hva = ctx->hva_dev; in hva_dbg_ctx_create() local [all …]
|
| A D | Makefile | 2 obj-$(CONFIG_VIDEO_STI_HVA) += st-hva.o 3 st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o 4 st-hva-$(CONFIG_VIDEO_STI_HVA_DEBUGFS) += hva-debugfs.o
|
| A D | hva-hw.h | 35 int hva_hw_probe(struct platform_device *pdev, struct hva_dev *hva); 36 void hva_hw_remove(struct hva_dev *hva); 42 void hva_hw_dump_regs(struct hva_dev *hva, struct seq_file *s);
|
| A D | hva.h | 401 void hva_debugfs_create(struct hva_dev *hva); 402 void hva_debugfs_remove(struct hva_dev *hva);
|
| A D | hva-h264.c | 592 struct hva_dev *hva = ctx_to_hdev(pctx); in hva_h264_prepare_task() local 603 u32 addr_esram = hva->esram_addr; in hva_h264_prepare_task() 893 struct hva_dev *hva = ctx_to_hdev(pctx); in hva_h264_open() local 905 if (hva->esram_size < size) { in hva_h264_open() 907 pctx->name, hva->esram_size, size); in hva_h264_open()
|
| /linux/arch/arm64/kvm/ |
| A D | mmu.c | 548 hva_t hva = memslot->userspace_addr; in stage2_unmap_memslot() local 551 hva_t reg_end = hva + size; in stage2_unmap_memslot() 583 hva = vm_end; in stage2_unmap_memslot() 584 } while (hva < reg_end); in stage2_unmap_memslot() 761 unsigned long hva, in fault_supports_stage2_huge_mapping() argument 979 vma = vma_lookup(current->mm, hva); in user_mem_abort() 1105 hva, &pfn, in user_mem_abort() 1191 unsigned long hva; in kvm_handle_guest_abort() local 1493 hva_t hva = mem->userspace_addr; in kvm_arch_prepare_memory_region() local 1544 hva = min(reg_end, vma->vm_end); in kvm_arch_prepare_memory_region() [all …]
|
| /linux/include/trace/events/ |
| A D | kvm.h | 460 TP_PROTO(unsigned long hva), 461 TP_ARGS(hva), 464 __field( unsigned long, hva ) 468 __entry->hva = hva; 471 TP_printk("mmu notifier set pte hva: %#016lx", __entry->hva) 493 TP_PROTO(unsigned long hva), 494 TP_ARGS(hva), 497 __field( unsigned long, hva ) 501 __entry->hva = hva; 504 TP_printk("mmu notifier test age hva: %#016lx", __entry->hva)
|
| /linux/Documentation/devicetree/bindings/media/ |
| A D | st,st-hva.txt | 1 st-hva: multi-format video encoder for STMicroelectronics SoC. 4 - compatible: should be "st,st-hva". 16 hva@8c85000{ 17 compatible = "st,st-hva";
|
| /linux/tools/testing/selftests/kvm/ |
| A D | set_memory_region_test.c | 119 uint64_t *hva; in spawn_vm() local 138 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in spawn_vm() 139 memset(hva, 0, 2 * 4096); in spawn_vm() 184 uint64_t *hva; in test_move_memory_region() local 188 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in test_move_memory_region() 196 WRITE_ONCE(*hva, 2); in test_move_memory_region() 209 WRITE_ONCE(*hva, 1); in test_move_memory_region()
|
| A D | demand_paging_test.c | 219 void *hva, void *alias, uint64_t len) in setup_demand_paging() argument 253 uffdio_register.range.start = (uint64_t)hva; in setup_demand_paging() 269 hva, hva + len); in setup_demand_paging()
|
| A D | access_tracking_perf_test.c | 98 uint64_t hva = (uint64_t) addr_gva2hva(vm, gva); in lookup_pfn() local 102 entry = pread_uint64(pagemap_fd, "pagemap", hva / getpagesize()); in lookup_pfn()
|
| /linux/arch/riscv/kvm/ |
| A D | mmu.c | 484 hva_t hva = mem->userspace_addr; in kvm_arch_prepare_memory_region() local 485 hva_t reg_end = hva + mem->memory_size; in kvm_arch_prepare_memory_region() 516 struct vm_area_struct *vma = find_vma(current->mm, hva); in kvm_arch_prepare_memory_region() 532 vm_start = max(hva, vma->vm_start); in kvm_arch_prepare_memory_region() 554 hva = vm_end; in kvm_arch_prepare_memory_region() 555 } while (hva < reg_end); in kvm_arch_prepare_memory_region() 640 gpa_t gpa, unsigned long hva, bool is_write) in kvm_riscv_stage2_map() argument 656 vma = find_vma_intersection(current->mm, hva, hva + 1); in kvm_riscv_stage2_map() 658 kvm_err("Failed to find VMA for hva 0x%lx\n", hva); in kvm_riscv_stage2_map() 695 send_sig_mceerr(BUS_MCEERR_AR, (void __user *)hva, in kvm_riscv_stage2_map()
|
| A D | vcpu_exit.c | 424 unsigned long hva, fault_addr; in stage2_page_fault() local 432 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writeable); in stage2_page_fault() 434 if (kvm_is_error_hva(hva) || in stage2_page_fault() 448 ret = kvm_riscv_stage2_map(vcpu, memslot, fault_addr, hva, in stage2_page_fault()
|
| /linux/arch/x86/kvm/vmx/ |
| A D | sgx.c | 61 static int sgx_read_hva(struct kvm_vcpu *vcpu, unsigned long hva, void *data, in sgx_read_hva() argument 64 if (__copy_from_user(data, (void __user *)hva, size)) { in sgx_read_hva() 65 sgx_handle_emulation_failure(vcpu, hva, size); in sgx_read_hva() 90 static int sgx_gpa_to_hva(struct kvm_vcpu *vcpu, gpa_t gpa, unsigned long *hva) in sgx_gpa_to_hva() argument 92 *hva = kvm_vcpu_gfn_to_hva(vcpu, PFN_DOWN(gpa)); in sgx_gpa_to_hva() 93 if (kvm_is_error_hva(*hva)) { in sgx_gpa_to_hva() 98 *hva |= gpa & ~PAGE_MASK; in sgx_gpa_to_hva()
|
| /linux/tools/testing/selftests/kvm/x86_64/ |
| A D | emulator_error_test.c | 173 uint64_t *hva; in main() local 205 hva = addr_gpa2hva(vm, MEM_REGION_GPA); in main() 206 memset(hva, 0, PAGE_SIZE); in main()
|
| /linux/arch/powerpc/kvm/ |
| A D | e500_mmu_host.c | 329 unsigned long hva; in kvmppc_e500_shadow_map() local 354 hva = gfn_to_hva_memslot(slot, gfn); in kvmppc_e500_shadow_map() 360 vma = find_vma(kvm->mm, hva); in kvmppc_e500_shadow_map() 361 if (vma && hva >= vma->vm_start && in kvmppc_e500_shadow_map() 379 pfn = start + ((hva - vma->vm_start) >> PAGE_SHIFT); in kvmppc_e500_shadow_map() 424 } else if (vma && hva >= vma->vm_start && in kvmppc_e500_shadow_map() 477 ptep = find_linux_pte(pgdir, hva, NULL, NULL); in kvmppc_e500_shadow_map()
|
| A D | book3s_hv_rm_mmu.c | 195 unsigned long slot_fn, hva; in kvmppc_do_h_enter() local 252 hva = __gfn_to_hva_memslot(memslot, gfn); in kvmppc_do_h_enter() 255 ptep = find_kvm_host_pte(kvm, mmu_seq, hva, &hpage_shift); in kvmppc_do_h_enter() 279 pa |= hva & (host_pte_size - 1); in kvmppc_do_h_enter() 895 unsigned long gfn, hva, pa, psize = PAGE_SHIFT; in kvmppc_get_hpa() local 906 hva = __gfn_to_hva_memslot(memslot, gfn); in kvmppc_get_hpa() 909 ptep = find_kvm_host_pte(kvm, mmu_seq, hva, &shift); in kvmppc_get_hpa() 920 pa |= hva & (psize - 1); in kvmppc_get_hpa()
|
| /linux/virt/kvm/ |
| A D | async_pf.c | 164 unsigned long hva, struct kvm_arch_async_pf *arch) in kvm_setup_async_pf() argument 172 if (unlikely(kvm_is_error_hva(hva))) in kvm_setup_async_pf() 186 work->addr = hva; in kvm_setup_async_pf()
|
| A D | kvm_main.c | 2218 return hva; in gfn_to_hva_memslot_prot() 2463 if (hva) in __gfn_to_pfn_memslot() 2464 *hva = addr; in __gfn_to_pfn_memslot() 2581 void *hva = NULL; in kvm_vcpu_map() local 2593 hva = kmap(page); in kvm_vcpu_map() 2600 if (!hva) in kvm_vcpu_map() 2604 map->hva = hva; in kvm_vcpu_map() 2617 if (!map->hva) in kvm_vcpu_unmap() 2624 memunmap(map->hva); in kvm_vcpu_unmap() 2632 map->hva = NULL; in kvm_vcpu_unmap() [all …]
|
| /linux/arch/s390/mm/ |
| A D | pgtable.c | 1020 int pgste_perform_essa(struct mm_struct *mm, unsigned long hva, int orc, in pgste_perform_essa() argument 1034 vma = vma_lookup(mm, hva); in pgste_perform_essa() 1037 ptep = get_locked_pte(mm, hva, &ptl); in pgste_perform_essa() 1126 int set_pgste_bits(struct mm_struct *mm, unsigned long hva, in set_pgste_bits() argument 1134 vma = vma_lookup(mm, hva); in set_pgste_bits() 1137 ptep = get_locked_pte(mm, hva, &ptl); in set_pgste_bits() 1159 int get_pgste(struct mm_struct *mm, unsigned long hva, unsigned long *pgstep) in get_pgste() argument 1165 vma = vma_lookup(mm, hva); in get_pgste() 1168 ptep = get_locked_pte(mm, hva, &ptl); in get_pgste()
|
| /linux/include/linux/ |
| A D | kvm_host.h | 228 unsigned long hva, struct kvm_arch_async_pf *arch); 265 void *hva; member 276 return !!map->hva; in kvm_vcpu_mapped() 870 bool *writable, hva_t *hva); 1311 hva_to_gfn_memslot(unsigned long hva, struct kvm_memory_slot *slot) in hva_to_gfn_memslot() argument 1313 gfn_t gfn_offset = (hva - slot->userspace_addr) >> PAGE_SHIFT; in hva_to_gfn_memslot() 1341 unsigned long hva = gfn_to_hva(kvm, gpa_to_gfn(gpa)); in kvm_is_error_gpa() local 1343 return kvm_is_error_hva(hva); in kvm_is_error_gpa() 1543 unsigned long hva) in mmu_notifier_retry_hva() argument 1553 hva >= kvm->mmu_notifier_range_start && in mmu_notifier_retry_hva() [all …]
|
| A D | kvm_types.h | 51 unsigned long hva; member
|
| /linux/Documentation/devicetree/bindings/clock/st/ |
| A D | st,flexgen.txt | 104 "clk-hva", 108 "clk-rx-icn-hva",
|