/openbmc/linux/drivers/net/phy/ |
H A D | Kconfig | 13 configuration links, PHYs, and Serdes links with MAC level 55 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs" 59 PHYs that are not connected to the real MDIO bus. 72 tristate "AMD PHYs" 84 tristate "Analog Devices Industrial Ethernet PHYs" 86 Adds support for the Analog Devices Industrial Ethernet PHYs. 93 tristate "Analog Devices Industrial Ethernet T1L PHYs" 95 Adds support for the Analog Devices Industrial T1L Ethernet PHYs. 100 tristate "Aquantia PHYs" 105 tristate "Asix PHYs" [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | Kconfig | 68 bool "Aquantia Ethernet PHYs support" 77 Aquantia PHYs use firmware which can be either loaded automatically 95 bool "Atheros Ethernet PHYs support" 98 bool "Broadcom Ethernet PHYs support" 101 bool "Cortina Ethernet PHYs support" 104 bool "Davicom Ethernet PHYs support" 113 bool "Marvell Ethernet PHYs support" 119 bool "Micrel Ethernet PHYs support" 121 Enable support for the GbE PHYs manufactured by Micrel (now 143 Enable support for the Micrel KSZ9021 and KSZ9031 GbE PHYs. If [all …]
|
/openbmc/linux/fs/bfs/ |
H A D | file.c | 67 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm64/boot/dts/microchip/ |
H A D | sparx5_pcb135_board.dtsi | 377 phys = <&serdes 13>; 384 phys = <&serdes 13>; 391 phys = <&serdes 13>; 398 phys = <&serdes 13>; 405 phys = <&serdes 14>; 412 phys = <&serdes 14>; 419 phys = <&serdes 14>; 426 phys = <&serdes 14>; 433 phys = <&serdes 15>; 440 phys = <&serdes 15>; [all …]
|
/openbmc/linux/sound/core/ |
H A D | pcm_misc.c | 36 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/xtensa/mm/ |
H A D | cache.c | 140 unsigned long phys = folio_pfn(folio) * PAGE_SIZE; in flush_dcache_folio() local 143 unsigned long alias = !(DCACHE_ALIAS_EQ(temp, phys)); in flush_dcache_folio() 158 virt = TLBTEMP_BASE_1 + (phys & DCACHE_ALIAS_MASK); in flush_dcache_folio() 159 __flush_invalidate_dcache_page_alias(virt, phys); in flush_dcache_folio() 164 __flush_invalidate_dcache_page_alias(virt, phys); in flush_dcache_folio() 167 __invalidate_icache_page_alias(virt, phys); in flush_dcache_folio() 168 phys += PAGE_SIZE; in flush_dcache_folio() 202 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in local_flush_cache_page() local 206 __flush_invalidate_dcache_page_alias(virt, phys); in local_flush_cache_page() 207 __invalidate_icache_page_alias(virt, phys); in local_flush_cache_page() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_encoder.c | 247 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_crc_values_cnt() local 249 if (phys->hw_intf && phys->hw_intf->ops.setup_misr in dpu_encoder_get_crc_values_cnt() 250 && phys->hw_intf->ops.collect_misr) in dpu_encoder_get_crc_values_cnt() 266 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_setup_misr() local 268 if (!phys->hw_intf || !phys->hw_intf->ops.setup_misr) in dpu_encoder_setup_misr() 271 phys->hw_intf->ops.setup_misr(phys->hw_intf); in dpu_encoder_setup_misr() 289 struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i]; in dpu_encoder_get_crc() local 291 if (!phys->hw_intf || !phys->hw_intf->ops.collect_misr) in dpu_encoder_get_crc() 294 rc = phys->hw_intf->ops.collect_misr(phys->hw_intf, &crcs[pos + entries_added]); in dpu_encoder_get_crc() 436 struct dpu_encoder_phys *phys = dpu_enc ? dpu_enc->cur_master : NULL; in dpu_encoder_get_vsync_count() local [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | xdma.h | 87 __field(__u32, phys) 91 __entry->phys = client->phys; 95 __entry->phys, 104 __field(__u32, phys) 109 __entry->phys = client->phys; 114 __entry->phys, 124 __field(__u32, phys) 128 __entry->phys = client->phys; 132 __entry->phys,
|
/openbmc/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 …]
|
/openbmc/linux/arch/m68k/mm/ |
H A D | sun3kmap.c | 29 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/mmu/ |
H A 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() 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 …]
|
/openbmc/u-boot/arch/arm/mach-rmobile/ |
H A D | memmap-gen3.c | 16 .phys = 0x0UL, 23 .phys = 0x40000000UL, 29 .phys = 0x47E00000UL, 35 .phys = 0xc0000000UL, 42 .phys = 0x100000000UL, 63 gen3_mem_map[i].phys = 0x0ULL; in enable_caches() 87 gen3_mem_map[i].phys = 0x40000000ULL; in enable_caches() 98 gen3_mem_map[i].phys = start; in enable_caches() 107 gen3_mem_map[i].phys = 0xc0000000ULL; in enable_caches() 128 gen3_mem_map[i].phys = start; in enable_caches() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/um/kernel/ |
H A D | physmem.c | 41 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 …]
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | bts.c | 148 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 …]
|
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/ |
H A D | memory.h | 18 #define __hyp_va(phys) ((void *)((phys_addr_t)(phys) - hyp_physvirt_offset)) argument 20 static inline void *hyp_phys_to_virt(phys_addr_t phys) in hyp_phys_to_virt() argument 22 return __hyp_va(phys); in hyp_phys_to_virt() 30 #define hyp_phys_to_pfn(phys) ((phys) >> PAGE_SHIFT) argument 32 #define hyp_phys_to_page(phys) (&hyp_vmemmap[hyp_phys_to_pfn(phys)]) argument
|
/openbmc/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()
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | mmu-arm64_s10.c | 16 .phys = 0x0UL, 23 .phys = 0x80000000UL, 31 .phys = 0xF7000000UL, 39 .phys = 0xFFE00000UL, 46 .phys = 0xFFFC0000UL, 54 .phys = 0x0100000000UL, 61 .phys = 0x2000000000UL,
|
/openbmc/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 …]
|