Home
last modified time | relevance | path

Searched refs:virtaddr (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/arch/m68k/mm/
Dkmap.c62 unsigned long virtaddr = (unsigned long)addr; in __free_io_area() local
70 pgd_dir = pgd_offset_k(virtaddr); in __free_io_area()
71 p4d_dir = p4d_offset(pgd_dir, virtaddr); in __free_io_area()
72 pud_dir = pud_offset(p4d_dir, virtaddr); in __free_io_area()
78 pmd_dir = pmd_offset(pud_dir, virtaddr); in __free_io_area()
86 virtaddr += PMD_SIZE; in __free_io_area()
99 pte_dir = pte_offset_kernel(pmd_dir, virtaddr); in __free_io_area()
102 virtaddr += PAGE_SIZE; in __free_io_area()
162 unsigned long virtaddr, retaddr; in __ioremap() local
205 virtaddr = (unsigned long)area->addr; in __ioremap()
[all …]
Dmotorola.c292 unsigned long physaddr, virtaddr, size; in map_node() local
301 virtaddr = (unsigned long)phys_to_virt(physaddr); in map_node()
309 if (!(virtaddr & (PMD_SIZE-1))) in map_node()
311 virtaddr); in map_node()
313 pgd_dir = pgd_offset_k(virtaddr); in map_node()
314 if (virtaddr && CPU_IS_020_OR_030) { in map_node()
315 if (!(virtaddr & (PGDIR_SIZE-1)) && in map_node()
322 virtaddr += PGDIR_SIZE; in map_node()
327 p4d_dir = p4d_offset(pgd_dir, virtaddr); in map_node()
328 pud_dir = pud_offset(p4d_dir, virtaddr); in map_node()
[all …]
/Linux-v5.10/drivers/dma/qcom/
Dhidma_mgmt.c120 val = readl(mgmtdev->virtaddr + HIDMA_MAX_BUS_REQ_LEN_OFFSET); in hidma_mgmt_setup()
125 writel(val, mgmtdev->virtaddr + HIDMA_MAX_BUS_REQ_LEN_OFFSET); in hidma_mgmt_setup()
127 val = readl(mgmtdev->virtaddr + HIDMA_MAX_XACTIONS_OFFSET); in hidma_mgmt_setup()
132 writel(val, mgmtdev->virtaddr + HIDMA_MAX_XACTIONS_OFFSET); in hidma_mgmt_setup()
135 readl(mgmtdev->virtaddr + HIDMA_HW_VERSION_OFFSET); in hidma_mgmt_setup()
143 val = readl(mgmtdev->virtaddr + HIDMA_QOS_N_OFFSET + (4 * i)); in hidma_mgmt_setup()
148 writel(val, mgmtdev->virtaddr + HIDMA_QOS_N_OFFSET + (4 * i)); in hidma_mgmt_setup()
151 val = readl(mgmtdev->virtaddr + HIDMA_CHRESET_TIMEOUT_OFFSET); in hidma_mgmt_setup()
154 writel(val, mgmtdev->virtaddr + HIDMA_CHRESET_TIMEOUT_OFFSET); in hidma_mgmt_setup()
166 void __iomem *virtaddr; in hidma_mgmt_probe() local
[all …]
Dhidma_mgmt.h23 void __iomem *virtaddr; member
/Linux-v5.10/drivers/media/platform/omap/
Domap_voutlib.c329 void omap_vout_free_buffer(unsigned long virtaddr, u32 buf_size) in omap_vout_free_buffer() argument
332 unsigned long addr = virtaddr; in omap_vout_free_buffer()
342 free_pages((unsigned long) virtaddr, order); in omap_vout_free_buffer()
Domap_voutlib.h34 void omap_vout_free_buffer(unsigned long virtaddr, u32 buf_size);
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_mbox.c1891 void *virtaddr = NULL; in lpfc_sli4_mbox_rsrc_extent() local
1896 virtaddr = mbox->sge_array->addr[0]; in lpfc_sli4_mbox_rsrc_extent()
1897 if (virtaddr == NULL) in lpfc_sli4_mbox_rsrc_extent()
1899 n_rsrc_extnt = (struct lpfc_mbx_nembed_rsrc_extent *) virtaddr; in lpfc_sli4_mbox_rsrc_extent()
Dlpfc_sli.c5490 void *virtaddr = NULL; in lpfc_sli4_get_ctl_attr() local
5515 virtaddr = mboxq->sge_array->addr[0]; in lpfc_sli4_get_ctl_attr()
5516 mbx_cntl_attr = (struct lpfc_mbx_get_cntl_attributes *)virtaddr; in lpfc_sli4_get_ctl_attr()
5949 void *virtaddr = NULL; in lpfc_sli4_alloc_extent() local
5994 virtaddr = mbox->sge_array->addr[0]; in lpfc_sli4_alloc_extent()
5995 n_rsrc = (struct lpfc_mbx_nembed_rsrc_extent *) virtaddr; in lpfc_sli4_alloc_extent()
6915 void *virtaddr = NULL; in lpfc_sli4_get_allocated_extnts() local
7017 virtaddr = mbox->sge_array->addr[0]; in lpfc_sli4_get_allocated_extnts()
7018 n_rsrc = (struct lpfc_mbx_nembed_rsrc_extent *) virtaddr; in lpfc_sli4_get_allocated_extnts()
/Linux-v5.10/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1219 u64 virtaddr; in intel_vgpu_mmap() local
1236 virtaddr = vma->vm_start; in intel_vgpu_mmap()
1250 return remap_pfn_range(vma, virtaddr, pgoff, req_size, pg_prot); in intel_vgpu_mmap()