/linux/drivers/net/phy/ |
H A D | Kconfig | 13 configuration links, PHYs, and Serdes links with MAC level 58 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs" 62 PHYs that are not connected to the real MDIO bus. 88 tristate "AMD and Altima PHYs" 100 tristate "Analog Devices Industrial Ethernet PHYs" 102 Adds support for the Analog Devices Industrial Ethernet PHYs. 109 tristate "Analog Devices Industrial Ethernet T1L PHYs" 111 Adds support for the Analog Devices Industrial T1L Ethernet PHYs. 125 tristate "Asix PHYs" 131 bool "Rust reference driver for Asix PHYs" [all …]
|
/linux/fs/bfs/ |
H A D | file.c | 68 unsigned long phys; in bfs_get_block() local 74 phys = bi->i_sblock + block; in bfs_get_block() 76 if (phys <= bi->i_eblock) { in bfs_get_block() 77 dprintf("c=%d, b=%08lx, phys=%09lx (granted)\n", in bfs_get_block() 78 create, (unsigned long)block, phys); in bfs_get_block() 79 map_bh(bh_result, sb, phys); in bfs_get_block() 88 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block() 89 dprintf("c=%d, b=%08lx, phys=%08lx (interim block granted)\n", in bfs_get_block() 90 create, (unsigned long)block, phys); in bfs_get_block() 91 map_bh(bh_result, sb, phys); in bfs_get_block() [all …]
|
/linux/arch/arm64/boot/dts/microchip/ |
H A D | sparx5_pcb135_board.dtsi | 367 phys = <&serdes 13>; 374 phys = <&serdes 13>; 381 phys = <&serdes 13>; 388 phys = <&serdes 13>; 395 phys = <&serdes 14>; 402 phys = <&serdes 14>; 409 phys = <&serdes 14>; 416 phys = <&serdes 14>; 423 phys = <&serdes 15>; 430 phys = <&serdes 15>; [all …]
|
/linux/drivers/mtd/maps/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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()
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-bindings.txt | 19 phys: phy { 29 That node describes an IP block (PHY provider) that implements 2 different PHYs. 30 In order to differentiate between these 2 PHYs, an additional specifier should be 37 phys : the phandle for the PHY device (used by the PHY subsystem; not to be 40 phy-names : the names of the PHY corresponding to the PHYs present in the 41 *phys* phandle 49 phys = <&usb2_phy>, <&usb3_phy>; 55 This node represents a controller that uses two PHYs, one for usb2 and one for 64 phys = <&phys 1>; 70 This node represents a controller that uses one of the PHYs of the PHY provider [all …]
|
/linux/include/asm-generic/ |
H A D | fixmap.h | 64 #define set_fixmap(idx, phys) \ argument 65 __set_fixmap(idx, phys, FIXMAP_PAGE_NORMAL) 74 #define __set_fixmap_offset(idx, phys, flags) \ argument 77 __set_fixmap(idx, phys, flags); \ 78 ________addr = fix_to_virt(idx) + ((phys) & (PAGE_SIZE - 1)); \ 82 #define set_fixmap_offset(idx, phys) \ argument 83 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NORMAL) 88 #define set_fixmap_nocache(idx, phys) \ argument 89 __set_fixmap(idx, phys, FIXMAP_PAGE_NOCACHE) 91 #define set_fixmap_offset_nocache(idx, phys) \ argument [all …]
|
/linux/drivers/virt/coco/pkvm-guest/ |
H A D | arm-pkvm-guest.c | 21 static int arm_smccc_do_one_page(u32 func_id, phys_addr_t phys) in arm_smccc_do_one_page() argument 23 phys_addr_t end = phys + PAGE_SIZE; in arm_smccc_do_one_page() 25 while (phys < end) { in arm_smccc_do_one_page() 28 arm_smccc_1_1_invoke(func_id, phys, 0, 0, &res); in arm_smccc_do_one_page() 32 phys += pkvm_granule; in arm_smccc_do_one_page() 72 static int mmio_guard_ioremap_hook(phys_addr_t phys, size_t size, in mmio_guard_ioremap_hook() argument 85 phys = PAGE_ALIGN_DOWN(phys); in mmio_guard_ioremap_hook() 86 end = phys + PAGE_ALIGN(size); in mmio_guard_ioremap_hook() 88 while (phys < end) { in mmio_guard_ioremap_hook() 91 WARN_ON_ONCE(arm_smccc_do_one_page(func_id, phys)); in mmio_guard_ioremap_hook() [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_encoder.c | 314 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_crc_values_cnt() local 316 if (phys->hw_intf && phys->hw_intf->ops.setup_misr in dpu_encoder_get_crc_values_cnt() 317 && phys->hw_intf->ops.collect_misr) in dpu_encoder_get_crc_values_cnt() 337 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_setup_misr() local 339 if (!phys->hw_intf || !phys->hw_intf->ops.setup_misr) in dpu_encoder_setup_misr() 342 phys->hw_intf->ops.setup_misr(phys->hw_intf); in dpu_encoder_setup_misr() 367 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_crc() local 369 if (!phys->hw_intf || !phys->hw_intf->ops.collect_misr) in dpu_encoder_get_crc() 372 rc = phys->hw_intf->ops.collect_misr(phys->hw_intf, &crcs[pos + entries_added]); in dpu_encoder_get_crc() 533 struct dpu_encoder_phys *phys = dpu_enc ? dpu_enc->cur_master : NULL; in dpu_encoder_get_vsync_count() local [all …]
|
/linux/drivers/net/thunderbolt/ |
H A D | trace.h | 26 TP_PROTO(unsigned int index, const void *page, dma_addr_t phys, 28 TP_ARGS(index, page, phys, dir), 32 __field(dma_addr_t, phys) 38 __entry->phys = phys; 41 TP_printk("index=%u page=%p phys=%pad dir=%s", 42 __entry->index, __entry->page, &__entry->phys, 47 TP_PROTO(unsigned int index, const void *page, dma_addr_t phys, 49 TP_ARGS(index, page, phys, dir) 53 TP_PROTO(unsigned int index, const void *page, dma_addr_t phys, 55 TP_ARGS(index, page, phys, dir) [all …]
|
/linux/drivers/firmware/tegra/ |
H A D | ivc.c | 77 static inline void tegra_ivc_invalidate(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_invalidate() argument 82 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate() 86 static inline void tegra_ivc_flush(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_flush() argument 91 dma_sync_single_for_device(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_flush() 198 tegra_ivc_invalidate(ivc, ivc->rx.phys + offset); in tegra_ivc_check_read() 218 tegra_ivc_invalidate(ivc, ivc->tx.phys + offset); in tegra_ivc_check_write() 240 dma_addr_t phys, in tegra_ivc_frame_phys() argument 247 return phys + offset; in tegra_ivc_frame_phys() 251 dma_addr_t phys, in tegra_ivc_invalidate_frame() argument 259 phys = tegra_ivc_frame_phys(ivc, phys, frame) + offset; in tegra_ivc_invalidate_frame() [all …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | mem_protect.c | 381 bool addr_is_memory(phys_addr_t phys) in addr_is_memory() argument 385 return !!find_mem_range(phys, &range); in addr_is_memory() 688 u64 phys = hyp_pfn_to_phys(pfn); in __pkvm_host_share_hyp() local 689 void *virt = __hyp_va(phys); in __pkvm_host_share_hyp() 697 ret = __host_check_page_state_range(phys, size, PKVM_PAGE_OWNED); in __pkvm_host_share_hyp() 708 WARN_ON(__host_set_page_state_range(phys, size, PKVM_PAGE_SHARED_OWNED)); in __pkvm_host_share_hyp() 719 u64 phys = hyp_pfn_to_phys(pfn); in __pkvm_host_unshare_hyp() local 720 u64 virt = (u64)__hyp_va(phys); in __pkvm_host_unshare_hyp() 727 ret = __host_check_page_state_range(phys, size, PKVM_PAGE_SHARED_OWNED); in __pkvm_host_unshare_hyp() 739 WARN_ON(__host_set_page_state_range(phys, size, PKVM_PAGE_OWNED)); in __pkvm_host_unshare_hyp() [all …]
|
/linux/arch/m68k/mm/ |
H A D | sun3kmap.c | 27 static inline void do_page_mapin(unsigned long phys, unsigned long virt, in do_page_mapin() argument 33 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); in do_page_mapin() 46 static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt, in do_pmeg_mapin() argument 54 do_page_mapin(phys, virt, type); in do_pmeg_mapin() 55 phys += PAGE_SIZE; in do_pmeg_mapin() 61 void __iomem *sun3_ioremap(unsigned long phys, unsigned long size, in sun3_ioremap() argument 72 offset = phys & (PAGE_SIZE-1); in sun3_ioremap() 73 phys &= ~(PAGE_SIZE-1); in sun3_ioremap() 96 do_pmeg_mapin(phys, virt, type, seg_pages); in sun3_ioremap() 99 phys += seg_pages * PAGE_SIZE; in sun3_ioremap() [all …]
|
/linux/arch/powerpc/mm/nohash/ |
H A D | e500.c | 59 phys_addr_t phys; member 71 return tlbcam_addrs[b].phys + (va - tlbcam_addrs[b].start); in v_block_mapped() 82 if (pa >= tlbcam_addrs[b].phys in p_block_mapped() 84 +tlbcam_addrs[b].phys) in p_block_mapped() 85 return tlbcam_addrs[b].start+(pa-tlbcam_addrs[b].phys); in p_block_mapped() 97 static void settlbcam(int index, unsigned long virt, phys_addr_t phys, in settlbcam() argument 119 TLBCAM[index].MAS3 = (phys & MAS3_RPN) | MAS3_SR; in settlbcam() 122 TLBCAM[index].MAS7 = (u64)phys >> 32; in settlbcam() 135 tlbcam_addrs[index].phys = phys; in settlbcam() 139 phys_addr_t phys) in calc_cam_sz() argument [all …]
|
/linux/arch/um/kernel/ |
H A D | physmem.c | 37 void map_memory(unsigned long virt, unsigned long phys, unsigned long len, in map_memory() argument 43 fd = phys_mapping(phys, &offset); in map_memory() 112 int phys_mapping(unsigned long phys, unsigned long long *offset_out) in phys_mapping() argument 116 if (phys < physmem_size) { in phys_mapping() 118 *offset_out = phys; in phys_mapping() 120 else if (phys < __pa(end_iomem)) { in phys_mapping() 124 if ((phys >= region->phys) && in phys_mapping() 125 (phys < region->phys + region->size)) { in phys_mapping() 127 *offset_out = phys - region->phys; in phys_mapping() 202 region->phys = __pa(region->virt); in setup_iomem()
|
/linux/arch/powerpc/mm/kasan/ |
H A D | book3s_32.c | 15 phys_addr_t phys; in kasan_init_region() local 26 phys = memblock_phys_alloc_range(k_size, k_size, 0, in kasan_init_region() 28 if (!phys) in kasan_init_region() 31 setbat(idx, k_nobat, phys, k_size, PAGE_KERNEL); in kasan_init_region() 38 phys = memblock_phys_alloc_range(k_end - k_nobat, PAGE_SIZE, 0, in kasan_init_region() 40 if (!phys) in kasan_init_region() 52 pte_t pte = pfn_pte(PHYS_PFN(phys + k_cur - k_nobat), PAGE_KERNEL); in kasan_init_region()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A 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 …]
|
/linux/drivers/scsi/isci/ |
H A D | port_config.c | 127 * more phys match the sent and received SAS address as this phy in which in sci_port_configuration_agent_find_port() 167 * Sanity check the max ranges for all the phys the max index in sci_port_configuration_agent_validate_ports() 177 * to make all the phys into a single port */ in sci_port_configuration_agent_validate_ports() 197 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() 240 /* verify all of the phys in the same port are using the same SAS address */ [all …]
|
/linux/drivers/ata/ |
H A D | libahci_platform.c | 37 * ahci_platform_enable_phys - Enable PHYs 40 * This function enables all the PHYs found in hpriv->phys, if any. 41 * If a PHY fails to be enabled, it disables all the PHYs already 55 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys() 59 rc = phy_set_mode(hpriv->phys[i], PHY_MODE_SATA); in ahci_platform_enable_phys() 61 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys() 65 rc = phy_power_on(hpriv->phys[i]); in ahci_platform_enable_phys() 67 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys() 79 phy_power_off(hpriv->phys[i]); in ahci_platform_enable_phys() 80 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys() [all …]
|
/linux/arch/arm64/mm/ |
H A D | mmu.c | 112 phys_addr_t phys; in early_pgtable_alloc() local 114 phys = memblock_phys_alloc_range(PAGE_SIZE, PAGE_SIZE, 0, in early_pgtable_alloc() 116 if (!phys) in early_pgtable_alloc() 119 return phys; in early_pgtable_alloc() 170 phys_addr_t phys, pgprot_t prot) in init_pte() argument 179 __set_pte_nosync(ptep, pfn_pte(__phys_to_pfn(phys), prot)); in init_pte() 188 phys += PAGE_SIZE; in init_pte() 193 unsigned long end, phys_addr_t phys, in alloc_init_cont_pte() argument 226 if ((((addr | next | phys) & ~CONT_PTE_MASK) == 0) && in alloc_init_cont_pte() 230 init_pte(ptep, addr, next, phys, __prot); in alloc_init_cont_pte() [all …]
|
/linux/drivers/xen/ |
H A D | swiotlb-xen.c | 148 phys_addr_t phys; in xen_swiotlb_alloc_coherent() local 157 phys = virt_to_phys(ret); in xen_swiotlb_alloc_coherent() 159 *dma_handle = xen_phys_to_dma(dev, phys); in xen_swiotlb_alloc_coherent() 161 range_straddles_page_boundary(phys, size) || in xen_swiotlb_alloc_coherent() 162 range_requires_alignment(phys, size)) { in xen_swiotlb_alloc_coherent() 163 if (xen_create_contiguous_region(phys, order, fls64(dma_mask), in xen_swiotlb_alloc_coherent() 181 phys_addr_t phys = virt_to_phys(vaddr); in xen_swiotlb_free_coherent() local 188 WARN_ON_ONCE(range_straddles_page_boundary(phys, size) || in xen_swiotlb_free_coherent() 189 range_requires_alignment(phys, size))) in xen_swiotlb_free_coherent() 193 xen_destroy_contiguous_region(phys, order); in xen_swiotlb_free_coherent() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-lx2162a-clearfog.dts | 94 phys = <&serdes_1 7>; 100 phys = <&serdes_1 6>; 106 phys = <&serdes_1 5>; 112 phys = <&serdes_1 4>; 116 phys = <&serdes_2 0>; 123 phys = <&serdes_2 1>; 130 phys = <&serdes_2 6>; 137 phys = <&serdes_2 7>; 144 phys = <&serdes_2 4>; 151 phys = <&serdes_2 5>; [all …]
|