Home
last modified time | relevance | path

Searched refs:phys_base (Results 1 – 61 of 61) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
Dpage_64.h10 extern unsigned long phys_base;
17 x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); in __phys_addr_nodebug()
28 ((unsigned long)(x) - __START_KERNEL_map + phys_base)
/linux-4.4.14/arch/sparc/mm/
Dinit_32.c44 unsigned long phys_base; variable
45 EXPORT_SYMBOL(phys_base);
172 initrd_start = sparc_ramdisk_image + phys_base; in bootmem_init()
226 initrd_start = (initrd_start - phys_base) + PAGE_OFFSET; in bootmem_init()
227 initrd_end = (initrd_end - phys_base) + PAGE_OFFSET; in bootmem_init()
231 size = (start_pfn << PAGE_SHIFT) - phys_base; in bootmem_init()
232 reserve_bootmem(phys_base, size, BOOTMEM_DEFAULT); in bootmem_init()
Dinit_64.c744 static void __init find_ramdisk(unsigned long phys_base) in find_ramdisk() argument
767 ramdisk_image += phys_base; in find_ramdisk()
1401 static unsigned long __init bootmem_init(unsigned long phys_base) in bootmem_init() argument
1407 min_low_pfn = (phys_base >> PAGE_SHIFT); in bootmem_init()
2077 unsigned long end_pfn, shift, phys_base; in paging_init() local
2163 phys_base = 0xffffffffffffffffUL; in paging_init()
2165 phys_base = min(phys_base, pavail[i].phys_addr); in paging_init()
2171 find_ramdisk(phys_base); in paging_init()
2245 last_valid_pfn = end_pfn = bootmem_init(phys_base); in paging_init()
Dsrmmu.c823 static void __init do_large_mapping(unsigned long vaddr, unsigned long phys_base) in do_large_mapping() argument
828 big_pte = KERNEL_PTE(phys_base >> 4); in do_large_mapping()
859 if (phys_base > 0) { in map_kernel()
860 do_large_mapping(PAGE_OFFSET, phys_base); in map_kernel()
/linux-4.4.14/arch/x86/realmode/
Dinit.c35 unsigned long phys_base; in setup_real_mode() local
47 phys_base = __pa(base); in setup_real_mode()
48 real_mode_seg = phys_base >> 4; in setup_real_mode()
63 *ptr += phys_base; in setup_real_mode()
/linux-4.4.14/arch/x86/mm/
Dphysaddr.c19 x = y + phys_base; in __phys_addr()
40 return y + phys_base; in __phys_addr_symbol()
51 x = y + phys_base; in __virt_addr_valid()
Dpageattr.c1305 __START_KERNEL_map - phys_base; in cpa_process_alias()
/linux-4.4.14/arch/x86/kernel/
Dhead64.c76 pud_p = (pudval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in early_make_pgtable()
86 *pgd_p = (pgdval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in early_make_pgtable()
92 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in early_make_pgtable()
102 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in early_make_pgtable()
Dx8664_ksyms_64.c69 EXPORT_SYMBOL(phys_base);
Dhead_64.S161 addq %rbp, phys_base(%rip)
191 addq phys_base(%rip), %rax
523 ENTRY(phys_base)
Dmachine_kexec_64.c331 VMCOREINFO_SYMBOL(phys_base); in arch_crash_save_vmcoreinfo()
/linux-4.4.14/drivers/mtd/onenand/
Domap2.c52 unsigned long phys_base; member
335 dma_src = c->phys_base + bram_offset; in omap3_onenand_read_bufferram()
407 dma_dst = c->phys_base + bram_offset; in omap3_onenand_write_bufferram()
484 dma_src = c->phys_base + bram_offset; in omap2_onenand_read_bufferram()
531 dma_dst = c->phys_base + bram_offset; in omap2_onenand_write_bufferram()
647 c->phys_base = res->start; in omap2_onenand_probe()
650 if (request_mem_region(c->phys_base, c->mem_size, in omap2_onenand_probe()
653 c->phys_base, c->mem_size); in omap2_onenand_probe()
657 c->onenand.base = ioremap(c->phys_base, c->mem_size); in omap2_onenand_probe()
709 "base %p, freq %d MHz\n", c->gpmc_cs, c->phys_base, in omap2_onenand_probe()
[all …]
Dsamsung.c142 unsigned long phys_base; member
661 dma_src = onenand->phys_base + (p - this->base); in s5pc110_read_bufferram()
665 dma_src = onenand->phys_base + (p - this->base); in s5pc110_read_bufferram()
963 onenand->phys_base = onenand->base_res->start; in s3c_onenand_probe()
/linux-4.4.14/arch/sparc/include/asm/
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))
Dpgtable_32.h87 extern unsigned long phys_base;
416 unsigned long long offset, space, phys_base; in io_remap_pfn_range() local
420 phys_base = offset | (space << 32ULL); in io_remap_pfn_range()
422 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); in io_remap_pfn_range()
Dleon.h254 #define _pfn_valid(pfn) ((pfn < last_valid_pfn) && (pfn >= PFN(phys_base)))
Dpgtable_64.h1000 unsigned long phys_base; in io_remap_pfn_range() local
1002 phys_base = offset | (((unsigned long) space) << 32UL); in io_remap_pfn_range()
1004 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); in io_remap_pfn_range()
/linux-4.4.14/arch/sparc/kernel/
Dsetup_32.c343 phys_base = 0xffffffffUL; in setup_arch()
348 if (sp_banks[i].base_addr < phys_base) in setup_arch()
349 phys_base = sp_banks[i].base_addr; in setup_arch()
355 pfn_base = phys_base >> PAGE_SHIFT; in setup_arch()
/linux-4.4.14/drivers/mmc/host/
Dandroid-goldfish.c122 unsigned int phys_base; member
491 host->phys_base = buf_addr; in goldfish_mmc_probe()
526 GOLDFISH_MMC_WRITE(host, MMC_SET_BUFFER, host->phys_base); in goldfish_mmc_probe()
536 host->phys_base); in goldfish_mmc_probe()
553 dma_free_coherent(&pdev->dev, BUFFER_SIZE, host->virt_base, host->phys_base); in goldfish_mmc_remove()
Dmxcmmc.c128 dma_addr_t phys_base; member
834 config->dst_addr = host->phys_base + MMC_REG_BUFFER_ACCESS; in mxcmci_setup_dma()
835 config->src_addr = host->phys_base + MMC_REG_BUFFER_ACCESS; in mxcmci_setup_dma()
1035 host->phys_base = res->start; in mxcmci_probe()
Domap.c135 unsigned int phys_base; member
1022 cfg.src_addr = host->phys_base + OMAP_MMC_REG(host, DATA); in mmc_omap_prepare_data()
1023 cfg.dst_addr = host->phys_base + OMAP_MMC_REG(host, DATA); in mmc_omap_prepare_data()
1373 host->phys_base = res->start; in mmc_omap_probe()
/linux-4.4.14/sound/soc/jz4740/
Djz4740-i2s.c108 dma_addr_t phys_base; member
377 dma_data->addr = i2s->phys_base + JZ_REG_AIC_FIFO; in jz4740_i2c_init_pcm_config()
383 dma_data->addr = i2s->phys_base + JZ_REG_AIC_FIFO; in jz4740_i2c_init_pcm_config()
511 i2s->phys_base = mem->start; in jz4740_i2s_dev_probe()
/linux-4.4.14/drivers/irqchip/
Dirq-gic-v3.c40 phys_addr_t phys_base; member
446 gic_data_rdist()->phys_base = gic_data.redist_regions[i].phys_base + offset; in gic_populate_rdist()
449 &gic_data_rdist()->phys_base); in gic_populate_rdist()
881 rdist_regs[i].phys_base = res.start; in gic_of_init()
Dirq-gic-v3-its.c66 unsigned long phys_base; member
625 addr = its->phys_base + GITS_TRANSLATER; in its_irq_compose_msi_msg()
1093 target = gic_data_rdist()->phys_base; in its_cpu_init_collection()
1471 its->phys_base = res.start; in its_probe()
/linux-4.4.14/drivers/video/fbdev/
Dclps711xfb.c185 unsigned long phys_base = PAGE_OFFSET; in clps711x_guess_lcd_params() local
265 info->fix.smem_start = phys_base; in clps711x_guess_lcd_params()
Dhpfb.c209 static int hpfb_init_one(unsigned long phys_base, unsigned long virt_base) in hpfb_init_one() argument
219 if (phys_base >= DIOII_BASE) { in hpfb_init_one()
220 fb_info.fix.smem_start += phys_base; in hpfb_init_one()
/linux-4.4.14/arch/arm/mach-davinci/
Dclock.h77 u32 phys_base; member
Dclock.c614 if (pll->phys_base && !pll->base) { in davinci_clk_init()
615 pll->base = ioremap(pll->phys_base, SZ_4K); in davinci_clk_init()
Ddm646x.c56 .phys_base = DAVINCI_PLL1_BASE,
61 .phys_base = DAVINCI_PLL2_BASE,
Ddm644x.c47 .phys_base = DAVINCI_PLL1_BASE,
52 .phys_base = DAVINCI_PLL2_BASE,
Ddm355.c47 .phys_base = DAVINCI_PLL1_BASE,
53 .phys_base = DAVINCI_PLL2_BASE,
Ddm365.c58 .phys_base = DAVINCI_PLL1_BASE,
64 .phys_base = DAVINCI_PLL2_BASE,
Dda850.c56 .phys_base = DA8XX_PLL0_BASE,
133 .phys_base = DA850_PLL1_BASE,
Dda830.c42 .phys_base = DA8XX_PLL0_BASE,
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Dhdmi_wp.c268 wp->phys_base = res->start; in hdmi_wp_init()
281 return wp->phys_base + HDMI_WP_AUDIO_DATA; in hdmi_wp_get_audio_dma_addr()
Dhdmi.h235 phys_addr_t phys_base; member
/linux-4.4.14/arch/ia64/pci/
Dpci.c124 static unsigned int new_space(u64 phys_base, int sparse) in new_space() argument
129 if (phys_base == 0) in new_space()
132 mmio_base = (u64) ioremap(phys_base, 0); in new_space()
/linux-4.4.14/arch/x86/platform/efi/
Defi_thunk_64.S41 subq phys_base(%rip), %rax
/linux-4.4.14/sound/soc/pxa/
Dmmp-sspa.c316 (sspa->phys_base + SSPA_TXD) : in mmp_sspa_hw_params()
317 (sspa->phys_base + SSPA_RXD); in mmp_sspa_hw_params()
Dpxa-ssp.c88 dma->addr = ssp->phys_base + SSDR; in pxa_ssp_set_dma_params()
/linux-4.4.14/include/linux/
Dpxa2xx_ssp.h210 unsigned long phys_base; member
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c64 dmem->phys_base = NICVF_ALIGNED_ADDR((u64)dmem->dma, align_bytes); in nicvf_alloc_q_desc_mem()
65 dmem->base = dmem->unalign_base + (dmem->phys_base - dmem->dma); in nicvf_alloc_q_desc_mem()
583 qidx, (u64)(cq->dmem.phys_base)); in nicvf_cmp_queue_config()
632 qidx, (u64)(sq->dmem.phys_base)); in nicvf_snd_queue_config()
668 qidx, (u64)(rbdr->dmem.phys_base)); in nicvf_rbdr_config()
Dnicvf_queues.h216 dma_addr_t phys_base; member
/linux-4.4.14/include/linux/irqchip/
Darm-gic-v3.h325 phys_addr_t phys_base; member
/linux-4.4.14/drivers/crypto/
Domap-des.c128 unsigned long phys_base; member
424 cfg.src_addr = dd->phys_base + DES_REG_DATA_N(dd, 0); in omap_des_crypt_dma()
425 cfg.dst_addr = dd->phys_base + DES_REG_DATA_N(dd, 0); in omap_des_crypt_dma()
1086 dd->phys_base = res->start; in omap_des_probe()
Domap-aes.c148 unsigned long phys_base; member
437 cfg.src_addr = dd->phys_base + AES_REG_DATA_N(dd, 0); in omap_aes_crypt_dma()
438 cfg.dst_addr = dd->phys_base + AES_REG_DATA_N(dd, 0); in omap_aes_crypt_dma()
1193 dd->phys_base = res.start; in omap_aes_probe()
Datmel-aes.c102 unsigned long phys_base; member
782 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_aes_dma_init()
798 dd->dma_lch_out.dma_conf.src_addr = dd->phys_base + in atmel_aes_dma_init()
1373 aes_dd->phys_base = aes_res->start; in atmel_aes_probe()
Datmel-tdes.c95 unsigned long phys_base; member
736 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_tdes_dma_init()
752 dd->dma_lch_out.dma_conf.src_addr = dd->phys_base + in atmel_tdes_dma_init()
1394 tdes_dd->phys_base = tdes_res->start; in atmel_tdes_probe()
Datmel-sha.c116 unsigned long phys_base; member
1251 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_sha_dma_init()
1382 sha_dd->phys_base = sha_res->start; in atmel_sha_probe()
Domap-sham.c216 unsigned long phys_base; member
571 cfg.dst_addr = dd->phys_base + SHA_REG_DIN(dd, 0); in omap_sham_xmit_dma()
1936 dd->phys_base = res.start; in omap_sham_probe()
/linux-4.4.14/drivers/spi/
Dspi-pxa2xx-pci.c153 ssp->phys_base = pci_resource_start(dev, 0); in pxa2xx_spi_pci_probe()
Dspi-pxa2xx.c1410 ssp->phys_base = res->start; in pxa2xx_spi_init_pdata()
1498 drv_data->ssdr_physical = ssp->phys_base + SSDR; in pxa2xx_spi_probe()
/linux-4.4.14/drivers/tty/serial/
Drp2.c673 resource_size_t phys_base; in rp2_fw_cb() local
682 phys_base = pci_resource_start(card->pdev, 1); in rp2_fw_cb()
706 p->mapbase = phys_base + RP2_PORT_BASE + j*RP2_PORT_SPACING; in rp2_fw_cb()
/linux-4.4.14/arch/arm/plat-pxa/
Dssp.c191 ssp->phys_base = res->start; in pxa_ssp_probe()
/linux-4.4.14/sound/soc/omap/
Dmcbsp.h295 unsigned long phys_base; member
Dmcbsp.c200 mcbsp->id, mcbsp->phys_base); in omap_mcbsp_config()
975 mcbsp->phys_base = res->start; in omap_mcbsp_init()
980 mcbsp->phys_dma_base = mcbsp->phys_base; in omap_mcbsp_init()
Domap-mcpdm.c54 unsigned long phys_base; member
/linux-4.4.14/drivers/mtd/nand/
Domap2.c160 unsigned long phys_base; member
1697 info->phys_base = res->start; in omap_nand_probe()
1756 cfg.src_addr = info->phys_base; in omap_nand_probe()
1757 cfg.dst_addr = info->phys_base; in omap_nand_probe()
/linux-4.4.14/drivers/atm/
Dfore200e.c347 fore200e->name, fore200e->phys_base, in fore200e_shutdown()
535 fore200e->virt_base = ioremap(fore200e->phys_base, PCA200E_IOSPACE_LENGTH); in fore200e_pca_map()
2652 fore200e->phys_base = op->resource[0].start; in fore200e_sba_probe()
2726 fore200e->phys_base = pci_resource_start(pci_dev, 0); in fore200e_pca_detect()
2734 fore200e->phys_base, fore200e_irq_itoa(fore200e->irq)); in fore200e_pca_detect()
2849 (void*)fore200e->phys_base, in fore200e_proc_read()
Dfore200e.h848 unsigned long phys_base; /* physical base address */ member
/linux-4.4.14/drivers/memory/
Domap-gpmc.c246 static resource_size_t phys_base, mem_size; variable
2099 phys_base = res->start; in gpmc_probe()