Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 25 of 656) 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.c444 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_hw_resources() local
446 if (phys->ops.get_hw_resources) in dpu_encoder_get_hw_resources()
447 phys->ops.get_hw_resources(phys, hw_res); in dpu_encoder_get_hw_resources()
467 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_destroy() local
469 if (phys->ops.destroy) { in dpu_encoder_destroy()
470 phys->ops.destroy(phys); in dpu_encoder_destroy()
613 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_virt_atomic_check() local
615 if (phys->ops.atomic_check) in dpu_encoder_virt_atomic_check()
616 ret = phys->ops.atomic_check(phys, crtc_state, in dpu_encoder_virt_atomic_check()
618 else if (phys->ops.mode_fixup) in dpu_encoder_virt_atomic_check()
[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);
240 static inline int dpu_encoder_phys_inc_pending(struct dpu_encoder_phys *phys) in dpu_encoder_phys_inc_pending() argument
242 atomic_inc_return(&phys->pending_ctlstart_cnt); in dpu_encoder_phys_inc_pending()
243 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()
376 *handle = pool->elements[pool->current_count].phys; in lpfc_mbuf_alloc()
403 pool->elements[pool->current_count].phys = dma; in __lpfc_mbuf_free()
496 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc()
520 dma_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys); in lpfc_els_hbq_free()
[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 = pci_map_page(hwdev, page, 0, PAGE_SIZE, PCI_DMA_FROMDEVICE); in qib_map_page()
64 if (pci_dma_mapping_error(hwdev, phys)) in qib_map_page()
67 if (!phys) { in qib_map_page()
68 pci_unmap_page(hwdev, phys, PAGE_SIZE, PCI_DMA_FROMDEVICE); in qib_map_page()
69 phys = pci_map_page(hwdev, page, 0, PAGE_SIZE, in qib_map_page()
71 if (pci_dma_mapping_error(hwdev, 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.c266 phys_addr_t phys; in xen_swiotlb_alloc_coherent() local
297 phys = dma_to_phys(hwdev, *dma_handle); in xen_swiotlb_alloc_coherent()
298 dev_addr = xen_phys_to_dma(hwdev, phys); in xen_swiotlb_alloc_coherent()
300 !range_straddles_page_boundary(phys, size)) in xen_swiotlb_alloc_coherent()
303 if (xen_create_contiguous_region(phys, order, in xen_swiotlb_alloc_coherent()
305 xen_free_coherent_pages(hwdev, size, ret, (dma_addr_t)phys, attrs); in xen_swiotlb_alloc_coherent()
320 phys_addr_t phys; in xen_swiotlb_free_coherent() local
329 phys = xen_dma_to_phys(hwdev, dev_addr); in xen_swiotlb_free_coherent()
340 range_straddles_page_boundary(phys, size)) && in xen_swiotlb_free_coherent()
342 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.c72 struct brcm_usb_phy phys[BRCM_USB_PHY_ID_MAX]; member
115 container_of(phy, struct brcm_usb_phy_data, phys[phy->id]); in brcm_usb_phy_init()
147 container_of(phy, struct brcm_usb_phy_data, phys[phy->id]); in brcm_usb_phy_exit()
189 if (data->phys[BRCM_USB_PHY_2_0].phy) in brcm_usb_phy_xlate()
190 return data->phys[BRCM_USB_PHY_2_0].phy; in brcm_usb_phy_xlate()
195 if (data->phys[BRCM_USB_PHY_3_0].phy) in brcm_usb_phy_xlate()
196 return data->phys[BRCM_USB_PHY_3_0].phy; in brcm_usb_phy_xlate()
398 priv->phys[BRCM_USB_PHY_2_0].phy = gphy; in brcm_usb_phy_dvr_init()
399 priv->phys[BRCM_USB_PHY_2_0].id = BRCM_USB_PHY_2_0; in brcm_usb_phy_dvr_init()
400 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/net/wireless/intel/iwlwifi/pcie/
Dctxt-info.c62 dma_addr_t *phys, in _iwl_pcie_ctxt_info_dma_alloc_coherent() argument
71 result = dma_alloc_coherent(trans->dev, size, phys, GFP_KERNEL); in _iwl_pcie_ctxt_info_dma_alloc_coherent()
76 if (unlikely(iwl_txq_crosses_4g_boundary(*phys, size))) { in _iwl_pcie_ctxt_info_dma_alloc_coherent()
78 dma_addr_t oldphys = *phys; in _iwl_pcie_ctxt_info_dma_alloc_coherent()
81 phys, in _iwl_pcie_ctxt_info_dma_alloc_coherent()
91 dma_addr_t *phys) in iwl_pcie_ctxt_info_dma_alloc_coherent() argument
93 return _iwl_pcie_ctxt_info_dma_alloc_coherent(trans, size, phys, 0); in iwl_pcie_ctxt_info_dma_alloc_coherent()
218 dma_addr_t phys; in iwl_pcie_ctxt_info_init() local
223 &phys); in iwl_pcie_ctxt_info_init()
227 trans_pcie->ctxt_info_dma_addr = phys; in iwl_pcie_ctxt_info_init()
/drivers/scsi/isci/
Dport_config.c197 sci_phy_get_sas_address(&ihost->phys[0], &first_address); in sci_port_configuration_agent_validate_ports()
198 sci_phy_get_sas_address(&ihost->phys[3], &second_address); in sci_port_configuration_agent_validate_ports()
210 sci_phy_get_sas_address(&ihost->phys[0], &first_address); in sci_port_configuration_agent_validate_ports()
211 sci_phy_get_sas_address(&ihost->phys[2], &second_address); in sci_port_configuration_agent_validate_ports()
224 sci_phy_get_sas_address(&ihost->phys[1], &first_address); in sci_port_configuration_agent_validate_ports()
225 sci_phy_get_sas_address(&ihost->phys[3], &second_address); in sci_port_configuration_agent_validate_ports()
272 sci_phy_get_sas_address(&ihost->phys[phy_index], in sci_mpc_agent_validate_phy_configuration()
297 sci_phy_get_sas_address(&ihost->phys[phy_index], in sci_mpc_agent_validate_phy_configuration()
311 &ihost->phys[phy_index]); in sci_mpc_agent_validate_phy_configuration()
344 struct isci_phy *iphy = &ihost->phys[index]; in mpc_agent_timeout()
[all …]
/drivers/acpi/
Dosl.c78 acpi_physical_address phys; member
222 acpi_map_lookup(acpi_physical_address phys, acpi_size size) in acpi_map_lookup() argument
227 if (map->phys <= phys && in acpi_map_lookup()
228 phys + size <= map->phys + map->size) in acpi_map_lookup()
236 acpi_map_vaddr_lookup(acpi_physical_address phys, unsigned int size) in acpi_map_vaddr_lookup() argument
240 map = acpi_map_lookup(phys, size); in acpi_map_vaddr_lookup()
242 return map->virt + (phys - map->phys); in acpi_map_vaddr_lookup()
247 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size) in acpi_os_get_iomem() argument
253 map = acpi_map_lookup(phys, size); in acpi_os_get_iomem()
255 virt = map->virt + (phys - map->phys); in acpi_os_get_iomem()
[all …]
/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace-data.h24 u8 *data_src, dma_addr_t phys, size_t data_len),
25 TP_ARGS(dev, skb, data_src, phys, data_len),
28 __field(u64, phys)
35 __entry->phys = phys;

12345678910>>...27