Searched refs:phys_base (Results 1 - 60 of 60) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
H A Dpage_64.h10 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 Dphysaddr.c19 x = y + phys_base; __phys_addr()
40 return y + phys_base; __phys_addr_symbol()
51 x = y + phys_base; __virt_addr_valid()
H A Dinit_64.c370 * phys_base holds the negative offset to the kernel, which is added
H A Dpageattr.c1278 __START_KERNEL_map - phys_base; cpa_process_alias()
/linux-4.1.27/arch/x86/realmode/
H A Dinit.c35 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 Dinit_32.c44 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 Dinit_64.c754 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 Dsrmmu.c823 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 Dpage_32.h120 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 Dpgtable_32.h87 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 Dleon.h254 #define _pfn_valid(pfn) ((pfn < last_valid_pfn) && (pfn >= PFN(phys_base)))
H A Dpgtable_64.h979 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 Dhead64.c76 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 Dx8664_ksyms_64.c69 EXPORT_SYMBOL(phys_base); variable
H A Dhead_64.S160 /* Fixup phys_base */
161 addq %rbp, phys_base(%rip)
191 addq phys_base(%rip), %rax
523 ENTRY(phys_base)
H A Dmachine_kexec_64.c329 VMCOREINFO_SYMBOL(phys_base); arch_crash_save_vmcoreinfo()
/linux-4.1.27/drivers/mtd/onenand/
H A Domap2.c52 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 Dsamsung.c142 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 Dsetup_32.c343 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 Dhdmi_wp.c252 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 Dhdmi.h235 phys_addr_t phys_base; member in struct:hdmi_wp_data
/linux-4.1.27/sound/soc/jz4740/
H A Djz4740-i2s.c108 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 Dandroid-goldfish.c122 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 Dmxcmmc.c128 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 Domap.c135 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 Dhpfb.c209 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 Dclps711xfb.c185 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 Defi_thunk_64.S41 subq phys_base(%rip), %rax
/linux-4.1.27/drivers/irqchip/
H A Dirq-gic-v3.c39 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 Dirq-gic-v3-its.c66 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 Dspi-pxa2xx-pci.c154 ssp->phys_base = pci_resource_start(dev, 0); pxa2xx_spi_pci_probe()
H A Dspi-pxa2xx.c1272 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 Dclock.h77 u32 phys_base; member in struct:pll_data
H A Dclock.c608 if (pll->phys_base && !pll->base) { davinci_clk_init()
609 pll->base = ioremap(pll->phys_base, SZ_4K); davinci_clk_init()
H A Ddm644x.c47 .phys_base = DAVINCI_PLL1_BASE,
52 .phys_base = DAVINCI_PLL2_BASE,
H A Ddm646x.c56 .phys_base = DAVINCI_PLL1_BASE,
61 .phys_base = DAVINCI_PLL2_BASE,
H A Ddm355.c47 .phys_base = DAVINCI_PLL1_BASE,
53 .phys_base = DAVINCI_PLL2_BASE,
H A Dda850.c55 .phys_base = DA8XX_PLL0_BASE,
132 .phys_base = DA850_PLL1_BASE,
H A Ddm365.c58 .phys_base = DAVINCI_PLL1_BASE,
64 .phys_base = DAVINCI_PLL2_BASE,
H A Dda830.c42 .phys_base = DA8XX_PLL0_BASE,
/linux-4.1.27/sound/soc/pxa/
H A Dmmp-sspa.c316 (sspa->phys_base + SSPA_TXD) : mmp_sspa_hw_params()
317 (sspa->phys_base + SSPA_RXD); mmp_sspa_hw_params()
H A Dpxa-ssp.c88 dma->addr = ssp->phys_base + SSDR; pxa_ssp_set_dma_params()
/linux-4.1.27/drivers/tty/serial/
H A Drp2.c673 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 Dpci.c144 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 Datmel-aes.c102 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 Datmel-tdes.c95 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 Domap-aes.c147 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 Domap-des.c128 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 Datmel-sha.c116 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 Domap-sham.c216 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 Dpxa2xx_ssp.h207 unsigned long phys_base; member in struct:ssp_device
/linux-4.1.27/arch/arm/plat-pxa/
H A Dssp.c192 ssp->phys_base = res->start; pxa_ssp_probe()
/linux-4.1.27/include/linux/irqchip/
H A Darm-gic-v3.h374 phys_addr_t phys_base; member in struct:rdists::__anon11852
/linux-4.1.27/sound/soc/omap/
H A Dmcbsp.c199 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 Dmcbsp.h295 unsigned long phys_base; member in struct:omap_mcbsp
H A Domap-mcpdm.c54 unsigned long phys_base; member in struct:omap_mcpdm
/linux-4.1.27/drivers/atm/
H A Dfore200e.c347 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 Dfore200e.h848 unsigned long phys_base; /* physical base address */ member in struct:fore200e
/linux-4.1.27/drivers/mtd/nand/
H A Domap2.c160 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 Domap-gpmc.c246 static resource_size_t phys_base, mem_size; variable
2106 phys_base = res->start; gpmc_probe()

Completed in 3084 milliseconds