Home
last modified time | relevance | path

Searched full:phys (Results 1 – 25 of 2435) sorted by relevance

12345678910>>...98

/OK3568_Linux_fs/kernel/drivers/net/phy/
H A DKconfig13 configuration links, PHYs, and Serdes links with MAC level
49 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
54 PHYs that are not connected to the real MDIO bus.
67 tristate "AMD PHYs"
78 tristate "Analog Devices Industrial Ethernet PHYs"
80 Adds support for the Analog Devices Industrial Ethernet PHYs.
87 tristate "Aquantia PHYs"
92 tristate "Asix PHYs"
98 tristate "Broadcom 54XX PHYs"
102 BCM5481, BCM54810 and BCM5482 PHYs.
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/phy/
H A DKconfig35 bool "Aquantia Ethernet PHYs support"
38 bool "Atheros Ethernet PHYs support"
41 bool "Broadcom Ethernet PHYs support"
44 bool "Cortina Ethernet PHYs support"
47 bool "Davicom Ethernet PHYs support"
56 bool "Marvell Ethernet PHYs support"
59 bool "Micrel Ethernet PHYs support"
61 Enable support for the GbE PHYs manufactured by Micrel (now
83 Enable support for the Micrel KSZ9021 and KSZ9031 GbE PHYs. If
84 enabled, the extended register read/write for KSZ90x1 PHYs
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Ddma-mapping-noalias.c109 static phys_addr_t __arm64_noalias_map(struct device *dev, phys_addr_t phys, in __arm64_noalias_map() argument
113 bounce = bounce || (phys | size) & ~PAGE_MASK; in __arm64_noalias_map()
115 phys = swiotlb_tbl_map_single(dev, phys, size, PAGE_ALIGN(size), in __arm64_noalias_map()
117 if (phys == DMA_MAPPING_ERROR) in __arm64_noalias_map()
120 if (set_nc(phys_to_virt(phys & PAGE_MASK), PAGE_ALIGN(size))) in __arm64_noalias_map()
123 return phys; in __arm64_noalias_map()
126 swiotlb_tbl_unmap_single(dev, phys, size, PAGE_ALIGN(size), dir, in __arm64_noalias_map()
132 static void __arm64_noalias_unmap(struct device *dev, phys_addr_t phys, size_t size, in __arm64_noalias_unmap() argument
135 clear_nc(phys_to_virt(phys & PAGE_MASK), PAGE_ALIGN(size)); in __arm64_noalias_unmap()
136 if (is_swiotlb_buffer(phys)) in __arm64_noalias_unmap()
[all …]
/OK3568_Linux_fs/kernel/fs/bfs/
H A Dfile.c67 unsigned long phys; in bfs_get_block() local
73 phys = bi->i_sblock + block; in bfs_get_block()
75 if (phys <= bi->i_eblock) { in bfs_get_block()
76 dprintf("c=%d, b=%08lx, phys=%09lx (granted)\n", in bfs_get_block()
77 create, (unsigned long)block, phys); in bfs_get_block()
78 map_bh(bh_result, sb, phys); in bfs_get_block()
87 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block()
88 dprintf("c=%d, b=%08lx, phys=%08lx (interim block granted)\n", in bfs_get_block()
89 create, (unsigned long)block, phys); in bfs_get_block()
90 map_bh(bh_result, sb, phys); in bfs_get_block()
[all …]
/OK3568_Linux_fs/kernel/sound/core/
H A Dpcm_misc.c36 unsigned char phys; /* physical bit width */ member
52 .width = 8, .phys = 8, .le = -1, .signd = 1,
56 .width = 8, .phys = 8, .le = -1, .signd = 0,
60 .width = 16, .phys = 16, .le = 1, .signd = 1,
64 .width = 16, .phys = 16, .le = 0, .signd = 1,
68 .width = 16, .phys = 16, .le = 1, .signd = 0,
72 .width = 16, .phys = 16, .le = 0, .signd = 0,
76 .width = 24, .phys = 32, .le = 1, .signd = 1,
80 .width = 24, .phys = 32, .le = 0, .signd = 1,
84 .width = 24, .phys = 32, .le = 1, .signd = 0,
[all …]
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dfixmap.h64 #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 …]
/OK3568_Linux_fs/kernel/drivers/mtd/maps/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dphy-bindings.txt19 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_encoder.c437 /* Query resources used by phys encs, expected to be without overlap */ in dpu_encoder_get_hw_resources()
441 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_hw_resources() local
443 if (phys->ops.get_hw_resources) in dpu_encoder_get_hw_resources()
444 phys->ops.get_hw_resources(phys, hw_res); in dpu_encoder_get_hw_resources()
464 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_destroy() local
466 if (phys->ops.destroy) { in dpu_encoder_destroy()
467 phys->ops.destroy(phys); in dpu_encoder_destroy()
610 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_virt_atomic_check() local
612 if (phys->ops.atomic_check) in dpu_encoder_virt_atomic_check()
613 ret = phys->ops.atomic_check(phys, crtc_state, in dpu_encoder_virt_atomic_check()
[all …]
/OK3568_Linux_fs/kernel/arch/xtensa/mm/
H A Dcache.c146 unsigned long phys = page_to_phys(page); in flush_dcache_page() local
148 unsigned long alias = !(DCACHE_ALIAS_EQ(temp, phys)); in flush_dcache_page()
162 virt = TLBTEMP_BASE_1 + (phys & DCACHE_ALIAS_MASK); in flush_dcache_page()
163 __flush_invalidate_dcache_page_alias(virt, phys); in flush_dcache_page()
168 __flush_invalidate_dcache_page_alias(virt, phys); in flush_dcache_page()
171 __invalidate_icache_page_alias(virt, phys); in flush_dcache_page()
203 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in local_flush_cache_page() local
207 __flush_invalidate_dcache_page_alias(virt, phys); in local_flush_cache_page()
208 __invalidate_icache_page_alias(virt, phys); in local_flush_cache_page()
233 unsigned long phys = page_to_phys(page); in update_mmu_cache() local
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/tegra/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/nvhe/
H A Dmm.c27 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() argument
32 err = kvm_pgtable_hyp_map(&pkvm_pgtable, start, size, phys, prot); in __pkvm_create_mappings()
38 unsigned long __pkvm_create_private_mapping(phys_addr_t phys, size_t size, in __pkvm_create_private_mapping() argument
46 size = PAGE_ALIGN(size + offset_in_page(phys)); in __pkvm_create_private_mapping()
57 err = kvm_pgtable_hyp_map(&pkvm_pgtable, addr, size, phys, prot); in __pkvm_create_private_mapping()
63 addr = addr + offset_in_page(phys); in __pkvm_create_private_mapping()
75 phys_addr_t phys; in pkvm_create_mappings() local
83 phys = hyp_virt_to_phys((void *)virt_addr); in pkvm_create_mappings()
84 err = __pkvm_create_mappings(virt_addr, PAGE_SIZE, phys, prot); in pkvm_create_mappings()
92 int hyp_back_vmemmap(phys_addr_t phys, unsigned long size, phys_addr_t back) in hyp_back_vmemmap() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/mmu/
H A 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()
149 "\tL1 PT: virt = %p, phys = 0x%llx, idx = %d\n" in mmu_remap_error()
150 "\tL2 PT: virt = %p, phys = 0x%llx, idx = %d\n" in mmu_remap_error()
151 "\told: isp_virt = 0x%x, phys = 0x%llx\n" in mmu_remap_error()
152 "\tnew: isp_virt = 0x%x, phys = 0x%llx\n", in mmu_remap_error()
167 "\tL1 PT: virt = %p, phys = 0x%llx, idx = %d\n" in mmu_unmap_l2_pte_error()
168 "\tL2 PT: virt = %p, phys = 0x%llx, idx = %d\n" in mmu_unmap_l2_pte_error()
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/mm/
H A Dsun3kmap.c29 static inline void do_page_mapin(unsigned long phys, unsigned long virt, in do_page_mapin() argument
35 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); in do_page_mapin()
48 static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt, in do_pmeg_mapin() argument
56 do_page_mapin(phys, virt, type); in do_pmeg_mapin()
57 phys += PAGE_SIZE; in do_pmeg_mapin()
63 void __iomem *sun3_ioremap(unsigned long phys, unsigned long size, in sun3_ioremap() argument
74 offset = phys & (PAGE_SIZE-1); in sun3_ioremap()
75 phys &= ~(PAGE_SIZE-1); in sun3_ioremap()
98 do_pmeg_mapin(phys, virt, type, seg_pages); in sun3_ioremap()
101 phys += seg_pages * PAGE_SIZE; in sun3_ioremap()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/events/intel/
H A Dbts.c148 struct bts_phys *phys = &buf->buf[buf->cur_buf]; in bts_config_buffer() local
149 unsigned long index, thresh = 0, end = phys->size; in bts_config_buffer()
150 struct page *page = phys->page; in bts_config_buffer()
155 if (buf->end < phys->offset + buf_size(page)) in bts_config_buffer()
156 end = buf->end - phys->offset - phys->displacement; in bts_config_buffer()
158 index -= phys->offset + phys->displacement; in bts_config_buffer()
168 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; in bts_config_buffer()
176 static void bts_buffer_pad_out(struct bts_phys *phys, unsigned long head) in bts_buffer_pad_out() argument
178 unsigned long index = head - phys->offset; in bts_buffer_pad_out()
180 memset(page_address(phys->page) + index, 0, phys->size - index); in bts_buffer_pad_out()
[all …]
/OK3568_Linux_fs/kernel/arch/um/kernel/
H A Dphysmem.c41 void map_memory(unsigned long virt, unsigned long phys, unsigned long len, in map_memory() argument
47 fd = phys_mapping(phys, &offset); in map_memory()
118 int phys_mapping(unsigned long phys, unsigned long long *offset_out) in phys_mapping() argument
122 if (phys < physmem_size) { in phys_mapping()
124 *offset_out = phys; in phys_mapping()
126 else if (phys < __pa(end_iomem)) { in phys_mapping()
130 if ((phys >= region->phys) && in phys_mapping()
131 (phys < region->phys + region->size)) { in phys_mapping()
133 *offset_out = phys - region->phys; in phys_mapping()
139 else if (phys < __pa(end_iomem) + highmem) { in phys_mapping()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/mm/nohash/
H A Dfsl_booke.c60 phys_addr_t phys; member
77 return tlbcam_addrs[b].phys + (va - tlbcam_addrs[b].start); in v_block_mapped()
88 if (pa >= tlbcam_addrs[b].phys in p_block_mapped()
90 +tlbcam_addrs[b].phys) in p_block_mapped()
91 return tlbcam_addrs[b].start+(pa-tlbcam_addrs[b].phys); in p_block_mapped()
103 static void settlbcam(int index, unsigned long virt, phys_addr_t phys, in settlbcam() argument
125 TLBCAM[index].MAS3 = (phys & MAS3_RPN) | MAS3_SX | MAS3_SR; in settlbcam()
128 TLBCAM[index].MAS7 = (u64)phys >> 32; in settlbcam()
138 tlbcam_addrs[index].phys = phys; in settlbcam()
142 phys_addr_t phys) in calc_cam_sz() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dlibahci_platform.c36 * ahci_platform_enable_phys - Enable PHYs
39 * This function enables all the PHYs found in hpriv->phys, if any.
40 * If a PHY fails to be enabled, it disables all the PHYs already
51 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys()
55 rc = phy_set_mode(hpriv->phys[i], PHY_MODE_SATA); in ahci_platform_enable_phys()
57 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
61 rc = phy_power_on(hpriv->phys[i]); in ahci_platform_enable_phys()
63 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
72 phy_power_off(hpriv->phys[i]); in ahci_platform_enable_phys()
73 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/include/nvhe/
H A Dmemory.h22 #define __hyp_va(phys) ((void *)((phys_addr_t)(phys) - hyp_physvirt_offset)) argument
24 static inline void *hyp_phys_to_virt(phys_addr_t phys) in hyp_phys_to_virt() argument
26 return __hyp_va(phys); in hyp_phys_to_virt()
34 #define hyp_phys_to_pfn(phys) ((phys) >> PAGE_SHIFT) argument
36 #define hyp_phys_to_page(phys) (&hyp_vmemmap[hyp_phys_to_pfn(phys)]) argument
/OK3568_Linux_fs/kernel/drivers/scsi/isci/
H A Dport_config.c127 * 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Drockchip-efuse.c101 phys_addr_t phys; member
297 sip_smc_secure_reg_write(efuse->phys + REG_EFUSE_CTRL, in rockchip_rk3288_efuse_secure_read()
301 wr_val = sip_smc_secure_reg_read(efuse->phys + REG_EFUSE_CTRL) & in rockchip_rk3288_efuse_secure_read()
303 sip_smc_secure_reg_write(efuse->phys + REG_EFUSE_CTRL, wr_val); in rockchip_rk3288_efuse_secure_read()
304 wr_val = sip_smc_secure_reg_read(efuse->phys + REG_EFUSE_CTRL) | in rockchip_rk3288_efuse_secure_read()
306 sip_smc_secure_reg_write(efuse->phys + REG_EFUSE_CTRL, wr_val); in rockchip_rk3288_efuse_secure_read()
308 wr_val = sip_smc_secure_reg_read(efuse->phys + REG_EFUSE_CTRL) | in rockchip_rk3288_efuse_secure_read()
310 sip_smc_secure_reg_write(efuse->phys + REG_EFUSE_CTRL, wr_val); in rockchip_rk3288_efuse_secure_read()
312 *buf++ = sip_smc_secure_reg_read(efuse->phys + REG_EFUSE_DOUT); in rockchip_rk3288_efuse_secure_read()
313 wr_val = sip_smc_secure_reg_read(efuse->phys + REG_EFUSE_CTRL) & in rockchip_rk3288_efuse_secure_read()
[all …]

12345678910>>...98