Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/drivers/mtd/maps/
Dichxrom.c38 unsigned long phys; member
83 window->phys = 0; in ichxrom_cleanup()
113 window->phys = 0; in ichxrom_init_one()
116 window->phys = 0xffc00000; in ichxrom_init_one()
119 window->phys = 0xff400000; in ichxrom_init_one()
122 window->phys = 0xff500000; in ichxrom_init_one()
125 window->phys = 0xff600000; in ichxrom_init_one()
128 window->phys = 0xff700000; in ichxrom_init_one()
132 window->phys = 0xffc80000; in ichxrom_init_one()
135 window->phys = 0xffd00000; in ichxrom_init_one()
[all …]
Desb2rom.c99 unsigned long phys; member
142 window->phys = 0; in esb2rom_cleanup()
187 window->phys = 0; in esb2rom_init_one()
192 window->phys = 0xff400000; in esb2rom_init_one()
194 window->phys = 0xff500000; in esb2rom_init_one()
196 window->phys = 0xff600000; in esb2rom_init_one()
198 window->phys = 0xFF700000; in esb2rom_init_one()
200 window->phys = 0xffc00000; in esb2rom_init_one()
202 window->phys = 0xffc80000; in esb2rom_init_one()
204 window->phys = 0xffd00000; in esb2rom_init_one()
[all …]
Damd76xrom.c33 unsigned long phys; member
97 window->phys = 0; in amd76xrom_cleanup()
129 window->phys = 0xffb00000; /* 5MiB */ in amd76xrom_init_one()
132 window->phys = 0xffc00000; /* 4MiB */ in amd76xrom_init_one()
135 window->phys = 0xffff0000; /* 64KiB */ in amd76xrom_init_one()
137 window->size = 0xffffffffUL - window->phys + 1UL; in amd76xrom_init_one()
147 window->rsrc.start = window->phys; in amd76xrom_init_one()
148 window->rsrc.end = window->phys + window->size - 1; in amd76xrom_init_one()
166 window->virt = ioremap(window->phys, window->size); in amd76xrom_init_one()
169 window->phys, window->size); in amd76xrom_init_one()
[all …]
Dck804xrom.c37 unsigned long phys; member
109 window->phys = 0; in ck804xrom_cleanup()
145 window->phys = 0xffb00000; /* 5MiB */ in ck804xrom_init_one()
147 window->phys = 0xffc00000; /* 4MiB */ in ck804xrom_init_one()
149 window->phys = 0xffff0000; /* 64KiB */ in ck804xrom_init_one()
162 window->phys = 0xff000000; /* 16MiB, hardcoded for now */ in ck804xrom_init_one()
166 window->size = 0xffffffffUL - window->phys + 1UL; in ck804xrom_init_one()
176 window->rsrc.start = window->phys; in ck804xrom_init_one()
177 window->rsrc.end = window->phys + window->size - 1; in ck804xrom_init_one()
194 window->virt = ioremap(window->phys, window->size); in ck804xrom_init_one()
[all …]
Duclinux.c55 size_t *retlen, void **virt, resource_size_t *phys) in uclinux_point() argument
59 if (phys) in uclinux_point()
60 *phys = map->phys + from; in uclinux_point()
75 mapp->phys = (resource_size_t)__bss_stop; in uclinux_mtd_init()
77 mapp->phys = physaddr; in uclinux_mtd_init()
80 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8)))); in uclinux_mtd_init()
84 (int) mapp->phys, (int) mapp->size); in uclinux_mtd_init()
92 mapp->virt = phys_to_virt(mapp->phys); in uclinux_mtd_init()
Dsa1100-flash.c64 release_mem_region(subdev->map.phys, subdev->map.size); in sa1100_destroy_subdev()
69 unsigned long phys; in sa1100_probe_subdev() local
73 phys = res->start; in sa1100_probe_subdev()
74 size = res->end - phys + 1; in sa1100_probe_subdev()
80 switch (phys) { in sa1100_probe_subdev()
83 "0x%08lx, assuming CS0\n", phys); in sa1100_probe_subdev()
94 if (!request_mem_region(phys, size, subdev->name)) { in sa1100_probe_subdev()
102 subdev->map.phys = phys; in sa1100_probe_subdev()
104 subdev->map.virt = ioremap(phys, size); in sa1100_probe_subdev()
123 phys, (unsigned)(subdev->mtd->size >> 20), in sa1100_probe_subdev()
Dsolutionengine.c39 soleng_flash_map.phys = 0; in init_soleng_maps()
41 soleng_eprom_map.phys = 0x01000000; in init_soleng_maps()
51 soleng_flash_map.phys = 0x01000000; in init_soleng_maps()
53 soleng_eprom_map.phys = 0; in init_soleng_maps()
63 &soleng_flash_map.phys, in init_soleng_maps()
64 &soleng_eprom_map.phys); in init_soleng_maps()
/drivers/firmware/tegra/
Divc.c71 static inline void tegra_ivc_invalidate(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_invalidate() argument
76 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate()
80 static inline void tegra_ivc_flush(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_flush() argument
85 dma_sync_single_for_device(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_flush()
191 tegra_ivc_invalidate(ivc, ivc->rx.phys + offset); in tegra_ivc_check_read()
209 tegra_ivc_invalidate(ivc, ivc->tx.phys + offset); in tegra_ivc_check_write()
228 dma_addr_t phys, in tegra_ivc_frame_phys() argument
235 return phys + offset; in tegra_ivc_frame_phys()
239 dma_addr_t phys, in tegra_ivc_invalidate_frame() argument
247 phys = tegra_ivc_frame_phys(ivc, phys, frame) + offset; in tegra_ivc_invalidate_frame()
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder.c407 struct dpu_encoder_phys *phys; in dpu_encoder_get_frame_count() local
411 phys = dpu_enc ? dpu_enc->cur_master : NULL; in dpu_encoder_get_frame_count()
413 if (phys && phys->ops.get_frame_count) in dpu_encoder_get_frame_count()
414 framecount = phys->ops.get_frame_count(phys); in dpu_encoder_get_frame_count()
422 struct dpu_encoder_phys *phys; in dpu_encoder_get_linecount() local
426 phys = dpu_enc ? dpu_enc->cur_master : NULL; in dpu_encoder_get_linecount()
428 if (phys && phys->ops.get_line_count) in dpu_encoder_get_linecount()
429 linecount = phys->ops.get_line_count(phys); in dpu_encoder_get_linecount()
447 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_hw_resources() local
449 if (phys->ops.get_hw_resources) in dpu_encoder_get_hw_resources()
[all …]
Ddpu_encoder_phys.h72 struct dpu_encoder_phys *phys);
74 struct dpu_encoder_phys *phys);
76 struct dpu_encoder_phys *phys, u32 event);
142 void (*irq_control)(struct dpu_encoder_phys *phys, bool enable);
144 void (*restore)(struct dpu_encoder_phys *phys);
145 int (*get_line_count)(struct dpu_encoder_phys *phys);
146 int (*get_frame_count)(struct dpu_encoder_phys *phys);
237 static inline int dpu_encoder_phys_inc_pending(struct dpu_encoder_phys *phys) in dpu_encoder_phys_inc_pending() argument
239 atomic_inc_return(&phys->pending_ctlstart_cnt); in dpu_encoder_phys_inc_pending()
240 return atomic_inc_return(&phys->pending_kickoff_cnt); in dpu_encoder_phys_inc_pending()
/drivers/scsi/lpfc/
Dlpfc_mem.c108 GFP_KERNEL, &pool->elements[i].phys); in lpfc_mem_alloc()
181 pool->elements[i].phys); in lpfc_mem_alloc()
253 pool->elements[i].phys); in lpfc_mem_free()
297 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mem_free_all()
307 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mem_free_all()
321 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mem_free_all()
342 phba->cgn_i->virt, phba->cgn_i->phys); in lpfc_mem_free_all()
392 *handle = pool->elements[pool->current_count].phys; in lpfc_mbuf_alloc()
419 pool->elements[pool->current_count].phys = dma; in __lpfc_mbuf_free()
512 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc()
[all …]
/drivers/staging/media/atomisp/pci/mmu/
Disp_mmu.c74 static void *isp_pt_phys_to_virt(phys_addr_t phys) in isp_pt_phys_to_virt() argument
76 return phys_to_virt(phys); in isp_pt_phys_to_virt()
86 phys_addr_t phys) in isp_pgaddr_to_pte_valid() argument
88 unsigned int pte = mmu->driver->phys_to_pte(mmu, phys); in isp_pgaddr_to_pte_valid()
201 unsigned int start, unsigned int end, phys_addr_t phys) in mmu_l2_map() argument
211 phys &= ISP_PAGE_MASK; in mmu_l2_map()
221 l2_pt, idx, ptr, pte, phys); in mmu_l2_map()
229 pte = isp_pgaddr_to_pte_valid(mmu, phys); in mmu_l2_map()
234 phys += (1U << ISP_L2PT_OFFSET); in mmu_l2_map()
246 phys_addr_t phys) in mmu_l1_map() argument
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_chain.c72 dma_addr_t phys, phys_next; in qed_chain_free_next_ptr() local
78 phys = chain->p_phys_addr; in qed_chain_free_next_ptr()
88 dma_free_coherent(dev, chain->page_size, virt, phys); in qed_chain_free_next_ptr()
91 phys = phys_next; in qed_chain_free_next_ptr()
203 dma_addr_t phys; in qed_chain_alloc_next_ptr() local
207 virt = dma_alloc_coherent(dev, chain->page_size, &phys, in qed_chain_alloc_next_ptr()
213 qed_chain_init_mem(chain, virt, phys); in qed_chain_alloc_next_ptr()
217 phys); in qed_chain_alloc_next_ptr()
235 dma_addr_t phys; in qed_chain_alloc_single() local
239 &phys, GFP_KERNEL); in qed_chain_alloc_single()
[all …]
/drivers/infiniband/hw/qib/
Dqib_user_pages.c61 dma_addr_t phys; in qib_map_page() local
63 phys = dma_map_page(&hwdev->dev, page, 0, PAGE_SIZE, DMA_FROM_DEVICE); in qib_map_page()
64 if (dma_mapping_error(&hwdev->dev, phys)) in qib_map_page()
67 if (!phys) { in qib_map_page()
68 dma_unmap_page(&hwdev->dev, phys, PAGE_SIZE, DMA_FROM_DEVICE); in qib_map_page()
69 phys = dma_map_page(&hwdev->dev, page, 0, PAGE_SIZE, in qib_map_page()
71 if (dma_mapping_error(&hwdev->dev, phys)) in qib_map_page()
78 *daddr = phys; in qib_map_page()
/drivers/scsi/sym53c8xx_2/
Dsym_fw2.h305 offsetof (struct sym_ccb, phys.head.status),
455 offsetof (struct sym_ccb, phys.head.lastp),
514 offsetof (struct sym_ccb, phys.head.lastp),
546 offsetof (struct sym_ccb, phys.head.lastp),
562 offsetof (struct sym_ccb, phys.head.lastp),
654 offsetof (struct sym_ccb, phys.head.status),
664 offsetof (struct sym_ccb, phys.head.status),
740 offsetof (struct sym_ccb, phys.head.lastp),
742 offsetof (struct sym_ccb, phys.head.savep),
762 offsetof (struct sym_ccb, phys.head.savep),
[all …]
/drivers/bus/
Dmips_cdmm.c265 phys_addr_t phys; member
384 if (bus->phys == mips_cdmm_cur_base()) in mips_cdmm_setup()
391 } else if (bus->phys > 1) { in mips_cdmm_setup()
396 if (!bus->phys) in mips_cdmm_setup()
397 bus->phys = mips_cdmm_cur_base(); in mips_cdmm_setup()
399 if (!bus->phys) in mips_cdmm_setup()
400 bus->phys = mips_cdmm_phys_base(); in mips_cdmm_setup()
402 if (!bus->phys) in mips_cdmm_setup()
403 bus->phys = mips_cdmm_default_base; in mips_cdmm_setup()
405 if (!bus->phys) { in mips_cdmm_setup()
[all …]
/drivers/xen/
Dswiotlb-xen.c269 phys_addr_t phys; in xen_swiotlb_alloc_coherent() local
300 phys = dma_to_phys(hwdev, *dma_handle); in xen_swiotlb_alloc_coherent()
301 dev_addr = xen_phys_to_dma(hwdev, phys); in xen_swiotlb_alloc_coherent()
303 !range_straddles_page_boundary(phys, size)) in xen_swiotlb_alloc_coherent()
306 if (xen_create_contiguous_region(phys, order, in xen_swiotlb_alloc_coherent()
308 xen_free_coherent_pages(hwdev, size, ret, (dma_addr_t)phys, attrs); in xen_swiotlb_alloc_coherent()
323 phys_addr_t phys; in xen_swiotlb_free_coherent() local
332 phys = xen_dma_to_phys(hwdev, dev_addr); in xen_swiotlb_free_coherent()
343 range_straddles_page_boundary(phys, size)) && in xen_swiotlb_free_coherent()
345 xen_destroy_contiguous_region(phys, order); in xen_swiotlb_free_coherent()
[all …]
/drivers/phy/samsung/
Dphy-exynos-mipi-video.c52 } phys[EXYNOS_MIPI_PHYS_NUM]; member
59 .phys = {
104 .phys = {
167 .phys = {
224 } phys[EXYNOS_MIPI_PHYS_NUM]; member
238 state->phys[data->coupled_phy_id].phy->power_count == 0) in __set_phy_state()
259 container_of((desc), struct exynos_mipi_video_phy, phys[(desc)->index])
285 return state->phys[args->args[0]].phy; in exynos_mipi_video_phy_xlate()
330 state->phys[i].phy = phy; in exynos_mipi_video_phy_probe()
331 state->phys[i].index = i; in exynos_mipi_video_phy_probe()
[all …]
/drivers/phy/broadcom/
Dphy-brcm-usb.c73 struct brcm_usb_phy phys[BRCM_USB_PHY_ID_MAX]; member
116 container_of(phy, struct brcm_usb_phy_data, phys[phy->id]); in brcm_usb_phy_init()
148 container_of(phy, struct brcm_usb_phy_data, phys[phy->id]); in brcm_usb_phy_exit()
190 if (data->phys[BRCM_USB_PHY_2_0].phy) in brcm_usb_phy_xlate()
191 return data->phys[BRCM_USB_PHY_2_0].phy; in brcm_usb_phy_xlate()
196 if (data->phys[BRCM_USB_PHY_3_0].phy) in brcm_usb_phy_xlate()
197 return data->phys[BRCM_USB_PHY_3_0].phy; in brcm_usb_phy_xlate()
412 priv->phys[BRCM_USB_PHY_2_0].phy = gphy; in brcm_usb_phy_dvr_init()
413 priv->phys[BRCM_USB_PHY_2_0].id = BRCM_USB_PHY_2_0; in brcm_usb_phy_dvr_init()
414 phy_set_drvdata(gphy, &priv->phys[BRCM_USB_PHY_2_0]); in brcm_usb_phy_dvr_init()
[all …]
/drivers/dax/
Ddevice.c63 phys_addr_t phys; in dax_pgoff_to_phys() local
68 phys = PFN_PHYS(pgoff - dax_range->pgoff) + range->start; in dax_pgoff_to_phys()
69 if (phys + size - 1 <= range->end) in dax_pgoff_to_phys()
70 return phys; in dax_pgoff_to_phys()
80 phys_addr_t phys; in __dev_dax_pte_fault() local
95 phys = dax_pgoff_to_phys(dev_dax, vmf->pgoff, PAGE_SIZE); in __dev_dax_pte_fault()
96 if (phys == -1) { in __dev_dax_pte_fault()
101 *pfn = phys_to_pfn_t(phys, PFN_DEV|PFN_MAP); in __dev_dax_pte_fault()
111 phys_addr_t phys; in __dev_dax_pmd_fault() local
135 phys = dax_pgoff_to_phys(dev_dax, pgoff, PMD_SIZE); in __dev_dax_pmd_fault()
[all …]
/drivers/input/mouse/
Dvsxxxaa.c111 char phys[32]; member
128 mouse->name, mouse->phys); in vsxxxaa_queue_byte()
159 mouse->name, mouse->version, mouse->country, mouse->phys); in vsxxxaa_detection_done()
237 mouse->name, mouse->phys, dx, dy, in vsxxxaa_handle_REL_packet()
288 mouse->name, mouse->phys, x, y, in vsxxxaa_handle_ABS_packet()
356 mouse->name, mouse->phys, error); in vsxxxaa_handle_POR_packet()
367 mouse->name, mouse->phys); in vsxxxaa_handle_POR_packet()
394 mouse->name, mouse->phys); in vsxxxaa_parse_buffer()
471 snprintf(mouse->phys, sizeof(mouse->phys), "%s/input0", serio->phys); in vsxxxaa_connect()
474 input_dev->phys = mouse->phys; in vsxxxaa_connect()
/drivers/phy/st/
Dphy-stm32-usbphyc.c70 struct stm32_usbphyc_phy **phys; member
401 if (phynode == usbphyc->phys[port]->phy->dev.of_node) { in stm32_usbphyc_of_xlate()
402 usbphyc_phy = usbphyc->phys[port]; in stm32_usbphyc_of_xlate()
488 usbphyc->phys = devm_kcalloc(dev, usbphyc->nphys, in stm32_usbphyc_probe()
489 sizeof(*usbphyc->phys), GFP_KERNEL); in stm32_usbphyc_probe()
490 if (!usbphyc->phys) { in stm32_usbphyc_probe()
540 usbphyc->phys[port] = usbphyc_phy; in stm32_usbphyc_probe()
544 usbphyc->phys[port]->phy = phy; in stm32_usbphyc_probe()
545 usbphyc->phys[port]->usbphyc = usbphyc; in stm32_usbphyc_probe()
546 usbphyc->phys[port]->index = index; in stm32_usbphyc_probe()
[all …]
/drivers/iommu/
Ddma-iommu.c34 phys_addr_t phys; member
213 msi_page->phys = start; in cookie_init_hw_msi_region()
546 static dma_addr_t __iommu_dma_map(struct device *dev, phys_addr_t phys, in __iommu_dma_map() argument
552 size_t iova_off = iova_offset(iovad, phys); in __iommu_dma_map()
565 if (iommu_map_atomic(domain, iova, phys - iova_off, size, prot)) { in __iommu_dma_map()
766 phys_addr_t phys; in iommu_dma_sync_single_for_cpu() local
771 phys = iommu_iova_to_phys(iommu_get_dma_domain(dev), dma_handle); in iommu_dma_sync_single_for_cpu()
773 arch_sync_dma_for_cpu(phys, size, dir); in iommu_dma_sync_single_for_cpu()
775 if (is_swiotlb_buffer(dev, phys)) in iommu_dma_sync_single_for_cpu()
776 swiotlb_sync_single_for_cpu(dev, phys, size, dir); in iommu_dma_sync_single_for_cpu()
[all …]
/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info.c14 dma_addr_t *phys, in _iwl_pcie_ctxt_info_dma_alloc_coherent() argument
23 result = dma_alloc_coherent(trans->dev, size, phys, GFP_KERNEL); in _iwl_pcie_ctxt_info_dma_alloc_coherent()
28 if (unlikely(iwl_txq_crosses_4g_boundary(*phys, size))) { in _iwl_pcie_ctxt_info_dma_alloc_coherent()
30 dma_addr_t oldphys = *phys; in _iwl_pcie_ctxt_info_dma_alloc_coherent()
33 phys, in _iwl_pcie_ctxt_info_dma_alloc_coherent()
43 dma_addr_t *phys) in iwl_pcie_ctxt_info_dma_alloc_coherent() argument
45 return _iwl_pcie_ctxt_info_dma_alloc_coherent(trans, size, phys, 0); in iwl_pcie_ctxt_info_dma_alloc_coherent()
170 dma_addr_t phys; in iwl_pcie_ctxt_info_init() local
175 &phys); in iwl_pcie_ctxt_info_init()
179 trans_pcie->ctxt_info_dma_addr = phys; in iwl_pcie_ctxt_info_init()
/drivers/acpi/
Dosl.c81 acpi_physical_address phys; member
225 acpi_map_lookup(acpi_physical_address phys, acpi_size size) in acpi_map_lookup() argument
230 if (map->phys <= phys && in acpi_map_lookup()
231 phys + size <= map->phys + map->size) in acpi_map_lookup()
239 acpi_map_vaddr_lookup(acpi_physical_address phys, unsigned int size) in acpi_map_vaddr_lookup() argument
243 map = acpi_map_lookup(phys, size); in acpi_map_vaddr_lookup()
245 return map->virt + (phys - map->phys); in acpi_map_vaddr_lookup()
250 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size) in acpi_os_get_iomem() argument
256 map = acpi_map_lookup(phys, size); in acpi_os_get_iomem()
258 virt = map->virt + (phys - map->phys); in acpi_os_get_iomem()
[all …]

12345678910>>...27