/linux-6.1.9/sound/core/ |
D | pcm_misc.c | 36 unsigned char phys; /* physical bit width */ member 52 .width = 8, .phys = 8, .le = -1, .signd = 1, 56 .width = 8, .phys = 8, .le = -1, .signd = 0, 60 .width = 16, .phys = 16, .le = 1, .signd = 1, 64 .width = 16, .phys = 16, .le = 0, .signd = 1, 68 .width = 16, .phys = 16, .le = 1, .signd = 0, 72 .width = 16, .phys = 16, .le = 0, .signd = 0, 76 .width = 24, .phys = 32, .le = 1, .signd = 1, 80 .width = 24, .phys = 32, .le = 0, .signd = 1, 84 .width = 24, .phys = 32, .le = 1, .signd = 0, [all …]
|
/linux-6.1.9/include/asm-generic/ |
D | fixmap.h | 64 #define set_fixmap(idx, phys) \ argument 65 __set_fixmap(idx, phys, FIXMAP_PAGE_NORMAL) 74 #define __set_fixmap_offset(idx, phys, flags) \ argument 77 __set_fixmap(idx, phys, flags); \ 78 ________addr = fix_to_virt(idx) + ((phys) & (PAGE_SIZE - 1)); \ 82 #define set_fixmap_offset(idx, phys) \ argument 83 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NORMAL) 88 #define set_fixmap_nocache(idx, phys) \ argument 89 __set_fixmap(idx, phys, FIXMAP_PAGE_NOCACHE) 91 #define set_fixmap_offset_nocache(idx, phys) \ argument [all …]
|
/linux-6.1.9/drivers/mtd/maps/ |
D | ichxrom.c | 38 unsigned long phys; member 83 window->phys = 0; in ichxrom_cleanup() 113 window->phys = 0; in ichxrom_init_one() 116 window->phys = 0xffc00000; in ichxrom_init_one() 119 window->phys = 0xff400000; in ichxrom_init_one() 122 window->phys = 0xff500000; in ichxrom_init_one() 125 window->phys = 0xff600000; in ichxrom_init_one() 128 window->phys = 0xff700000; in ichxrom_init_one() 132 window->phys = 0xffc80000; in ichxrom_init_one() 135 window->phys = 0xffd00000; in ichxrom_init_one() [all …]
|
D | esb2rom.c | 99 unsigned long phys; member 142 window->phys = 0; in esb2rom_cleanup() 187 window->phys = 0; in esb2rom_init_one() 192 window->phys = 0xff400000; in esb2rom_init_one() 194 window->phys = 0xff500000; in esb2rom_init_one() 196 window->phys = 0xff600000; in esb2rom_init_one() 198 window->phys = 0xFF700000; in esb2rom_init_one() 200 window->phys = 0xffc00000; in esb2rom_init_one() 202 window->phys = 0xffc80000; in esb2rom_init_one() 204 window->phys = 0xffd00000; in esb2rom_init_one() [all …]
|
D | uclinux.c | 55 size_t *retlen, void **virt, resource_size_t *phys) in uclinux_point() argument 59 if (phys) in uclinux_point() 60 *phys = map->phys + from; in uclinux_point() 75 mapp->phys = (resource_size_t)__bss_stop; in uclinux_mtd_init() 77 mapp->phys = physaddr; in uclinux_mtd_init() 80 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8)))); in uclinux_mtd_init() 84 (int) mapp->phys, (int) mapp->size); in uclinux_mtd_init() 92 mapp->virt = phys_to_virt(mapp->phys); in uclinux_mtd_init()
|
D | amd76xrom.c | 33 unsigned long phys; member 97 window->phys = 0; in amd76xrom_cleanup() 129 window->phys = 0xffb00000; /* 5MiB */ in amd76xrom_init_one() 132 window->phys = 0xffc00000; /* 4MiB */ in amd76xrom_init_one() 135 window->phys = 0xffff0000; /* 64KiB */ in amd76xrom_init_one() 137 window->size = 0xffffffffUL - window->phys + 1UL; in amd76xrom_init_one() 147 window->rsrc.start = window->phys; in amd76xrom_init_one() 148 window->rsrc.end = window->phys + window->size - 1; in amd76xrom_init_one() 166 window->virt = ioremap(window->phys, window->size); in amd76xrom_init_one() 169 window->phys, window->size); in amd76xrom_init_one() [all …]
|
D | ck804xrom.c | 37 unsigned long phys; member 109 window->phys = 0; in ck804xrom_cleanup() 145 window->phys = 0xffb00000; /* 5MiB */ in ck804xrom_init_one() 147 window->phys = 0xffc00000; /* 4MiB */ in ck804xrom_init_one() 149 window->phys = 0xffff0000; /* 64KiB */ in ck804xrom_init_one() 162 window->phys = 0xff000000; /* 16MiB, hardcoded for now */ in ck804xrom_init_one() 166 window->size = 0xffffffffUL - window->phys + 1UL; in ck804xrom_init_one() 176 window->rsrc.start = window->phys; in ck804xrom_init_one() 177 window->rsrc.end = window->phys + window->size - 1; in ck804xrom_init_one() 194 window->virt = ioremap(window->phys, window->size); in ck804xrom_init_one() [all …]
|
/linux-6.1.9/fs/bfs/ |
D | file.c | 67 unsigned long phys; in bfs_get_block() local 73 phys = bi->i_sblock + block; in bfs_get_block() 75 if (phys <= bi->i_eblock) { in bfs_get_block() 77 create, (unsigned long)block, phys); in bfs_get_block() 78 map_bh(bh_result, sb, phys); in bfs_get_block() 87 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block() 89 create, (unsigned long)block, phys); in bfs_get_block() 90 map_bh(bh_result, sb, phys); in bfs_get_block() 95 if (phys >= info->si_blocks) in bfs_get_block() 108 create, (unsigned long)block, phys); in bfs_get_block() [all …]
|
/linux-6.1.9/arch/xtensa/mm/ |
D | cache.c | 141 unsigned long phys = page_to_phys(page); in flush_dcache_page() local 143 unsigned long alias = !(DCACHE_ALIAS_EQ(temp, phys)); in flush_dcache_page() 157 virt = TLBTEMP_BASE_1 + (phys & DCACHE_ALIAS_MASK); in flush_dcache_page() 158 __flush_invalidate_dcache_page_alias(virt, phys); in flush_dcache_page() 163 __flush_invalidate_dcache_page_alias(virt, phys); in flush_dcache_page() 166 __invalidate_icache_page_alias(virt, phys); in flush_dcache_page() 198 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in local_flush_cache_page() local 202 __flush_invalidate_dcache_page_alias(virt, phys); in local_flush_cache_page() 203 __invalidate_icache_page_alias(virt, phys); in local_flush_cache_page() 228 unsigned long phys = page_to_phys(page); in update_mmu_cache() local [all …]
|
/linux-6.1.9/arch/arm64/boot/dts/microchip/ |
D | sparx5_pcb135_board.dtsi | 377 phys = <&serdes 13>; 384 phys = <&serdes 13>; 391 phys = <&serdes 13>; 398 phys = <&serdes 13>; 405 phys = <&serdes 14>; 412 phys = <&serdes 14>; 419 phys = <&serdes 14>; 426 phys = <&serdes 14>; 433 phys = <&serdes 15>; 440 phys = <&serdes 15>; [all …]
|
/linux-6.1.9/drivers/firmware/tegra/ |
D | ivc.c | 71 static inline void tegra_ivc_invalidate(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_invalidate() argument 76 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate() 80 static inline void tegra_ivc_flush(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_flush() argument 85 dma_sync_single_for_device(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_flush() 191 tegra_ivc_invalidate(ivc, ivc->rx.phys + offset); in tegra_ivc_check_read() 209 tegra_ivc_invalidate(ivc, ivc->tx.phys + offset); in tegra_ivc_check_write() 228 dma_addr_t phys, in tegra_ivc_frame_phys() argument 235 return phys + offset; in tegra_ivc_frame_phys() 239 dma_addr_t phys, in tegra_ivc_invalidate_frame() argument 247 phys = tegra_ivc_frame_phys(ivc, phys, frame) + offset; in tegra_ivc_invalidate_frame() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder.c | 236 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_crc_values_cnt() local 238 if (phys->hw_intf && phys->hw_intf->ops.setup_misr in dpu_encoder_get_crc_values_cnt() 239 && phys->hw_intf->ops.collect_misr) in dpu_encoder_get_crc_values_cnt() 255 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_setup_misr() local 257 if (!phys->hw_intf || !phys->hw_intf->ops.setup_misr) in dpu_encoder_setup_misr() 260 phys->hw_intf->ops.setup_misr(phys->hw_intf, true, 1); in dpu_encoder_setup_misr() 278 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_crc() local 280 if (!phys->hw_intf || !phys->hw_intf->ops.collect_misr) in dpu_encoder_get_crc() 283 rc = phys->hw_intf->ops.collect_misr(phys->hw_intf, &crcs[pos + entries_added]); in dpu_encoder_get_crc() 426 struct dpu_encoder_phys *phys = dpu_enc ? dpu_enc->cur_master : NULL; in dpu_encoder_get_vsync_count() local [all …]
|
D | dpu_encoder_phys.h | 75 struct dpu_encoder_phys *phys); 77 struct dpu_encoder_phys *phys); 79 struct dpu_encoder_phys *phys, u32 event); 136 void (*irq_control)(struct dpu_encoder_phys *phys, bool enable); 138 void (*restore)(struct dpu_encoder_phys *phys); 139 int (*get_line_count)(struct dpu_encoder_phys *phys); 140 int (*get_frame_count)(struct dpu_encoder_phys *phys); 225 static inline int dpu_encoder_phys_inc_pending(struct dpu_encoder_phys *phys) in dpu_encoder_phys_inc_pending() argument 227 atomic_inc_return(&phys->pending_ctlstart_cnt); in dpu_encoder_phys_inc_pending() 228 return atomic_inc_return(&phys->pending_kickoff_cnt); in dpu_encoder_phys_inc_pending()
|
/linux-6.1.9/arch/m68k/mm/ |
D | sun3kmap.c | 29 static inline void do_page_mapin(unsigned long phys, unsigned long virt, in do_page_mapin() argument 35 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); in do_page_mapin() 48 static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt, in do_pmeg_mapin() argument 56 do_page_mapin(phys, virt, type); in do_pmeg_mapin() 57 phys += PAGE_SIZE; in do_pmeg_mapin() 63 void __iomem *sun3_ioremap(unsigned long phys, unsigned long size, in sun3_ioremap() argument 74 offset = phys & (PAGE_SIZE-1); in sun3_ioremap() 75 phys &= ~(PAGE_SIZE-1); in sun3_ioremap() 98 do_pmeg_mapin(phys, virt, type, seg_pages); in sun3_ioremap() 101 phys += seg_pages * PAGE_SIZE; in sun3_ioremap() [all …]
|
/linux-6.1.9/arch/um/kernel/ |
D | physmem.c | 41 void map_memory(unsigned long virt, unsigned long phys, unsigned long len, in map_memory() argument 47 fd = phys_mapping(phys, &offset); in map_memory() 118 int phys_mapping(unsigned long phys, unsigned long long *offset_out) in phys_mapping() argument 122 if (phys < physmem_size) { in phys_mapping() 124 *offset_out = phys; in phys_mapping() 126 else if (phys < __pa(end_iomem)) { in phys_mapping() 130 if ((phys >= region->phys) && in phys_mapping() 131 (phys < region->phys + region->size)) { in phys_mapping() 133 *offset_out = phys - region->phys; in phys_mapping() 139 else if (phys < __pa(end_iomem) + highmem) { in phys_mapping() [all …]
|
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ |
D | mm.c | 29 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() argument 34 err = kvm_pgtable_hyp_map(&pkvm_pgtable, start, size, phys, prot); in __pkvm_create_mappings() 76 int __pkvm_create_private_mapping(phys_addr_t phys, size_t size, in __pkvm_create_private_mapping() argument 83 size = PAGE_ALIGN(size + offset_in_page(phys)); in __pkvm_create_private_mapping() 88 err = __pkvm_create_mappings(addr, size, phys, prot); in __pkvm_create_private_mapping() 92 *haddr = addr + offset_in_page(phys); in __pkvm_create_private_mapping() 101 phys_addr_t phys; in pkvm_create_mappings_locked() local 111 phys = hyp_virt_to_phys((void *)virt_addr); in pkvm_create_mappings_locked() 113 phys, prot); in pkvm_create_mappings_locked() 132 int hyp_back_vmemmap(phys_addr_t phys, unsigned long size, phys_addr_t back) in hyp_back_vmemmap() argument [all …]
|
/linux-6.1.9/arch/powerpc/mm/nohash/ |
D | e500.c | 59 phys_addr_t phys; member 71 return tlbcam_addrs[b].phys + (va - tlbcam_addrs[b].start); in v_block_mapped() 82 if (pa >= tlbcam_addrs[b].phys in p_block_mapped() 84 +tlbcam_addrs[b].phys) in p_block_mapped() 85 return tlbcam_addrs[b].start+(pa-tlbcam_addrs[b].phys); in p_block_mapped() 97 static void settlbcam(int index, unsigned long virt, phys_addr_t phys, in settlbcam() argument 119 TLBCAM[index].MAS3 = (phys & MAS3_RPN) | MAS3_SR; in settlbcam() 122 TLBCAM[index].MAS7 = (u64)phys >> 32; in settlbcam() 135 tlbcam_addrs[index].phys = phys; in settlbcam() 139 phys_addr_t phys) in calc_cam_sz() argument [all …]
|
/linux-6.1.9/arch/arm64/kvm/hyp/include/nvhe/ |
D | memory.h | 18 #define __hyp_va(phys) ((void *)((phys_addr_t)(phys) - hyp_physvirt_offset)) argument 20 static inline void *hyp_phys_to_virt(phys_addr_t phys) in hyp_phys_to_virt() argument 22 return __hyp_va(phys); in hyp_phys_to_virt() 30 #define hyp_phys_to_pfn(phys) ((phys) >> PAGE_SHIFT) argument 32 #define hyp_phys_to_page(phys) (&hyp_vmemmap[hyp_phys_to_pfn(phys)]) argument
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_user_pages.c | 61 dma_addr_t phys; in qib_map_page() local 63 phys = dma_map_page(&hwdev->dev, page, 0, PAGE_SIZE, DMA_FROM_DEVICE); in qib_map_page() 64 if (dma_mapping_error(&hwdev->dev, phys)) in qib_map_page() 67 if (!phys) { in qib_map_page() 68 dma_unmap_page(&hwdev->dev, phys, PAGE_SIZE, DMA_FROM_DEVICE); in qib_map_page() 69 phys = dma_map_page(&hwdev->dev, page, 0, PAGE_SIZE, in qib_map_page() 71 if (dma_mapping_error(&hwdev->dev, phys)) in qib_map_page() 78 *daddr = phys; in qib_map_page()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | acpi.c | 88 void __init __iomem *__acpi_map_table(unsigned long phys, unsigned long size) in __acpi_map_table() argument 93 return early_memremap(phys, size); in __acpi_map_table() 269 void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size) in acpi_os_ioremap() argument 280 if (phys < md->phys_addr || phys >= end) in acpi_os_ioremap() 283 if (phys + size > end) { in acpi_os_ioremap() 306 if (memblock_is_map_memory(phys) || in acpi_os_ioremap() 307 !memblock_is_region_memory(phys, size)) { in acpi_os_ioremap() 308 pr_warn(FW_BUG "requested region covers kernel memory @ %pa\n", &phys); in acpi_os_ioremap() 341 if (memblock_is_map_memory(phys)) in acpi_os_ioremap() 342 return (void __iomem *)__phys_to_virt(phys); in acpi_os_ioremap() [all …]
|
/linux-6.1.9/arch/powerpc/mm/kasan/ |
D | book3s_32.c | 15 phys_addr_t phys; in kasan_init_region() local 26 phys = memblock_phys_alloc_range(k_size, k_size, 0, in kasan_init_region() 28 if (!phys) in kasan_init_region() 31 setbat(idx, k_nobat, phys, k_size, PAGE_KERNEL); in kasan_init_region() 38 phys = memblock_phys_alloc_range(k_end - k_nobat, PAGE_SIZE, 0, in kasan_init_region() 40 if (!phys) in kasan_init_region() 52 pte_t pte = pfn_pte(PHYS_PFN(phys + k_cur - k_nobat), PAGE_KERNEL); in kasan_init_region()
|
/linux-6.1.9/arch/x86/events/intel/ |
D | bts.c | 148 struct bts_phys *phys = &buf->buf[buf->cur_buf]; in bts_config_buffer() local 149 unsigned long index, thresh = 0, end = phys->size; in bts_config_buffer() 150 struct page *page = phys->page; in bts_config_buffer() 155 if (buf->end < phys->offset + buf_size(page)) in bts_config_buffer() 156 end = buf->end - phys->offset - phys->displacement; in bts_config_buffer() 158 index -= phys->offset + phys->displacement; in bts_config_buffer() 168 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; in bts_config_buffer() 176 static void bts_buffer_pad_out(struct bts_phys *phys, unsigned long head) in bts_buffer_pad_out() argument 178 unsigned long index = head - phys->offset; in bts_buffer_pad_out() 180 memset(page_address(phys->page) + index, 0, phys->size - index); in bts_buffer_pad_out() [all …]
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 108 GFP_KERNEL, &pool->elements[i].phys); in lpfc_mem_alloc() 181 pool->elements[i].phys); in lpfc_mem_alloc() 253 pool->elements[i].phys); in lpfc_mem_free() 297 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mem_free_all() 307 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mem_free_all() 321 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mem_free_all() 342 phba->cgn_i->virt, phba->cgn_i->phys); in lpfc_mem_free_all() 392 *handle = pool->elements[pool->current_count].phys; in lpfc_mbuf_alloc() 419 pool->elements[pool->current_count].phys = dma; in __lpfc_mbuf_free() 512 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc() [all …]
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_chain.c | 72 dma_addr_t phys, phys_next; in qed_chain_free_next_ptr() local 78 phys = chain->p_phys_addr; in qed_chain_free_next_ptr() 88 dma_free_coherent(dev, chain->page_size, virt, phys); in qed_chain_free_next_ptr() 91 phys = phys_next; in qed_chain_free_next_ptr() 203 dma_addr_t phys; in qed_chain_alloc_next_ptr() local 207 virt = dma_alloc_coherent(dev, chain->page_size, &phys, in qed_chain_alloc_next_ptr() 213 qed_chain_init_mem(chain, virt, phys); in qed_chain_alloc_next_ptr() 217 phys); in qed_chain_alloc_next_ptr() 235 dma_addr_t phys; in qed_chain_alloc_single() local 239 &phys, GFP_KERNEL); in qed_chain_alloc_single() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/mmu/ |
D | isp_mmu.c | 74 static void *isp_pt_phys_to_virt(phys_addr_t phys) in isp_pt_phys_to_virt() argument 76 return phys_to_virt(phys); in isp_pt_phys_to_virt() 86 phys_addr_t phys) in isp_pgaddr_to_pte_valid() argument 88 unsigned int pte = mmu->driver->phys_to_pte(mmu, phys); in isp_pgaddr_to_pte_valid() 201 unsigned int start, unsigned int end, phys_addr_t phys) in mmu_l2_map() argument 211 phys &= ISP_PAGE_MASK; in mmu_l2_map() 221 l2_pt, idx, ptr, pte, phys); in mmu_l2_map() 229 pte = isp_pgaddr_to_pte_valid(mmu, phys); in mmu_l2_map() 234 phys += (1U << ISP_L2PT_OFFSET); in mmu_l2_map() 246 phys_addr_t phys) in mmu_l1_map() argument [all …]
|