/linux-4.1.27/arch/x86/include/asm/ |
H A D | page_64.h | 10 extern unsigned long phys_base; 17 x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); __phys_addr_nodebug() 28 ((unsigned long)(x) - __START_KERNEL_map + phys_base)
|
/linux-4.1.27/arch/x86/mm/ |
H A D | physaddr.c | 19 x = y + phys_base; __phys_addr() 40 return y + phys_base; __phys_addr_symbol() 51 x = y + phys_base; __virt_addr_valid()
|
H A D | init_64.c | 370 * phys_base holds the negative offset to the kernel, which is added
|
H A D | pageattr.c | 1278 __START_KERNEL_map - phys_base; cpa_process_alias()
|
/linux-4.1.27/arch/x86/realmode/ |
H A D | init.c | 35 unsigned long phys_base; setup_real_mode() local 47 phys_base = __pa(base); setup_real_mode() 48 real_mode_seg = phys_base >> 4; setup_real_mode() 63 *ptr += phys_base; setup_real_mode()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | init_32.c | 44 unsigned long phys_base; variable 45 EXPORT_SYMBOL(phys_base); variable 172 initrd_start = sparc_ramdisk_image + phys_base; bootmem_init() 226 initrd_start = (initrd_start - phys_base) + PAGE_OFFSET; bootmem_init() 227 initrd_end = (initrd_end - phys_base) + PAGE_OFFSET; bootmem_init() 231 size = (start_pfn << PAGE_SHIFT) - phys_base; bootmem_init() 232 reserve_bootmem(phys_base, size, BOOTMEM_DEFAULT); bootmem_init()
|
H A D | init_64.c | 754 static void __init find_ramdisk(unsigned long phys_base) find_ramdisk() argument 777 ramdisk_image += phys_base; find_ramdisk() 1344 static unsigned long __init bootmem_init(unsigned long phys_base) bootmem_init() argument 1350 min_low_pfn = (phys_base >> PAGE_SHIFT); bootmem_init() 2018 unsigned long end_pfn, shift, phys_base; paging_init() local 2104 phys_base = 0xffffffffffffffffUL; paging_init() 2106 phys_base = min(phys_base, pavail[i].phys_addr); paging_init() 2112 find_ramdisk(phys_base); paging_init() 2186 last_valid_pfn = end_pfn = bootmem_init(phys_base); paging_init()
|
H A D | srmmu.c | 823 static void __init do_large_mapping(unsigned long vaddr, unsigned long phys_base) do_large_mapping() argument 828 big_pte = KERNEL_PTE(phys_base >> 4); do_large_mapping() 859 if (phys_base > 0) { map_kernel() 860 do_large_mapping(PAGE_OFFSET, phys_base); map_kernel()
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | page_32.h | 120 extern unsigned long phys_base; 123 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + phys_base) 124 #define __va(x) ((void *)((unsigned long) (x) - phys_base + PAGE_OFFSET))
|
H A D | pgtable_32.h | 87 extern unsigned long phys_base; 416 unsigned long long offset, space, phys_base; io_remap_pfn_range() local 420 phys_base = offset | (space << 32ULL); io_remap_pfn_range() 422 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); io_remap_pfn_range()
|
H A D | leon.h | 254 #define _pfn_valid(pfn) ((pfn < last_valid_pfn) && (pfn >= PFN(phys_base)))
|
H A D | pgtable_64.h | 979 unsigned long phys_base; io_remap_pfn_range() local 981 phys_base = offset | (((unsigned long) space) << 32UL); io_remap_pfn_range() 983 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); io_remap_pfn_range()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | head64.c | 76 pud_p = (pudval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); early_make_pgtable() 86 *pgd_p = (pgdval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; early_make_pgtable() 92 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); early_make_pgtable() 102 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; early_make_pgtable()
|
H A D | x8664_ksyms_64.c | 69 EXPORT_SYMBOL(phys_base); variable
|
H A D | head_64.S | 160 /* Fixup phys_base */ 161 addq %rbp, phys_base(%rip) 191 addq phys_base(%rip), %rax 523 ENTRY(phys_base)
|
H A D | machine_kexec_64.c | 329 VMCOREINFO_SYMBOL(phys_base); arch_crash_save_vmcoreinfo()
|
/linux-4.1.27/drivers/mtd/onenand/ |
H A D | omap2.c | 52 unsigned long phys_base; member in struct:omap2_onenand 335 dma_src = c->phys_base + bram_offset; omap3_onenand_read_bufferram() 407 dma_dst = c->phys_base + bram_offset; omap3_onenand_write_bufferram() 484 dma_src = c->phys_base + bram_offset; omap2_onenand_read_bufferram() 531 dma_dst = c->phys_base + bram_offset; omap2_onenand_write_bufferram() 647 c->phys_base = res->start; omap2_onenand_probe() 650 if (request_mem_region(c->phys_base, c->mem_size, omap2_onenand_probe() 653 c->phys_base, c->mem_size); omap2_onenand_probe() 657 c->onenand.base = ioremap(c->phys_base, c->mem_size); omap2_onenand_probe() 709 "base %p, freq %d MHz\n", c->gpmc_cs, c->phys_base, omap2_onenand_probe() 774 release_mem_region(c->phys_base, c->mem_size); omap2_onenand_probe() 795 release_mem_region(c->phys_base, c->mem_size); omap2_onenand_remove()
|
H A D | samsung.c | 142 unsigned long phys_base; member in struct:s3c_onenand 661 dma_src = onenand->phys_base + (p - this->base); s5pc110_read_bufferram() 665 dma_src = onenand->phys_base + (p - this->base); s5pc110_read_bufferram() 964 onenand->phys_base = onenand->base_res->start; s3c_onenand_probe()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | setup_32.c | 343 phys_base = 0xffffffffUL; setup_arch() 348 if (sp_banks[i].base_addr < phys_base) setup_arch() 349 phys_base = sp_banks[i].base_addr; setup_arch() 355 pfn_base = phys_base >> PAGE_SHIFT; setup_arch()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | hdmi_wp.c | 252 wp->phys_base = res->start; hdmi_wp_init() 265 return wp->phys_base + HDMI_WP_AUDIO_DATA; hdmi_wp_get_audio_dma_addr()
|
H A D | hdmi.h | 235 phys_addr_t phys_base; member in struct:hdmi_wp_data
|
/linux-4.1.27/sound/soc/jz4740/ |
H A D | jz4740-i2s.c | 108 dma_addr_t phys_base; member in struct:jz4740_i2s 377 dma_data->addr = i2s->phys_base + JZ_REG_AIC_FIFO; jz4740_i2c_init_pcm_config() 383 dma_data->addr = i2s->phys_base + JZ_REG_AIC_FIFO; jz4740_i2c_init_pcm_config() 510 i2s->phys_base = mem->start; jz4740_i2s_dev_probe()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | android-goldfish.c | 122 unsigned int phys_base; member in struct:goldfish_mmc_host 491 host->phys_base = buf_addr; goldfish_mmc_probe() 526 GOLDFISH_MMC_WRITE(host, MMC_SET_BUFFER, host->phys_base); goldfish_mmc_probe() 536 host->phys_base); goldfish_mmc_probe() 553 dma_free_coherent(&pdev->dev, BUFFER_SIZE, host->virt_base, host->phys_base); goldfish_mmc_remove()
|
H A D | mxcmmc.c | 128 dma_addr_t phys_base; member in struct:mxcmci_host 838 config->dst_addr = host->phys_base + MMC_REG_BUFFER_ACCESS; mxcmci_setup_dma() 839 config->src_addr = host->phys_base + MMC_REG_BUFFER_ACCESS; mxcmci_setup_dma() 1039 host->phys_base = res->start; mxcmci_probe()
|
H A D | omap.c | 135 unsigned int phys_base; member in struct:mmc_omap_host 1021 cfg.src_addr = host->phys_base + OMAP_MMC_REG(host, DATA); mmc_omap_prepare_data() 1022 cfg.dst_addr = host->phys_base + OMAP_MMC_REG(host, DATA); mmc_omap_prepare_data() 1372 host->phys_base = res->start; mmc_omap_probe()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | hpfb.c | 209 static int hpfb_init_one(unsigned long phys_base, unsigned long virt_base) hpfb_init_one() argument 219 if (phys_base >= DIOII_BASE) { hpfb_init_one() 220 fb_info.fix.smem_start += phys_base; hpfb_init_one()
|
H A D | clps711xfb.c | 185 unsigned long phys_base = PAGE_OFFSET; clps711x_guess_lcd_params() local 265 info->fix.smem_start = phys_base; clps711x_guess_lcd_params()
|
/linux-4.1.27/arch/x86/platform/efi/ |
H A D | efi_thunk_64.S | 41 subq phys_base(%rip), %rax
|
/linux-4.1.27/drivers/irqchip/ |
H A D | irq-gic-v3.c | 39 phys_addr_t phys_base; member in struct:redist_region 438 gic_data_rdist()->phys_base = gic_data.redist_regions[i].phys_base + offset; gic_populate_rdist() 442 i, &gic_data_rdist()->phys_base); gic_populate_rdist() 835 rdist_regs[i].phys_base = res.start; gic_of_init()
|
H A D | irq-gic-v3-its.c | 66 unsigned long phys_base; member in struct:its_node 630 addr = its->phys_base + GITS_TRANSLATER; its_irq_compose_msi_msg() 1094 target = gic_data_rdist()->phys_base; its_cpu_init_collection() 1475 its->phys_base = res.start; its_probe()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-pxa2xx-pci.c | 154 ssp->phys_base = pci_resource_start(dev, 0); pxa2xx_spi_pci_probe()
|
H A D | spi-pxa2xx.c | 1272 ssp->phys_base = res->start; pxa2xx_spi_acpi_get_pdata() 1369 drv_data->ssdr_physical = ssp->phys_base + SSDR; pxa2xx_spi_probe()
|
/linux-4.1.27/arch/arm/mach-davinci/ |
H A D | clock.h | 77 u32 phys_base; member in struct:pll_data
|
H A D | clock.c | 608 if (pll->phys_base && !pll->base) { davinci_clk_init() 609 pll->base = ioremap(pll->phys_base, SZ_4K); davinci_clk_init()
|
H A D | dm644x.c | 47 .phys_base = DAVINCI_PLL1_BASE, 52 .phys_base = DAVINCI_PLL2_BASE,
|
H A D | dm646x.c | 56 .phys_base = DAVINCI_PLL1_BASE, 61 .phys_base = DAVINCI_PLL2_BASE,
|
H A D | dm355.c | 47 .phys_base = DAVINCI_PLL1_BASE, 53 .phys_base = DAVINCI_PLL2_BASE,
|
H A D | da850.c | 55 .phys_base = DA8XX_PLL0_BASE, 132 .phys_base = DA850_PLL1_BASE,
|
H A D | dm365.c | 58 .phys_base = DAVINCI_PLL1_BASE, 64 .phys_base = DAVINCI_PLL2_BASE,
|
H A D | da830.c | 42 .phys_base = DA8XX_PLL0_BASE,
|
/linux-4.1.27/sound/soc/pxa/ |
H A D | mmp-sspa.c | 316 (sspa->phys_base + SSPA_TXD) : mmp_sspa_hw_params() 317 (sspa->phys_base + SSPA_RXD); mmp_sspa_hw_params()
|
H A D | pxa-ssp.c | 88 dma->addr = ssp->phys_base + SSDR; pxa_ssp_set_dma_params()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | rp2.c | 673 resource_size_t phys_base; rp2_fw_cb() local 682 phys_base = pci_resource_start(card->pdev, 1); rp2_fw_cb() 706 p->mapbase = phys_base + RP2_PORT_BASE + j*RP2_PORT_SPACING; rp2_fw_cb()
|
/linux-4.1.27/arch/ia64/pci/ |
H A D | pci.c | 144 new_space (u64 phys_base, int sparse) new_space() argument 149 if (phys_base == 0) new_space() 152 mmio_base = (u64) ioremap(phys_base, 0); new_space()
|
/linux-4.1.27/drivers/crypto/ |
H A D | atmel-aes.c | 102 unsigned long phys_base; member in struct:atmel_aes_dev 782 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + atmel_aes_dma_init() 798 dd->dma_lch_out.dma_conf.src_addr = dd->phys_base + atmel_aes_dma_init() 1373 aes_dd->phys_base = aes_res->start; atmel_aes_probe()
|
H A D | atmel-tdes.c | 95 unsigned long phys_base; member in struct:atmel_tdes_dev 736 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + atmel_tdes_dma_init() 752 dd->dma_lch_out.dma_conf.src_addr = dd->phys_base + atmel_tdes_dma_init() 1394 tdes_dd->phys_base = tdes_res->start; atmel_tdes_probe()
|
H A D | omap-aes.c | 147 unsigned long phys_base; member in struct:omap_aes_dev 440 cfg.src_addr = dd->phys_base + AES_REG_DATA_N(dd, 0); omap_aes_crypt_dma() 441 cfg.dst_addr = dd->phys_base + AES_REG_DATA_N(dd, 0); omap_aes_crypt_dma() 1197 dd->phys_base = res.start; omap_aes_probe()
|
H A D | omap-des.c | 128 unsigned long phys_base; member in struct:omap_des_dev 424 cfg.src_addr = dd->phys_base + DES_REG_DATA_N(dd, 0); omap_des_crypt_dma() 425 cfg.dst_addr = dd->phys_base + DES_REG_DATA_N(dd, 0); omap_des_crypt_dma() 1086 dd->phys_base = res->start; omap_des_probe()
|
H A D | atmel-sha.c | 116 unsigned long phys_base; member in struct:atmel_sha_dev 1251 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + atmel_sha_dma_init() 1382 sha_dd->phys_base = sha_res->start; atmel_sha_probe()
|
H A D | omap-sham.c | 216 unsigned long phys_base; member in struct:omap_sham_dev 565 cfg.dst_addr = dd->phys_base + SHA_REG_DIN(dd, 0); omap_sham_xmit_dma() 1926 dd->phys_base = res.start; omap_sham_probe()
|
/linux-4.1.27/include/linux/ |
H A D | pxa2xx_ssp.h | 207 unsigned long phys_base; member in struct:ssp_device
|
/linux-4.1.27/arch/arm/plat-pxa/ |
H A D | ssp.c | 192 ssp->phys_base = res->start; pxa_ssp_probe()
|
/linux-4.1.27/include/linux/irqchip/ |
H A D | arm-gic-v3.h | 374 phys_addr_t phys_base; member in struct:rdists::__anon11852
|
/linux-4.1.27/sound/soc/omap/ |
H A D | mcbsp.c | 199 dev_dbg(mcbsp->dev, "Configuring McBSP%d phys_base: 0x%08lx\n", omap_mcbsp_config() 200 mcbsp->id, mcbsp->phys_base); omap_mcbsp_config() 981 mcbsp->phys_base = res->start; omap_mcbsp_init() 990 mcbsp->phys_dma_base = mcbsp->phys_base; omap_mcbsp_init()
|
H A D | mcbsp.h | 295 unsigned long phys_base; member in struct:omap_mcbsp
|
H A D | omap-mcpdm.c | 54 unsigned long phys_base; member in struct:omap_mcpdm
|
/linux-4.1.27/drivers/atm/ |
H A D | fore200e.c | 347 fore200e->name, fore200e->phys_base, fore200e_shutdown() 535 fore200e->virt_base = ioremap(fore200e->phys_base, PCA200E_IOSPACE_LENGTH); fore200e_pca_map() 2652 fore200e->phys_base = op->resource[0].start; fore200e_sba_probe() 2726 fore200e->phys_base = pci_resource_start(pci_dev, 0); fore200e_pca_detect() 2734 fore200e->phys_base, fore200e_irq_itoa(fore200e->irq)); fore200e_pca_detect() 2849 (void*)fore200e->phys_base, fore200e_proc_read()
|
H A D | fore200e.h | 848 unsigned long phys_base; /* physical base address */ member in struct:fore200e
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | omap2.c | 160 unsigned long phys_base; member in struct:omap_nand_info 1697 info->phys_base = res->start; omap_nand_probe() 1756 cfg.src_addr = info->phys_base; omap_nand_probe() 1757 cfg.dst_addr = info->phys_base; omap_nand_probe()
|
/linux-4.1.27/drivers/memory/ |
H A D | omap-gpmc.c | 246 static resource_size_t phys_base, mem_size; variable 2106 phys_base = res->start; gpmc_probe()
|