/linux-4.4.14/include/acpi/ |
H A D | acpi_io.h | 9 static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_os_ioremap() argument 12 return ioremap_cache(phys, size); acpi_os_ioremap() 17 acpi_os_map_iomem(acpi_physical_address phys, acpi_size size); 19 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
|
/linux-4.4.14/arch/um/include/shared/ |
H A D | mem.h | 9 extern int phys_mapping(unsigned long phys, unsigned long long *offset_out); 17 static inline void *to_virt(unsigned long phys) to_virt() argument 19 return((void *) uml_physmem + phys); to_virt()
|
H A D | mem_user.h | 40 unsigned long phys; member in struct:iomem_region 58 extern unsigned long phys_offset(unsigned long phys); 59 extern void map_memory(unsigned long virt, unsigned long phys,
|
/linux-4.4.14/include/asm-generic/ |
H A D | fixmap.h | 63 #define set_fixmap(idx, phys) \ 64 __set_fixmap(idx, phys, FIXMAP_PAGE_NORMAL) 73 #define __set_fixmap_offset(idx, phys, flags) \ 76 __set_fixmap(idx, phys, flags); \ 77 addr = fix_to_virt(idx) + ((phys) & (PAGE_SIZE - 1)); \ 81 #define set_fixmap_offset(idx, phys) \ 82 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NORMAL) 87 #define set_fixmap_nocache(idx, phys) \ 88 __set_fixmap(idx, phys, FIXMAP_PAGE_NOCACHE) 90 #define set_fixmap_offset_nocache(idx, phys) \ 91 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NOCACHE) 96 #define set_fixmap_io(idx, phys) \ 97 __set_fixmap(idx, phys, FIXMAP_PAGE_IO) 99 #define set_fixmap_offset_io(idx, phys) \ 100 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_IO)
|
/linux-4.4.14/fs/bfs/ |
H A D | file.c | 66 unsigned long phys; bfs_get_block() local 72 phys = bi->i_sblock + block; bfs_get_block() 74 if (phys <= bi->i_eblock) { bfs_get_block() 75 dprintf("c=%d, b=%08lx, phys=%09lx (granted)\n", bfs_get_block() 76 create, (unsigned long)block, phys); bfs_get_block() 77 map_bh(bh_result, sb, phys); bfs_get_block() 86 if (bi->i_sblock && (phys <= bi->i_eblock)) { bfs_get_block() 87 dprintf("c=%d, b=%08lx, phys=%08lx (interim block granted)\n", bfs_get_block() 88 create, (unsigned long)block, phys); bfs_get_block() 89 map_bh(bh_result, sb, phys); bfs_get_block() 94 if (phys >= info->si_blocks) bfs_get_block() 106 dprintf("c=%d, b=%08lx, phys=%08lx (simple extension)\n", bfs_get_block() 107 create, (unsigned long)block, phys); bfs_get_block() 108 map_bh(bh_result, sb, phys); bfs_get_block() 109 info->si_freeb -= phys - bi->i_eblock; bfs_get_block() 110 info->si_lf_eblk = bi->i_eblock = phys; bfs_get_block() 117 phys = info->si_lf_eblk + 1; bfs_get_block() 118 if (phys + block >= info->si_blocks) { bfs_get_block() 125 bi->i_eblock, phys); bfs_get_block() 134 dprintf("c=%d, b=%08lx, phys=%08lx (moved)\n", bfs_get_block() 135 create, (unsigned long)block, phys); bfs_get_block() 136 bi->i_sblock = phys; bfs_get_block() 137 phys += block; bfs_get_block() 138 info->si_lf_eblk = bi->i_eblock = phys; bfs_get_block() 146 map_bh(bh_result, sb, phys); bfs_get_block()
|
/linux-4.4.14/drivers/gpu/drm/bridge/ |
H A D | dw_hdmi-audio.h | 7 phys_addr_t phys; member in struct:dw_hdmi_audio_data
|
/linux-4.4.14/drivers/mtd/maps/ |
H A D | uclinux.c | 59 size_t *retlen, void **virt, resource_size_t *phys) uclinux_point() 63 if (phys) uclinux_point() 64 *phys = map->phys + from; uclinux_point() 79 mapp->phys = (resource_size_t)__bss_stop; uclinux_mtd_init() 81 mapp->phys = physaddr; uclinux_mtd_init() 84 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8)))); uclinux_mtd_init() 88 (int) mapp->phys, (int) mapp->size); uclinux_mtd_init() 96 mapp->virt = phys_to_virt(mapp->phys); uclinux_mtd_init() 58 uclinux_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, void **virt, resource_size_t *phys) uclinux_point() argument
|
H A D | ichxrom.c | 37 unsigned long phys; member in struct:ichxrom_window 80 window->phys = 0; ichxrom_cleanup() 110 window->phys = 0; ichxrom_init_one() 113 window->phys = 0xffc00000; ichxrom_init_one() 116 window->phys = 0xff400000; ichxrom_init_one() 119 window->phys = 0xff500000; ichxrom_init_one() 122 window->phys = 0xff600000; ichxrom_init_one() 125 window->phys = 0xff700000; ichxrom_init_one() 129 window->phys = 0xffc80000; ichxrom_init_one() 132 window->phys = 0xffd00000; ichxrom_init_one() 135 window->phys = 0xffd80000; ichxrom_init_one() 138 window->phys = 0xffe00000; ichxrom_init_one() 141 window->phys = 0xffe80000; ichxrom_init_one() 144 window->phys = 0xfff00000; ichxrom_init_one() 147 window->phys = 0xfff80000; ichxrom_init_one() 150 if (window->phys == 0) { ichxrom_init_one() 154 window->phys -= 0x400000UL; ichxrom_init_one() 155 window->size = (0xffffffffUL - window->phys) + 1UL; ichxrom_init_one() 173 window->rsrc.start = window->phys; ichxrom_init_one() 174 window->rsrc.end = window->phys + window->size - 1; ichxrom_init_one() 184 window->virt = ioremap_nocache(window->phys, window->size); ichxrom_init_one() 187 window->phys, window->size); ichxrom_init_one() 192 map_top = window->phys; ichxrom_init_one() 193 if ((window->phys & 0x3fffff) != 0) { ichxrom_init_one() 194 map_top = window->phys + 0x400000; ichxrom_init_one() 221 map->map.phys = map_top; ichxrom_init_one() 222 offset = map_top - window->phys; ichxrom_init_one() 228 MOD_NAME, (unsigned long long)map->map.phys); ichxrom_init_one() 270 map->rsrc.start = map->map.phys; ichxrom_init_one() 271 map->rsrc.end = map->map.phys + map->mtd->size - 1; ichxrom_init_one() 282 map->map.phys = window->phys; ichxrom_init_one()
|
H A D | solutionengine.c | 39 soleng_flash_map.phys = 0; init_soleng_maps() 41 soleng_eprom_map.phys = 0x01000000; init_soleng_maps() 51 soleng_flash_map.phys = 0x01000000; init_soleng_maps() 53 soleng_eprom_map.phys = 0; init_soleng_maps() 63 soleng_flash_map.phys & 0x1fffffff, init_soleng_maps() 64 soleng_eprom_map.phys & 0x1fffffff); init_soleng_maps()
|
H A D | esb2rom.c | 98 unsigned long phys; member in struct:esb2rom_window 141 window->phys = 0; esb2rom_cleanup() 186 window->phys = 0; esb2rom_init_one() 191 window->phys = 0xff400000; esb2rom_init_one() 193 window->phys = 0xff500000; esb2rom_init_one() 195 window->phys = 0xff600000; esb2rom_init_one() 197 window->phys = 0xFF700000; esb2rom_init_one() 199 window->phys = 0xffc00000; esb2rom_init_one() 201 window->phys = 0xffc80000; esb2rom_init_one() 203 window->phys = 0xffd00000; esb2rom_init_one() 205 window->phys = 0xffd80000; esb2rom_init_one() 207 window->phys = 0xffe00000; esb2rom_init_one() 209 window->phys = 0xffe80000; esb2rom_init_one() 211 window->phys = 0xfff00000; esb2rom_init_one() 213 window->phys = 0xfff80000; esb2rom_init_one() 215 if (window->phys == 0) { esb2rom_init_one() 221 window->phys -= 0x400000UL; esb2rom_init_one() 222 window->size = (0xffffffffUL - window->phys) + 1UL; esb2rom_init_one() 240 window->rsrc.start = window->phys; esb2rom_init_one() 241 window->rsrc.end = window->phys + window->size - 1; esb2rom_init_one() 251 window->virt = ioremap_nocache(window->phys, window->size); esb2rom_init_one() 254 window->phys, window->size); esb2rom_init_one() 259 map_top = window->phys; esb2rom_init_one() 260 if ((window->phys & 0x3fffff) != 0) { esb2rom_init_one() 262 map_top = window->phys + 0x400000; esb2rom_init_one() 288 map->map.phys = map_top; esb2rom_init_one() 289 offset = map_top - window->phys; esb2rom_init_one() 295 MOD_NAME, (unsigned long long)map->map.phys); esb2rom_init_one() 336 map->rsrc.start = map->map.phys; esb2rom_init_one() 337 map->rsrc.end = map->map.phys + map->mtd->size - 1; esb2rom_init_one() 348 map->map.phys = window->phys; esb2rom_init_one()
|
H A D | ck804xrom.c | 36 unsigned long phys; member in struct:ck804xrom_window 108 window->phys = 0; ck804xrom_cleanup() 144 window->phys = 0xffb00000; /* 5MiB */ ck804xrom_init_one() 146 window->phys = 0xffc00000; /* 4MiB */ ck804xrom_init_one() 148 window->phys = 0xffff0000; /* 64KiB */ ck804xrom_init_one() 161 window->phys = 0xff000000; /* 16MiB, hardcoded for now */ ck804xrom_init_one() 165 window->size = 0xffffffffUL - window->phys + 1UL; ck804xrom_init_one() 175 window->rsrc.start = window->phys; ck804xrom_init_one() 176 window->rsrc.end = window->phys + window->size - 1; ck804xrom_init_one() 193 window->virt = ioremap_nocache(window->phys, window->size); ck804xrom_init_one() 196 window->phys, window->size); ck804xrom_init_one() 201 map_top = window->phys; ck804xrom_init_one() 229 map->map.phys = map_top; ck804xrom_init_one() 230 offset = map_top - window->phys; ck804xrom_init_one() 236 MOD_NAME, (unsigned long long)map->map.phys); ck804xrom_init_one() 275 map->rsrc.start = map->map.phys; ck804xrom_init_one() 276 map->rsrc.end = map->map.phys + map->mtd->size - 1; ck804xrom_init_one() 287 map->map.phys = window->phys; ck804xrom_init_one()
|
H A D | amd76xrom.c | 32 unsigned long phys; member in struct:amd76xrom_window 96 window->phys = 0; amd76xrom_cleanup() 128 window->phys = 0xffb00000; /* 5MiB */ amd76xrom_init_one() 131 window->phys = 0xffc00000; /* 4MiB */ amd76xrom_init_one() 134 window->phys = 0xffff0000; /* 64KiB */ amd76xrom_init_one() 136 window->size = 0xffffffffUL - window->phys + 1UL; amd76xrom_init_one() 146 window->rsrc.start = window->phys; amd76xrom_init_one() 147 window->rsrc.end = window->phys + window->size - 1; amd76xrom_init_one() 165 window->virt = ioremap_nocache(window->phys, window->size); amd76xrom_init_one() 168 window->phys, window->size); amd76xrom_init_one() 173 map_top = window->phys; amd76xrom_init_one() 199 map->map.phys = map_top; amd76xrom_init_one() 200 offset = map_top - window->phys; amd76xrom_init_one() 206 MOD_NAME, (unsigned long long)map->map.phys); amd76xrom_init_one() 245 map->rsrc.start = map->map.phys; amd76xrom_init_one() 246 map->rsrc.end = map->map.phys + map->mtd->size - 1; amd76xrom_init_one() 257 map->map.phys = window->phys; amd76xrom_init_one()
|
H A D | sa1100-flash.c | 63 release_mem_region(subdev->map.phys, subdev->map.size); sa1100_destroy_subdev() 68 unsigned long phys; sa1100_probe_subdev() local 72 phys = res->start; sa1100_probe_subdev() 73 size = res->end - phys + 1; sa1100_probe_subdev() 79 switch (phys) { sa1100_probe_subdev() 82 "0x%08lx, assuming CS0\n", phys); sa1100_probe_subdev() 93 if (!request_mem_region(phys, size, subdev->name)) { sa1100_probe_subdev() 101 subdev->map.phys = phys; sa1100_probe_subdev() 103 subdev->map.virt = ioremap(phys, size); sa1100_probe_subdev() 122 phys, (unsigned)(subdev->mtd->size >> 20), sa1100_probe_subdev()
|
H A D | pxa2xx-flash.c | 65 info->map.phys = res->start; pxa2xx_flash_probe() 68 info->map.virt = ioremap(info->map.phys, info->map.size); pxa2xx_flash_probe() 74 info->map.cached = memremap(info->map.phys, info->map.size, pxa2xx_flash_probe() 85 info->map.name, (unsigned long)info->map.phys, pxa2xx_flash_probe()
|
H A D | sc520cdp.c | 91 .phys = WINDOW_ADDR_0 97 .phys = WINDOW_ADDR_1 103 .phys = WINDOW_ADDR_2 195 sc520cdp_map[i].phys = par_table[i].default_address; sc520cdp_setup_par() 220 sc520cdp_map[i].phys = par_table[i].default_address; sc520cdp_setup_par() 240 (unsigned long long)sc520cdp_map[i].phys); init_sc520cdp() 242 sc520cdp_map[i].virt = ioremap_nocache(sc520cdp_map[i].phys, sc520cdp_map[i].size); init_sc520cdp()
|
H A D | netsc520.c | 86 .phys = WINDOW_ADDR, 97 (unsigned long long)netsc520_map.phys); init_netsc520() 98 netsc520_map.virt = ioremap_nocache(netsc520_map.phys, netsc520_map.size); init_netsc520()
|
H A D | rbtx4939-flash.c | 78 info->map.phys = res->start; rbtx4939_flash_probe() 82 info->map.virt = devm_ioremap(&dev->dev, info->map.phys, size); rbtx4939_flash_probe()
|
H A D | ts5500_flash.c | 43 .phys = WINDOW_ADDR 72 ts5500_map.virt = ioremap_nocache(ts5500_map.phys, ts5500_map.size); init_ts5500_map()
|
H A D | tsunami_flash.c | 64 .phys = NO_XIP,
|
/linux-4.4.14/sound/core/ |
H A D | pcm_misc.c | 33 unsigned char phys; /* physical bit width */ member in struct:pcm_format_data 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, 80 .width = 24, .phys = 32, .le = 0, .signd = 0, 84 .width = 32, .phys = 32, .le = 1, .signd = 1, 88 .width = 32, .phys = 32, .le = 0, .signd = 1, 92 .width = 32, .phys = 32, .le = 1, .signd = 0, 96 .width = 32, .phys = 32, .le = 0, .signd = 0, 100 .width = 32, .phys = 32, .le = 1, .signd = -1, 104 .width = 32, .phys = 32, .le = 0, .signd = -1, 108 .width = 64, .phys = 64, .le = 1, .signd = -1, 112 .width = 64, .phys = 64, .le = 0, .signd = -1, 116 .width = 32, .phys = 32, .le = 1, .signd = -1, 120 .width = 32, .phys = 32, .le = 0, .signd = -1, 124 .width = 8, .phys = 8, .le = -1, .signd = -1, 128 .width = 8, .phys = 8, .le = -1, .signd = -1, 132 .width = 4, .phys = 4, .le = -1, .signd = -1, 136 .width = 3, .phys = 3, .le = -1, .signd = -1, 140 .width = 5, .phys = 5, .le = -1, .signd = -1, 144 .width = 8, .phys = 8, .le = 1, .signd = 0, 148 .width = 16, .phys = 16, .le = 1, .signd = 0, 152 .width = 32, .phys = 32, .le = 1, .signd = 0, 156 .width = 16, .phys = 16, .le = 0, .signd = 0, 160 .width = 32, .phys = 32, .le = 0, .signd = 0, 174 .width = 24, .phys = 24, .le = 1, .signd = 1, 178 .width = 24, .phys = 24, .le = 0, .signd = 1, 182 .width = 24, .phys = 24, .le = 1, .signd = 0, 186 .width = 24, .phys = 24, .le = 0, .signd = 0, 190 .width = 20, .phys = 24, .le = 1, .signd = 1, 194 .width = 20, .phys = 24, .le = 0, .signd = 1, 198 .width = 20, .phys = 24, .le = 1, .signd = 0, 202 .width = 20, .phys = 24, .le = 0, .signd = 0, 206 .width = 18, .phys = 24, .le = 1, .signd = 1, 210 .width = 18, .phys = 24, .le = 0, .signd = 1, 214 .width = 18, .phys = 24, .le = 1, .signd = 0, 218 .width = 18, .phys = 24, .le = 0, .signd = 0, 222 .width = 3, .phys = 8, .le = -1, .signd = -1, 226 .width = 5, .phys = 8, .le = -1, .signd = -1, 352 if ((val = pcm_formats[(INT)format].phys) == 0) snd_pcm_format_physical_width() 387 if (! pcm_formats[(INT)format].phys) snd_pcm_format_silence_64() 413 width = pcm_formats[(INT)format].phys; /* physical width */ snd_pcm_format_set_silence()
|
/linux-4.4.14/arch/m68k/mm/ |
H A D | sun3kmap.c | 30 static inline void do_page_mapin(unsigned long phys, unsigned long virt, do_page_mapin() argument 36 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); do_page_mapin() 48 static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt, do_pmeg_mapin() argument 56 do_page_mapin(phys, virt, type); do_pmeg_mapin() 57 phys += PAGE_SIZE; do_pmeg_mapin() 63 void __iomem *sun3_ioremap(unsigned long phys, unsigned long size, sun3_ioremap() argument 74 offset = phys & (PAGE_SIZE-1); sun3_ioremap() 75 phys &= ~(PAGE_SIZE-1); sun3_ioremap() 98 do_pmeg_mapin(phys, virt, type, seg_pages); sun3_ioremap() 101 phys += seg_pages * PAGE_SIZE; sun3_ioremap() 111 void __iomem *__ioremap(unsigned long phys, unsigned long size, int cache) __ioremap() argument 114 return sun3_ioremap(phys, size, SUN3_PAGE_TYPE_IO); __ioremap()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | nv50.c | 34 u64 phys = 0xdeadcafe00000000ULL; nv50_vm_map_pgt() local 39 phys = 0x00000003 | nvkm_memory_addr(pgt[0]); nv50_vm_map_pgt() 44 phys = 0x00000001 | nvkm_memory_addr(pgt[1]); nv50_vm_map_pgt() 48 if (phys & 1) { nv50_vm_map_pgt() 50 phys |= 0x60; nv50_vm_map_pgt() 52 phys |= 0x40; nv50_vm_map_pgt() 54 phys |= 0x20; nv50_vm_map_pgt() 58 nvkm_wo32(pgd, (pde * 8) + 0, lower_32_bits(phys)); nv50_vm_map_pgt() 59 nvkm_wo32(pgd, (pde * 8) + 4, upper_32_bits(phys)); nv50_vm_map_pgt() 64 vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) vm_addr() argument 66 phys |= 1; /* present */ vm_addr() 67 phys |= (u64)memtype << 40; vm_addr() 68 phys |= target << 4; vm_addr() 70 phys |= (1 << 6); vm_addr() 72 phys |= (1 << 3); vm_addr() 73 return phys; vm_addr() 78 struct nvkm_mem *mem, u32 pte, u32 cnt, u64 phys, u64 delta) nv50_vm_map() 88 phys += ram->stolen; nv50_vm_map() 92 phys = vm_addr(vma, phys, mem->memtype, target); nv50_vm_map() 98 u32 offset_h = upper_32_bits(phys); nv50_vm_map() 99 u32 offset_l = lower_32_bits(phys); nv50_vm_map() 108 phys += block << (vma->node->type - 3); nv50_vm_map() 134 u64 phys = vm_addr(vma, (u64)*list++, mem->memtype, target); nv50_vm_map_sg() local 135 nvkm_wo32(pgt, pte + 0, lower_32_bits(phys)); nv50_vm_map_sg() 136 nvkm_wo32(pgt, pte + 4, upper_32_bits(phys)); nv50_vm_map_sg() 77 nv50_vm_map(struct nvkm_vma *vma, struct nvkm_memory *pgt, struct nvkm_mem *mem, u32 pte, u32 cnt, u64 phys, u64 delta) nv50_vm_map() argument
|
H A D | gf100.c | 89 gf100_vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) gf100_vm_addr() argument 91 phys >>= 8; gf100_vm_addr() 93 phys |= 0x00000001; /* present */ gf100_vm_addr() 95 phys |= 0x00000002; gf100_vm_addr() 97 phys |= ((u64)target << 32); gf100_vm_addr() 98 phys |= ((u64)memtype << 36); gf100_vm_addr() 99 return phys; gf100_vm_addr() 104 struct nvkm_mem *mem, u32 pte, u32 cnt, u64 phys, u64 delta) gf100_vm_map() 108 phys = gf100_vm_addr(vma, phys, mem->memtype, 0); gf100_vm_map() 114 phys |= (u64)tag << (32 + 12); gf100_vm_map() 121 nvkm_wo32(pgt, pte + 0, lower_32_bits(phys)); gf100_vm_map() 122 nvkm_wo32(pgt, pte + 4, upper_32_bits(phys)); gf100_vm_map() 123 phys += next; gf100_vm_map() 140 u64 phys = gf100_vm_addr(vma, *list++, memtype, target); gf100_vm_map_sg() local 141 nvkm_wo32(pgt, pte + 0, lower_32_bits(phys)); gf100_vm_map_sg() 142 nvkm_wo32(pgt, pte + 4, upper_32_bits(phys)); gf100_vm_map_sg() 103 gf100_vm_map(struct nvkm_vma *vma, struct nvkm_memory *pgt, struct nvkm_mem *mem, u32 pte, u32 cnt, u64 phys, u64 delta) gf100_vm_map() argument
|
H A D | nv04.c | 43 u32 phys = (u32)*list++; nv04_vm_map_sg() local 45 nvkm_wo32(pgt, pte, phys | 3); nv04_vm_map_sg() 46 phys += NV04_PDMA_PAGE; nv04_vm_map_sg()
|
H A D | nv41.c | 45 u64 phys = (u64)*list++; nv41_vm_map_sg() local 47 nvkm_wo32(pgt, pte, (phys >> 7) | 1); nv41_vm_map_sg() 48 phys += NV41_GART_PAGE; nv41_vm_map_sg()
|
H A D | priv.h | 29 u64 phys, u64 delta);
|
/linux-4.4.14/fs/efs/ |
H A D | file.c | 16 long phys; efs_get_block() local 30 phys = efs_map_block(inode, iblock); efs_get_block() 31 if (phys) efs_get_block() 32 map_bh(bh_result, inode->i_sb, phys); efs_get_block()
|
/linux-4.4.14/arch/sh/include/asm/ |
H A 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, pmb_bolt_mapping() argument 77 pmb_remap_caller(phys_addr_t phys, unsigned long size, pmb_remap_caller() argument 99 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) pmb_remap() argument 101 return pmb_remap_caller(phys, size, prot, __builtin_return_address(0)); pmb_remap()
|
H A D | fixmap.h | 35 * highger than 1) use fixmap_set(idx,phys) to associate 79 unsigned long phys, pgprot_t flags);
|
/linux-4.4.14/arch/arm/mach-realview/include/mach/ |
H A D | memory.h | 52 #define __phys_to_virt(phys) \ 53 ((phys) >= 0x80000000 ? (phys) - 0x80000000 + PAGE_OFFSET2 : \ 54 (phys) >= 0x20000000 ? (phys) - 0x20000000 + PAGE_OFFSET1 : \ 55 (phys) + PAGE_OFFSET)
|
/linux-4.4.14/arch/xtensa/mm/ |
H A D | cache.c | 150 unsigned long phys = page_to_phys(page); flush_dcache_page() local 152 unsigned long alias = !(DCACHE_ALIAS_EQ(temp, phys)); flush_dcache_page() 165 virt = TLBTEMP_BASE_1 + (phys & DCACHE_ALIAS_MASK); flush_dcache_page() 166 __flush_invalidate_dcache_page_alias(virt, phys); flush_dcache_page() 171 __flush_invalidate_dcache_page_alias(virt, phys); flush_dcache_page() 174 __invalidate_icache_page_alias(virt, phys); flush_dcache_page() 204 unsigned long phys = page_to_phys(pfn_to_page(pfn)); local_flush_cache_page() local 207 __flush_invalidate_dcache_page_alias(virt, phys); local_flush_cache_page() 208 __invalidate_icache_page_alias(virt, phys); local_flush_cache_page() 231 unsigned long phys = page_to_phys(page); update_mmu_cache() local 234 tmp = TLBTEMP_BASE_1 + (phys & DCACHE_ALIAS_MASK); update_mmu_cache() 235 __flush_invalidate_dcache_page_alias(tmp, phys); update_mmu_cache() 237 __flush_invalidate_dcache_page_alias(tmp, phys); update_mmu_cache() 238 __invalidate_icache_page_alias(tmp, phys); update_mmu_cache() 265 unsigned long phys = page_to_phys(page); copy_to_user_page() local 266 unsigned long alias = !(DCACHE_ALIAS_EQ(vaddr, phys)); copy_to_user_page() 272 __flush_invalidate_dcache_page_alias(t, phys); copy_to_user_page() 289 __invalidate_icache_page_alias(t, phys); copy_to_user_page() 301 unsigned long phys = page_to_phys(page); copy_from_user_page() local 302 unsigned long alias = !(DCACHE_ALIAS_EQ(vaddr, phys)); copy_from_user_page() 311 __flush_invalidate_dcache_page_alias(t, phys); copy_from_user_page()
|
/linux-4.4.14/arch/sh/boards/mach-sdk7786/ |
H A D | sram.c | 23 unsigned long phys; fpga_sram_init() local 47 phys = (area << 26) + SZ_64M - SZ_4K; fpga_sram_init() 53 vaddr = ioremap(phys, SZ_2K); fpga_sram_init() 61 SZ_2K >> 10, phys, phys + SZ_2K - 1, area); fpga_sram_init()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | prom_parse.c | 11 unsigned long *busno, unsigned long *phys, of_parse_dma_window() 26 *phys = of_read_number(dma_window, cells); of_parse_dma_window() 10 of_parse_dma_window(struct device_node *dn, const __be32 *dma_window, unsigned long *busno, unsigned long *phys, unsigned long *size) of_parse_dma_window() argument
|
/linux-4.4.14/arch/powerpc/mm/ |
H A D | fsl_booke_mmu.c | 67 phys_addr_t phys; member in struct:tlbcamrange 83 return tlbcam_addrs[b].phys + (va - tlbcam_addrs[b].start); v_mapped_by_tlbcam() 94 if (pa >= tlbcam_addrs[b].phys p_mapped_by_tlbcam() 96 +tlbcam_addrs[b].phys) p_mapped_by_tlbcam() 97 return tlbcam_addrs[b].start+(pa-tlbcam_addrs[b].phys); p_mapped_by_tlbcam() 108 static void settlbcam(int index, unsigned long virt, phys_addr_t phys, settlbcam() argument 130 TLBCAM[index].MAS3 = (phys & MAS3_RPN) | MAS3_SX | MAS3_SR; settlbcam() 133 TLBCAM[index].MAS7 = (u64)phys >> 32; settlbcam() 143 tlbcam_addrs[index].phys = phys; settlbcam() 147 phys_addr_t phys) calc_cam_sz() 150 unsigned int align = __ffs(virt | phys); calc_cam_sz() 171 static unsigned long map_mem_in_cams_addr(phys_addr_t phys, unsigned long virt, map_mem_in_cams_addr() argument 182 cam_sz = calc_cam_sz(ram, virt, phys); map_mem_in_cams_addr() 184 settlbcam(i, virt, phys, cam_sz, map_mem_in_cams_addr() 190 phys += cam_sz; map_mem_in_cams_addr() 211 phys_addr_t phys = memstart_addr; map_mem_in_cams() local 213 return map_mem_in_cams_addr(phys, virt, ram, max_cam_idx, dryrun); map_mem_in_cams() 146 calc_cam_sz(unsigned long ram, unsigned long virt, phys_addr_t phys) calc_cam_sz() argument
|
H A D | ppc_mmu_32.c | 46 phys_addr_t phys; member in struct:batrange 57 return bat_addrs[b].phys + (va - bat_addrs[b].start); v_mapped_by_bats() 68 if (pa >= bat_addrs[b].phys p_mapped_by_bats() 70 +bat_addrs[b].phys) p_mapped_by_bats() 71 return bat_addrs[b].start+(pa-bat_addrs[b].phys); p_mapped_by_bats() 115 void __init setbat(int index, unsigned long virt, phys_addr_t phys, setbat() argument 135 bat[1].batl = BAT_PHYS_ADDR(phys) | wimgxpp; setbat() 154 bat->batl = phys | bl | 0x40; /* V=1 */ setbat() 159 bat_addrs[index].phys = phys; setbat()
|
H A D | init_64.c | 197 unsigned long phys) vmemmap_create_mapping() 210 * increment phys because all PTEs are of the large size and vmemmap_create_mapping() 214 BUG_ON(map_kernel_page(start + i, phys, flags)); vmemmap_create_mapping() 226 unsigned long phys) vmemmap_create_mapping() 228 int mapped = htab_bolt_mapping(start, start + page_size, phys, vmemmap_create_mapping() 280 static __meminit void vmemmap_list_populate(unsigned long phys, vmemmap_list_populate() argument 292 vmem_back->phys = phys; vmemmap_list_populate() 359 return vmem_back->phys; vmemmap_list_free() 442 page = (struct page *) (vmem_back->phys + pg_va - realmode_pfn_to_page() 195 vmemmap_create_mapping(unsigned long start, unsigned long page_size, unsigned long phys) vmemmap_create_mapping() argument 224 vmemmap_create_mapping(unsigned long start, unsigned long page_size, unsigned long phys) vmemmap_create_mapping() argument
|
H A D | 44x_mmu.c | 67 static void __init ppc44x_pin_tlb(unsigned int virt, unsigned int phys) ppc44x_pin_tlb() argument 81 "r" (phys), ppc44x_pin_tlb() 137 static void ppc47x_pin_tlb(unsigned int virt, unsigned int phys) ppc47x_pin_tlb() argument 153 virt, phys, bolted); ppc47x_pin_tlb() 168 "r" (phys), ppc47x_pin_tlb()
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | atari_stram.h | 11 void *atari_stram_to_virt(unsigned long phys);
|
/linux-4.4.14/arch/arm/mach-davinci/include/mach/ |
H A D | uncompress.h | 52 static inline void set_uart_info(u32 phys) set_uart_info() argument 54 uart = (u32 *)phys; set_uart_info() 57 #define _DEBUG_LL_ENTRY(machine, phys) \ 60 set_uart_info(phys); \
|
/linux-4.4.14/arch/um/include/asm/ |
H A D | page.h | 48 #define pte_set_val(pte, phys, prot) \ 49 ({ (pte).pte_high = (phys) >> 32; \ 50 (pte).pte_low = (phys) | pgprot_val(prot); }) 77 #define pte_set_val(p, phys, prot) (p).pte = (phys | pgprot_val(prot)) 110 #define __va(phys) to_virt((unsigned long) (phys))
|
H A D | fixmap.h | 22 * highger than 1) use fixmap_set(idx,phys) to associate 40 unsigned long phys, pgprot_t flags);
|
H A D | pgtable-3level.h | 104 phys_t phys = pfn_to_phys(page_nr); pfn_pte() local 106 pte_set_val(pte, phys, pgprot); pfn_pte()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | perf_event_intel_bts.c | 139 struct bts_phys *phys = &buf->buf[buf->cur_buf]; bts_config_buffer() local 140 unsigned long index, thresh = 0, end = phys->size; bts_config_buffer() 141 struct page *page = phys->page; bts_config_buffer() 146 if (buf->end < phys->offset + buf_size(page)) bts_config_buffer() 147 end = buf->end - phys->offset - phys->displacement; bts_config_buffer() 149 index -= phys->offset + phys->displacement; bts_config_buffer() 159 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; bts_config_buffer() 167 static void bts_buffer_pad_out(struct bts_phys *phys, unsigned long head) bts_buffer_pad_out() argument 169 unsigned long index = head - phys->offset; bts_buffer_pad_out() 171 memset(page_address(phys->page) + index, 0, phys->size - index); bts_buffer_pad_out() 304 struct bts_phys *phys, *next_phys; bts_buffer_reset() local 314 phys = &buf->buf[buf->cur_buf]; bts_buffer_reset() 315 space = phys->offset + phys->displacement + phys->size - head; bts_buffer_reset() 322 /* See if next phys buffer has more space */ bts_buffer_reset() 327 gap = buf_size(phys->page) - phys->displacement - phys->size + bts_buffer_reset() 338 bts_buffer_pad_out(phys, head); bts_buffer_reset() 342 /* Advance to next phys buffer */ bts_buffer_reset() 343 phys = next_phys; bts_buffer_reset() 345 head = phys->offset + phys->displacement; bts_buffer_reset()
|
/linux-4.4.14/arch/um/kernel/ |
H A D | physmem.c | 41 void map_memory(unsigned long virt, unsigned long phys, unsigned long len, map_memory() argument 47 fd = phys_mapping(phys, &offset); map_memory() 121 int phys_mapping(unsigned long phys, unsigned long long *offset_out) phys_mapping() argument 125 if (phys < physmem_size) { phys_mapping() 127 *offset_out = phys; phys_mapping() 129 else if (phys < __pa(end_iomem)) { phys_mapping() 133 if ((phys >= region->phys) && phys_mapping() 134 (phys < region->phys + region->size)) { phys_mapping() 136 *offset_out = phys - region->phys; phys_mapping() 142 else if (phys < __pa(end_iomem) + highmem) { phys_mapping() 144 *offset_out = phys - iomem_size; phys_mapping() 214 region->phys = __pa(region->virt); setup_iomem()
|
/linux-4.4.14/drivers/scsi/ |
H A D | sd_dif.c | 107 * avoid virt->phys remapping during write. However, at read time we 120 u32 phys, virt; sd_dif_prepare() local 127 phys = scsi_prot_ref_tag(scmd); sd_dif_prepare() 147 pi->ref_tag = cpu_to_be32(phys); bip_for_each_vec() 150 phys++; bip_for_each_vec() 171 u32 phys, virt; sd_dif_complete() local 179 phys = scsi_prot_ref_tag(scmd); sd_dif_complete() 198 if (be32_to_cpu(pi->ref_tag) == phys) bip_for_each_vec() 202 phys++; bip_for_each_vec()
|
/linux-4.4.14/arch/s390/numa/ |
H A D | mode_emu.c | 208 static void toptree_to_numa_single(struct toptree *numa, struct toptree *phys, toptree_to_numa_single() argument 213 toptree_for_each_safe(core, tmp, phys, CORE) { toptree_for_each_safe() 225 static void move_level_to_numa_node(struct toptree *node, struct toptree *phys, move_level_to_numa_node() argument 231 toptree_for_each_safe(cur, tmp, phys, level) { toptree_for_each_safe() 248 static void move_level_to_numa(struct toptree *numa, struct toptree *phys, move_level_to_numa() argument 254 move_level_to_numa_node(node, phys, level, perfect); move_level_to_numa() 260 static void toptree_to_numa_first(struct toptree *numa, struct toptree *phys) toptree_to_numa_first() argument 265 move_level_to_numa(numa, phys, BOOK, true); toptree_to_numa_first() 266 move_level_to_numa(numa, phys, BOOK, false); toptree_to_numa_first() 267 move_level_to_numa(numa, phys, MC, true); toptree_to_numa_first() 268 move_level_to_numa(numa, phys, MC, false); toptree_to_numa_first() 312 static struct toptree *toptree_to_numa(struct toptree *phys) toptree_to_numa() argument 318 cores_total = emu_cores->total + cores_free(phys); toptree_to_numa() 322 toptree_to_numa_first(numa, phys); toptree_to_numa() 325 toptree_to_numa_single(numa, phys, 0); toptree_to_numa() 326 toptree_to_numa_single(numa, phys, 1); toptree_to_numa() 329 WARN_ON(cpumask_weight(&phys->mask)); toptree_to_numa() 338 struct toptree *phys, *node, *book, *mc, *core; toptree_from_topology() local 342 phys = toptree_new(TOPTREE_ID_PHYS, 1); toptree_from_topology() 346 node = toptree_get_child(phys, 0); for_each_online_cpu() 355 return phys; 421 struct toptree *phys, *numa; emu_update_cpu_topology() local 425 phys = toptree_from_topology(); emu_update_cpu_topology() 426 numa = toptree_to_numa(phys); emu_update_cpu_topology() 427 toptree_free(phys); emu_update_cpu_topology()
|
/linux-4.4.14/drivers/usb/host/ |
H A D | ohci-platform.c | 41 struct phy **phys; member in struct:ohci_platform_priv 60 ret = phy_init(priv->phys[phy_num]); ohci_platform_power_on() 63 ret = phy_power_on(priv->phys[phy_num]); ohci_platform_power_on() 65 phy_exit(priv->phys[phy_num]); ohci_platform_power_on() 74 phy_power_off(priv->phys[phy_num]); ohci_platform_power_on() 75 phy_exit(priv->phys[phy_num]); ohci_platform_power_on() 91 phy_power_off(priv->phys[phy_num]); ohci_platform_power_off() 92 phy_exit(priv->phys[phy_num]); ohci_platform_power_off() 169 "phys", "#phy-cells"); ohci_platform_probe() 172 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys, ohci_platform_probe() 174 if (!priv->phys) ohci_platform_probe() 180 priv->phys[phy_num] = devm_of_phy_get_by_index( ohci_platform_probe() 182 if (IS_ERR(priv->phys[phy_num])) { ohci_platform_probe() 183 err = PTR_ERR(priv->phys[phy_num]); ohci_platform_probe()
|
H A D | ehci-platform.c | 47 struct phy **phys; member in struct:ehci_platform_priv 92 ret = phy_init(priv->phys[phy_num]); ehci_platform_power_on() 95 ret = phy_power_on(priv->phys[phy_num]); ehci_platform_power_on() 97 phy_exit(priv->phys[phy_num]); ehci_platform_power_on() 106 phy_power_off(priv->phys[phy_num]); ehci_platform_power_on() 107 phy_exit(priv->phys[phy_num]); ehci_platform_power_on() 123 phy_power_off(priv->phys[phy_num]); ehci_platform_power_off() 124 phy_exit(priv->phys[phy_num]); ehci_platform_power_off() 206 "phys", "#phy-cells"); ehci_platform_probe() 209 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys, ehci_platform_probe() 211 if (!priv->phys) ehci_platform_probe() 217 priv->phys[phy_num] = devm_of_phy_get_by_index( ehci_platform_probe() 219 if (IS_ERR(priv->phys[phy_num])) { ehci_platform_probe() 220 err = PTR_ERR(priv->phys[phy_num]); ehci_platform_probe()
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | ppc4xx_ocm.c | 47 phys_addr_t phys; member in struct:ocm_region 62 phys_addr_t phys; member in struct:ocm_info 140 ocm->phys = rsrc.start; ocm_init_node() 152 if (!request_mem_region(ocm->phys, ocm->memtotal, "ppc4xx_ocm")) { ocm_init_node() 160 ocm->nc.phys = ocm->phys; ocm_init_node() 164 ocm->c.phys = ocm->phys + ocm->nc.memtotal; ocm_init_node() 169 ocm->nc.phys = 0; ocm_init_node() 172 ocm->c.phys = 0; ocm_init_node() 183 ocm->nc.virt = __ioremap(ocm->nc.phys, ocm->nc.memtotal, ocm_init_node() 199 ocm->c.virt = __ioremap(ocm->c.phys, ocm->c.memtotal, ocm_init_node() 245 seq_printf(m, "PhysAddr : 0x%llx\n", ocm->phys); ocm_debugfs_show() 252 seq_printf(m, "NC.PhysAddr : 0x%llx\n", ocm->nc.phys); ocm_debugfs_show() 264 seq_printf(m, "C.PhysAddr : 0x%llx\n", ocm->c.phys); ocm_debugfs_show() 310 void *ppc4xx_ocm_alloc(phys_addr_t *phys, int size, int align, ppc4xx_ocm_alloc() argument 349 *phys = ocm_reg->phys + offset; ppc4xx_ocm_alloc()
|
H A D | fsl_rmu.c | 166 dma_addr_t phys; member in struct:rio_msg_tx_ring 176 dma_addr_t phys; member in struct:rio_msg_rx_ring 229 int slot = (dqp - rmu->msg_tx_ring.phys) >> 5; fsl_rio_tx_handler() 552 &pw->port_write_msg.phys, GFP_KERNEL); fsl_rio_port_write_init() 563 out_be32(&pw->pw_regs->pwqbar, (u32) pw->port_write_msg.phys); fsl_rio_port_write_init() 608 pw->port_write_msg.phys); fsl_rio_port_write_init() 749 &rmu->msg_tx_ring.phys, GFP_KERNEL); fsl_open_outb_mbox() 759 out_be32(&rmu->msg_regs->odqdpar, rmu->msg_tx_ring.phys); fsl_open_outb_mbox() 760 out_be32(&rmu->msg_regs->odqepar, rmu->msg_tx_ring.phys); fsl_open_outb_mbox() 797 rmu->msg_tx_ring.virt, rmu->msg_tx_ring.phys); fsl_open_outb_mbox() 827 rmu->msg_tx_ring.virt, rmu->msg_tx_ring.phys); fsl_close_outb_mbox() 867 &rmu->msg_rx_ring.phys, GFP_KERNEL); fsl_open_inb_mbox() 874 out_be32(&rmu->msg_regs->ifqdpar, (u32) rmu->msg_rx_ring.phys); fsl_open_inb_mbox() 875 out_be32(&rmu->msg_regs->ifqepar, (u32) rmu->msg_rx_ring.phys); fsl_open_inb_mbox() 886 rmu->msg_rx_ring.virt, rmu->msg_rx_ring.phys); fsl_open_inb_mbox() 927 rmu->msg_rx_ring.virt, rmu->msg_rx_ring.phys); fsl_close_inb_mbox() 989 - rmu->msg_rx_ring.phys); fsl_get_inb_message() 990 buf_idx = (phys_buf - rmu->msg_rx_ring.phys) / RIO_MAX_MSG_SIZE; fsl_get_inb_message() 1026 DOORBELL_MESSAGE_SIZE, &dbell->dbell_ring.phys, GFP_KERNEL); fsl_rio_doorbell_init() 1034 out_be32(&dbell->dbell_regs->dqdpar, (u32) dbell->dbell_ring.phys); fsl_rio_doorbell_init() 1035 out_be32(&dbell->dbell_regs->dqepar, (u32) dbell->dbell_ring.phys); fsl_rio_doorbell_init() 1045 dbell->dbell_ring.virt, dbell->dbell_ring.phys); fsl_rio_doorbell_init()
|
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | fujitsu_ts.c | 36 char phys[32]; member in struct:fujitsu 115 snprintf(fujitsu->phys, sizeof(fujitsu->phys), fujitsu_connect() 116 "%s/input0", serio->phys); fujitsu_connect() 119 input_dev->phys = fujitsu->phys; fujitsu_connect()
|
H A D | touchright.c | 54 char phys[32]; member in struct:tr 118 snprintf(tr->phys, sizeof(tr->phys), "%s/input0", serio->phys); tr_connect() 121 input_dev->phys = tr->phys; tr_connect()
|
H A D | tsc40.c | 21 char phys[32]; member in struct:tsc_ser 95 snprintf(ptsc->phys, sizeof(ptsc->phys), "%s/input0", serio->phys); tsc_connect() 98 input_dev->phys = ptsc->phys; tsc_connect()
|
H A D | dynapro.c | 60 char phys[32]; member in struct:dynapro 127 snprintf(pdynapro->phys, sizeof(pdynapro->phys), dynapro_connect() 128 "%s/input0", serio->phys); dynapro_connect() 131 input_dev->phys = pdynapro->phys; dynapro_connect()
|
H A D | gunze.c | 57 char phys[32]; member in struct:gunze 128 snprintf(gunze->phys, sizeof(serio->phys), "%s/input0", serio->phys); gunze_connect() 131 input_dev->phys = gunze->phys; gunze_connect()
|
H A D | hampshire.c | 59 char phys[32]; member in struct:hampshire 126 snprintf(phampshire->phys, sizeof(phampshire->phys), hampshire_connect() 127 "%s/input0", serio->phys); hampshire_connect() 130 input_dev->phys = phampshire->phys; hampshire_connect()
|
H A D | inexio.c | 62 char phys[32]; member in struct:inexio 131 snprintf(pinexio->phys, sizeof(pinexio->phys), "%s/input0", serio->phys); inexio_connect() 134 input_dev->phys = pinexio->phys; inexio_connect()
|
H A D | mtouch.c | 62 char phys[32]; member in struct:mtouch 144 snprintf(mtouch->phys, sizeof(mtouch->phys), "%s/input0", serio->phys); mtouch_connect() 147 input_dev->phys = mtouch->phys; mtouch_connect()
|
H A D | touchit213.c | 83 char phys[32]; member in struct:touchit213 155 snprintf(touchit213->phys, sizeof(touchit213->phys), touchit213_connect() 156 "%s/input0", serio->phys); touchit213_connect() 159 input_dev->phys = touchit213->phys; touchit213_connect()
|
H A D | touchwin.c | 58 char phys[32]; member in struct:tw 125 snprintf(tw->phys, sizeof(tw->phys), "%s/input0", serio->phys); tw_connect() 128 input_dev->phys = tw->phys; tw_connect()
|
H A D | elo.c | 66 char phys[32]; member in struct:elo 327 snprintf(elo->phys, sizeof(elo->phys), "%s/input0", serio->phys); elo_connect() 330 input_dev->phys = elo->phys; elo_connect()
|
H A D | penmount.c | 59 char phys[32]; member in struct:pm 215 snprintf(pm->phys, sizeof(pm->phys), "%s/input0", serio->phys); pm_connect() 219 input_dev->phys = pm->phys; pm_connect()
|
H A D | cy8ctmg110_ts.c | 58 char phys[32]; member in struct:cy8ctmg110 208 snprintf(ts->phys, sizeof(ts->phys), cy8ctmg110_probe() 212 input_dev->phys = ts->phys; cy8ctmg110_probe()
|
H A D | tps6507x-ts.c | 45 char phys[32]; member in struct:tps6507x_ts 240 snprintf(tsc->phys, sizeof(tsc->phys), tps6507x_ts_probe() 266 input_dev->phys = tsc->phys; tps6507x_ts_probe()
|
/linux-4.4.14/arch/arm64/include/asm/ |
H A D | acpi.h | 32 static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_os_ioremap() argument 35 if (!page_is_ram(phys >> PAGE_SHIFT)) acpi_os_ioremap() 36 return ioremap(phys, size); acpi_os_ioremap() 38 return ioremap_cache(phys, size); acpi_os_ioremap()
|
H A D | mmu.h | 32 extern void __iomem *early_io_map(phys_addr_t phys, unsigned long virt); 34 extern void create_pgd_mapping(struct mm_struct *mm, phys_addr_t phys,
|
H A D | fixmap.h | 31 * page-sized. Use set_fixmap(idx,phys) to associate 80 extern void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_user_pages.c | 108 dma_addr_t phys; ipath_map_page() local 110 phys = pci_map_page(hwdev, page, offset, size, direction); ipath_map_page() 112 if (phys == 0) { ipath_map_page() 113 pci_unmap_page(hwdev, phys, size, direction); ipath_map_page() 114 phys = pci_map_page(hwdev, page, offset, size, direction); ipath_map_page() 121 return phys; ipath_map_page() 132 dma_addr_t phys; ipath_map_single() local 134 phys = pci_map_single(hwdev, ptr, size, direction); ipath_map_single() 136 if (phys == 0) { ipath_map_single() 137 pci_unmap_single(hwdev, phys, size, direction); ipath_map_single() 138 phys = pci_map_single(hwdev, ptr, size, direction); ipath_map_single() 145 return phys; ipath_map_single()
|
/linux-4.4.14/arch/arm/mach-davinci/ |
H A D | sram.c | 55 phys_addr_t phys = davinci_soc_info.sram_dma; sram_init() local 68 addr = ioremap(phys, len); sram_init() 72 phys, len, -1); sram_init()
|
/linux-4.4.14/arch/arm64/mm/ |
H A D | mmu.c | 67 phys_addr_t phys; early_alloc() local 70 phys = memblock_alloc(sz, sz); early_alloc() 71 BUG_ON(!phys); early_alloc() 72 ptr = __va(phys); early_alloc() 132 phys_addr_t phys, pgprot_t prot, alloc_init_pmd() 159 if (((addr | next | phys) & ~SECTION_MASK) == 0) { alloc_init_pmd() 161 set_pmd(pmd, __pmd(phys | alloc_init_pmd() 176 alloc_init_pte(pmd, addr, next, __phys_to_pfn(phys), alloc_init_pmd() 179 phys += next - addr; alloc_init_pmd() 184 unsigned long phys) use_1G_block() 189 if (((addr | next | phys) & ~PUD_MASK) != 0) use_1G_block() 197 phys_addr_t phys, pgprot_t prot, alloc_init_pud() 216 if (use_1G_block(addr, next, phys)) { alloc_init_pud() 218 set_pud(pud, __pud(phys | alloc_init_pud() 237 alloc_init_pmd(mm, pud, addr, next, phys, prot, alloc); alloc_init_pud() 239 phys += next - addr; alloc_init_pud() 248 phys_addr_t phys, unsigned long virt, __create_mapping() 260 alloc_init_pud(mm, pgd, addr, next, phys, prot, alloc); __create_mapping() 261 phys += next - addr; __create_mapping() 275 static void __init create_mapping(phys_addr_t phys, unsigned long virt, create_mapping() argument 280 &phys, virt); create_mapping() 283 __create_mapping(&init_mm, pgd_offset_k(virt & PAGE_MASK), phys, virt, create_mapping() 287 void __init create_pgd_mapping(struct mm_struct *mm, phys_addr_t phys, create_pgd_mapping() argument 291 __create_mapping(mm, pgd_offset(mm, virt), phys, virt, size, prot, create_pgd_mapping() 295 static void create_mapping_late(phys_addr_t phys, unsigned long virt, create_mapping_late() argument 300 &phys, virt); create_mapping_late() 305 phys, virt, size, prot, late_alloc); create_mapping_late() 628 phys_addr_t phys, pgprot_t flags) __set_fixmap() 638 set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); __set_fixmap() 130 alloc_init_pmd(struct mm_struct *mm, pud_t *pud, unsigned long addr, unsigned long end, phys_addr_t phys, pgprot_t prot, void *(*alloc)(unsigned long size)) alloc_init_pmd() argument 183 use_1G_block(unsigned long addr, unsigned long next, unsigned long phys) use_1G_block() argument 195 alloc_init_pud(struct mm_struct *mm, pgd_t *pgd, unsigned long addr, unsigned long end, phys_addr_t phys, pgprot_t prot, void *(*alloc)(unsigned long size)) alloc_init_pud() argument 247 __create_mapping(struct mm_struct *mm, pgd_t *pgd, phys_addr_t phys, unsigned long virt, phys_addr_t size, pgprot_t prot, void *(*alloc)(unsigned long size)) __create_mapping() argument 627 __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags) __set_fixmap() argument
|
/linux-4.4.14/drivers/media/common/siano/ |
H A D | smsir.c | 73 strlcpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys)); sms_ir_init() 74 strlcat(coredev->ir.phys, "/ir0", sizeof(coredev->ir.phys)); sms_ir_init() 77 dev->input_phys = coredev->ir.phys; sms_ir_init()
|
/linux-4.4.14/drivers/platform/x86/ |
H A D | xo15-ebook.c | 46 char phys[32]; /* for input device */ member in struct:ebook_switch 120 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid); ebook_switch_add() 123 input->phys = button->phys; ebook_switch_add()
|
H A D | surfacepro3_button.c | 65 char phys[32]; /* for input device */ member in struct:surface_button 167 snprintf(button->phys, sizeof(button->phys), "%s/buttons", hid); surface_button_add() 170 input->phys = button->phys; surface_button_add()
|
H A D | fujitsu-tablet.c | 174 char phys[21]; member in struct:__anon8812 234 const char *phys) input_fujitsu_setup() 245 idev->phys = phys; input_fujitsu_setup() 473 snprintf(fujitsu.phys, sizeof(fujitsu.phys), acpi_fujitsu_add() 477 acpi_device_name(adev), fujitsu.phys); acpi_fujitsu_add() 233 input_fujitsu_setup(struct device *parent, const char *name, const char *phys) input_fujitsu_setup() argument
|
/linux-4.4.14/arch/avr32/mm/ |
H A D | dma-coherent.c | 116 pr_debug("dma_free_coherent addr %p (phys %08lx) size %u\n", dma_free_coherent() 128 dma_addr_t phys; dma_alloc_writecombine() local 134 phys = page_to_phys(page); dma_alloc_writecombine() 135 *handle = phys; dma_alloc_writecombine() 138 return __ioremap(phys, size, _PAGE_BUFFER); dma_alloc_writecombine()
|
/linux-4.4.14/drivers/input/joystick/ |
H A D | cobra.c | 53 char phys[2][32]; member in struct:cobra 180 " Contact vojtech@ucw.cz\n", i, gameport->phys, (data[i] >> 2) & 7); cobra_connect() 202 snprintf(cobra->phys[i], sizeof(cobra->phys[i]), cobra_connect() 203 "%s/input%d", gameport->phys, i); cobra_connect() 206 input_dev->phys = cobra->phys[i]; cobra_connect()
|
H A D | magellan.c | 58 char phys[32]; member in struct:magellan 160 snprintf(magellan->phys, sizeof(magellan->phys), "%s/input0", serio->phys); magellan_connect() 163 input_dev->phys = magellan->phys; magellan_connect()
|
H A D | stinger.c | 56 char phys[32]; member in struct:stinger 146 snprintf(stinger->phys, sizeof(stinger->phys), "%s/serio0", serio->phys); stinger_connect() 149 input_dev->phys = stinger->phys; stinger_connect()
|
H A D | warrior.c | 56 char phys[32]; member in struct:warrior 152 snprintf(warrior->phys, sizeof(warrior->phys), "%s/input0", serio->phys); warrior_connect() 155 input_dev->phys = warrior->phys; warrior_connect()
|
H A D | zhenhua.c | 73 char phys[32]; member in struct:zhenhua 156 snprintf(zhenhua->phys, sizeof(zhenhua->phys), "%s/input0", serio->phys); zhenhua_connect() 159 input_dev->phys = zhenhua->phys; zhenhua_connect()
|
H A D | guillemot.c | 73 char phys[32]; member in struct:guillemot 214 gameport->phys, data[12], data[13], data[11], data[14], data[15]); guillemot_connect() 222 snprintf(guillemot->phys, sizeof(guillemot->phys), "%s/input0", gameport->phys); guillemot_connect() 226 input_dev->phys = guillemot->phys; guillemot_connect() 268 printk(KERN_INFO "guillemot.c: Failed %d reads out of %d on %s\n", guillemot->reads, guillemot->bads, guillemot->phys); guillemot_disconnect()
|
H A D | gf2k.c | 87 char phys[32]; member in struct:gf2k 290 gameport->phys, gf2k->id, gf2k->id > GF2K_ID_MAX ? "Unknown" : gf2k_names[gf2k->id]); gf2k_connect() 298 snprintf(gf2k->phys, sizeof(gf2k->phys), "%s/input0", gameport->phys); gf2k_connect() 303 input_dev->phys = gf2k->phys; gf2k_connect()
|
H A D | interact.c | 60 char phys[32]; member in struct:interact 243 gameport->phys, i, data[0], data[1], data[2]); interact_connect() 251 snprintf(interact->phys, sizeof(interact->phys), "%s/input0", gameport->phys); interact_connect() 257 input_dev->phys = interact->phys; interact_connect()
|
H A D | spaceorb.c | 61 char phys[32]; member in struct:spaceorb 92 dev->name, spaceorb->data + i, spaceorb->phys); spaceorb_process_packet() 175 snprintf(spaceorb->phys, sizeof(spaceorb->phys), "%s/input0", serio->phys); spaceorb_connect() 178 input_dev->phys = spaceorb->phys; spaceorb_connect()
|
H A D | a3d.c | 64 char phys[32]; member in struct:a3d 298 "(%s, id=%d), contact <vojtech@ucw.cz>\n", gameport->phys, a3d->mode); a3d_connect() 306 snprintf(a3d->phys, sizeof(a3d->phys), "%s/input0", gameport->phys); a3d_connect() 309 input_dev->phys = a3d->phys; a3d_connect() 371 gameport_set_phys(adc, "%s/gameport0", gameport->phys); a3d_connect()
|
H A D | grip.c | 60 char phys[2][32]; member in struct:grip 354 snprintf(grip->phys[i], sizeof(grip->phys[i]), grip_connect() 355 "%s/input%d", gameport->phys, i); grip_connect() 358 input_dev->phys = grip->phys[i]; grip_connect()
|
H A D | spaceball.c | 74 char phys[32]; member in struct:spaceball 218 snprintf(spaceball->phys, sizeof(spaceball->phys), "%s/input0", serio->phys); spaceball_connect() 221 input_dev->phys = spaceball->phys; spaceball_connect()
|
H A D | twidjoy.c | 94 char phys[32]; member in struct:twidjoy 195 snprintf(twidjoy->phys, sizeof(twidjoy->phys), "%s/input0", serio->phys); twidjoy_connect() 198 input_dev->phys = twidjoy->phys; twidjoy_connect()
|
H A D | tmdc.c | 114 char phys[32]; member in struct:tmdc_port 129 char phys[2][32]; 316 snprintf(port->phys, sizeof(port->phys), "%s/input%d", tmdc->gameport->phys, i); tmdc_setup_port() 321 input_dev->phys = port->phys; tmdc_setup_port()
|
H A D | turbografx.c | 81 char phys[TGFX_MAX_DEVICES][32]; member in struct:tgfx 225 snprintf(tgfx->phys[i], sizeof(tgfx->phys[i]), tgfx_attach() 229 input_dev->phys = tgfx->phys[i]; tgfx_attach()
|
H A D | sidewinder.c | 118 char phys[4][32]; member in struct:sw 436 " - going to reinitialize.\n", sw->gameport->phys); sw_read() 462 " - enabling optimization again.\n", sw->gameport->phys); sw_read() 475 " - disabling optimization.\n", sw->gameport->phys); sw_read() 483 " - reinitializing joystick.\n", sw->gameport->phys); sw_read() 616 gameport->phys, gameport->io, gameport->speed); sw_connect() 715 "on %s, contact <vojtech@ucw.cz>\n", gameport->phys); sw_connect() 738 snprintf(sw->phys[i], sizeof(sw->phys[i]), sw_connect() 739 "%s/input%d", gameport->phys, i); sw_connect() 748 input_dev->phys = sw->phys[i]; sw_connect()
|
/linux-4.4.14/drivers/input/keyboard/ |
H A D | newtonkbd.c | 63 char phys[32]; member in struct:nkbd 78 printk(KERN_INFO "input: %s on %s\n", nkbd->dev->name, serio->phys); nkbd_interrupt() 97 snprintf(nkbd->phys, sizeof(nkbd->phys), "%s/input0", serio->phys); nkbd_connect() 101 input_dev->phys = nkbd->phys; nkbd_connect()
|
H A D | stowaway.c | 69 char phys[32]; member in struct:skbd 101 snprintf(skbd->phys, sizeof(skbd->phys), "%s/input0", serio->phys); skbd_connect() 105 input_dev->phys = skbd->phys; skbd_connect()
|
H A D | xtkbd.c | 60 char phys[32]; member in struct:xtkbd 99 snprintf(xtkbd->phys, sizeof(xtkbd->phys), "%s/input0", serio->phys); xtkbd_connect() 103 input_dev->phys = xtkbd->phys; xtkbd_connect()
|
H A D | sunkbd.c | 82 char phys[32]; member in struct:sunkbd 269 snprintf(sunkbd->phys, sizeof(sunkbd->phys), "%s/input0", serio->phys); sunkbd_connect() 287 input_dev->phys = sunkbd->phys; sunkbd_connect()
|
H A D | lkkbd.c | 284 char phys[32]; member in struct:lkkbd 388 "Jan-Benedict Glaw <jbglaw@lug-owl.de>\n", lk->phys); lkkbd_detection_done() 397 lk->phys, lk->name); lkkbd_detection_done() 409 lk->phys); lkkbd_detection_done() 415 "keyboard may not work properly\n", lk->phys); lkkbd_detection_done() 421 lk->id[2], lk->phys); lkkbd_detection_done() 642 snprintf(lk->phys, sizeof(lk->phys), "%s/input0", serio->phys); lkkbd_connect() 645 input_dev->phys = lk->phys; lkkbd_connect()
|
H A D | locomokbd.c | 76 char phys[32]; member in struct:locomokbd 274 strcpy(locomokbd->phys, "locomokbd/input0"); locomokbd_probe() 277 input_dev->phys = locomokbd->phys; locomokbd_probe()
|
/linux-4.4.14/drivers/input/tablet/ |
H A D | kbtab.c | 37 char phys[32]; member in struct:kbtab 142 usb_make_path(dev, kbtab->phys, sizeof(kbtab->phys)); kbtab_probe() 143 strlcat(kbtab->phys, "/input0", sizeof(kbtab->phys)); kbtab_probe() 146 input_dev->phys = kbtab->phys; kbtab_probe()
|
H A D | acecad.c | 51 char phys[64]; member in struct:usb_acecad 188 usb_make_path(dev, acecad->phys, sizeof(acecad->phys)); usb_acecad_probe() 189 strlcat(acecad->phys, "/input0", sizeof(acecad->phys)); usb_acecad_probe() 192 input_dev->phys = acecad->phys; usb_acecad_probe()
|
H A D | hanwang.c | 78 char phys[32]; member in struct:hanwang 371 usb_make_path(dev, hanwang->phys, sizeof(hanwang->phys)); hanwang_probe() 372 strlcat(hanwang->phys, "/input0", sizeof(hanwang->phys)); hanwang_probe() 376 input_dev->phys = hanwang->phys; hanwang_probe()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | fixmap.h | 62 * higher than 1). Use set_fixmap(idx,phys) to associate 151 phys_addr_t phys, pgprot_t flags); 155 phys_addr_t phys, pgprot_t flags) __set_fixmap() 157 native_set_fixmap(idx, phys, flags); __set_fixmap() 163 #define __late_set_fixmap(idx, phys, flags) __set_fixmap(idx, phys, flags) 167 phys_addr_t phys, pgprot_t flags); 154 __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags) __set_fixmap() argument
|
H A D | pgtable_64.h | 178 extern void init_extra_mapping_uc(unsigned long phys, unsigned long size); 179 extern void init_extra_mapping_wb(unsigned long phys, unsigned long size);
|
/linux-4.4.14/arch/arm/include/debug/ |
H A D | omap2plus.S | 81 /* Configure the UART offset from the phys/virt base */ 141 /* AM33XX: Store both phys and virt address for the uart */ 142 97: add \rp, \rp, #0x44000000 @ phys base 144 sub \rp, \rp, #0x44000000 @ phys base 152 /* Store both phys and virt address for the uart */ 153 98: add \rp, \rp, #0x48000000 @ phys base 155 sub \rp, \rp, #0x48000000 @ phys base
|
H A D | at91.S | 26 ldr \rp, =CONFIG_DEBUG_UART_PHYS @ System peripherals (phys address)
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_user_pages.c | 104 dma_addr_t phys; qib_map_page() local 106 phys = pci_map_page(hwdev, page, offset, size, direction); qib_map_page() 108 if (phys == 0) { qib_map_page() 109 pci_unmap_page(hwdev, phys, size, direction); qib_map_page() 110 phys = pci_map_page(hwdev, page, offset, size, direction); qib_map_page() 117 return phys; qib_map_page()
|
/linux-4.4.14/drivers/phy/ |
H A D | phy-exynos-mipi-video.c | 43 } phys[EXYNOS_MIPI_PHYS_NUM]; member in struct:exynos_mipi_video_phy 98 container_of((desc), struct exynos_mipi_video_phy, phys[(desc)->index]); 124 return state->phys[args->args[0]].phy; exynos_mipi_video_phy_xlate() 168 state->phys[i].phy = phy; exynos_mipi_video_phy_probe() 169 state->phys[i].index = i; exynos_mipi_video_phy_probe() 170 phy_set_drvdata(phy, &state->phys[i]); exynos_mipi_video_phy_probe()
|
H A D | phy-berlin-sata.c | 63 struct phy_berlin_desc **phys; member in struct:phy_berlin_priv 169 if (priv->phys[i]->index == args->args[0]) phy_berlin_sata_phy_xlate() 176 return priv->phys[i]->phy; phy_berlin_sata_phy_xlate() 221 priv->phys = devm_kcalloc(dev, priv->nphys, sizeof(*priv->phys), phy_berlin_sata_probe() 223 if (!priv->phys) phy_berlin_sata_probe() 268 priv->phys[i++] = phy_desc; phy_berlin_sata_probe()
|
H A D | phy-bcm-cygnus-pcie.c | 50 * @phys: pointer to Cygnus PHY device 56 struct cygnus_pcie_phy phys[MAX_NUM_PHYS]; member in struct:cygnus_pcie_phy_core 168 if (core->phys[id].phy) { for_each_available_child_of_node() 174 p = &core->phys[id]; for_each_available_child_of_node()
|
H A D | phy-miphy365x.c | 152 struct miphy365x_phy **phys; member in struct:miphy365x_dev 485 if (phynode == miphy_dev->phys[index]->phy->dev.of_node) { miphy365x_xlate() 486 miphy_phy = miphy_dev->phys[index]; miphy365x_xlate() 547 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, miphy365x_probe() 548 sizeof(*miphy_dev->phys), GFP_KERNEL); miphy365x_probe() 549 if (!miphy_dev->phys) miphy365x_probe() 574 miphy_dev->phys[port] = miphy_phy; for_each_child_of_node() 583 miphy_dev->phys[port]->phy = phy; for_each_child_of_node() 589 phy_set_drvdata(phy, miphy_dev->phys[port]); for_each_child_of_node()
|
H A D | phy-brcmstb-sata.c | 48 struct brcm_sata_port phys[MAX_PORTS]; member in struct:brcm_sata_phy 175 if (priv->phys[id].phy) { for_each_available_child_of_node() 181 port = &priv->phys[id]; for_each_available_child_of_node()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | smp.h | 87 static inline void set_hard_smp_processor_id(int cpu, int phys) set_hard_smp_processor_id() argument 89 smp_hw_index[cpu] = phys; set_hard_smp_processor_id() 152 static inline void set_hard_smp_processor_id(int cpu, int phys) set_hard_smp_processor_id() argument 154 paca[cpu].hw_cpu_id = phys; set_hard_smp_processor_id() 168 static inline void set_hard_smp_processor_id(int cpu, int phys) set_hard_smp_processor_id() argument 170 boot_cpuid_phys = phys; set_hard_smp_processor_id()
|
H A D | btext.h | 11 extern void btext_update_display(unsigned long phys, int width, int height,
|
H A D | fixmap.h | 39 * highger than 1) use fixmap_set(idx,phys) to associate 59 phys_addr_t phys, pgprot_t flags);
|
H A D | ppc4xx_ocm.h | 34 void *ppc4xx_ocm_alloc(phys_addr_t *phys, int size, int align, 40 #define ppc4xx_ocm_alloc(phys, size, align, flags, owner) NULL
|
H A D | bootx.h | 48 extern void bootx_init(unsigned long r4, unsigned long phys);
|
H A D | dma.h | 271 static __inline__ void set_dma_addr(unsigned int dmanr, unsigned int phys) set_dma_addr() argument 274 dma_outb(phys & 0xff, set_dma_addr() 276 dma_outb((phys >> 8) & 0xff, set_dma_addr() 279 dma_outb((phys >> 1) & 0xff, set_dma_addr() 281 dma_outb((phys >> 9) & 0xff, set_dma_addr() 284 set_dma_page(dmanr, phys >> 16); set_dma_addr()
|
/linux-4.4.14/sound/firewire/fireworks/ |
H A D | fireworks_proc.c | 60 snd_iprintf(buffer, "phys out: 0x%X\n", hwinfo->phys_out); proc_read_hwinfo() 61 snd_iprintf(buffer, "phys in: 0x%X\n", hwinfo->phys_in); proc_read_hwinfo() 63 snd_iprintf(buffer, "phys in grps: 0x%X\n", proc_read_hwinfo() 67 "phys in grp[%d]: type 0x%X, count 0x%X\n", proc_read_hwinfo() 72 snd_iprintf(buffer, "phys out grps: 0x%X\n", proc_read_hwinfo() 76 "phys out grps[%d]: type 0x%X, count 0x%X\n", proc_read_hwinfo()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 124 GFP_KERNEL, &pool->elements[i].phys); lpfc_mem_alloc() 194 pool->elements[i].phys); lpfc_mem_alloc() 254 pool->elements[i].phys); lpfc_mem_free() 302 lpfc_mbuf_free(phba, mp->virt, mp->phys); lpfc_mem_free_all() 312 lpfc_mbuf_free(phba, mp->virt, mp->phys); lpfc_mem_free_all() 326 lpfc_mbuf_free(phba, mp->virt, mp->phys); lpfc_mem_free_all() 374 *handle = pool->elements[pool->current_count].phys; lpfc_mbuf_alloc() 401 pool->elements[pool->current_count].phys = dma; __lpfc_mbuf_free() 456 &hbqbp->dbuf.phys); lpfc_els_hbq_alloc() 480 pci_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys); lpfc_els_hbq_free() 508 &dma_buf->hbuf.phys); lpfc_sli4_rb_alloc() 514 &dma_buf->dbuf.phys); lpfc_sli4_rb_alloc() 517 dma_buf->hbuf.phys); lpfc_sli4_rb_alloc() 540 pci_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys); lpfc_sli4_rb_free() 541 pci_pool_free(phba->lpfc_drb_pool, dmab->dbuf.virt, dmab->dbuf.phys); lpfc_sli4_rb_free() 584 lpfc_mbuf_free(phba, mp->virt, mp->phys); lpfc_in_buf_free()
|
H A D | lpfc_bsg.c | 142 lpfc_mbuf_free(phba, mlast->virt, mlast->phys); lpfc_free_bsg_buffers() 146 lpfc_mbuf_free(phba, mlist->virt, mlist->phys); lpfc_free_bsg_buffers() 180 mp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(mp->phys)); lpfc_alloc_bsg_buffers() 200 bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); lpfc_alloc_bsg_buffers() 201 bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); lpfc_alloc_bsg_buffers() 361 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); lpfc_bsg_send_mgmt_cmd_cmp() 435 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); lpfc_bsg_send_mgmt_cmd() 464 cmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); lpfc_bsg_send_mgmt_cmd() 465 cmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); lpfc_bsg_send_mgmt_cmd() 535 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); lpfc_bsg_send_mgmt_cmd() 886 mlast->dma.phys); diag_cmd_data_free() 1436 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); lpfc_issue_ct_rsp_cmp() 1490 icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(bmp->phys); lpfc_issue_ct_rsp() 1491 icmd->un.xseq64.bdl.addrLow = putPaddrLow(bmp->phys); lpfc_issue_ct_rsp() 1634 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); lpfc_bsg_send_mgmt_rsp() 1663 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); lpfc_bsg_send_mgmt_rsp() 2466 lpfc_mbuf_free(phba, dmabuff->virt, dmabuff->phys); lpfcdiag_loop_self_reg() 2478 lpfc_mbuf_free(phba, dmabuff->virt, dmabuff->phys); lpfcdiag_loop_self_reg() 2563 dmabuf->virt = lpfc_mbuf_alloc(phba, 0, &dmabuf->phys); lpfcdiag_loop_get_xri() 2570 le32_to_cpu(putPaddrHigh(dmabuf->phys + lpfcdiag_loop_get_xri() 2573 le32_to_cpu(putPaddrLow(dmabuf->phys + lpfcdiag_loop_get_xri() 2601 cmd->un.xseq64.bdl.addrHigh = putPaddrHigh(dmabuf->phys); lpfcdiag_loop_get_xri() 2602 cmd->un.xseq64.bdl.addrLow = putPaddrLow(dmabuf->phys); lpfcdiag_loop_get_xri() 2657 lpfc_mbuf_free(phba, dmabuf->virt, dmabuf->phys); lpfcdiag_loop_get_xri() 2690 &(dmabuf->phys), GFP_KERNEL); lpfc_bsg_dma_page_alloc() 2718 dmabuf->virt, dmabuf->phys); lpfc_bsg_dma_page_free() 2793 &(dmp->dma.phys), diag_cmd_data_alloc() 2804 dmp->dma.phys, LPFC_BPL_SIZE, PCI_DMA_TODEVICE); diag_cmd_data_alloc() 2812 bpl->addrLow = le32_to_cpu(putPaddrLow(dmp->dma.phys)); diag_cmd_data_alloc() 2813 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dmp->dma.phys)); diag_cmd_data_alloc() 2862 rxbmp->virt = lpfc_mbuf_alloc(phba, 0, &rxbmp->phys); lpfcdiag_loop_post_rxbufs() 2891 putPaddrHigh(mp[i]->phys); lpfcdiag_loop_post_rxbufs() 2893 putPaddrLow(mp[i]->phys); lpfcdiag_loop_post_rxbufs() 2904 cmd->un.cont64[i].addrHigh = putPaddrHigh(mp[i]->phys); lpfcdiag_loop_post_rxbufs() 2905 cmd->un.cont64[i].addrLow = putPaddrLow(mp[i]->phys); lpfcdiag_loop_post_rxbufs() 2956 lpfc_mbuf_free(phba, rxbmp->virt, rxbmp->phys); lpfcdiag_loop_post_rxbufs() 3115 txbmp->virt = lpfc_mbuf_alloc(phba, 0, &txbmp->phys); lpfc_bsg_diag_loopback_run() 3167 cmd->un.xseq64.bdl.addrHigh = putPaddrHigh(txbmp->phys); lpfc_bsg_diag_loopback_run() 3168 cmd->un.xseq64.bdl.addrLow = putPaddrLow(txbmp->phys); lpfc_bsg_diag_loopback_run() 3266 lpfc_mbuf_free(phba, txbmp->virt, txbmp->phys); lpfc_bsg_diag_loopback_run() 3681 putPaddrHigh(mbx_dmabuf->phys + lpfc_bsg_sli_cfg_dma_desc_setup() 3685 putPaddrLow(mbx_dmabuf->phys + lpfc_bsg_sli_cfg_dma_desc_setup() 3700 putPaddrHigh(ext_dmabuf->phys); lpfc_bsg_sli_cfg_dma_desc_setup() 3703 putPaddrLow(ext_dmabuf->phys); lpfc_bsg_sli_cfg_dma_desc_setup() 3719 putPaddrHigh(mbx_dmabuf->phys + lpfc_bsg_sli_cfg_dma_desc_setup() 3723 putPaddrLow(mbx_dmabuf->phys + lpfc_bsg_sli_cfg_dma_desc_setup() 3740 putPaddrHigh(ext_dmabuf->phys); lpfc_bsg_sli_cfg_dma_desc_setup() 3743 putPaddrLow(ext_dmabuf->phys); lpfc_bsg_sli_cfg_dma_desc_setup() 4719 putPaddrHigh(dmabuf->phys + sizeof(MAILBOX_t)); lpfc_bsg_issue_mbox() 4721 putPaddrLow(dmabuf->phys + sizeof(MAILBOX_t)); lpfc_bsg_issue_mbox() 4724 putPaddrHigh(dmabuf->phys + sizeof(MAILBOX_t) lpfc_bsg_issue_mbox() 4727 putPaddrLow(dmabuf->phys + sizeof(MAILBOX_t) lpfc_bsg_issue_mbox() 4744 pmb->un.varWords[3] = putPaddrLow(dmabuf->phys lpfc_bsg_issue_mbox() 4746 pmb->un.varWords[4] = putPaddrHigh(dmabuf->phys lpfc_bsg_issue_mbox() 4767 pmb->un.varWords[3] = putPaddrLow(dmabuf->phys lpfc_bsg_issue_mbox() 4769 pmb->un.varWords[4] = putPaddrHigh(dmabuf->phys lpfc_bsg_issue_mbox() 4781 bde->addrHigh = putPaddrHigh(dmabuf->phys lpfc_bsg_issue_mbox() 4783 bde->addrLow = putPaddrLow(dmabuf->phys lpfc_bsg_issue_mbox() 4808 putPaddrHigh(dmabuf->phys lpfc_bsg_issue_mbox() 4811 putPaddrLow(dmabuf->phys lpfc_bsg_issue_mbox() 5003 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); lpfc_bsg_menlo_cmd_cmp() 5089 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys); lpfc_menlo_cmd() 5125 cmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); lpfc_menlo_cmd() 5126 cmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); lpfc_menlo_cmd() 5177 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); lpfc_menlo_cmd()
|
/linux-4.4.14/drivers/input/misc/ |
H A D | pcf8574_keypad.c | 43 char phys[32]; member in struct:kp_data 123 sprintf(lp->phys, "kp_data/input0"); pcf8574_kp_probe() 126 idev->phys = lp->phys; pcf8574_kp_probe()
|
H A D | xen-kbdfront.c | 41 char phys[32]; member in struct:xenkbd_info 124 snprintf(info->phys, sizeof(info->phys), "xenbus/%s", dev->nodename); xenkbd_probe() 146 kbd->phys = info->phys; xenkbd_probe() 170 ptr->phys = info->phys; xenkbd_probe()
|
H A D | da9063_onkey.c | 51 char phys[32]; member in struct:da9063_onkey 245 snprintf(onkey->phys, sizeof(onkey->phys), "%s/input0", da9063_onkey_probe() 247 onkey->input->phys = onkey->phys; da9063_onkey_probe()
|
H A D | uinput.c | 235 const char *name, *phys; uinput_destroy_device() local 243 phys = dev->phys; uinput_destroy_device() 251 kfree(phys); uinput_destroy_device() 709 char *phys; uinput_ioctl_handler() local 784 phys = strndup_user(p, 1024); uinput_ioctl_handler() 785 if (IS_ERR(phys)) { uinput_ioctl_handler() 786 retval = PTR_ERR(phys); uinput_ioctl_handler() 790 kfree(udev->dev->phys); uinput_ioctl_handler() 791 udev->dev->phys = phys; uinput_ioctl_handler()
|
/linux-4.4.14/drivers/iommu/ |
H A D | shmobile-ipmmu.h | 24 void ipmmu_tlb_set(struct shmobile_ipmmu *ipmmu, unsigned long phys, int size,
|
H A D | shmobile-ipmmu.c | 46 void ipmmu_tlb_set(struct shmobile_ipmmu *ipmmu, unsigned long phys, int size, ipmmu_tlb_set() argument 86 ipmmu_reg_write(ipmmu, IMTTBR, phys); ipmmu_tlb_set()
|
/linux-4.4.14/drivers/net/phy/ |
H A D | fixed_phy.c | 32 struct list_head phys; member in struct:fixed_mdio_bus 47 .phys = LIST_HEAD_INIT(platform_fmb.phys), 168 list_for_each_entry(fp, &fmb->phys, node) { fixed_mdio_read() 204 list_for_each_entry(fp, &fmb->phys, node) { fixed_phy_set_link_update() 226 list_for_each_entry(fp, &fmb->phys, node) { fixed_phy_update_state() 276 list_add_tail(&fp->node, &fmb->phys); fixed_phy_add() 294 list_for_each_entry_safe(fp, tmp, &fmb->phys, node) { fixed_phy_del() 424 list_for_each_entry_safe(fp, tmp, &fmb->phys, node) { fixed_mdio_bus_exit()
|
H A D | mdio-mux-mmioreg.c | 23 phys_addr_t phys; member in struct:mdio_mux_mmioreg_state 50 void __iomem *p = ioremap(s->phys, 1); mdio_mux_mmioreg_switch_fn() 89 s->phys = res.start; mdio_mux_mmioreg_probe()
|
/linux-4.4.14/arch/metag/mm/ |
H A D | mmu-meta1.c | 26 static unsigned long map_addr(unsigned long phys) map_addr() argument 31 offset = phys - dm_base; map_addr() 36 dm_base = phys & ~(MMCU_DIRECTMAPn_ADDR_SCALE - 1); map_addr() 42 offset = phys - dm_base; map_addr()
|
H A D | init.c | 113 unsigned long phys; allocate_pgdat() local 119 phys = __memblock_alloc_base(sizeof(struct pglist_data), allocate_pgdat() 122 if (!phys) allocate_pgdat() 123 phys = __memblock_alloc_base(sizeof(struct pglist_data), allocate_pgdat() 126 if (!phys) allocate_pgdat() 129 NODE_DATA(nid) = __va(phys); allocate_pgdat()
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
H A D | flash_setup.c | 97 flash_map.phys = region_cfg.s.base << 16; octeon_flash_probe() 98 flash_map.size = 0x1fc00000 - flash_map.phys; octeon_flash_probe() 101 flash_map.virt = ioremap(flash_map.phys, flash_map.size); octeon_flash_probe() 103 "0x%08llx\n", flash_map.size >> 20, flash_map.phys); octeon_flash_probe()
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | fixmap.h | 33 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
|
/linux-4.4.14/arch/arm/mach-ep93xx/include/mach/ |
H A D | ep93xx-regs.h | 11 * virt phys size
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/ |
H A D | hip04_eth.c | 334 static void hip04_set_xmit_desc(struct hip04_priv *priv, dma_addr_t phys) hip04_set_xmit_desc() argument 336 writel(phys, priv->base + PPE_CFG_CPU_ADD_ADDR); hip04_set_xmit_desc() 339 static void hip04_set_recv_desc(struct hip04_priv *priv, dma_addr_t phys) hip04_set_recv_desc() argument 341 regmap_write(priv->map, priv->port * 4 + PPE_CFG_RX_ADDR, phys); hip04_set_recv_desc() 431 dma_addr_t phys; hip04_mac_start_xmit() local 440 phys = dma_map_single(&ndev->dev, skb->data, skb->len, DMA_TO_DEVICE); hip04_mac_start_xmit() 441 if (dma_mapping_error(&ndev->dev, phys)) { hip04_mac_start_xmit() 447 priv->tx_phys[tx_head] = phys; hip04_mac_start_xmit() 448 desc->send_addr = cpu_to_be32(phys); hip04_mac_start_xmit() 451 phys = priv->tx_desc_dma + tx_head * sizeof(struct tx_desc); hip04_mac_start_xmit() 452 desc->wb_addr = cpu_to_be32(phys); hip04_mac_start_xmit() 455 hip04_set_xmit_desc(priv, phys); hip04_mac_start_xmit() 494 dma_addr_t phys; hip04_rx_poll() local 534 phys = dma_map_single(&ndev->dev, buf, hip04_rx_poll() 536 if (dma_mapping_error(&ndev->dev, phys)) hip04_rx_poll() 539 priv->rx_phys[priv->rx_head] = phys; hip04_rx_poll() 540 hip04_set_recv_desc(priv, phys); hip04_rx_poll() 638 dma_addr_t phys; hip04_mac_open() local 640 phys = dma_map_single(&ndev->dev, priv->rx_buf[i], hip04_mac_open() 642 if (dma_mapping_error(&ndev->dev, phys)) hip04_mac_open() 645 priv->rx_phys[i] = phys; hip04_mac_open() 646 hip04_set_recv_desc(priv, phys); hip04_mac_open()
|
/linux-4.4.14/drivers/ata/ |
H A D | libahci_platform.c | 42 * This function enables all the PHYs found in hpriv->phys, if any. 54 rc = phy_init(hpriv->phys[i]); ahci_platform_enable_phys() 58 rc = phy_power_on(hpriv->phys[i]); ahci_platform_enable_phys() 60 phy_exit(hpriv->phys[i]); ahci_platform_enable_phys() 69 phy_power_off(hpriv->phys[i]); ahci_platform_enable_phys() 70 phy_exit(hpriv->phys[i]); ahci_platform_enable_phys() 79 * This function disables all PHYs found in hpriv->phys. 86 phy_power_off(hpriv->phys[i]); ahci_platform_disable_phys() 87 phy_exit(hpriv->phys[i]); ahci_platform_disable_phys() 283 hpriv->phys[port] = devm_of_phy_get(dev, node, NULL); ahci_platform_get_phy() 285 if (!IS_ERR(hpriv->phys[port])) ahci_platform_get_phy() 288 rc = PTR_ERR(hpriv->phys[port]); ahci_platform_get_phy() 292 if (of_find_property(node, "phys", NULL)) { ahci_platform_get_phy() 300 hpriv->phys[port] = NULL; ahci_platform_get_phy() 342 * 4) phys (optional) 400 * ahci_platform_[en|dis]able_[phys|regulators] functions. ahci_platform_get_resources() 405 sz = hpriv->nports * sizeof(*hpriv->phys); ahci_platform_get_resources() 406 hpriv->phys = devm_kzalloc(dev, sz, GFP_KERNEL); ahci_platform_get_resources() 407 if (!hpriv->phys) { ahci_platform_get_resources() 498 * ahci-platform host, note any necessary resources (ie clks, phys, etc.) 610 * ahci-platform host, note any necessary resources (ie clks, phys, etc.) 647 * host, note any necessary resources (ie clks, phys, etc.) must be
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | io.h | 17 void *xlate_dev_mem_ptr(phys_addr_t phys); 19 void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr);
|
/linux-4.4.14/arch/microblaze/include/asm/ |
H A D | fixmap.h | 43 * highger than 1) use fixmap_set(idx,phys) to associate 59 phys_addr_t phys, pgprot_t flags);
|
/linux-4.4.14/drivers/scsi/isci/ |
H A D | probe_roms.c | 145 for (j = 0; j < ARRAY_SIZE(orom->ctrl[i].phys); j++) { isci_request_firmware() 146 orom->ctrl[i].phys[j].afe_tx_amp_control0 = 0xe7c03; isci_request_firmware() 147 orom->ctrl[i].phys[j].afe_tx_amp_control1 = 0xe7c03; isci_request_firmware() 148 orom->ctrl[i].phys[j].afe_tx_amp_control2 = 0xe7c03; isci_request_firmware() 149 orom->ctrl[i].phys[j].afe_tx_amp_control3 = 0xe7c03; isci_request_firmware()
|
H A D | port_config.c | 127 * more phys match the sent and received SAS address as this phy in which sci_port_configuration_agent_find_port() 167 * Sanity check the max ranges for all the phys the max index sci_port_configuration_agent_validate_ports() 177 * to make all the phys into a single port */ sci_port_configuration_agent_validate_ports() 197 sci_phy_get_sas_address(&ihost->phys[0], &first_address); sci_port_configuration_agent_validate_ports() 198 sci_phy_get_sas_address(&ihost->phys[3], &second_address); sci_port_configuration_agent_validate_ports() 210 sci_phy_get_sas_address(&ihost->phys[0], &first_address); sci_port_configuration_agent_validate_ports() 211 sci_phy_get_sas_address(&ihost->phys[2], &second_address); sci_port_configuration_agent_validate_ports() 224 sci_phy_get_sas_address(&ihost->phys[1], &first_address); sci_port_configuration_agent_validate_ports() 225 sci_phy_get_sas_address(&ihost->phys[3], &second_address); sci_port_configuration_agent_validate_ports() 240 /* verify all of the phys in the same port are using the same SAS address */ 262 * Make sure that one or more of the phys were not already assinged to sci_mpc_agent_validate_phy_configuration() 272 sci_phy_get_sas_address(&ihost->phys[phy_index], sci_mpc_agent_validate_phy_configuration() 290 * See how many additional phys are being added to this logical port. sci_mpc_agent_validate_phy_configuration() 297 sci_phy_get_sas_address(&ihost->phys[phy_index], sci_mpc_agent_validate_phy_configuration() 311 &ihost->phys[phy_index]); sci_mpc_agent_validate_phy_configuration() 341 /* Find the mask of phys that are reported read but as yet unconfigured into a port */ mpc_agent_timeout() 345 struct isci_phy *iphy = &ihost->phys[index]; mpc_agent_timeout() 383 * the phy is not broadcasting the same SAS address as the other phys in the 388 * Since all ports and phys are associated at initialization time we just turn 401 * If we can form a new port from the remainder of the phys sci_mpc_agent_link_down() 404 * rebuilding the port with the phys that remain in the ready sci_mpc_agent_link_down() 411 * Check to see if there are more phys waiting to be sci_mpc_agent_link_down() 429 /* verify phys are assigned a valid SAS address for automatic port 447 sci_phy_get_sas_address(&ihost->phys[phy_index], sci_apc_agent_validate_phy_configuration() 451 sci_phy_get_sas_address(&ihost->phys[phy_index], sci_apc_agent_validate_phy_configuration() 526 * or wait for more phys to become active. */ sci_apc_agent_configure_ports() 656 /* configure the phys into ports when the timer fires */ apc_agent_timeout() 686 &ihost->phys[index], false); apc_agent_timeout()
|
H A D | init.c | 249 sas_ha->sas_addr = &isci_host->phys[0].sas_addr[0]; isci_register_sas_ha() 252 sas_phys[i] = &isci_host->phys[i].sas_phy; isci_register_sas_ha() 404 struct sci_phy_user_params *u_phy = &u->phys[i]; isci_user_parameters_get() 434 u = &sci_parms->phys[index]; sci_user_parameters_set() 477 /* Default to short cables on all phys. */ sci_oem_defaults() 487 user->phys[i].max_speed_generation = SCIC_SDS_PARM_GEN2_SPEED; sci_oem_defaults() 490 user->phys[i].align_insertion_frequency = 0x7f; sci_oem_defaults() 491 user->phys[i].in_connection_align_insertion_frequency = 0xff; sci_oem_defaults() 492 user->phys[i].notify_enable_spin_up_insertion_frequency = 0x33; sci_oem_defaults() 499 oem->phys[i].sas_address.low = 0x1 + ihost->id; sci_oem_defaults() 500 oem->phys[i].sas_address.high = 0x5FCFFFFF; sci_oem_defaults() 566 isci_phy_init(&ihost->phys[i], ihost, i); isci_host_alloc()
|
/linux-4.4.14/arch/sh/mm/ |
H A D | cache-sh4.c | 31 static void __flush_cache_one(unsigned long addr, unsigned long phys, 89 static inline void flush_cache_one(unsigned long start, unsigned long phys) flush_cache_one() argument 102 __flush_cache_one(start, phys, exec_offset); flush_cache_one() 209 unsigned long address, pfn, phys; sh4_flush_cache_page() local 220 phys = pfn << PAGE_SHIFT; sh4_flush_cache_page() 254 (address & shm_align_mask), phys); sh4_flush_cache_page() 306 * @phys: P1 address to flush (has to match tags if addr has 'A' bit 314 * 'phys'. 316 static void __flush_cache_one(unsigned long addr, unsigned long phys, __flush_cache_one() argument 355 p = phys; __flush_cache_one()
|
H A D | init.c | 72 static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot) set_pte_phys() argument 82 set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, prot)); set_pte_phys() 102 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) __set_fixmap() argument 111 set_pte_phys(address, phys, prot); __set_fixmap() 197 unsigned long phys; allocate_pgdat() local 203 phys = __memblock_alloc_base(sizeof(struct pglist_data), allocate_pgdat() 206 if (!phys) allocate_pgdat() 207 phys = __memblock_alloc_base(sizeof(struct pglist_data), allocate_pgdat() 209 if (!phys) allocate_pgdat() 212 NODE_DATA(nid) = __va(phys); allocate_pgdat()
|
H A D | cache-sh7705.c | 81 static void __flush_dcache_page(unsigned long phys) __flush_dcache_page() argument 86 phys |= SH_CACHE_VALID; __flush_dcache_page() 89 * Here, phys is the physical address of the page. We check all the __flush_dcache_page() 119 if (data == phys) { __flush_dcache_page()
|
H A D | pmb.c | 137 static bool pmb_mapping_exists(unsigned long vaddr, phys_addr_t phys, pmb_mapping_exists() argument 158 if ((phys < pmbe->ppn) || (phys >= (pmbe->ppn + pmbe->size))) pmb_mapping_exists() 335 int pmb_bolt_mapping(unsigned long vaddr, phys_addr_t phys, pmb_bolt_mapping() argument 347 if (pmb_mapping_exists(vaddr, phys, size)) pmb_bolt_mapping() 363 pmbe = pmb_alloc(vaddr, phys, pmb_flags | pmb_bolt_mapping() 376 phys += pmbe->size; pmb_bolt_mapping() 410 void __iomem *pmb_remap_caller(phys_addr_t phys, unsigned long size, pmb_remap_caller() argument 435 last_addr = phys + size; pmb_remap_caller() 437 offset = phys & ~align_mask; pmb_remap_caller() 438 phys &= align_mask; pmb_remap_caller() 439 aligned = ALIGN(last_addr, pmb_sizes[i].size) - phys; pmb_remap_caller() 451 area->phys_addr = phys; pmb_remap_caller() 454 ret = pmb_bolt_mapping(vaddr, phys, size, prot); pmb_remap_caller()
|
/linux-4.4.14/drivers/bus/ |
H A D | mips_cdmm.c | 253 * @phys: Physical address at which it is mapped. 263 phys_addr_t phys; member in struct:mips_cdmm_bus 368 if (bus->phys == mips_cdmm_cur_base()) mips_cdmm_setup() 375 } else if (bus->phys > 1) { mips_cdmm_setup() 380 if (!bus->phys) mips_cdmm_setup() 381 bus->phys = mips_cdmm_cur_base(); mips_cdmm_setup() 383 if (!bus->phys) mips_cdmm_setup() 384 bus->phys = mips_cdmm_phys_base(); mips_cdmm_setup() 386 if (!bus->phys) mips_cdmm_setup() 387 bus->phys = mips_cdmm_default_base; mips_cdmm_setup() 389 if (!bus->phys) { mips_cdmm_setup() 390 bus->phys = 1; mips_cdmm_setup() 400 if (bus->phys == 1) { mips_cdmm_setup() 405 mips_cdmm_default_base = bus->phys; mips_cdmm_setup() 408 smp_processor_id(), &bus->phys); mips_cdmm_setup() 413 cdmmbase |= (bus->phys >> MIPS_CDMMBASE_ADDR_START) mips_cdmm_setup() 419 bus->regs = (void __iomem *)CKSEG1ADDR(bus->phys); mips_cdmm_setup() 533 dev->res.start = bus->phys + drb * CDMM_DRB_SIZE; mips_cdmm_bus_discover() 534 dev->res.end = bus->phys + mips_cdmm_bus_discover()
|
/linux-4.4.14/drivers/input/mouse/ |
H A D | vsxxxaa.c | 123 char phys[32]; member in struct:vsxxxaa 140 mouse->name, mouse->phys); vsxxxaa_queue_byte() 171 mouse->name, mouse->version, mouse->country, mouse->phys); vsxxxaa_detection_done() 249 mouse->name, mouse->phys, dx, dy, vsxxxaa_handle_REL_packet() 300 mouse->name, mouse->phys, x, y, vsxxxaa_handle_ABS_packet() 368 mouse->name, mouse->phys, error); vsxxxaa_handle_POR_packet() 379 mouse->name, mouse->phys); vsxxxaa_handle_POR_packet() 406 mouse->name, mouse->phys); vsxxxaa_parse_buffer() 483 snprintf(mouse->phys, sizeof(mouse->phys), "%s/input0", serio->phys); vsxxxaa_connect() 486 input_dev->phys = mouse->phys; vsxxxaa_connect()
|
H A D | lifebook.c | 26 char phys[32]; member in struct:lifebook_data 263 strcmp(psmouse->ps2dev.serio->phys, desired_serio_phys)) lifebook_detect() 286 snprintf(priv->phys, sizeof(priv->phys), lifebook_create_relative_device() 287 "%s/input1", psmouse->ps2dev.serio->phys); lifebook_create_relative_device() 289 dev2->phys = priv->phys; lifebook_create_relative_device()
|
H A D | sermouse.c | 52 char phys[32]; member in struct:sermouse 257 snprintf(sermouse->phys, sizeof(sermouse->phys), "%s/input0", serio->phys); sermouse_connect() 261 input_dev->phys = sermouse->phys; sermouse_connect()
|
/linux-4.4.14/drivers/net/ethernet/xscale/ |
H A D | ixp4xx_eth.c | 612 static inline void debug_desc(u32 phys, struct desc *desc) debug_desc() argument 617 phys, desc->next, desc->buf_len, desc->pkt_len, debug_desc() 630 u32 phys, tab_phys, n_desc; queue_get_desc() local 633 if (!(phys = qmgr_get_entry(queue))) queue_get_desc() 636 phys &= ~0x1F; /* mask out non-address bits */ queue_get_desc() 639 n_desc = (phys - tab_phys) / sizeof(struct desc); queue_get_desc() 641 debug_desc(phys, &tab[n_desc]); queue_get_desc() 646 static inline void queue_put_desc(unsigned int queue, u32 phys, queue_put_desc() argument 649 debug_desc(phys, desc); queue_put_desc() 650 BUG_ON(phys & 0x1F); queue_put_desc() 651 qmgr_put_entry(queue, phys); queue_put_desc() 699 u32 phys; eth_poll() local 730 phys = dma_map_single(&dev->dev, skb->data, eth_poll() 732 if (dma_mapping_error(&dev->dev, phys)) { eth_poll() 777 desc->data = phys + NET_IP_ALIGN; eth_poll() 794 u32 phys; eth_txdone_irq() local 799 while ((phys = qmgr_get_entry(TXDONE_QUEUE)) != 0) { eth_txdone_irq() 805 npe_id = phys & 3; eth_txdone_irq() 809 phys &= ~0x1F; /* mask out non-address bits */ eth_txdone_irq() 810 n_desc = (phys - tx_desc_phys(port, 0)) / sizeof(struct desc); eth_txdone_irq() 813 debug_desc(phys, desc); eth_txdone_irq() 829 queue_put_desc(port->plat->txreadyq, phys, desc); eth_txdone_irq() 846 u32 phys; eth_xmit() local 877 phys = dma_map_single(&dev->dev, mem, bytes, DMA_TO_DEVICE); eth_xmit() 878 if (dma_mapping_error(&dev->dev, phys)) { eth_xmit() 896 desc->data = phys + offset; eth_xmit() 1338 u32 phys; eth_close() local 1342 phys = tx_desc_phys(port, n); eth_close() 1345 queue_put_desc(TX_QUEUE(port->id), phys, desc); eth_close()
|
/linux-4.4.14/drivers/usb/storage/ |
H A D | onetouch.c | 54 char phys[64]; member in struct:usb_onetouch 234 usb_make_path(udev, onetouch->phys, sizeof(onetouch->phys)); onetouch_connect_input() 235 strlcat(onetouch->phys, "/input0", sizeof(onetouch->phys)); onetouch_connect_input() 238 input_dev->phys = onetouch->phys; onetouch_connect_input()
|
/linux-4.4.14/drivers/hid/usbhid/ |
H A D | usbmouse.c | 53 char phys[64]; member in struct:usb_mouse 172 usb_make_path(dev, mouse->phys, sizeof(mouse->phys)); usb_mouse_probe() 173 strlcat(mouse->phys, "/input0", sizeof(mouse->phys)); usb_mouse_probe() 176 input_dev->phys = mouse->phys; usb_mouse_probe()
|
H A D | usbkbd.c | 81 * @phys: Physical path of the keyboard. @dev's phys field points to this 100 char phys[64]; member in struct:usb_kbd 324 usb_make_path(dev, kbd->phys, sizeof(kbd->phys)); usb_kbd_probe() 325 strlcat(kbd->phys, "/input0", sizeof(kbd->phys)); usb_kbd_probe() 328 input_dev->phys = kbd->phys; usb_kbd_probe()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4/ |
H A D | sq.c | 136 * @phys: Physical address of mapping. 141 * Remaps the physical address @phys through the next available store queue 145 unsigned long sq_remap(unsigned long phys, unsigned int size, sq_remap() argument 154 end = phys + size - 1; sq_remap() 155 if (unlikely(!size || end < phys)) sq_remap() 158 if (unlikely(phys < virt_to_phys(high_memory))) sq_remap() 161 phys &= PAGE_MASK; sq_remap() 162 size = PAGE_ALIGN(end + 1) - phys; sq_remap() 168 map->addr = phys; sq_remap()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
H A D | scif_map.h | 91 scif_ioremap(dma_addr_t phys, size_t size, struct scif_dev *scifdev) scif_ioremap() argument 97 out_virt = phys_to_virt(phys); scif_ioremap() 100 sdev->hw_ops->ioremap(sdev, phys, size); scif_ioremap()
|
/linux-4.4.14/arch/m68k/emu/ |
H A D | nfcon.c | 29 unsigned long phys = virt_to_phys(buf); nfputs() local 34 nf_call(stderr_id, phys); nfputs() 40 nf_call(stderr_id, phys); nfputs()
|
/linux-4.4.14/drivers/xen/ |
H A D | swiotlb-xen.c | 302 phys_addr_t phys; xen_swiotlb_alloc_coherent() local 307 * pseudo-phys memory layout has nothing to do with the xen_swiotlb_alloc_coherent() 330 phys = *dma_handle; xen_swiotlb_alloc_coherent() 331 dev_addr = xen_phys_to_bus(phys); xen_swiotlb_alloc_coherent() 333 !range_straddles_page_boundary(phys, size)) xen_swiotlb_alloc_coherent() 336 if (xen_create_contiguous_region(phys, order, xen_swiotlb_alloc_coherent() 338 xen_free_coherent_pages(hwdev, size, ret, (dma_addr_t)phys, attrs); xen_swiotlb_alloc_coherent() 352 phys_addr_t phys; xen_swiotlb_free_coherent() local 360 phys = xen_bus_to_phys(dev_addr); xen_swiotlb_free_coherent() 363 range_straddles_page_boundary(phys, size)) xen_swiotlb_free_coherent() 364 xen_destroy_contiguous_region(phys, order); xen_swiotlb_free_coherent() 366 xen_free_coherent_pages(hwdev, size, vaddr, (dma_addr_t)phys, attrs); xen_swiotlb_free_coherent() 383 phys_addr_t map, phys = page_to_phys(page) + offset; xen_swiotlb_map_page() local 384 dma_addr_t dev_addr = xen_phys_to_bus(phys); xen_swiotlb_map_page() 393 !range_straddles_page_boundary(phys, size) && xen_swiotlb_map_page() 394 !xen_arch_need_swiotlb(dev, phys, dev_addr) && xen_swiotlb_map_page() 408 map = swiotlb_tbl_map_single(dev, start_dma_addr, phys, size, dir); xen_swiotlb_map_page()
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
H A 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), 777 offsetof (struct sym_ccb, phys.head.lastp), 805 offsetof (struct sym_ccb, phys.head.status), 1001 offsetof(struct sym_ccb, phys.head.go.restart), 1016 offsetof (struct sym_ccb, phys.head.status), 1032 offsetof(struct sym_ccb, phys.head.go.restart), 1098 offsetof (struct sym_ccb, phys.pm0.sg), 1118 offsetof (struct sym_ccb, phys.pm0.sg), 1132 offsetof (struct sym_ccb, phys.pm0.ret), 1163 offsetof (struct sym_ccb, phys.pm1.sg), 1183 offsetof (struct sym_ccb, phys.pm1.sg), 1197 offsetof (struct sym_ccb, phys.pm1.ret), 1648 offsetof(struct sym_ccb, phys.pm0.ret), 1652 offsetof(struct sym_ccb, phys.pm1.ret), 1680 offsetof(struct sym_ccb, phys.pm0.ret), 1695 offsetof(struct sym_ccb, phys.pm0.sg.size), 1697 offsetof(struct sym_ccb, phys.pm0.sg.addr), 1705 offsetof(struct sym_ccb, phys.head.lastp), 1710 offsetof(struct sym_ccb, phys.pm1.ret), 1725 offsetof(struct sym_ccb, phys.pm1.sg.size), 1727 offsetof(struct sym_ccb, phys.pm1.sg.addr), 1749 offsetof (struct sym_ccb, phys.wresid.addr), 1778 offsetof (struct sym_ccb, phys.wresid.size), 1794 offsetof (struct sym_ccb, phys.wresid), 1830 offsetof (struct sym_ccb, phys.wresid),
|
/linux-4.4.14/include/media/ |
H A D | ir-kbd-i2c.h | 22 char phys[32]; member in struct:IR_i2c
|
/linux-4.4.14/include/linux/fsl/bestcomm/ |
H A D | sram.h | 39 extern void* bcom_sram_alloc(int size, int align, phys_addr_t *phys);
|
/linux-4.4.14/arch/sh/include/cpu-sh4/cpu/ |
H A D | sq.h | 31 unsigned long sq_remap(unsigned long phys, unsigned int size,
|
/linux-4.4.14/arch/m68k/include/uapi/asm/ |
H A D | bootinfo-hp300.h | 15 #define BI_HP300_UART_ADDR 0x8002 /* phys. addr of UART (__be32) */
|
/linux-4.4.14/drivers/net/ethernet/dec/tulip/ |
H A D | media.c | 316 tp->phys[phy_num]); tulip_select_media() 317 tulip_mdio_write(dev, tp->phys[phy_num], 4, tp->mii_advertise); tulip_select_media() 407 bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); tulip_check_duplex() 408 lpa = tulip_mdio_read(dev, tp->phys[0], MII_LPA); tulip_check_duplex() 415 int new_bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); tulip_check_duplex() 442 tp->phys[0], lpa); tulip_check_duplex() 460 for (phyn = 1; phyn <= 32 && phy_idx < ARRAY_SIZE(tp->phys); phyn++) { tulip_find_mii() 495 tp->phys[phy_idx++] = phy; tulip_find_mii() 533 /* some phys need the ANE switch to tulip_find_mii() 537 * confuse the sane phys. tulip_find_mii() 550 tp->phys[0] = 1; tulip_find_mii()
|
/linux-4.4.14/arch/unicore32/mm/ |
H A D | mmu.c | 175 unsigned long end, unsigned long phys, alloc_init_section() 181 * Try a section mapping - end, addr and phys must all be aligned alloc_init_section() 184 if (((addr | end | phys) & ~SECTION_MASK) == 0) { alloc_init_section() 188 set_pmd(pmd, __pmd(phys | type->prot_sect)); alloc_init_section() 189 phys += SECTION_SIZE; alloc_init_section() 198 alloc_init_pte(pmd, addr, end, __phys_to_pfn(phys), type); alloc_init_section() 210 unsigned long phys, addr, length, end; create_mapping() local 231 phys = (unsigned long)__pfn_to_phys(md->pfn); create_mapping() 234 if (type->prot_l1 == 0 && ((addr | phys | length) & ~SECTION_MASK)) { create_mapping() 246 alloc_init_section(pgd, addr, next, phys, type); create_mapping() 248 phys += next - addr; create_mapping() 174 alloc_init_section(pgd_t *pgd, unsigned long addr, unsigned long end, unsigned long phys, const struct mem_type *type) alloc_init_section() argument
|
/linux-4.4.14/drivers/soc/tegra/fuse/ |
H A D | fuse.h | 44 phys_addr_t phys; member in struct:tegra_fuse 57 dma_addr_t phys; member in struct:tegra_fuse::__anon10226
|
H A D | fuse-tegra20.c | 62 fuse->apbdma.config.src_addr = fuse->apbdma.phys + FUSE_BEGIN + offset; tegra20_fuse_read() 69 fuse->apbdma.phys, tegra20_fuse_read() 111 &fuse->apbdma.phys, tegra20_fuse_probe()
|
/linux-4.4.14/include/linux/ |
H A D | mmiotrace.h | 88 resource_size_t phys; /* PCI address of register */ member in struct:mmiotrace_rw 97 resource_size_t phys; /* base address in PCI space */ member in struct:mmiotrace_map
|
/linux-4.4.14/arch/score/include/asm/ |
H A D | page.h | 64 #define phys_to_pfn(phys) (PFN_DOWN(phys))
|
/linux-4.4.14/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 147 void hwm_tx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, 149 void hwm_rx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, 331 u_long phys ; init_descr_ring() local 339 phys = mac_drv_virt2phys(smc,(void *)d1) ; init_descr_ring() 340 d2->r.rxd_nrdadr = cpu_to_le32(phys) ; init_descr_ring() 345 phys = mac_drv_virt2phys(smc,(void *)start) ; init_descr_ring() 346 d1->r.rxd_nrdadr = cpu_to_le32(phys) ; init_descr_ring() 352 return phys; init_descr_ring() 359 u_long phys ; init_txd_ring() local 370 phys = le32_to_cpu(ds->txd_ntdadr) ; init_txd_ring() 376 outpd(ADDR(B5_XA_DA),phys) ; init_txd_ring() local 384 phys = le32_to_cpu(ds->txd_ntdadr) ; init_txd_ring() 389 outpd(ADDR(B5_XS_DA),phys) ; init_txd_ring() local 396 u_long phys ; init_rxd_ring() local 406 phys = le32_to_cpu(ds->rxd_nrdadr) ; init_rxd_ring() 411 outpd(ADDR(B4_R1_DA),phys) ; init_rxd_ring() local 556 u_long phys ; mac_drv_repair_descr() local 567 phys = repair_txd_ring(smc,smc->hw.fp.tx[QUEUE_A0]) ; mac_drv_repair_descr() 568 outpd(ADDR(B5_XA_DA),phys) ; mac_drv_repair_descr() local 572 phys = repair_txd_ring(smc,smc->hw.fp.tx[QUEUE_S]) ; mac_drv_repair_descr() 573 outpd(ADDR(B5_XS_DA),phys) ; mac_drv_repair_descr() local 581 phys = repair_rxd_ring(smc,smc->hw.fp.rx[QUEUE_R1]) ; mac_drv_repair_descr() 582 outpd(ADDR(B4_R1_DA),phys) ; mac_drv_repair_descr() local 590 u_long phys ; repair_txd_ring() local 601 phys = le32_to_cpu(t->txd_ntdadr) ; repair_txd_ring() 619 phys = le32_to_cpu(t->txd_ntdadr) ; repair_txd_ring() 624 return phys; repair_txd_ring() 642 u_long phys ; repair_rxd_ring() local 653 phys = le32_to_cpu(r->rxd_nrdadr) ; repair_rxd_ring() 671 phys = le32_to_cpu(r->rxd_nrdadr) ; repair_rxd_ring() 676 return phys; repair_rxd_ring() 1395 * void hwm_rx_frag(smc,virt,phys,len,frame_status) 1415 void hwm_rx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, hwm_rx_frag() argument 1425 r->rxd_rbadr = cpu_to_le32(phys) ; hwm_rx_frag() 1603 * void hwm_tx_frag(smc,virt,phys,len,frame_status) 1628 void hwm_tx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, hwm_tx_frag() argument 1651 t->txd_tbadr = cpu_to_le32(phys) ; hwm_tx_frag() 1818 u_long phys ; smt_send_mbuf() local 1891 phys = dma_master(smc, (void far *)virt[i], smt_send_mbuf() 1893 t->txd_tbadr = cpu_to_le32(phys) ; smt_send_mbuf() 2073 * write the phys pointer of the NEXT descriptor into the mac_drv_clear_tx_queue()
|
/linux-4.4.14/drivers/acpi/ |
H A D | osl.c | 91 acpi_physical_address phys; member in struct:acpi_ioremap 281 acpi_map_lookup(acpi_physical_address phys, acpi_size size) acpi_map_lookup() argument 286 if (map->phys <= phys && acpi_map_lookup() 287 phys + size <= map->phys + map->size) acpi_map_lookup() 295 acpi_map_vaddr_lookup(acpi_physical_address phys, unsigned int size) acpi_map_vaddr_lookup() argument 299 map = acpi_map_lookup(phys, size); acpi_map_vaddr_lookup() 301 return map->virt + (phys - map->phys); acpi_map_vaddr_lookup() 306 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size) acpi_os_get_iomem() argument 312 map = acpi_map_lookup(phys, size); acpi_os_get_iomem() 314 virt = map->virt + (phys - map->phys); acpi_os_get_iomem() 368 acpi_os_map_iomem(acpi_physical_address phys, acpi_size size) acpi_os_map_iomem() argument 375 if (phys > ULONG_MAX) { acpi_os_map_iomem() 381 return __acpi_map_table((unsigned long)phys, size); acpi_os_map_iomem() 385 map = acpi_map_lookup(phys, size); acpi_os_map_iomem() 397 pg_off = round_down(phys, PAGE_SIZE); acpi_os_map_iomem() 398 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; acpi_os_map_iomem() 408 map->phys = pg_off; acpi_os_map_iomem() 416 return map->virt + (phys - map->phys); acpi_os_map_iomem() 421 acpi_os_map_memory(acpi_physical_address phys, acpi_size size) acpi_os_map_memory() argument 423 return (void *)acpi_os_map_iomem(phys, size); acpi_os_map_memory() 437 acpi_unmap(map->phys, map->virt); acpi_os_map_cleanup() 526 acpi_os_get_physical_address(void *virt, acpi_physical_address * phys) acpi_os_get_physical_address() argument 528 if (!phys || !virt) acpi_os_get_physical_address() 531 *phys = virt_to_phys(virt); acpi_os_get_physical_address()
|
H A D | nvs.c | 178 unsigned long phys = entry->phys_start; suspend_nvs_save() local 181 entry->kaddr = acpi_os_get_iomem(phys, size); suspend_nvs_save() 183 entry->kaddr = acpi_os_ioremap(phys, size); suspend_nvs_save()
|
/linux-4.4.14/drivers/scsi/aacraid/ |
H A D | comminit.c | 73 dma_addr_t phys; aac_alloc_comm() local 83 base = pci_alloc_consistent(dev->pdev, size, &phys); aac_alloc_comm() 91 dev->comm_phys = phys; aac_alloc_comm() 97 dev->host_rrq_pa = phys + fibsize; aac_alloc_comm() 102 dev->init_pa = phys + fibsize + host_rrq_size; aac_alloc_comm() 119 init->AdapterFibsPhysicalAddress = cpu_to_le32((u32)phys); aac_alloc_comm() 167 phys = (dma_addr_t)((ulong)phys + fibsize + host_rrq_size + aac_alloc_comm() 175 phys = phys + align; aac_alloc_comm() 180 init->CommHeaderAddress = cpu_to_le32((u32)phys); aac_alloc_comm() 185 phys = phys + commsize; aac_alloc_comm() 190 init->printfbuf = cpu_to_le32(phys); aac_alloc_comm()
|
/linux-4.4.14/drivers/dma/ioat/ |
H A D | dma.c | 189 ioat_set_chainaddr(ioat_chan, desc->txd.phys); __ioat_start_null_desc() 221 ioat_set_chainaddr(ioat_chan, desc->txd.phys); __ioat_restart_chan() 298 dma_addr_t phys; ioat_alloc_ring_ent() local 301 hw = pci_pool_alloc(ioat_dma->dma_pool, flags, &phys); ioat_alloc_ring_ent() 308 pci_pool_free(ioat_dma->dma_pool, hw, phys); ioat_alloc_ring_ent() 315 desc->txd.phys = phys; ioat_alloc_ring_ent() 324 pci_pool_free(ioat_dma->dma_pool, desc->hw, desc->txd.phys); ioat_free_ring_ent() 358 hw->next = next->txd.phys; ioat_alloc_ring() 360 ring[i]->hw->next = ring[0]->txd.phys; ioat_alloc_ring() 432 hw->next = next->txd.phys; reshape_ring() 460 hw->next = next->txd.phys; reshape_ring() 668 if (tx->phys == phys_complete) __cleanup() 810 *ioat_chan->completion = desc->txd.phys; ioat_eh()
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | io.h | 75 unsigned long phys = (unsigned long)address; virt_to_phys() local 78 phys <<= (64 - 41); virt_to_phys() 79 phys = (long)phys >> (64 - 41); virt_to_phys() 82 phys &= (1ul << hwrpb->pa_bits) - 1; virt_to_phys() 84 return phys; virt_to_phys() 116 unsigned long phys = virt_to_phys(address); virt_to_bus() local 117 unsigned long bus = phys + __direct_map_base; virt_to_bus() 118 return phys <= __direct_map_size ? bus : 0; virt_to_bus()
|
/linux-4.4.14/drivers/gpu/host1x/hw/ |
H A D | cdma_hw.c | 58 &pb->phys, getptr); cdma_timeout_cpu_incr() 80 host1x_ch_writel(ch, cdma->push_buffer.phys, HOST1X_CHANNEL_DMASTART); cdma_start() 82 host1x_ch_writel(ch, cdma->push_buffer.phys + cdma_start() 117 host1x_ch_writel(ch, cdma->push_buffer.phys, HOST1X_CHANNEL_DMASTART); cdma_timeout_restart() 118 host1x_ch_writel(ch, cdma->push_buffer.phys + cdma_timeout_restart()
|
/linux-4.4.14/drivers/message/fusion/ |
H A D | mptsas.h | 138 u32 phys_disk_num; /* phys disk id, for csmi-ioctls */ 150 u16 num_phys; /* number of phys belong to this port */ 151 u64 phy_bitmask; /* TODO, extend support for 255 phys */ 163 u8 hw_link_rate; /* hardware max/min phys link rate */ 175 u16 num_phys; /* number of phys */
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | sleep.S | 69 add r4, r4, #12 @ Space for pgd, virt sp, phys resume fn 90 ldmia sp!, {r1 - r3} @ pop phys pgd, virt SP, phys resume fn 142 add r2, r2, r3 @ r2 = struct mpidr_hash phys address 156 @ load phys pgd, stack, resume fn
|
/linux-4.4.14/arch/arm/mm/ |
H A D | mmu.c | 407 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot) __set_fixmap() argument 419 pfn_pte(phys >> PAGE_SHIFT, prot)); __set_fixmap() 749 unsigned long end, phys_addr_t phys, __map_init_section() 768 *pmd = __pmd(phys | type->prot_sect); __map_init_section() 769 phys += SECTION_SIZE; __map_init_section() 776 unsigned long end, phys_addr_t phys, alloc_init_pmd() 790 * Try a section mapping - addr, next and phys must all be alloc_init_pmd() 794 ((addr | next | phys) & ~SECTION_MASK) == 0) { alloc_init_pmd() 795 __map_init_section(pmd, addr, next, phys, type); alloc_init_pmd() 798 __phys_to_pfn(phys), type); alloc_init_pmd() 801 phys += next - addr; alloc_init_pmd() 807 unsigned long end, phys_addr_t phys, alloc_init_pud() 815 alloc_init_pmd(pud, addr, next, phys, type); alloc_init_pud() 816 phys += next - addr; alloc_init_pud() 825 phys_addr_t phys; create_36bit_mapping() local 829 phys = __pfn_to_phys(md->pfn); create_36bit_mapping() 860 phys |= (((md->pfn >> (32 - PAGE_SHIFT)) & 0xF) << 20); create_36bit_mapping() 870 *pmd++ = __pmd(phys | type->prot_sect | PMD_SECT_SUPER); create_36bit_mapping() 873 phys += SUPERSECTION_SIZE; create_36bit_mapping() 889 phys_addr_t phys; create_mapping() local 919 phys = __pfn_to_phys(md->pfn); create_mapping() 922 if (type->prot_l1 == 0 && ((addr | phys | length) & ~SECTION_MASK)) { create_mapping() 933 alloc_init_pud(pgd, addr, next, phys, type); create_mapping() 935 phys += next - addr; create_mapping() 1482 /* Re-set the phys pfn offset, and the pv offset */ early_paging_init() 748 __map_init_section(pmd_t *pmd, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type) __map_init_section() argument 775 alloc_init_pmd(pud_t *pud, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type) alloc_init_pmd() argument 806 alloc_init_pud(pgd_t *pgd, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type) alloc_init_pud() argument
|
/linux-4.4.14/drivers/net/wan/ |
H A D | ixp4xx_hss.c | 573 static inline void debug_desc(u32 phys, struct desc *desc) debug_desc() argument 577 phys, desc->next, desc->buf_len, desc->pkt_len, debug_desc() 585 u32 phys, tab_phys, n_desc; queue_get_desc() local 588 if (!(phys = qmgr_get_entry(queue))) queue_get_desc() 591 BUG_ON(phys & 0x1F); queue_get_desc() 594 n_desc = (phys - tab_phys) / sizeof(struct desc); queue_get_desc() 596 debug_desc(phys, &tab[n_desc]); queue_get_desc() 601 static inline void queue_put_desc(unsigned int queue, u32 phys, queue_put_desc() argument 604 debug_desc(phys, desc); queue_put_desc() 605 BUG_ON(phys & 0x1F); queue_put_desc() 606 qmgr_put_entry(queue, phys); queue_put_desc() 672 u32 phys; hss_hdlc_poll() local 711 phys = dma_map_single(&dev->dev, skb->data, hss_hdlc_poll() 714 if (dma_mapping_error(&dev->dev, phys)) { hss_hdlc_poll() 776 desc->data = phys; hss_hdlc_poll() 836 u32 phys; hss_hdlc_xmit() local 868 phys = dma_map_single(&dev->dev, mem, bytes, DMA_TO_DEVICE); hss_hdlc_xmit() 869 if (dma_mapping_error(&dev->dev, phys)) { hss_hdlc_xmit() 888 desc->data = phys + offset; hss_hdlc_xmit()
|
/linux-4.4.14/drivers/dma/ |
H A D | txx9dmac.c | 206 desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc, txx9dmac_desc_alloc() 252 child->txd.phys, ddev->descsize, txx9dmac_sync_desc_for_cpu() 255 desc->txd.phys, ddev->descsize, txx9dmac_sync_desc_for_cpu() 371 channel64_write_CHAR(dc, first->txd.phys); txx9dmac_dostart() 392 channel32_writel(dc, CHAR, first->txd.phys); txx9dmac_dostart() 394 channel32_writel(dc, CHAR, first->txd.phys); txx9dmac_dostart() 441 desc_write_CHAR(dc, prev, desc->txd.phys); txx9dmac_dequeue() 443 prev->txd.phys, ddev->descsize, txx9dmac_dequeue() 785 desc_write_CHAR(dc, prev, desc->txd.phys); txx9dmac_prep_dma_memcpy() 787 prev->txd.phys, ddev->descsize, txx9dmac_prep_dma_memcpy() 800 prev->txd.phys, ddev->descsize, txx9dmac_prep_dma_memcpy() 879 desc_write_CHAR(dc, prev, desc->txd.phys); for_each_sg() 881 prev->txd.phys, for_each_sg() 895 prev->txd.phys, ddev->descsize, 956 desc_write_CHAR(dc, prev, desc->txd.phys); txx9dmac_chain_dynamic() 958 prev->txd.phys, ddev->descsize, txx9dmac_chain_dynamic() 962 channel_read_CHAR(dc) == prev->txd.phys) txx9dmac_chain_dynamic() 964 channel_write_CHAR(dc, desc->txd.phys); txx9dmac_chain_dynamic() 1073 dma_unmap_single(chan2parent(chan), desc->txd.phys, txx9dmac_free_chan_resources()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | user_pages.c | 112 dma_addr_t phys; hfi1_map_page() local 114 phys = pci_map_page(hwdev, page, offset, size, direction); hfi1_map_page() 116 return phys; hfi1_map_page()
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | sleep.S | 36 @ preserve phys address of stack 165 ldw r0, sleep_save_sp @ stack phys addr 186 .word 0 @ preserve stack phys ptr here
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | cacheflush.h | 74 unsigned long phys) { } __invalidate_dcache_page_alias() 76 unsigned long phys) { } 82 unsigned long phys) { } 73 __flush_invalidate_dcache_page_alias(unsigned long virt, unsigned long phys) __flush_invalidate_dcache_page_alias() argument 75 __invalidate_dcache_page_alias(unsigned long virt, unsigned long phys) __invalidate_dcache_page_alias() argument 81 __invalidate_icache_page_alias(unsigned long virt, unsigned long phys) __invalidate_icache_page_alias() argument
|
/linux-4.4.14/drivers/media/usb/au0828/ |
H A D | au0828-input.c | 38 char phys[32]; member in struct:au0828_rc 335 usb_make_path(dev->usbdev, ir->phys, sizeof(ir->phys)); au0828_rc_register() 336 strlcat(ir->phys, "/input0", sizeof(ir->phys)); au0828_rc_register() 339 rc->input_phys = ir->phys; au0828_rc_register()
|
/linux-4.4.14/arch/x86/mm/ |
H A D | mmio-mod.c | 52 resource_size_t phys; member in struct:remap_trace 162 my_trace->phys = addr - trace->probe.addr + trace->phys; pre() 241 .phys = offset, ioremap_trace_core() 260 .phys = offset, ioremap_trace_core() 296 .phys = 0, iounmap_trace_core()
|
H A D | ioremap.c | 396 void *xlate_dev_mem_ptr(phys_addr_t phys) xlate_dev_mem_ptr() argument 398 unsigned long start = phys & PAGE_MASK; xlate_dev_mem_ptr() 399 unsigned long offset = phys & ~PAGE_MASK; xlate_dev_mem_ptr() 404 return __va(phys); xlate_dev_mem_ptr() 414 void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) unxlate_dev_mem_ptr() argument 416 if (page_is_ram(phys >> PAGE_SHIFT)) unxlate_dev_mem_ptr() 485 phys_addr_t phys, pgprot_t flags) __early_set_fixmap() 497 set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); __early_set_fixmap() 484 __early_set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags) __early_set_fixmap() argument
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | sun4v_ivec.S | 29 /* Get CPU mondo queue base phys address into %g7. */ 77 /* Get DEV mondo queue base phys address into %g5. */ 135 /* Get RES mondo queue base phys address into %g5. */ 138 /* Get RES kernel buffer base phys address into %g7. */ 246 /* Get RES mondo queue base phys address into %g5. */ 249 /* Get RES kernel buffer base phys address into %g7. */
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
H A D | diva_dma.c | 59 int nr, void *virt, dword phys, diva_init_dma_map_entry() 61 pmap[nr].phys_bus_addr = phys; diva_init_dma_map_entry() 58 diva_init_dma_map_entry(struct _diva_dma_map_entry *pmap, int nr, void *virt, dword phys, void *addr_handle) diva_init_dma_map_entry() argument
|
H A D | diva_dma.h | 31 int nr, void *virt, dword phys,
|
/linux-4.4.14/drivers/input/serio/ |
H A D | altera_ps2.c | 117 strlcpy(serio->phys, dev_name(&pdev->dev), sizeof(serio->phys)); altera_ps2_probe()
|
H A D | olpc_apsp.c | 212 strlcpy(kb_serio->phys, "sp/serio0", sizeof(kb_serio->phys)); olpc_apsp_probe() 229 strlcpy(pad_serio->phys, "sp/serio1", sizeof(pad_serio->phys)); olpc_apsp_probe()
|
H A D | ps2mult.c | 138 snprintf(serio->phys, sizeof(serio->phys), ps2mult_create_port() 139 "%s/port%d", mx_serio->phys, i); ps2mult_create_port() 201 dev_info(&serio->dev, "%s port at %s\n", s->name, serio->phys); ps2mult_connect()
|
/linux-4.4.14/drivers/dma/bestcomm/ |
H A D | sram.c | 149 void* bcom_sram_alloc(int size, int align, phys_addr_t *phys) bcom_sram_alloc() argument 160 *phys = bcom_sram->base_phys + offset; bcom_sram_alloc()
|
/linux-4.4.14/arch/unicore32/include/asm/ |
H A D | memory.h | 67 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys)))
|
/linux-4.4.14/net/caif/ |
H A D | cfcnfg.c | 59 struct list_head phys; member in struct:cfcnfg 100 INIT_LIST_HEAD(&this->phys); cfcnfg_create() 138 list_for_each_entry_rcu(phy, &cnfg->phys, node) cfcnfg_get_phyinfo_rcu() 154 list_for_each_entry_rcu(phy, &cnfg->phys, node) { cfcnfg_get_phyid() 162 list_for_each_entry_rcu(phy, &cnfg->phys, node) cfcnfg_get_phyid() 173 list_for_each_entry_rcu(phy, &cnfg->phys, node) cfcnfg_get_id_from_ifi() 516 list_add_rcu(&phyinfo->node, &cnfg->phys); cfcnfg_add_phy_layer() 587 list_add_rcu(&phyinfo->node, &cnfg->phys); cfcnfg_del_phy_layer()
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A D | page.h | 81 #define phys_to_page(phys) (pfn_to_page(phys >> PAGE_SHIFT))
|
/linux-4.4.14/arch/arm/mach-mv78xx0/include/mach/ |
H A D | mv78xx0.h | 18 * phys 30 * virt phys size
|
/linux-4.4.14/arch/arm/mach-orion5x/include/mach/ |
H A D | orion5x.h | 20 * phys 33 * virt phys size
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
H A D | mx2_camera.c | 383 unsigned long phys, int bufnum) mx27_update_emma_buf() 388 writel(phys, pcdev->base_emma + mx27_update_emma_buf() 391 writel(phys, pcdev->base_emma + mx27_update_emma_buf() 397 writel(phys + imgsize, pcdev->base_emma + mx27_update_emma_buf() 399 writel(phys + ((5 * imgsize) / 4), pcdev->base_emma + mx27_update_emma_buf() 657 unsigned long phys; mx2_start_streaming() local 671 phys = vb2_dma_contig_plane_dma_addr(vb, 0); mx2_start_streaming() 672 mx27_update_emma_buf(pcdev, phys, buf->internal.bufnum); mx2_start_streaming() 680 phys = vb2_dma_contig_plane_dma_addr(vb, 0); mx2_start_streaming() 681 mx27_update_emma_buf(pcdev, phys, buf->internal.bufnum); mx2_start_streaming() 1313 unsigned long phys; mx27_camera_frame_done_emma() local 1332 phys = vb2_dma_contig_plane_dma_addr(vb, 0); mx27_camera_frame_done_emma() 1335 4 * bufnum) != phys) { mx27_camera_frame_done_emma() 1336 dev_err(pcdev->dev, "%lx != %x\n", phys, mx27_camera_frame_done_emma() 1342 0x14 * bufnum) != phys) { mx27_camera_frame_done_emma() 1343 dev_err(pcdev->dev, "%lx != %x\n", phys, mx27_camera_frame_done_emma() 1389 phys = vb2_dma_contig_plane_dma_addr(vb, 0); mx27_camera_frame_done_emma() 1390 mx27_update_emma_buf(pcdev, phys, bufnum); mx27_camera_frame_done_emma() 382 mx27_update_emma_buf(struct mx2_camera_dev *pcdev, unsigned long phys, int bufnum) mx27_update_emma_buf() argument
|
/linux-4.4.14/drivers/staging/unisys/visorbus/ |
H A D | controlvmchannel.h | 349 u64 gp_controlvm; /* guest phys addr of this channel */ 350 u64 gp_partition_tables;/* guest phys addr of partition tables */ 351 u64 gp_diag_guest; /* guest phys addr of diagnostic channel */ 352 u64 gp_boot_romdisk;/* guest phys addr of (read* only) Boot ROM disk */ 353 u64 gp_boot_ramdisk;/* guest phys addr of writable Boot RAM disk */ 354 u64 gp_acpi_table; /* guest phys addr of acpi table */ 355 u64 gp_control_channel;/* guest phys addr of control channel */ 356 u64 gp_diag_romdisk;/* guest phys addr of diagnostic ROM disk */ 357 u64 gp_nvram; /* guest phys addr of NVRAM channel */ 367 u64 gp_smbios_table; /* guest phys addr of SMBIOS tables */ 368 u64 gp_physical_smbios_table; /* guest phys addr of SMBIOS table */
|
/linux-4.4.14/drivers/hid/ |
H A D | uhid.c | 371 __u8 phys[64]; member in struct:uhid_create_req_compat 418 memcpy(event->u.create.phys, compat->phys, uhid_event_from_user() 419 sizeof(compat->phys)); uhid_event_from_user() 484 len = min(sizeof(hid->phys), sizeof(ev->u.create2.phys)) - 1; uhid_dev_create2() 485 strncpy(hid->phys, ev->u.create2.phys, len); uhid_dev_create2() 533 memcpy(ev->u.create2.phys, orig.phys, sizeof(orig.phys)); uhid_dev_create()
|
/linux-4.4.14/drivers/sh/intc/ |
H A D | access.c | 23 if (address < window->phys) intc_phys_to_virt() 26 if (address >= (window->phys + window->size)) intc_phys_to_virt() 29 address -= window->phys; intc_phys_to_virt() 35 /* no windows defined, register must be 1:1 mapped virt:phys */ intc_phys_to_virt()
|