/drivers/mtd/maps/ |
D | ichxrom.c | 38 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 …]
|
D | esb2rom.c | 99 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 …]
|
D | amd76xrom.c | 33 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 …]
|
D | ck804xrom.c | 37 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 …]
|
D | uclinux.c | 55 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()
|
D | sa1100-flash.c | 64 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()
|
D | solutionengine.c | 39 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/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder.c | 239 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_crc_values_cnt() local 241 if (phys->hw_intf && phys->hw_intf->ops.setup_misr in dpu_encoder_get_crc_values_cnt() 242 && phys->hw_intf->ops.collect_misr) in dpu_encoder_get_crc_values_cnt() 258 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_setup_misr() local 260 if (!phys->hw_intf || !phys->hw_intf->ops.setup_misr) in dpu_encoder_setup_misr() 263 phys->hw_intf->ops.setup_misr(phys->hw_intf); in dpu_encoder_setup_misr() 281 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_crc() local 283 if (!phys->hw_intf || !phys->hw_intf->ops.collect_misr) in dpu_encoder_get_crc() 286 rc = phys->hw_intf->ops.collect_misr(phys->hw_intf, &crcs[pos + entries_added]); in dpu_encoder_get_crc() 429 struct dpu_encoder_phys *phys = dpu_enc ? dpu_enc->cur_master : NULL; in dpu_encoder_get_vsync_count() local [all …]
|
D | dpu_encoder_phys.h | 75 struct dpu_encoder_phys *phys); 77 struct dpu_encoder_phys *phys); 79 struct dpu_encoder_phys *phys, u32 event); 136 void (*irq_control)(struct dpu_encoder_phys *phys, bool enable); 138 void (*restore)(struct dpu_encoder_phys *phys); 139 int (*get_line_count)(struct dpu_encoder_phys *phys); 140 int (*get_frame_count)(struct dpu_encoder_phys *phys); 225 static inline int dpu_encoder_phys_inc_pending(struct dpu_encoder_phys *phys) in dpu_encoder_phys_inc_pending() argument 227 atomic_inc_return(&phys->pending_ctlstart_cnt); in dpu_encoder_phys_inc_pending() 228 return atomic_inc_return(&phys->pending_kickoff_cnt); in dpu_encoder_phys_inc_pending()
|
/drivers/firmware/tegra/ |
D | ivc.c | 71 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/scsi/lpfc/ |
D | lpfc_mem.c | 108 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/ |
D | isp_mmu.c | 74 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/ |
D | qed_chain.c | 72 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/ |
D | qib_user_pages.c | 61 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/ |
D | sym_fw2.h | 305 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/ |
D | mips_cdmm.c | 265 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/iommu/ |
D | of_iommu.c | 185 struct resource *phys, in iommu_resv_region_get_type() argument 194 if (phys->start >= phys->end) in iommu_resv_region_get_type() 198 if (start == phys->start && end == phys->end) in iommu_resv_region_get_type() 201 dev_warn(dev, "treating non-direct mapping [%pr] -> [%pap-%pap] as reservation\n", &phys, in iommu_resv_region_get_type() 225 struct resource phys; in of_iommu_get_resv_regions() local 228 memset(&phys, 0, sizeof(phys)); in of_iommu_get_resv_regions() 236 err = of_address_to_resource(it.node, 0, &phys); in of_iommu_get_resv_regions() 265 type = iommu_resv_region_get_type(dev, &phys, iova, length); in of_iommu_get_resv_regions()
|
/drivers/xen/ |
D | swiotlb-xen.c | 139 phys_addr_t phys; in xen_swiotlb_alloc_coherent() local 148 phys = virt_to_phys(ret); in xen_swiotlb_alloc_coherent() 150 *dma_handle = xen_phys_to_dma(dev, phys); in xen_swiotlb_alloc_coherent() 152 range_straddles_page_boundary(phys, size)) { in xen_swiotlb_alloc_coherent() 153 if (xen_create_contiguous_region(phys, order, fls64(dma_mask), in xen_swiotlb_alloc_coherent() 171 phys_addr_t phys = virt_to_phys(vaddr); in xen_swiotlb_free_coherent() local 178 WARN_ON_ONCE(range_straddles_page_boundary(phys, size))) in xen_swiotlb_free_coherent() 182 xen_destroy_contiguous_region(phys, order); in xen_swiotlb_free_coherent() 199 phys_addr_t map, phys = page_to_phys(page) + offset; in xen_swiotlb_map_page() local 200 dma_addr_t dev_addr = xen_phys_to_dma(dev, phys); in xen_swiotlb_map_page() [all …]
|
/drivers/phy/samsung/ |
D | phy-exynos-mipi-video.c | 52 } 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/ |
D | phy-brcm-usb.c | 73 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/input/mouse/ |
D | vsxxxaa.c | 108 char phys[32]; member 125 mouse->name, mouse->phys); in vsxxxaa_queue_byte() 156 mouse->name, mouse->version, mouse->country, mouse->phys); in vsxxxaa_detection_done() 234 mouse->name, mouse->phys, dx, dy, in vsxxxaa_handle_REL_packet() 285 mouse->name, mouse->phys, x, y, in vsxxxaa_handle_ABS_packet() 353 mouse->name, mouse->phys, error); in vsxxxaa_handle_POR_packet() 364 mouse->name, mouse->phys); in vsxxxaa_handle_POR_packet() 391 mouse->name, mouse->phys); in vsxxxaa_parse_buffer() 468 snprintf(mouse->phys, sizeof(mouse->phys), "%s/input0", serio->phys); in vsxxxaa_connect() 471 input_dev->phys = mouse->phys; in vsxxxaa_connect()
|
/drivers/dax/ |
D | device.c | 63 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() 107 phys_addr_t phys; in __dev_dax_pte_fault() local 123 phys = dax_pgoff_to_phys(dev_dax, vmf->pgoff, PAGE_SIZE); in __dev_dax_pte_fault() 124 if (phys == -1) { in __dev_dax_pte_fault() 129 pfn = phys_to_pfn_t(phys, PFN_DEV|PFN_MAP); in __dev_dax_pte_fault() 141 phys_addr_t phys; in __dev_dax_pmd_fault() local 166 phys = dax_pgoff_to_phys(dev_dax, pgoff, PMD_SIZE); in __dev_dax_pmd_fault() [all …]
|
/drivers/acpi/ |
D | osl.c | 80 acpi_physical_address phys; member 224 acpi_map_lookup(acpi_physical_address phys, acpi_size size) in acpi_map_lookup() argument 229 if (map->phys <= phys && in acpi_map_lookup() 230 phys + size <= map->phys + map->size) in acpi_map_lookup() 238 acpi_map_vaddr_lookup(acpi_physical_address phys, unsigned int size) in acpi_map_vaddr_lookup() argument 242 map = acpi_map_lookup(phys, size); in acpi_map_vaddr_lookup() 244 return map->virt + (phys - map->phys); in acpi_map_vaddr_lookup() 249 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size) in acpi_os_get_iomem() argument 255 map = acpi_map_lookup(phys, size); in acpi_os_get_iomem() 257 virt = map->virt + (phys - map->phys); in acpi_os_get_iomem() [all …]
|
/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | ctxt-info.c | 14 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/phy/st/ |
D | phy-stm32-usbphyc.c | 149 struct stm32_usbphyc_phy **phys; member 462 struct stm32_usbphyc_phy *usbphyc_phy = usbphyc->phys[index]; in stm32_usbphyc_phy_tuning() 581 if (phynode == usbphyc->phys[port]->phy->dev.of_node) { in stm32_usbphyc_of_xlate() 582 usbphyc_phy = usbphyc->phys[port]; in stm32_usbphyc_of_xlate() 668 usbphyc->phys = devm_kcalloc(dev, usbphyc->nphys, in stm32_usbphyc_probe() 669 sizeof(*usbphyc->phys), GFP_KERNEL); in stm32_usbphyc_probe() 670 if (!usbphyc->phys) { in stm32_usbphyc_probe() 718 usbphyc->phys[port] = usbphyc_phy; in stm32_usbphyc_probe() 722 usbphyc->phys[port]->phy = phy; in stm32_usbphyc_probe() 723 usbphyc->phys[port]->usbphyc = usbphyc; in stm32_usbphyc_probe() [all …]
|