/Linux-v5.4/drivers/media/platform/sti/hva/ |
D | hva-hw.c | 103 struct hva_dev *hva = data; in hva_hw_its_interrupt() local 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() 110 writel_relaxed(0x1, hva->regs + HVA_HIF_REG_IT_ACK); in hva_hw_its_interrupt() 117 struct hva_dev *hva = arg; in hva_hw_its_irq_thread() local 118 struct device *dev = hva_to_dev(hva); in hva_hw_its_irq_thread() 119 u32 status = hva->sts_reg & 0xFF; in hva_hw_its_irq_thread() 124 HVA_PREFIX, __func__, hva->sts_reg & 0xFF, hva->sfl_reg & 0xF); in hva_hw_its_irq_thread() 130 ctx_id = (hva->sts_reg & 0xFF00) >> 8; in hva_hw_its_irq_thread() 138 ctx = hva->instances[ctx_id]; in hva_hw_its_irq_thread() [all …]
|
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
|
D | hva-v4l2.c | 124 struct hva_dev *hva = ctx_to_hdev(ctx); in hva_find_encoder() local 128 for (i = 0; i < hva->nb_of_encoders; i++) { in hva_find_encoder() 129 enc = hva->encoders[i]; in hva_find_encoder() 154 static void register_formats(struct hva_dev *hva) in register_formats() argument 158 for (i = 0; i < hva->nb_of_encoders; i++) { in register_formats() 159 register_format(hva->encoders[i]->pixelformat, in register_formats() 160 hva->pixelformats, in register_formats() 161 &hva->nb_of_pixelformats); in register_formats() 163 register_format(hva->encoders[i]->streamformat, in register_formats() 164 hva->streamformats, in register_formats() [all …]
|
D | hva-debugfs.c | 276 struct hva_dev *hva = s->private; in device_show() local 278 seq_printf(s, "[%s]\n", hva->v4l2_dev.name); in device_show() 279 seq_printf(s, "registered as /dev/video%d\n", hva->vdev->num); in device_show() 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() 293 seq_printf(s, "|- %s: %4.4s => %4.4s\n", hva->encoders[i]->name, in encoders_show() 294 (char *)&hva->encoders[i]->pixelformat, in encoders_show() 295 (char *)&hva->encoders[i]->streamformat); in encoders_show() 304 struct hva_dev *hva = s->private; in last_show() local [all …]
|
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);
|
D | hva.h | 401 void hva_debugfs_create(struct hva_dev *hva); 402 void hva_debugfs_remove(struct hva_dev *hva);
|
D | hva-h264.c | 590 struct hva_dev *hva = ctx_to_hdev(pctx); in hva_h264_prepare_task() local 601 u32 addr_esram = hva->esram_addr; in hva_h264_prepare_task() 891 struct hva_dev *hva = ctx_to_hdev(pctx); in hva_h264_open() local 903 if (hva->esram_size < size) { in hva_h264_open() 905 pctx->name, hva->esram_size, size); in hva_h264_open()
|
/Linux-v5.4/virt/kvm/arm/ |
D | trace.h | 157 TP_PROTO(unsigned long hva), 158 TP_ARGS(hva), 161 __field( unsigned long, hva ) 165 __entry->hva = hva; 168 TP_printk("mmu notifier set pte hva: %#08lx", __entry->hva) 190 TP_PROTO(unsigned long hva), 191 TP_ARGS(hva), 194 __field( unsigned long, hva ) 198 __entry->hva = hva; 201 TP_printk("mmu notifier test age hva: %#08lx", __entry->hva)
|
D | mmu.c | 921 hva_t hva = memslot->userspace_addr; in stage2_unmap_memslot() local 924 hva_t reg_end = hva + size; in stage2_unmap_memslot() 939 struct vm_area_struct *vma = find_vma(current->mm, hva); in stage2_unmap_memslot() 948 vm_start = max(hva, vma->vm_start); in stage2_unmap_memslot() 955 hva = vm_end; in stage2_unmap_memslot() 956 } while (hva < reg_end); in stage2_unmap_memslot() 1608 unsigned long hva, in fault_supports_stage2_huge_mapping() argument 1660 return (hva & ~(map_size - 1)) >= uaddr_start && in fault_supports_stage2_huge_mapping() 1661 (hva & ~(map_size - 1)) + map_size <= uaddr_end; in fault_supports_stage2_huge_mapping() 1665 struct kvm_memory_slot *memslot, unsigned long hva, in user_mem_abort() argument [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/media/ |
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-v5.4/arch/powerpc/kvm/ |
D | trace_booke.h | 73 TP_PROTO(unsigned long hva), 74 TP_ARGS(hva), 77 __field( unsigned long, hva ) 81 __entry->hva = hva; 84 TP_printk("unmap hva 0x%lx\n", __entry->hva)
|
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(current->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() 724 static int kvm_unmap_hva(struct kvm *kvm, unsigned long hva) in kvm_unmap_hva() argument 726 trace_kvm_unmap_hva(hva); in kvm_unmap_hva() 751 int kvm_test_age_hva(struct kvm *kvm, unsigned long hva) in kvm_test_age_hva() argument [all …]
|
D | book3s.h | 16 extern int kvm_test_age_hva_hv(struct kvm *kvm, unsigned long hva); 17 extern void kvm_set_spte_hva_hv(struct kvm *kvm, unsigned long hva, pte_t pte);
|
D | book3s_64_mmu_hv.c | 500 unsigned long gpa, gfn, hva, pfn; in kvmppc_book3s_hv_page_fault() local 591 hva = gfn_to_hva_memslot(memslot, gfn); in kvmppc_book3s_hv_page_fault() 592 npages = get_user_pages_fast(hva, 1, writing ? FOLL_WRITE : 0, pages); in kvmppc_book3s_hv_page_fault() 596 vma = find_vma(current->mm, hva); in kvmppc_book3s_hv_page_fault() 597 if (vma && vma->vm_start <= hva && hva + psize <= vma->vm_end && in kvmppc_book3s_hv_page_fault() 600 ((hva - vma->vm_start) >> PAGE_SHIFT); in kvmppc_book3s_hv_page_fault() 625 hva, NULL, NULL); in kvmppc_book3s_hv_page_fault() 805 static int kvm_handle_hva(struct kvm *kvm, unsigned long hva, in kvm_handle_hva() argument 808 return kvm_handle_hva_range(kvm, hva, hva + 1, handler); in kvm_handle_hva() 1023 int kvm_test_age_hva_hv(struct kvm *kvm, unsigned long hva) in kvm_test_age_hva_hv() argument [all …]
|
D | book3s_hv_rm_mmu.c | 202 unsigned long slot_fn, hva; in kvmppc_do_h_enter() local 250 hva = __gfn_to_hva_memslot(memslot, gfn); in kvmppc_do_h_enter() 261 ptep = __find_linux_pte(pgdir, hva, NULL, &hpage_shift); in kvmppc_do_h_enter() 286 pa |= hva & (host_pte_size - 1); in kvmppc_do_h_enter() 897 unsigned long gfn, hva, pa, psize = PAGE_SHIFT; in kvmppc_get_hpa() local 908 hva = __gfn_to_hva_memslot(memslot, gfn); in kvmppc_get_hpa() 911 ptep = __find_linux_pte(vcpu->arch.pgdir, hva, NULL, &shift); in kvmppc_get_hpa() 922 pa |= hva & (psize - 1); in kvmppc_get_hpa()
|
/Linux-v5.4/Documentation/devicetree/bindings/clock/st/ |
D | st,flexgen.txt | 94 "clk-hva", 98 "clk-rx-icn-hva",
|
/Linux-v5.4/include/linux/ |
D | kvm_types.h | 47 unsigned long hva; member
|
D | kvm_host.h | 215 int kvm_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, unsigned long hva, 239 void *hva; member 250 return !!map->hva; in kvm_vcpu_mapped() 1052 hva_to_gfn_memslot(unsigned long hva, struct kvm_memory_slot *slot) in hva_to_gfn_memslot() argument 1054 gfn_t gfn_offset = (hva - slot->userspace_addr) >> PAGE_SHIFT; in hva_to_gfn_memslot() 1082 unsigned long hva = gfn_to_hva(kvm, gpa_to_gfn(gpa)); in kvm_is_error_gpa() local 1084 return kvm_is_error_hva(hva); in kvm_is_error_gpa()
|
/Linux-v5.4/virt/kvm/ |
D | async_pf.c | 168 int kvm_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, unsigned long hva, in kvm_setup_async_pf() argument 189 work->addr = hva; in kvm_setup_async_pf()
|
D | kvm_main.c | 1477 unsigned long hva = __gfn_to_hva_many(slot, gfn, NULL, false); in gfn_to_hva_memslot_prot() local 1479 if (!kvm_is_error_hva(hva) && writable) in gfn_to_hva_memslot_prot() 1482 return hva; in gfn_to_hva_memslot_prot() 1816 void *hva = NULL; in __kvm_map_gfn() local 1828 hva = kmap(page); in __kvm_map_gfn() 1831 hva = memremap(pfn_to_hpa(pfn), PAGE_SIZE, MEMREMAP_WB); in __kvm_map_gfn() 1835 if (!hva) in __kvm_map_gfn() 1839 map->hva = hva; in __kvm_map_gfn() 1858 if (!map->hva) in kvm_vcpu_unmap() 1865 memunmap(map->hva); in kvm_vcpu_unmap() [all …]
|
/Linux-v5.4/include/trace/events/ |
D | kvm.h | 263 __field( u64, hva ) 272 __entry->hva = ((gfn - slot->base_gfn) << 278 __entry->hva, __entry->gfn, __entry->level,
|
/Linux-v5.4/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 506 int kvm_memcmp_hva_gva(void *hva, struct kvm_vm *vm, vm_vaddr_t gva, size_t len) in kvm_memcmp_hva_gva() argument 515 uintptr_t ptr1 = (uintptr_t)hva + offset; in kvm_memcmp_hva_gva() 1061 vm_paddr_t addr_hva2gpa(struct kvm_vm *vm, void *hva) in addr_hva2gpa() argument 1066 if ((hva >= region->host_mem) in addr_hva2gpa() 1067 && (hva <= (region->host_mem in addr_hva2gpa() 1071 + (hva - (uintptr_t) region->host_mem)); in addr_hva2gpa() 1075 "hva: %p", hva); in addr_hva2gpa()
|
/Linux-v5.4/arch/mips/kvm/ |
D | mmu.c | 554 int kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte) in kvm_set_spte_hva() argument 556 unsigned long end = hva + PAGE_SIZE; in kvm_set_spte_hva() 559 ret = handle_hva_to_gpa(kvm, hva, end, &kvm_set_spte_handler, &pte); in kvm_set_spte_hva() 587 int kvm_test_age_hva(struct kvm *kvm, unsigned long hva) in kvm_test_age_hva() argument 589 return handle_hva_to_gpa(kvm, hva, hva, kvm_test_age_hva_handler, NULL); in kvm_test_age_hva()
|
/Linux-v5.4/arch/arm/include/asm/ |
D | kvm_host.h | 270 int kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte); 275 int kvm_test_age_hva(struct kvm *kvm, unsigned long hva);
|
/Linux-v5.4/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 80 int kvm_memcmp_hva_gva(void *hva, struct kvm_vm *vm, const vm_vaddr_t gva, 110 vm_paddr_t addr_hva2gpa(struct kvm_vm *vm, void *hva);
|