/linux-6.3-rc2/sound/soc/codecs/ |
A D | lpass-va-macro.c | 1336 if (va->has_swr_master) in fsgen_gate_enable() 1390 va->hw.init = &init; in va_macro_register_fsgen_output() 1391 ret = devm_clk_hw_register(va->dev, &va->hw); in va_macro_register_fsgen_output() 1447 struct va_macro *va; in va_macro_probe() local 1452 va = devm_kzalloc(dev, sizeof(*va), GFP_KERNEL); in va_macro_probe() 1453 if (!va) in va_macro_probe() 1456 va->dev = dev; in va_macro_probe() 1459 if (IS_ERR(va->macro)) in va_macro_probe() 1467 if (IS_ERR(va->mclk)) in va_macro_probe() 1471 if (IS_ERR(va->pds)) in va_macro_probe() [all …]
|
/linux-6.3-rc2/mm/ |
A D | vmalloc.c | 775 return (va->va_end - va->va_start); in va_size() 784 return va ? va->subtree_max_size : 0; in get_subtree_max_size() 1027 va_size(va), va->subtree_max_size); in augment_tree_propagate_check() 1768 va->va_start, va->va_end); in __purge_vmap_area_lazy() 1995 vb->va = va; in new_vmap_block() 2263 (va->va_end - va->va_start)); in vm_unmap_ram() 2596 if (!va || !va->vm) in remove_vm_area() 4001 va->va_start, va->va_end); in pcpu_get_vm_areas() 4051 va->va_start, va->va_end); in pcpu_get_vm_areas() 4149 va->va_end - va->va_start); in show_purge_info() [all …]
|
/linux-6.3-rc2/drivers/scsi/qedi/ |
A D | qedi_dbg.c | 14 va_list va; in qedi_dbg_err() local 20 vaf.va = &va; in qedi_dbg_err() 28 va_end(va); in qedi_dbg_err() 35 va_list va; in qedi_dbg_warn() local 41 vaf.va = &va; in qedi_dbg_warn() 53 va_end(va); in qedi_dbg_warn() 60 va_list va; in qedi_dbg_notice() local 66 vaf.va = &va; in qedi_dbg_notice() 79 va_end(va); in qedi_dbg_notice() 86 va_list va; in qedi_dbg_info() local [all …]
|
/linux-6.3-rc2/drivers/scsi/qedf/ |
A D | qedf_dbg.c | 13 va_list va; in qedf_dbg_err() local 19 vaf.va = &va; in qedf_dbg_err() 27 va_end(va); in qedf_dbg_err() 34 va_list va; in qedf_dbg_warn() local 40 vaf.va = &va; in qedf_dbg_warn() 52 va_end(va); in qedf_dbg_warn() 59 va_list va; in qedf_dbg_notice() local 65 vaf.va = &va; in qedf_dbg_notice() 78 va_end(va); in qedf_dbg_notice() 85 va_list va; in qedf_dbg_info() local [all …]
|
/linux-6.3-rc2/drivers/dio/ |
A D | dio.c | 127 void *va; in dio_find() local 146 iounmap(va); in dio_find() 150 prid = DIO_ID(va); in dio_find() 153 secid = DIO_SECID(va); in dio_find() 160 iounmap(va); in dio_find() 200 u_char *va; in dio_init() local 219 iounmap(va); in dio_init() 227 iounmap(va); in dio_init() 241 prid = DIO_ID(va); in dio_init() 244 secid = DIO_SECID(va); in dio_init() [all …]
|
/linux-6.3-rc2/arch/powerpc/mm/nohash/ |
A D | 8xx.c | 23 phys_addr_t v_block_mapped(unsigned long va) in v_block_mapped() argument 27 if (va >= VIRT_IMMR_BASE && va < VIRT_IMMR_BASE + IMMR_SIZE) in v_block_mapped() 28 return p + va - VIRT_IMMR_BASE; in v_block_mapped() 29 if (va >= PAGE_OFFSET && va < PAGE_OFFSET + block_mapped_ram) in v_block_mapped() 30 return __pa(va); in v_block_mapped() 60 return hugepte_offset(*(hugepd_t *)pmdp, va, PGDIR_SHIFT); in early_hugepd_alloc_kernel() 66 pmd_t *pmdp = pmd_off_k(va); in __early_map_kernel_hugepage() 77 ptep = early_pte_alloc_kernel(pmdp, va); in __early_map_kernel_hugepage() 79 ptep = early_hugepd_alloc_kernel((hugepd_t *)pmdp, va); in __early_map_kernel_hugepage() 82 ptep = pte_offset_kernel(pmdp, va); in __early_map_kernel_hugepage() [all …]
|
/linux-6.3-rc2/arch/riscv/mm/ |
A D | init.c | 700 if (is_va_kernel_text(va)) in pgprot_from_va() 827 uintptr_t va, end_va; in create_kernel_page_table() local 831 for (va = kernel_map.virt_addr; va < end_va; va += PMD_SIZE) in create_kernel_page_table() 832 create_pgd_mapping(pgdir, va, in create_kernel_page_table() 838 for (va = kernel_map.virt_addr + XIP_OFFSET; va < end_va; va += PMD_SIZE) in create_kernel_page_table() 839 create_pgd_mapping(pgdir, va, in create_kernel_page_table() 846 uintptr_t va, end_va; in create_kernel_page_table() local 849 for (va = kernel_map.virt_addr; va < end_va; va += PMD_SIZE) in create_kernel_page_table() 1095 uintptr_t va, map_size; in setup_vm_final() local 1115 va = (uintptr_t)__va(pa); in setup_vm_final() [all …]
|
/linux-6.3-rc2/fs/ceph/ |
A D | ceph_frag.c | 10 unsigned va = ceph_frag_value(a); in ceph_frag_compare() local 12 if (va < vb) in ceph_frag_compare() 14 if (va > vb) in ceph_frag_compare() 16 va = ceph_frag_bits(a); in ceph_frag_compare() 18 if (va < vb) in ceph_frag_compare() 20 if (va > vb) in ceph_frag_compare()
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | sections.h | 17 static inline bool is_va_kernel_text(uintptr_t va) in is_va_kernel_text() argument 22 return va >= start && va < end; in is_va_kernel_text() 25 static inline bool is_va_kernel_lm_alias_text(uintptr_t va) in is_va_kernel_lm_alias_text() argument 30 return va >= start && va < end; in is_va_kernel_lm_alias_text()
|
/linux-6.3-rc2/lib/ |
A D | test_debug_virtual.c | 25 void *va; in test_debug_virtual_init() local 27 va = (void *)VMALLOC_START; in test_debug_virtual_init() 28 pa = virt_to_phys(va); in test_debug_virtual_init() 30 pr_info("PA: %pa for VA: 0x%lx\n", &pa, (unsigned long)va); in test_debug_virtual_init() 37 va = foo; in test_debug_virtual_init() 38 pr_info("PA: %pa for VA: 0x%lx\n", &pa, (unsigned long)va); in test_debug_virtual_init()
|
/linux-6.3-rc2/drivers/video/fbdev/vermilion/ |
A D | vermilion.c | 90 va->logical = in vmlfb_alloc_vram_area() 94 if (!va->logical) in vmlfb_alloc_vram_area() 97 va->phys = virt_to_phys((void *)va->logical); in vmlfb_alloc_vram_area() 108 memset((void *)va->logical, 0x00, va->size); in vmlfb_alloc_vram_area() 109 for (i = va->logical; i < va->logical + va->size; i += PAGE_SIZE) { in vmlfb_alloc_vram_area() 117 set_pages_uc(virt_to_page(va->logical), va->size >> PAGE_SHIFT); in vmlfb_alloc_vram_area() 121 va->size, va->phys); in vmlfb_alloc_vram_area() 149 for (j = va->logical; j < va->logical + va->size; in vmlfb_free_vram_area() 156 va->size, va->phys); in vmlfb_free_vram_area() 157 free_pages(va->logical, va->order); in vmlfb_free_vram_area() [all …]
|
/linux-6.3-rc2/arch/powerpc/mm/book3s64/ |
A D | hash_native.c | 72 unsigned long va; in ___tlbie() local 96 va |= ssize << 8; in ___tlbie() 98 va |= sllp << 5; in ___tlbie() 107 va |= penc << 12; in ___tlbie() 108 va |= ssize << 8; in ___tlbie() 117 va |= 1; /* L */ in ___tlbie() 123 return va; in ___tlbie() 168 unsigned long va; in __tlbiel() local 186 va |= ssize << 8; in __tlbiel() 188 va |= sllp << 5; in __tlbiel() [all …]
|
A D | radix_tlb.c | 178 rb = va & ~(PPC_BITMASK(52, 63)); in __tlbiel_va() 194 rb = va & ~(PPC_BITMASK(52, 63)); in __tlbie_va() 211 rb = va & ~(PPC_BITMASK(52, 63)); in __tlbie_va_lpid() 227 rb = va & ~(PPC_BITMASK(52, 63)); in __tlbie_lpid_va() 541 __tlbiel_va(va, pid, ap, ric); in _tlbiel_va() 589 __tlbie_va(va, pid, ap, ric); in _tlbie_va() 590 fixup_tlbie_va(va, pid, ap); in _tlbie_va() 596 unsigned long va; member 618 struct tlbiel_va t = { .va = va, .pid = pid, .psize = psize, .ric = ric }; in _tlbiel_va_multicast() 647 __tlbie_lpid_va(va, lpid, ap, ric); in _tlbie_lpid_va() [all …]
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | traps.c | 444 unaligned[0].va = (unsigned long) va; in do_entUna() 462 : "r"(va), "0"(0)); in do_entUna() 478 : "r"(va), "0"(0)); in do_entUna() 494 : "r"(va), "0"(0)); in do_entUna() 577 pc, va, opcode, reg); in do_entUna() 753 unaligned[1].va = (unsigned long)va; in do_entUnaUser() 785 : "r"(va), "0"(0)); in do_entUnaUser() 801 : "r"(va), "0"(0)); in do_entUnaUser() 817 : "r"(va), "0"(0)); in do_entUnaUser() 833 : "r"(va), "0"(0)); in do_entUnaUser() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/proc/ |
A D | proc-self-map-files-002.c | 55 unsigned long va; in main() local 64 for (va = 0; va < va_max; va += PAGE_SIZE) { in main() 65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main() 66 if (p == (void *)va) in main() 69 if (va == va_max) { in main()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | irq_64.c | 39 void *va; in map_irq_stack() local 48 va = vmap(pages, IRQ_STACK_SIZE / PAGE_SIZE, VM_MAP, PAGE_KERNEL); in map_irq_stack() 49 if (!va) in map_irq_stack() 53 per_cpu(pcpu_hot.hardirq_stack_ptr, cpu) = va + IRQ_STACK_SIZE - 8; in map_irq_stack() 63 void *va = per_cpu_ptr(&irq_stack_backing_store, cpu); in map_irq_stack() local 66 per_cpu(pcpu_hot.hardirq_stack_ptr, cpu) = va + IRQ_STACK_SIZE - 8; in map_irq_stack()
|
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/vdec/ |
A D | vdec_vp9_if.c | 36 unsigned long va; member 393 if (mem->va) in vp9_alloc_work_buf() 405 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf() 411 if (mem->va) in vp9_alloc_work_buf() 422 vsi->seg_id_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf() 562 inst = mem.va; in vp9_alloc_inst() 573 if (mem.va) in vp9_free_inst() 671 inst->vsi->mv_buf.va = (unsigned long)inst->mv_buf.va; in vp9_reset() 676 inst->vsi->seg_id_buf.va = (unsigned long)inst->seg_id_buf.va; in vp9_reset() 775 if (mem->va) in vdec_vp9_deinit() [all …]
|
/linux-6.3-rc2/drivers/tee/amdtee/ |
A D | shm_pool.c | 15 unsigned long va; in pool_op_alloc() local 22 va = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in pool_op_alloc() 23 if (!va) in pool_op_alloc() 26 shm->kaddr = (void *)va; in pool_op_alloc() 27 shm->paddr = __psp_pa((void *)va); in pool_op_alloc() 33 free_pages(va, order); in pool_op_alloc()
|
/linux-6.3-rc2/arch/arm/mach-omap1/ |
A D | irq.c | 58 void __iomem *va; member 70 return readl_relaxed(irq_banks[bank].va + offset); in irq_bank_readl() 74 writel_relaxed(value, irq_banks[bank].va + offset); in irq_bank_writel() 80 writel_relaxed(0x1, irq_banks[1].va + IRQ_CONTROL_REG_OFFSET); in omap_ack_irq() 82 writel_relaxed(0x1, irq_banks[0].va + IRQ_CONTROL_REG_OFFSET); in omap_ack_irq() 136 void __iomem *l1 = irq_banks[0].va; in omap1_handle_irq() 137 void __iomem *l2 = irq_banks[1].va; in omap1_handle_irq() 207 irq_banks[i].va = ioremap(irq_banks[i].base_reg, 0xff); in omap1_init_irq() 208 if (WARN_ON(!irq_banks[i].va)) in omap1_init_irq() 247 omap_alloc_gc(irq_banks[i].va, irq_base + i * 32, 32); in omap1_init_irq()
|
/linux-6.3-rc2/drivers/firmware/efi/ |
A D | mokvar-table.c | 103 void *va = NULL; in efi_mokvar_table_init() local 137 mokvar_entry = va + cur_offset; in efi_mokvar_table_init() 140 if (va) in efi_mokvar_table_init() 141 early_memunmap(va, map_size); in efi_mokvar_table_init() 150 va = early_memremap(efi.mokvar_table, map_size); in efi_mokvar_table_init() 151 if (!va) { in efi_mokvar_table_init() 156 mokvar_entry = va + cur_offset; in efi_mokvar_table_init() 177 if (va) in efi_mokvar_table_init() 178 early_memunmap(va, map_size); in efi_mokvar_table_init()
|
/linux-6.3-rc2/arch/powerpc/math-emu/ |
A D | math_efp.c | 183 union dw_union vc, va, vb; in do_spe_mathemu() local 203 va.wp[1] = regs->gpr[fa]; in do_spe_mathemu() 211 pr_debug("va: %08x %08x\n", va.wp[0], va.wp[1]); in do_spe_mathemu() 221 FP_UNPACK_SP(SA, va.wp + 1); in do_spe_mathemu() 227 FP_UNPACK_SP(SA, va.wp + 1); in do_spe_mathemu() 350 FP_UNPACK_DP(DA, va.dp); in do_spe_mathemu() 356 FP_UNPACK_DP(DA, va.dp); in do_spe_mathemu() 496 FP_UNPACK_SP(SA0, va.wp); in do_spe_mathemu() 497 FP_UNPACK_SP(SA1, va.wp + 1); in do_spe_mathemu() 504 FP_UNPACK_SP(SA0, va.wp); in do_spe_mathemu() [all …]
|
/linux-6.3-rc2/drivers/infiniband/sw/rxe/ |
A D | rxe_mr.c | 257 void *va; in rxe_mr_copy_xarray() local 266 va = kmap_local_page(page); in rxe_mr_copy_xarray() 271 kunmap_local(va); in rxe_mr_copy_xarray() 288 u8 *va; in rxe_mr_copy_dma() local 301 kunmap_local(va); in rxe_mr_copy_dma() 436 u8 *va; in rxe_flush_pmem_iova() local 463 kunmap_local(va); in rxe_flush_pmem_iova() 482 u64 *va; in rxe_mr_do_atomic_op() local 527 kunmap_local(va); in rxe_mr_do_atomic_op() 538 u64 *va; in rxe_mr_do_atomic_write() local [all …]
|
/linux-6.3-rc2/arch/parisc/kernel/ |
A D | entry.S | 170 mfctl %pcoq, va 187 mfctl %pcoq, va 201 mfctl %ior,va 219 mfctl %ior,va 233 mfctl %ior, va 251 mfctl %ior, va 263 mfctl %ior,va 279 mfctl %ior,va 293 mfctl %ior,va 311 mfctl %ior,va [all …]
|
/linux-6.3-rc2/arch/xtensa/include/asm/ |
A D | io.h | 57 unsigned long va = (unsigned long) addr; in iounmap() local 59 if (!(va >= XCHAL_KIO_CACHED_VADDR && in iounmap() 60 va - XCHAL_KIO_CACHED_VADDR < XCHAL_KIO_SIZE) && in iounmap() 61 !(va >= XCHAL_KIO_BYPASS_VADDR && in iounmap() 62 va - XCHAL_KIO_BYPASS_VADDR < XCHAL_KIO_SIZE)) in iounmap()
|
/linux-6.3-rc2/arch/openrisc/kernel/ |
A D | dma.c | 70 unsigned long va = (unsigned long)cpu_addr; in arch_dma_set_uncached() local 78 error = walk_page_range_novma(&init_mm, va, va + size, in arch_dma_set_uncached() 89 unsigned long va = (unsigned long)cpu_addr; in arch_dma_clear_uncached() local 93 WARN_ON(walk_page_range_novma(&init_mm, va, va + size, in arch_dma_clear_uncached()
|