/linux-3.4.99/arch/mips/powertv/asic/ |
D | asic-zeus.c | 32 .eic_slow0_strt_add = {.phys = ZEUS_ADDR(0x000000)}, 33 .eic_cfg_bits = {.phys = ZEUS_ADDR(0x000038)}, 34 .eic_ready_status = {.phys = ZEUS_ADDR(0x00004c)}, 36 .chipver3 = {.phys = ZEUS_ADDR(0x280800)}, 37 .chipver2 = {.phys = ZEUS_ADDR(0x280804)}, 38 .chipver1 = {.phys = ZEUS_ADDR(0x280808)}, 39 .chipver0 = {.phys = ZEUS_ADDR(0x28080c)}, 42 .uart1_intstat = {.phys = ZEUS_ADDR(0x281800)}, 43 .uart1_inten = {.phys = ZEUS_ADDR(0x281804)}, 44 .uart1_config1 = {.phys = ZEUS_ADDR(0x281808)}, [all …]
|
D | asic-calliope.c | 32 .eic_slow0_strt_add = {.phys = CALLIOPE_ADDR(0x800000)}, 33 .eic_cfg_bits = {.phys = CALLIOPE_ADDR(0x800038)}, 34 .eic_ready_status = {.phys = CALLIOPE_ADDR(0x80004c)}, 36 .chipver3 = {.phys = CALLIOPE_ADDR(0xA00800)}, 37 .chipver2 = {.phys = CALLIOPE_ADDR(0xA00804)}, 38 .chipver1 = {.phys = CALLIOPE_ADDR(0xA00808)}, 39 .chipver0 = {.phys = CALLIOPE_ADDR(0xA0080c)}, 42 .uart1_intstat = {.phys = CALLIOPE_ADDR(0xA01800)}, 43 .uart1_inten = {.phys = CALLIOPE_ADDR(0xA01804)}, 44 .uart1_config1 = {.phys = CALLIOPE_ADDR(0xA01808)}, [all …]
|
D | asic-gaia.c | 27 .eic_slow0_strt_add = {.phys = GAIA_IO_BASE + 0x000000}, 28 .eic_cfg_bits = {.phys = GAIA_IO_BASE + 0x000038}, 29 .eic_ready_status = {.phys = GAIA_IO_BASE + 0x00004C}, 31 .chipver3 = {.phys = GAIA_IO_BASE + 0x2A0800}, 32 .chipver2 = {.phys = GAIA_IO_BASE + 0x2A0804}, 33 .chipver1 = {.phys = GAIA_IO_BASE + 0x2A0808}, 34 .chipver0 = {.phys = GAIA_IO_BASE + 0x2A080C}, 37 .uart1_intstat = {.phys = GAIA_IO_BASE + 0x2A1800}, 38 .uart1_inten = {.phys = GAIA_IO_BASE + 0x2A1804}, 39 .uart1_config1 = {.phys = GAIA_IO_BASE + 0x2A1808}, [all …]
|
D | asic-cronus.c | 32 .eic_slow0_strt_add = {.phys = CRONUS_ADDR(0x000000)}, 33 .eic_cfg_bits = {.phys = CRONUS_ADDR(0x000038)}, 34 .eic_ready_status = {.phys = CRONUS_ADDR(0x00004C)}, 36 .chipver3 = {.phys = CRONUS_ADDR(0x2A0800)}, 37 .chipver2 = {.phys = CRONUS_ADDR(0x2A0804)}, 38 .chipver1 = {.phys = CRONUS_ADDR(0x2A0808)}, 39 .chipver0 = {.phys = CRONUS_ADDR(0x2A080C)}, 42 .uart1_intstat = {.phys = CRONUS_ADDR(0x2A1800)}, 43 .uart1_inten = {.phys = CRONUS_ADDR(0x2A1804)}, 44 .uart1_config1 = {.phys = CRONUS_ADDR(0x2A1808)}, [all …]
|
/linux-3.4.99/sound/core/ |
D | pcm_misc.c | 33 unsigned char phys; /* physical bit width */ member 44 .width = 8, .phys = 8, .le = -1, .signd = 1, 48 .width = 8, .phys = 8, .le = -1, .signd = 0, 52 .width = 16, .phys = 16, .le = 1, .signd = 1, 56 .width = 16, .phys = 16, .le = 0, .signd = 1, 60 .width = 16, .phys = 16, .le = 1, .signd = 0, 64 .width = 16, .phys = 16, .le = 0, .signd = 0, 68 .width = 24, .phys = 32, .le = 1, .signd = 1, 72 .width = 24, .phys = 32, .le = 0, .signd = 1, 76 .width = 24, .phys = 32, .le = 1, .signd = 0, [all …]
|
/linux-3.4.99/drivers/gpu/drm/nouveau/ |
D | nv50_vm.c | 34 u64 phys = 0xdeadcafe00000000ULL; in nv50_vm_map_pgt() local 38 phys = 0x00000003 | pgt[0]->vinst; /* present, 4KiB pages */ in nv50_vm_map_pgt() 42 phys = 0x00000001 | pgt[1]->vinst; /* present */ in nv50_vm_map_pgt() 46 if (phys & 1) { in nv50_vm_map_pgt() 48 phys |= 0x60; in nv50_vm_map_pgt() 50 phys |= 0x40; in nv50_vm_map_pgt() 52 phys |= 0x20; in nv50_vm_map_pgt() 55 nv_wo32(pgd, (pde * 8) + 0, lower_32_bits(phys)); in nv50_vm_map_pgt() 56 nv_wo32(pgd, (pde * 8) + 4, upper_32_bits(phys)); in nv50_vm_map_pgt() 60 vm_addr(struct nouveau_vma *vma, u64 phys, u32 memtype, u32 target) in vm_addr() argument [all …]
|
D | nvc0_vm.c | 46 nvc0_vm_addr(struct nouveau_vma *vma, u64 phys, u32 memtype, u32 target) in nvc0_vm_addr() argument 48 phys >>= 8; in nvc0_vm_addr() 50 phys |= 0x00000001; /* present */ in nvc0_vm_addr() 52 phys |= 0x00000002; in nvc0_vm_addr() 54 phys |= ((u64)target << 32); in nvc0_vm_addr() 55 phys |= ((u64)memtype << 36); in nvc0_vm_addr() 57 return phys; in nvc0_vm_addr() 62 struct nouveau_mem *mem, u32 pte, u32 cnt, u64 phys, u64 delta) in nvc0_vm_map() argument 66 phys = nvc0_vm_addr(vma, phys, mem->memtype, 0); in nvc0_vm_map() 69 nv_wo32(pgt, pte + 0, lower_32_bits(phys)); in nvc0_vm_map() [all …]
|
/linux-3.4.99/fs/bfs/ |
D | file.c | 68 unsigned long phys; in bfs_get_block() local 74 phys = bi->i_sblock + block; in bfs_get_block() 76 if (phys <= bi->i_eblock) { in bfs_get_block() 78 create, (unsigned long)block, phys); in bfs_get_block() 79 map_bh(bh_result, sb, phys); in bfs_get_block() 88 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block() 90 create, (unsigned long)block, phys); in bfs_get_block() 91 map_bh(bh_result, sb, phys); in bfs_get_block() 96 if (phys >= info->si_blocks) in bfs_get_block() 109 create, (unsigned long)block, phys); in bfs_get_block() [all …]
|
/linux-3.4.99/drivers/mtd/maps/ |
D | ichxrom.c | 37 unsigned long phys; member 80 window->phys = 0; in ichxrom_cleanup() 110 window->phys = 0; in ichxrom_init_one() 113 window->phys = 0xffc00000; in ichxrom_init_one() 116 window->phys = 0xff400000; in ichxrom_init_one() 119 window->phys = 0xff500000; in ichxrom_init_one() 122 window->phys = 0xff600000; in ichxrom_init_one() 125 window->phys = 0xff700000; in ichxrom_init_one() 129 window->phys = 0xffc80000; in ichxrom_init_one() 132 window->phys = 0xffd00000; in ichxrom_init_one() [all …]
|
D | esb2rom.c | 98 unsigned long phys; member 141 window->phys = 0; in esb2rom_cleanup() 186 window->phys = 0; in esb2rom_init_one() 191 window->phys = 0xff400000; in esb2rom_init_one() 193 window->phys = 0xff500000; in esb2rom_init_one() 195 window->phys = 0xff600000; in esb2rom_init_one() 197 window->phys = 0xFF700000; in esb2rom_init_one() 199 window->phys = 0xffc00000; in esb2rom_init_one() 201 window->phys = 0xffc80000; in esb2rom_init_one() 203 window->phys = 0xffd00000; in esb2rom_init_one() [all …]
|
D | amd76xrom.c | 32 unsigned long phys; member 96 window->phys = 0; in amd76xrom_cleanup() 128 window->phys = 0xffb00000; /* 5MiB */ in amd76xrom_init_one() 131 window->phys = 0xffc00000; /* 4MiB */ in amd76xrom_init_one() 134 window->phys = 0xffff0000; /* 64KiB */ in amd76xrom_init_one() 136 window->size = 0xffffffffUL - window->phys + 1UL; in amd76xrom_init_one() 146 window->rsrc.start = window->phys; in amd76xrom_init_one() 147 window->rsrc.end = window->phys + window->size - 1; in amd76xrom_init_one() 165 window->virt = ioremap_nocache(window->phys, window->size); in amd76xrom_init_one() 168 window->phys, window->size); in amd76xrom_init_one() [all …]
|
D | ck804xrom.c | 36 unsigned long phys; member 108 window->phys = 0; in ck804xrom_cleanup() 144 window->phys = 0xffb00000; /* 5MiB */ in ck804xrom_init_one() 146 window->phys = 0xffc00000; /* 4MiB */ in ck804xrom_init_one() 148 window->phys = 0xffff0000; /* 64KiB */ in ck804xrom_init_one() 161 window->phys = 0xff000000; /* 16MiB, hardcoded for now */ in ck804xrom_init_one() 165 window->size = 0xffffffffUL - window->phys + 1UL; in ck804xrom_init_one() 175 window->rsrc.start = window->phys; in ck804xrom_init_one() 176 window->rsrc.end = window->phys + window->size - 1; in ck804xrom_init_one() 193 window->virt = ioremap_nocache(window->phys, window->size); in ck804xrom_init_one() [all …]
|
D | uclinux.c | 29 .phys = (unsigned long)&_ebss, 46 size_t *retlen, void **virt, resource_size_t *phys) in uclinux_point() argument 50 if (phys) in uclinux_point() 51 *phys = map->phys + from; in uclinux_point() 65 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8)))); in uclinux_mtd_init() 69 (int) mapp->phys, (int) mapp->size); in uclinux_mtd_init() 71 mapp->virt = ioremap_nocache(mapp->phys, mapp->size); in uclinux_mtd_init()
|
/linux-3.4.99/arch/xtensa/mm/ |
D | cache.c | 87 unsigned long phys = page_to_phys(page); in flush_dcache_page() local 89 unsigned long alias = !(DCACHE_ALIAS_EQ(temp, phys)); in flush_dcache_page() 107 __flush_invalidate_dcache_page_alias(virt, phys); in flush_dcache_page() 110 __invalidate_icache_page_alias(virt, phys); in flush_dcache_page() 140 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in flush_cache_page() local 143 __flush_invalidate_dcache_page_alias(virt, phys); in flush_cache_page() 144 __invalidate_icache_page_alias(virt, phys); in flush_cache_page() 171 unsigned long phys = page_to_phys(page); in update_mmu_cache() local 175 __flush_invalidate_dcache_page_alias(vaddr, phys); in update_mmu_cache() 176 __invalidate_icache_page_alias(vaddr, phys); in update_mmu_cache() [all …]
|
/linux-3.4.99/arch/x86/include/asm/ |
D | fixmap.h | 168 phys_addr_t phys, pgprot_t flags); 172 phys_addr_t phys, pgprot_t flags) in __set_fixmap() argument 174 native_set_fixmap(idx, phys, flags); in __set_fixmap() 178 #define set_fixmap(idx, phys) \ argument 179 __set_fixmap(idx, phys, PAGE_KERNEL) 184 #define set_fixmap_nocache(idx, phys) \ argument 185 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 225 __set_fixmap_offset(enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags) in __set_fixmap_offset() argument 227 __set_fixmap(idx, phys, flags); in __set_fixmap_offset() 228 return fix_to_virt(idx) + (phys & (PAGE_SIZE - 1)); in __set_fixmap_offset() [all …]
|
/linux-3.4.99/arch/m68k/mm/ |
D | sun3kmap.c | 30 static inline void do_page_mapin(unsigned long phys, unsigned long virt, in do_page_mapin() argument 36 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-3.4.99/arch/um/kernel/ |
D | physmem.c | 60 void map_memory(unsigned long virt, unsigned long phys, unsigned long len, in map_memory() argument 66 fd = phys_mapping(phys, &offset); in map_memory() 112 int phys_mapping(unsigned long phys, unsigned long long *offset_out) in phys_mapping() argument 116 if (phys < physmem_size) { in phys_mapping() 118 *offset_out = phys; in phys_mapping() 120 else if (phys < __pa(end_iomem)) { in phys_mapping() 124 if ((phys >= region->phys) && in phys_mapping() 125 (phys < region->phys + region->size)) { in phys_mapping() 127 *offset_out = phys - region->phys; in phys_mapping() 133 else if (phys < __pa(end_iomem) + highmem) { in phys_mapping() [all …]
|
/linux-3.4.99/arch/powerpc/mm/ |
D | fsl_booke_mmu.c | 66 phys_addr_t phys; member 84 return tlbcam_addrs[b].phys + (va - tlbcam_addrs[b].start); in v_mapped_by_tlbcam() 95 if (pa >= tlbcam_addrs[b].phys in p_mapped_by_tlbcam() 97 +tlbcam_addrs[b].phys) in p_mapped_by_tlbcam() 98 return tlbcam_addrs[b].start+(pa-tlbcam_addrs[b].phys); in p_mapped_by_tlbcam() 109 static void settlbcam(int index, unsigned long virt, phys_addr_t phys, in settlbcam() argument 131 TLBCAM[index].MAS3 = (phys & MAS3_RPN) | MAS3_SX | MAS3_SR; in settlbcam() 134 TLBCAM[index].MAS7 = (u64)phys >> 32; in settlbcam() 144 tlbcam_addrs[index].phys = phys; in settlbcam() 150 phys_addr_t phys) in calc_cam_sz() argument [all …]
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_user_pages.c | 109 dma_addr_t phys; in ipath_map_page() local 111 phys = pci_map_page(hwdev, page, offset, size, direction); in ipath_map_page() 113 if (phys == 0) { in ipath_map_page() 114 pci_unmap_page(hwdev, phys, size, direction); in ipath_map_page() 115 phys = pci_map_page(hwdev, page, offset, size, direction); in ipath_map_page() 122 return phys; in ipath_map_page() 133 dma_addr_t phys; in ipath_map_single() local 135 phys = pci_map_single(hwdev, ptr, size, direction); in ipath_map_single() 137 if (phys == 0) { in ipath_map_single() 138 pci_unmap_single(hwdev, phys, size, direction); in ipath_map_single() [all …]
|
/linux-3.4.99/arch/mips/powertv/ |
D | ioremap.c | 96 static void setup_phys_to_dma(phys_addr_t phys, dma_addr_t delta, phys_addr_t s) in setup_phys_to_dma() argument 105 first = phys & ~IOR_PHYS_GRAIN_MASK; in setup_phys_to_dma() 106 last = (phys + s - 1) & ~IOR_PHYS_GRAIN_MASK; in setup_phys_to_dma() 123 void ioremap_add_map(phys_addr_t phys, phys_addr_t dma, phys_addr_t size) in ioremap_add_map() argument 129 (phys & IOR_PHYS_GRAIN_MASK) != 0 || in ioremap_add_map() 134 setup_dma_to_phys(dma, phys - dma, size); in ioremap_add_map() 135 setup_phys_to_dma(phys, dma - phys, size); in ioremap_add_map()
|
/linux-3.4.99/arch/arm/mach-realview/include/mach/ |
D | memory.h | 59 #define __phys_to_virt(phys) \ argument 60 ((phys) >= 0x80000000 ? (phys) - 0x80000000 + PAGE_OFFSET2 : \ 61 (phys) >= 0x20000000 ? (phys) - 0x20000000 + PAGE_OFFSET1 : \ 62 (phys) + PAGE_OFFSET)
|
/linux-3.4.99/arch/arm/mach-bcmring/include/mach/csp/ |
D | mm_io.h | 50 #define MM_IO_PHYS_TO_VIRT(phys) (0xF0000000 | (((phys) >> 4) & 0x0F000000) | ((phys) & 0xFFF… 52 #define MM_IO_PHYS_TO_VIRT(phys) (((phys) == MM_ADDR_IO_VPM_EXTMEM_RSVD) ? 0xF0000000 : \ argument 53 (0xF0000000 | (((phys) >> 4) & 0x0F000000) | ((phys) & 0xFFFFFF))) 71 #define MM_IO_PHYS_TO_VIRT(phys) (phys) argument
|
/linux-3.4.99/arch/sh/include/asm/ |
D | mmu.h | 61 int pmb_bolt_mapping(unsigned long virt, phys_addr_t phys, 63 void __iomem *pmb_remap_caller(phys_addr_t phys, unsigned long size, 70 pmb_bolt_mapping(unsigned long virt, phys_addr_t phys, in pmb_bolt_mapping() argument 77 pmb_remap_caller(phys_addr_t phys, unsigned long size, in pmb_remap_caller() argument 99 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) in pmb_remap() argument 101 return pmb_remap_caller(phys, size, prot, __builtin_return_address(0)); in pmb_remap()
|
/linux-3.4.99/drivers/scsi/sym53c8xx_2/ |
D | sym_fw2.h | 318 offsetof (struct sym_ccb, phys.head.status), 468 offsetof (struct sym_ccb, phys.head.lastp), 527 offsetof (struct sym_ccb, phys.head.lastp), 559 offsetof (struct sym_ccb, phys.head.lastp), 575 offsetof (struct sym_ccb, phys.head.lastp), 667 offsetof (struct sym_ccb, phys.head.status), 677 offsetof (struct sym_ccb, phys.head.status), 753 offsetof (struct sym_ccb, phys.head.lastp), 755 offsetof (struct sym_ccb, phys.head.savep), 775 offsetof (struct sym_ccb, phys.head.savep), [all …]
|
/linux-3.4.99/arch/sh/boards/mach-sdk7786/ |
D | sram.c | 23 unsigned long phys; in fpga_sram_init() local 47 phys = (area << 26) + SZ_64M - SZ_4K; in fpga_sram_init() 53 vaddr = ioremap(phys, SZ_2K); in fpga_sram_init() 61 SZ_2K >> 10, phys, phys + SZ_2K - 1, area); in fpga_sram_init()
|