Home
last modified time | relevance | path

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

123

/drivers/firmware/efi/libstub/
A Dunaccepted_memory.c146 if (start < unaccepted_table->phys_base) { in process_unaccepted_memory()
149 start = unaccepted_table->phys_base; in process_unaccepted_memory()
153 if (end < unaccepted_table->phys_base) in process_unaccepted_memory()
157 start -= unaccepted_table->phys_base; in process_unaccepted_memory()
158 end -= unaccepted_table->phys_base; in process_unaccepted_memory()
165 unaccepted_table->phys_base; in process_unaccepted_memory()
196 if (start < unaccepted_table->phys_base) in accept_memory()
197 start = unaccepted_table->phys_base; in accept_memory()
198 if (end < unaccepted_table->phys_base) in accept_memory()
202 start -= unaccepted_table->phys_base; in accept_memory()
[all …]
/drivers/firmware/efi/
A Dunaccepted_memory.c52 if (start < unaccepted->phys_base) in accept_memory()
53 start = unaccepted->phys_base; in accept_memory()
54 if (end < unaccepted->phys_base) in accept_memory()
58 start -= unaccepted->phys_base; in accept_memory()
59 end -= unaccepted->phys_base; in accept_memory()
133 phys_end = range_end * unit_size + unaccepted->phys_base; in accept_memory()
178 if (start < unaccepted->phys_base) in range_contains_unaccepted_memory()
179 start = unaccepted->phys_base; in range_contains_unaccepted_memory()
180 if (end < unaccepted->phys_base) in range_contains_unaccepted_memory()
184 start -= unaccepted->phys_base; in range_contains_unaccepted_memory()
[all …]
/drivers/gpu/drm/xe/display/
A Dxe_plane_initial.c80 resource_size_t phys_base; in initial_plane_bo() local
99 phys_base = pte & ~(page_size - 1); in initial_plane_bo()
106 if (phys_base >= tile0->mem.vram.usable_size) { in initial_plane_bo()
109 &phys_base); in initial_plane_bo()
115 &phys_base); in initial_plane_bo()
121 phys_base = base; in initial_plane_bo()
141 bo = xe_bo_create_pin_map_at(xe, tile0, NULL, size, phys_base, in initial_plane_bo()
146 &phys_base, size, flags, PTR_ERR(bo)); in initial_plane_bo()
/drivers/pci/endpoint/
A Dpci-epc-mem.c92 mem->window.phys_base = windows[i].phys_base; in pci_epc_multi_mem_init()
133 mem_window.phys_base = base; in pci_epc_mem_init()
202 *phys_addr = mem->window.phys_base + in pci_epc_mem_alloc_addr()
230 if (phys_addr >= mem->window.phys_base && in pci_epc_get_matching_window()
231 phys_addr < (mem->window.phys_base + mem->window.size)) in pci_epc_get_matching_window()
265 pageno = (phys_addr - mem->window.phys_base) >> page_shift; in pci_epc_mem_free_addr()
A Dpci-epc-core.c505 map->virt_base = pci_epc_mem_alloc_addr(epc, &map->phys_base, in pci_epc_mem_map()
510 map->phys_addr = map->phys_base + map_offset; in pci_epc_mem_map()
513 ret = pci_epc_map_addr(epc, func_no, vfunc_no, map->phys_base, in pci_epc_mem_map()
516 pci_epc_mem_free_addr(epc, map->phys_base, map->virt_base, in pci_epc_mem_map()
544 pci_epc_unmap_addr(epc, func_no, vfunc_no, map->phys_base); in pci_epc_mem_unmap()
545 pci_epc_mem_free_addr(epc, map->phys_base, map->virt_base, in pci_epc_mem_unmap()
/drivers/gpu/drm/i915/display/
A Dintel_plane_initial.c118 plane_config->phys_base = dma_addr - mem->region.start; in initial_plane_phys()
133 resource_size_t phys_base; in initial_plane_vma() local
143 phys_base = plane_config->phys_base; in initial_plane_vma()
163 obj = i915_gem_object_create_region_at(mem, phys_base, size, in initial_plane_vma()
/drivers/mtd/nand/onenand/
A Donenand_omap2.c36 unsigned long phys_base; member
389 dma_src = c->phys_base + bram_offset; in omap2_onenand_read_bufferram()
430 dma_dst = c->phys_base + bram_offset; in omap2_onenand_write_bufferram()
487 c->phys_base = res->start; in omap2_onenand_probe()
520 c->gpmc_cs, c->phys_base, c->onenand.base, in omap2_onenand_probe()
A Donenand_samsung.c134 unsigned long phys_base; member
654 dma_src = onenand->phys_base + (p - this->base); in s5pc110_read_bufferram()
658 dma_src = onenand->phys_base + (p - this->base); in s5pc110_read_bufferram()
867 onenand->phys_base = r->start; in s3c_onenand_probe()
/drivers/irqchip/
A Dirq-armada-370-xp.c797 void __iomem **base, phys_addr_t *phys_base) in mpic_map_region() argument
817 if (phys_base) in mpic_map_region()
818 *phys_base = res.start; in mpic_map_region()
829 phys_addr_t phys_base; in mpic_of_init() local
840 err = mpic_map_region(node, 0, &mpic->base, &phys_base); in mpic_of_init()
878 err = mpic_msi_init(mpic, node, phys_base); in mpic_of_init()
A Dirq-gic-v3.c55 phys_addr_t phys_base; member
1094 gic_data_rdist()->phys_base = region->phys_base + offset; in __gic_populate_rdist()
1099 &gic_data_rdist()->phys_base); in __gic_populate_rdist()
1900 (u64)gic_data.redist_regions[i].phys_base)); in gic_enable_quirk_nvidia_t241()
2348 rdist_regs[i].phys_base = res.start; in gic_of_init()
2393 gic_acpi_register_redist(phys_addr_t phys_base, void __iomem *redist_base) in gic_acpi_register_redist() argument
2397 acpi_data.redist_regs[count].phys_base = phys_base; in gic_acpi_register_redist()
A Dirq-gic-v3-its.c109 phys_addr_t phys_base; member
1811 return its->phys_base + GITS_TRANSLATER; in its_irq_get_msi_base()
2396 &its->phys_base, its_base_type_string[type], in its_setup_baser()
3311 target = gic_data_rdist()->phys_base; in its_cpu_init_collection()
5009 &its->phys_base, err); in its_save_disable()
5055 &its->phys_base, ret); in its_restore_enable()
5206 &its->phys_base); in its_compute_its_list_map()
5222 &its->phys_base, its_number); in its_compute_its_list_map()
5247 &its->phys_base, err); in its_probe_one()
5264 &its->phys_base, its->mpidr, svpet); in its_probe_one()
[all …]
/drivers/crypto/cavium/cpt/
A Dcptpf_main.c154 (u64)mcode->phys_base); in cpt_load_microcode()
280 &mcode->phys_base, GFP_KERNEL); in cpt_ucode_load_fw()
301 dev_dbg(dev, "mcode->phys_base = %llx\n", mcode->phys_base); in cpt_ucode_load_fw()
306 mcode->code, mcode->phys_base); in cpt_ucode_load_fw()
423 mcode->code, mcode->phys_base); in cpt_unload_microcode()
A Dcptpf.h31 dma_addr_t phys_base; member
/drivers/video/fbdev/
A Dhpfb.c212 static int hpfb_init_one(unsigned long phys_base, unsigned long virt_base) in hpfb_init_one() argument
222 if (phys_base >= DIOII_BASE) { in hpfb_init_one()
223 fb_info.fix.smem_start += phys_base; in hpfb_init_one()
/drivers/spi/
A Dspi-pxa2xx-dma.c93 cfg.dst_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one()
100 cfg.src_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one()
A Dspi-stm32-qspi.c103 phys_addr_t phys_base; member
698 dma_cfg.src_addr = qspi->phys_base + QSPI_DR; in stm32_qspi_dma_setup()
699 dma_cfg.dst_addr = qspi->phys_base + QSPI_DR; in stm32_qspi_dma_setup()
778 qspi->phys_base = res->start; in stm32_qspi_probe()
/drivers/soc/qcom/
A Dsmem.c208 phys_addr_t phys_base; member
782 return (phys_addr_t)part->phys_base + offset; in qcom_smem_virt_to_phys()
791 return (phys_addr_t)part->phys_base + offset; in qcom_smem_virt_to_phys()
1003 smem->global_partition.phys_base = smem->regions[0].aux_base + in qcom_smem_set_global_partition()
1056 smem->partitions[remote_host].phys_base = smem->regions[0].aux_base + in qcom_smem_enumerate_partitions()
/drivers/video/fbdev/omap2/omapfb/dss/
A Dhdmi_wp.c267 wp->phys_base = res->start; in hdmi_wp_init()
280 return wp->phys_base + HDMI_WP_AUDIO_DATA; in hdmi_wp_get_audio_dma_addr()
/drivers/gpu/drm/omapdrm/dss/
A Dhdmi_wp.c288 wp->phys_base = res->start; in hdmi_wp_init()
296 return wp->phys_base + HDMI_WP_AUDIO_DATA; in hdmi_wp_get_audio_dma_addr()
/drivers/mfd/
A Dstm32-timers.c92 config.src_addr = (dma_addr_t)dma->phys_base + TIM_DMAR; in stm32_timers_dma_burst_read()
304 ddata->dma.phys_base = res->start; in stm32_timers_probe()
/drivers/gpu/drm/omapdrm/
A Domap_dmm_priv.h154 dma_addr_t phys_base; member
/drivers/pinctrl/ti/
A Dpinctrl-ti-iodelay.c149 unsigned long phys_base; member
686 iod->phys_base + offset, in ti_iodelay_pin_dbg_show()
857 iod->phys_base = res->start; in ti_iodelay_probe()
/drivers/crypto/
A Datmel-tdes.c86 unsigned long phys_base; member
679 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_tdes_dma_init()
695 dd->dma_lch_out.dma_conf.src_addr = dd->phys_base + in atmel_tdes_dma_init()
985 tdes_dd->phys_base = tdes_res->start; in atmel_tdes_probe()
A Domap-des.c126 unsigned long phys_base; member
392 cfg.src_addr = dd->phys_base + DES_REG_DATA_N(dd, 0); in omap_des_crypt_dma()
393 cfg.dst_addr = dd->phys_base + DES_REG_DATA_N(dd, 0); in omap_des_crypt_dma()
967 dd->phys_base = res->start; in omap_des_probe()
/drivers/tty/serial/
A Drp2.c645 resource_size_t phys_base; in rp2_load_firmware() local
648 phys_base = pci_resource_start(card->pdev, 1); in rp2_load_firmware()
672 p->mapbase = phys_base + RP2_PORT_BASE + j*RP2_PORT_SPACING; in rp2_load_firmware()

Completed in 81 milliseconds

123