phy_addr 29 arch/arm/mach-dove/cm-a510.c .phy_addr = MV643XX_ETH_PHY_ADDR_DEFAULT, phy_addr 31 arch/arm/mach-dove/dove-db-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR_DEFAULT, phy_addr 156 arch/arm/mach-mmp/gplugd.c .phy_addr = 0, phy_addr 30 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(0), phy_addr 34 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 240 arch/arm/mach-mv78xx0/common.c eth_data->phy_addr = MV643XX_ETH_PHY_NONE; phy_addr 262 arch/arm/mach-mv78xx0/common.c eth_data->phy_addr = MV643XX_ETH_PHY_NONE; phy_addr 24 arch/arm/mach-mv78xx0/db78x00-bp-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 28 arch/arm/mach-mv78xx0/db78x00-bp-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(9), phy_addr 32 arch/arm/mach-mv78xx0/db78x00-bp-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(10), phy_addr 36 arch/arm/mach-mv78xx0/db78x00-bp-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(11), phy_addr 23 arch/arm/mach-mv78xx0/rd78x00-masa-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 27 arch/arm/mach-mv78xx0/rd78x00-masa-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(9), phy_addr 287 arch/arm/mach-orion5x/db88f5281-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 173 arch/arm/mach-orion5x/dns323-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 163 arch/arm/mach-orion5x/kurobox_pro-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 68 arch/arm/mach-orion5x/ls_hgl-setup.c .phy_addr = 8, phy_addr 41 arch/arm/mach-orion5x/mv2120-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 88 arch/arm/mach-orion5x/net2big-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 90 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c .phy_addr = MV643XX_ETH_PHY_NONE, phy_addr 91 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c .phy_addr = MV643XX_ETH_PHY_NONE, phy_addr 194 arch/arm/mach-orion5x/rd88f5182-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 29 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c .phy_addr = -1, phy_addr 141 arch/arm/mach-orion5x/terastation_pro2-setup.c .phy_addr = 0, phy_addr 68 arch/arm/mach-orion5x/ts78xx-setup.c .phy_addr = MV643XX_ETH_PHY_ADDR(0), phy_addr 49 arch/arm/mach-orion5x/tsx09-common.c .phy_addr = MV643XX_ETH_PHY_ADDR(8), phy_addr 95 arch/arm/mach-orion5x/wnr854t-setup.c .phy_addr = MV643XX_ETH_PHY_NONE, phy_addr 180 arch/arm/mach-orion5x/wrt350n-v2-setup.c .phy_addr = MV643XX_ETH_PHY_NONE, phy_addr 437 arch/mips/cavium-octeon/executive/cvmx-bootmem.c int __cvmx_bootmem_phy_free(uint64_t phy_addr, uint64_t size, uint32_t flags) phy_addr 445 arch/mips/cavium-octeon/executive/cvmx-bootmem.c (unsigned long long)phy_addr, (unsigned long long)size); phy_addr 463 arch/mips/cavium-octeon/executive/cvmx-bootmem.c if (cur_addr == 0 || phy_addr < cur_addr) { phy_addr 465 arch/mips/cavium-octeon/executive/cvmx-bootmem.c if (cur_addr && phy_addr + size > cur_addr) phy_addr 467 arch/mips/cavium-octeon/executive/cvmx-bootmem.c else if (phy_addr + size == cur_addr) { phy_addr 469 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_next(phy_addr, phy_addr 472 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_size(phy_addr, phy_addr 475 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_desc->head_addr = phy_addr; phy_addr 479 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_next(phy_addr, cur_addr); phy_addr 480 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_size(phy_addr, size); phy_addr 481 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_desc->head_addr = phy_addr; phy_addr 488 arch/mips/cavium-octeon/executive/cvmx-bootmem.c while (cur_addr && phy_addr > cur_addr) { phy_addr 500 arch/mips/cavium-octeon/executive/cvmx-bootmem.c phy_addr) { phy_addr 505 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_next(prev_addr, phy_addr); phy_addr 506 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_size(phy_addr, size); phy_addr 507 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_next(phy_addr, 0); phy_addr 517 arch/mips/cavium-octeon/executive/cvmx-bootmem.c phy_addr) { phy_addr 522 arch/mips/cavium-octeon/executive/cvmx-bootmem.c if (phy_addr + size == cur_addr) { phy_addr 532 arch/mips/cavium-octeon/executive/cvmx-bootmem.c } else if (phy_addr + size == cur_addr) { phy_addr 534 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_size(phy_addr, phy_addr 537 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_next(phy_addr, phy_addr 540 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_next(prev_addr, phy_addr); phy_addr 546 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_size(phy_addr, size); phy_addr 547 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_next(phy_addr, cur_addr); phy_addr 548 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_set_next(prev_addr, phy_addr); phy_addr 478 arch/mips/cavium-octeon/octeon-platform.c static void __init octeon_fdt_set_phy(int eth, int phy_addr) phy_addr 506 arch/mips/cavium-octeon/octeon-platform.c if (phy_addr < 0 || phy < 0) { phy_addr 518 arch/mips/cavium-octeon/octeon-platform.c if (phy_addr >= 256 && alt_phy > 0) { phy_addr 533 arch/mips/cavium-octeon/octeon-platform.c phy_addr &= 0xff; phy_addr 547 arch/mips/cavium-octeon/octeon-platform.c if (phy_addr == be32_to_cpup(reg)) phy_addr 550 arch/mips/cavium-octeon/octeon-platform.c fdt_setprop_inplace_cell(initial_boot_params, phy, "reg", phy_addr); phy_addr 552 arch/mips/cavium-octeon/octeon-platform.c snprintf(new_name, sizeof(new_name), "ethernet-phy@%x", phy_addr); phy_addr 649 arch/mips/cavium-octeon/octeon-platform.c int phy_addr; phy_addr 667 arch/mips/cavium-octeon/octeon-platform.c phy_addr = cvmx_helper_board_get_mii_address(ipd_port); phy_addr 668 arch/mips/cavium-octeon/octeon-platform.c octeon_fdt_set_phy(eth, phy_addr); phy_addr 811 arch/mips/cavium-octeon/octeon-platform.c int phy_addr = cvmx_helper_board_get_mii_address(CVMX_HELPER_BOARD_MGMT_IPD_PORT + i); phy_addr 813 arch/mips/cavium-octeon/octeon-platform.c octeon_fdt_set_phy(mgmt, phy_addr); phy_addr 10 arch/mips/include/asm/mach-au1x00/au1xxx_eth.h int phy_addr; phy_addr 321 arch/mips/include/asm/octeon/cvmx-bootmem.h int __cvmx_bootmem_phy_free(uint64_t phy_addr, uint64_t size, uint32_t flags); phy_addr 147 arch/mips/loongson32/common/platform.c .phy_addr = -1, phy_addr 188 arch/mips/loongson32/common/platform.c .phy_addr = -1, phy_addr 48 arch/powerpc/include/asm/dbdma.h __le32 phy_addr; /* physical data address */ phy_addr 82 arch/powerpc/platforms/chrp/pegasos_eth.c .phy_addr = MV643XX_ETH_PHY_ADDR(7), phy_addr 548 drivers/ata/pata_macio.c table->phy_addr = cpu_to_le32(addr); phy_addr 412 drivers/block/swim3.c cp->phy_addr = cpu_to_le32(virt_to_bus(buf)); phy_addr 146 drivers/crypto/qat/qat_common/adf_admin.c dma_addr_t phy_addr; phy_addr 248 drivers/crypto/qat/qat_common/adf_admin.c &admin->phy_addr, GFP_KERNEL); phy_addr 262 drivers/crypto/qat/qat_common/adf_admin.c admin->virt_addr, admin->phy_addr); phy_addr 268 drivers/crypto/qat/qat_common/adf_admin.c reg_val = (u64)admin->phy_addr; phy_addr 287 drivers/crypto/qat/qat_common/adf_admin.c admin->virt_addr, admin->phy_addr); phy_addr 590 drivers/dma/sprd-dma.c cyclic = schan->linklist.phy_addr ? true : false; phy_addr 818 drivers/dma/sprd-dma.c if (schan->linklist.phy_addr) { phy_addr 830 drivers/dma/sprd-dma.c llist_ptr = schan->linklist.phy_addr + temp; phy_addr 940 drivers/dma/sprd-dma.c schan->linklist.phy_addr = ll_cfg->phy_addr; phy_addr 943 drivers/dma/sprd-dma.c schan->linklist.phy_addr = 0; phy_addr 161 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c u32 resp, phy_addr, idx = 0; phy_addr 167 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c phy_addr = (u32)hdmi->mmio_phy_addr; phy_addr 173 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c scm_buf[i].addr = phy_addr + preg[idx]; phy_addr 201 drivers/i2c/busses/i2c-at91-core.c u32 phy_addr; phy_addr 212 drivers/i2c/busses/i2c-at91-core.c phy_addr = mem->start; phy_addr 247 drivers/i2c/busses/i2c-at91-core.c rc = at91_twi_probe_slave(pdev, phy_addr, dev); phy_addr 249 drivers/i2c/busses/i2c-at91-core.c rc = at91_twi_probe_master(pdev, phy_addr, dev); phy_addr 689 drivers/i2c/busses/i2c-at91-master.c static int at91_twi_configure_dma(struct at91_twi_dev *dev, u32 phy_addr) phy_addr 715 drivers/i2c/busses/i2c-at91-master.c slave_config.src_addr = (dma_addr_t)phy_addr + AT91_TWI_RHR; phy_addr 718 drivers/i2c/busses/i2c-at91-master.c slave_config.dst_addr = (dma_addr_t)phy_addr + AT91_TWI_THR; phy_addr 772 drivers/i2c/busses/i2c-at91-master.c u32 phy_addr, struct at91_twi_dev *dev) phy_addr 786 drivers/i2c/busses/i2c-at91-master.c rc = at91_twi_configure_dma(dev, phy_addr); phy_addr 120 drivers/i2c/busses/i2c-at91-slave.c u32 phy_addr, struct at91_twi_dev *dev) phy_addr 158 drivers/i2c/busses/i2c-at91.h int at91_twi_probe_master(struct platform_device *pdev, u32 phy_addr, phy_addr 163 drivers/i2c/busses/i2c-at91.h int at91_twi_probe_slave(struct platform_device *pdev, u32 phy_addr, phy_addr 169 drivers/i2c/busses/i2c-at91.h u32 phy_addr, struct at91_twi_dev *dev) phy_addr 284 drivers/i2c/busses/i2c-imx.c dma_addr_t phy_addr) phy_addr 303 drivers/i2c/busses/i2c-imx.c dma_sconfig.dst_addr = phy_addr + phy_addr 322 drivers/i2c/busses/i2c-imx.c dma_sconfig.src_addr = phy_addr + phy_addr 1063 drivers/i2c/busses/i2c-imx.c dma_addr_t phy_addr; phy_addr 1079 drivers/i2c/busses/i2c-imx.c phy_addr = (dma_addr_t)res->start; phy_addr 1177 drivers/i2c/busses/i2c-imx.c i2c_imx_dma_request(i2c_imx, phy_addr); phy_addr 13 drivers/i2c/busses/i2c-stm32.c dma_addr_t phy_addr, phy_addr 34 drivers/i2c/busses/i2c-stm32.c dma_sconfig.dst_addr = phy_addr + txdr_offset; phy_addr 53 drivers/i2c/busses/i2c-stm32.c dma_sconfig.src_addr = phy_addr + rxdr_offset; phy_addr 48 drivers/i2c/busses/i2c-stm32.h dma_addr_t phy_addr, phy_addr 1833 drivers/i2c/busses/i2c-stm32f7.c dma_addr_t phy_addr; phy_addr 1844 drivers/i2c/busses/i2c-stm32f7.c phy_addr = (dma_addr_t)res->start; phy_addr 1955 drivers/i2c/busses/i2c-stm32f7.c i2c_dev->dma = stm32_i2c_dma_request(i2c_dev->dev, phy_addr, phy_addr 1498 drivers/ide/pmac.c table->phy_addr = cpu_to_le32(cur_addr); phy_addr 1187 drivers/infiniband/hw/hns/hns_roce_hem.c u64 phy_addr) phy_addr 1190 drivers/infiniband/hw/hns/hns_roce_hem.c hem->dma_addr = (dma_addr_t)phy_addr; phy_addr 1551 drivers/infiniband/hw/hns/hns_roce_hem.c int offset, int *mtt_cnt, u64 *phy_addr) phy_addr 1572 drivers/infiniband/hw/hns/hns_roce_hem.c if (phy_addr) phy_addr 1573 drivers/infiniband/hw/hns/hns_roce_hem.c *phy_addr = phy_base; phy_addr 148 drivers/infiniband/hw/hns/hns_roce_hem.h int offset, int *mtt_cnt, u64 *phy_addr); phy_addr 451 drivers/infiniband/hw/ocrdma/ocrdma.h u64 phy_addr; phy_addr 199 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_add_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr, phy_addr 207 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mm->key.phy_addr = phy_addr; phy_addr 217 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void ocrdma_del_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr, phy_addr 224 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (len != mm->key.len && phy_addr != mm->key.phy_addr) phy_addr 234 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static bool ocrdma_search_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr, phy_addr 242 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (len != mm->key.len && phy_addr != mm->key.phy_addr) phy_addr 306 drivers/infiniband/hw/qedr/qedr.h u64 phy_addr; phy_addr 260 drivers/infiniband/hw/qedr/verbs.c static int qedr_add_mmap(struct qedr_ucontext *uctx, u64 phy_addr, phy_addr 269 drivers/infiniband/hw/qedr/verbs.c mm->key.phy_addr = phy_addr; phy_addr 286 drivers/infiniband/hw/qedr/verbs.c (unsigned long long)mm->key.phy_addr, phy_addr 292 drivers/infiniband/hw/qedr/verbs.c static bool qedr_search_mmap(struct qedr_ucontext *uctx, u64 phy_addr, phy_addr 300 drivers/infiniband/hw/qedr/verbs.c if (len != mm->key.len || phy_addr != mm->key.phy_addr) phy_addr 309 drivers/infiniband/hw/qedr/verbs.c mm->key.phy_addr, mm->key.len, uctx, found); phy_addr 381 drivers/infiniband/hw/qedr/verbs.c mm->key.phy_addr, mm->key.len, uctx); phy_addr 714 drivers/iommu/intel-iommu.c unsigned long phy_addr; phy_addr 723 drivers/iommu/intel-iommu.c phy_addr = virt_to_phys((void *)context); phy_addr 724 drivers/iommu/intel-iommu.c *entry = phy_addr | 1; phy_addr 185 drivers/macintosh/rack-meter.c cmd->phy_addr = cpu_to_le32(rm->dma_buf_p + phy_addr 192 drivers/macintosh/rack-meter.c cmd->phy_addr = cpu_to_le32(rm->dma_buf_p + phy_addr 198 drivers/macintosh/rack-meter.c cmd->phy_addr = cpu_to_le32(rm->dma_buf_p + phy_addr 205 drivers/macintosh/rack-meter.c cmd->phy_addr = cpu_to_le32(rm->dma_buf_p + phy_addr 1424 drivers/net/ethernet/agere/et131x.c static int et131x_mdio_read(struct mii_bus *bus, int phy_addr, int reg) phy_addr 1431 drivers/net/ethernet/agere/et131x.c ret = et131x_phy_mii_read(adapter, phy_addr, reg, &value); phy_addr 1439 drivers/net/ethernet/agere/et131x.c static int et131x_mdio_write(struct mii_bus *bus, int phy_addr, phy_addr 1445 drivers/net/ethernet/agere/et131x.c return et131x_mii_write(adapter, phy_addr, reg, value); phy_addr 472 drivers/net/ethernet/altera/altera_tse.h int phy_addr; /* PHY's MDIO address, -1 for autodetection */ phy_addr 698 drivers/net/ethernet/altera/altera_tse_main.c if (priv->phy_addr != POLL_PHY) { phy_addr 700 drivers/net/ethernet/altera/altera_tse_main.c priv->mdio->id, priv->phy_addr); phy_addr 746 drivers/net/ethernet/altera/altera_tse_main.c &priv->phy_addr)) { phy_addr 747 drivers/net/ethernet/altera/altera_tse_main.c priv->phy_addr = POLL_PHY; phy_addr 750 drivers/net/ethernet/altera/altera_tse_main.c if (!((priv->phy_addr == POLL_PHY) || phy_addr 751 drivers/net/ethernet/altera/altera_tse_main.c ((priv->phy_addr >= 0) && (priv->phy_addr < PHY_MAX_ADDR)))) { phy_addr 753 drivers/net/ethernet/altera/altera_tse_main.c priv->phy_addr); phy_addr 272 drivers/net/ethernet/amd/au1000_eth.c static int au1000_mdio_read(struct net_device *dev, int phy_addr, int reg) phy_addr 289 drivers/net/ethernet/amd/au1000_eth.c MAC_SET_MII_SELECT_PHY(phy_addr) | MAC_MII_READ; phy_addr 304 drivers/net/ethernet/amd/au1000_eth.c static void au1000_mdio_write(struct net_device *dev, int phy_addr, phy_addr 322 drivers/net/ethernet/amd/au1000_eth.c MAC_SET_MII_SELECT_PHY(phy_addr) | MAC_MII_WRITE; phy_addr 328 drivers/net/ethernet/amd/au1000_eth.c static int au1000_mdiobus_read(struct mii_bus *bus, int phy_addr, int regnum) phy_addr 337 drivers/net/ethernet/amd/au1000_eth.c return au1000_mdio_read(dev, phy_addr, regnum); phy_addr 340 drivers/net/ethernet/amd/au1000_eth.c static int au1000_mdiobus_write(struct mii_bus *bus, int phy_addr, int regnum, phy_addr 350 drivers/net/ethernet/amd/au1000_eth.c au1000_mdio_write(dev, phy_addr, regnum, value); phy_addr 479 drivers/net/ethernet/amd/au1000_eth.c int phy_addr; phy_addr 484 drivers/net/ethernet/amd/au1000_eth.c if (aup->phy_addr) phy_addr 485 drivers/net/ethernet/amd/au1000_eth.c phydev = mdiobus_get_phy(aup->mii_bus, aup->phy_addr); phy_addr 494 drivers/net/ethernet/amd/au1000_eth.c for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) phy_addr 495 drivers/net/ethernet/amd/au1000_eth.c if (mdiobus_get_phy(aup->mii_bus, phy_addr)) { phy_addr 496 drivers/net/ethernet/amd/au1000_eth.c phydev = mdiobus_get_phy(aup->mii_bus, phy_addr); phy_addr 512 drivers/net/ethernet/amd/au1000_eth.c for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { phy_addr 515 drivers/net/ethernet/amd/au1000_eth.c phy_addr); phy_addr 1209 drivers/net/ethernet/amd/au1000_eth.c aup->phy_addr = pd->phy_addr; phy_addr 1238 drivers/net/ethernet/amd/au1000_eth.c aup->mii_bus->irq[aup->phy_addr] = aup->phy_irq; phy_addr 99 drivers/net/ethernet/amd/au1000_eth.h int phy_addr; phy_addr 902 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c u32 phy_addr; phy_addr 930 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c ret = device_property_read_u32(dev, "phy-channel", &phy_addr); phy_addr 932 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c ret = device_property_read_u32(dev, "phy-addr", &phy_addr); phy_addr 936 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c phy = xgene_enet_phy_register(mdio, phy_addr); phy_addr 203 drivers/net/ethernet/apple/bmac.c out_le32(&cp->phy_addr, addr); phy_addr 457 drivers/net/ethernet/apple/mace.c cp->phy_addr = cpu_to_le32(virt_to_bus(data)); phy_addr 560 drivers/net/ethernet/apple/mace.c cp->phy_addr = cpu_to_le32(virt_to_bus(skb->data)); phy_addr 965 drivers/net/ethernet/apple/mace.c cp->phy_addr = cpu_to_le32(virt_to_bus(data)); phy_addr 56 drivers/net/ethernet/arc/emac_mdio.c static int arc_mdio_read(struct mii_bus *bus, int phy_addr, int reg_num) phy_addr 63 drivers/net/ethernet/arc/emac_mdio.c 0x60020000 | (phy_addr << 23) | (reg_num << 18)); phy_addr 72 drivers/net/ethernet/arc/emac_mdio.c phy_addr, reg_num, value); phy_addr 88 drivers/net/ethernet/arc/emac_mdio.c static int arc_mdio_write(struct mii_bus *bus, int phy_addr, phy_addr 95 drivers/net/ethernet/arc/emac_mdio.c phy_addr, reg_num, value); phy_addr 98 drivers/net/ethernet/arc/emac_mdio.c 0x50020000 | (phy_addr << 23) | (reg_num << 18) | value); phy_addr 259 drivers/net/ethernet/broadcom/b44.c static int __b44_readphy(struct b44 *bp, int phy_addr, int reg, u32 *val) phy_addr 266 drivers/net/ethernet/broadcom/b44.c (phy_addr << MDIO_DATA_PMD_SHIFT) | phy_addr 275 drivers/net/ethernet/broadcom/b44.c static int __b44_writephy(struct b44 *bp, int phy_addr, int reg, u32 val) phy_addr 280 drivers/net/ethernet/broadcom/b44.c (phy_addr << MDIO_DATA_PMD_SHIFT) | phy_addr 292 drivers/net/ethernet/broadcom/b44.c return __b44_readphy(bp, bp->phy_addr, reg, val); phy_addr 300 drivers/net/ethernet/broadcom/b44.c return __b44_writephy(bp, bp->phy_addr, reg, val); phy_addr 1867 drivers/net/ethernet/broadcom/b44.c cmd->base.phy_address = bp->phy_addr; phy_addr 2170 drivers/net/ethernet/broadcom/b44.c bp->phy_addr = sdev->bus->sprom.et1phyaddr; phy_addr 2173 drivers/net/ethernet/broadcom/b44.c bp->phy_addr = sdev->bus->sprom.et0phyaddr; phy_addr 2178 drivers/net/ethernet/broadcom/b44.c bp->phy_addr &= 0x1F; phy_addr 2274 drivers/net/ethernet/broadcom/b44.c mii_bus->phy_mask = ~(1 << bp->phy_addr); phy_addr 2285 drivers/net/ethernet/broadcom/b44.c if (!mdiobus_is_registered_device(bp->mii_bus, bp->phy_addr) && phy_addr 2290 drivers/net/ethernet/broadcom/b44.c bp->phy_addr); phy_addr 2292 drivers/net/ethernet/broadcom/b44.c bp->phy_addr = 0; phy_addr 2294 drivers/net/ethernet/broadcom/b44.c bp->phy_addr); phy_addr 2297 drivers/net/ethernet/broadcom/b44.c bp->phy_addr); phy_addr 2304 drivers/net/ethernet/broadcom/b44.c bp->phy_addr); phy_addr 2318 drivers/net/ethernet/broadcom/b44.c bp->phy_addr = phydev->mdio.addr; phy_addr 2407 drivers/net/ethernet/broadcom/b44.c if (bp->phy_addr == B44_PHY_ADDR_NO_PHY) { phy_addr 2416 drivers/net/ethernet/broadcom/b44.c bp->mii_if.phy_id = bp->phy_addr; phy_addr 406 drivers/net/ethernet/broadcom/b44.h u8 phy_addr; phy_addr 508 drivers/net/ethernet/broadcom/bnx2.c val1 = (bp->phy_addr << 21) | (reg << 16) | phy_addr 565 drivers/net/ethernet/broadcom/bnx2.c val1 = (bp->phy_addr << 21) | (reg << 16) | val | phy_addr 6953 drivers/net/ethernet/broadcom/bnx2.c cmd->base.phy_address = bp->phy_addr; phy_addr 7859 drivers/net/ethernet/broadcom/bnx2.c data->phy_id = bp->phy_addr; phy_addr 8364 drivers/net/ethernet/broadcom/bnx2.c bp->phy_addr = 1; phy_addr 8394 drivers/net/ethernet/broadcom/bnx2.c bp->phy_addr = 2; phy_addr 6894 drivers/net/ethernet/broadcom/bnx2.h u32 phy_addr; phy_addr 1009 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h u32 phy_addr; phy_addr 3184 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_phy_read(struct link_params *params, u8 phy_addr, phy_addr 3192 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (params->phy[phy_index].addr == phy_addr) { phy_addr 3201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c int bnx2x_phy_write(struct link_params *params, u8 phy_addr, phy_addr 3209 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (params->phy[phy_index].addr == phy_addr) { phy_addr 12216 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 phy_addr; phy_addr 12228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c phy_addr = REG_RD(bp, phy_addr 12318 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c phy_addr = REG_RD(bp, phy_addr 12324 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c phy_addr = REG_RD(bp, phy_addr 12334 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c phy->addr = (u8)phy_addr; phy_addr 100 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h #define FW_PARAM_SET(phy_addr, phy_type, mdio_access) \ phy_addr 101 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h (phy_addr | phy_type | mdio_access << FW_PARAM_MDIO_CTRL_OFFSET) phy_addr 393 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_phy_read(struct link_params *params, u8 phy_addr, phy_addr 396 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h int bnx2x_phy_write(struct link_params *params, u8 phy_addr, phy_addr 11293 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.phy_addr = REG_RD(bp, MISC_REG_WC0_CTRL_PHY_ADDR); phy_addr 11297 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.phy_addr = REG_RD( phy_addr 11301 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->port.phy_addr = REG_RD( phy_addr 11310 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BNX2X_DEV_INFO("phy_addr 0x%x\n", bp->port.phy_addr); phy_addr 11621 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->mdio.prtad = bp->port.phy_addr; phy_addr 8496 drivers/net/ethernet/broadcom/bnxt/bnxt.c link_info->phy_addr = resp->eee_config_phy_addr & phy_addr 9337 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_hwrm_port_phy_read(struct bnxt *bp, u16 phy_addr, u16 reg, phy_addr 9349 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.phy_addr = phy_addr; phy_addr 9351 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (mdio_phy_id_is_c45(phy_addr)) { phy_addr 9353 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.phy_addr = mdio_phy_id_prtad(phy_addr); phy_addr 9354 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.dev_addr = mdio_phy_id_devad(phy_addr); phy_addr 9366 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_hwrm_port_phy_write(struct bnxt *bp, u16 phy_addr, u16 reg, phy_addr 9376 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.phy_addr = phy_addr; phy_addr 9378 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (mdio_phy_id_is_c45(phy_addr)) { phy_addr 9380 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.phy_addr = mdio_phy_id_prtad(phy_addr); phy_addr 9381 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.dev_addr = mdio_phy_id_devad(phy_addr); phy_addr 9398 drivers/net/ethernet/broadcom/bnxt/bnxt.c mdio->phy_id = bp->link_info.phy_addr; phy_addr 1114 drivers/net/ethernet/broadcom/bnxt/bnxt.h u8 phy_addr; phy_addr 1503 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c base->phy_address = link_info->phy_addr; phy_addr 3282 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h u8 phy_addr; phy_addr 3309 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h u8 phy_addr; phy_addr 647 drivers/net/ethernet/broadcom/genet/bcmgenet.h int phy_addr; phy_addr 1121 drivers/net/ethernet/broadcom/tg3.c static int __tg3_readphy(struct tg3 *tp, unsigned int phy_addr, int reg, phy_addr 1138 drivers/net/ethernet/broadcom/tg3.c frame_val = ((phy_addr << MI_COM_PHY_ADDR_SHIFT) & phy_addr 1177 drivers/net/ethernet/broadcom/tg3.c return __tg3_readphy(tp, tp->phy_addr, reg, val); phy_addr 1180 drivers/net/ethernet/broadcom/tg3.c static int __tg3_writephy(struct tg3 *tp, unsigned int phy_addr, int reg, phy_addr 1199 drivers/net/ethernet/broadcom/tg3.c frame_val = ((phy_addr << MI_COM_PHY_ADDR_SHIFT) & phy_addr 1236 drivers/net/ethernet/broadcom/tg3.c return __tg3_writephy(tp, tp->phy_addr, reg, val); phy_addr 1421 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 1517 drivers/net/ethernet/broadcom/tg3.c tp->phy_addr = tp->pci_fn + 1; phy_addr 1525 drivers/net/ethernet/broadcom/tg3.c tp->phy_addr += 7; phy_addr 1532 drivers/net/ethernet/broadcom/tg3.c tp->phy_addr = addr; phy_addr 1534 drivers/net/ethernet/broadcom/tg3.c tp->phy_addr = TG3_PHY_MII_ADDR; phy_addr 1552 drivers/net/ethernet/broadcom/tg3.c tp->mdio_bus->phy_mask = ~(1 << tp->phy_addr); phy_addr 1569 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 1979 drivers/net/ethernet/broadcom/tg3.c autoneg = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr)->autoneg; phy_addr 2015 drivers/net/ethernet/broadcom/tg3.c struct phy_device *phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 2104 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 2129 drivers/net/ethernet/broadcom/tg3.c phy_disconnect(mdiobus_get_phy(tp->mdio_bus, tp->phy_addr)); phy_addr 2147 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 2168 drivers/net/ethernet/broadcom/tg3.c phy_stop(mdiobus_get_phy(tp->mdio_bus, tp->phy_addr)); phy_addr 2174 drivers/net/ethernet/broadcom/tg3.c phy_disconnect(mdiobus_get_phy(tp->mdio_bus, tp->phy_addr)); phy_addr 3398 drivers/net/ethernet/broadcom/tg3.c u32 phy_addr, page_off, size; phy_addr 3400 drivers/net/ethernet/broadcom/tg3.c phy_addr = offset & ~pagemask; phy_addr 3403 drivers/net/ethernet/broadcom/tg3.c ret = tg3_nvram_read_be32(tp, phy_addr + j, phy_addr 3434 drivers/net/ethernet/broadcom/tg3.c tw32(NVRAM_ADDR, phy_addr); phy_addr 3455 drivers/net/ethernet/broadcom/tg3.c tw32(NVRAM_ADDR, phy_addr + j); phy_addr 3488 drivers/net/ethernet/broadcom/tg3.c u32 page_off, phy_addr, nvram_cmd; phy_addr 3496 drivers/net/ethernet/broadcom/tg3.c phy_addr = tg3_nvram_phys_addr(tp, offset); phy_addr 3511 drivers/net/ethernet/broadcom/tg3.c tw32(NVRAM_ADDR, phy_addr); phy_addr 4059 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 12156 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 12216 drivers/net/ethernet/broadcom/tg3.c cmd->base.phy_address = tp->phy_addr; phy_addr 12232 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 12390 drivers/net/ethernet/broadcom/tg3.c r = phy_start_aneg(mdiobus_get_phy(tp->mdio_bus, tp->phy_addr)); phy_addr 12515 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 14004 drivers/net/ethernet/broadcom/tg3.c phydev = mdiobus_get_phy(tp->mdio_bus, tp->phy_addr); phy_addr 14010 drivers/net/ethernet/broadcom/tg3.c data->phy_id = tp->phy_addr; phy_addr 3277 drivers/net/ethernet/broadcom/tg3.h u8 phy_addr; phy_addr 45 drivers/net/ethernet/chelsio/cxgb/cphy.h int (*read)(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 47 drivers/net/ethernet/chelsio/cxgb/cphy.h int (*write)(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 140 drivers/net/ethernet/chelsio/cxgb/cphy.h int phy_addr, const struct cphy_ops *phy_ops, phy_addr 147 drivers/net/ethernet/chelsio/cxgb/cphy.h phy->mdio.prtad = phy_addr; phy_addr 159 drivers/net/ethernet/chelsio/cxgb/cphy.h struct cphy *(*create)(struct net_device *dev, int phy_addr, phy_addr 357 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c static struct cphy *mv88e1xxx_phy_create(struct net_device *dev, int phy_addr, phy_addr 366 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c cphy_init(cphy, dev, phy_addr, &mv88e1xxx_ops, mdio_ops); phy_addr 211 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c static struct cphy *mv88x201x_phy_create(struct net_device *dev, int phy_addr, phy_addr 220 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c cphy_init(cphy, dev, phy_addr, &mv88x201x_ops, mdio_ops); phy_addr 172 drivers/net/ethernet/chelsio/cxgb/my3126.c int phy_addr, const struct mdio_ops *mdio_ops) phy_addr 179 drivers/net/ethernet/chelsio/cxgb/my3126.c cphy_init(cphy, dev, phy_addr, &my3126_ops, mdio_ops); phy_addr 283 drivers/net/ethernet/chelsio/cxgb/subr.c static int mi1_mdio_read(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 287 drivers/net/ethernet/chelsio/cxgb/subr.c u32 addr = V_MI1_REG_ADDR(reg_addr) | V_MI1_PHY_ADDR(phy_addr); phy_addr 300 drivers/net/ethernet/chelsio/cxgb/subr.c static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 304 drivers/net/ethernet/chelsio/cxgb/subr.c u32 addr = V_MI1_REG_ADDR(reg_addr) | V_MI1_PHY_ADDR(phy_addr); phy_addr 325 drivers/net/ethernet/chelsio/cxgb/subr.c static int mi1_mdio_ext_read(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 329 drivers/net/ethernet/chelsio/cxgb/subr.c u32 addr = V_MI1_REG_ADDR(mmd_addr) | V_MI1_PHY_ADDR(phy_addr); phy_addr 352 drivers/net/ethernet/chelsio/cxgb/subr.c static int mi1_mdio_ext_write(struct net_device *dev, int phy_addr, phy_addr 356 drivers/net/ethernet/chelsio/cxgb/subr.c u32 addr = V_MI1_REG_ADDR(mmd_addr) | V_MI1_PHY_ADDR(phy_addr); phy_addr 1089 drivers/net/ethernet/chelsio/cxgb/subr.c int phy_addr = bi->mdio_phybaseaddr + i; phy_addr 1092 drivers/net/ethernet/chelsio/cxgb/subr.c phy_addr, bi->mdio_ops); phy_addr 213 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int phy_addr, const struct mdio_ops *mdio_ops) phy_addr 215 drivers/net/ethernet/chelsio/cxgb3/ael1002.c cphy_init(phy, adapter, phy_addr, &ael1002_ops, mdio_ops, phy_addr 239 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int phy_addr, const struct mdio_ops *mdio_ops) phy_addr 241 drivers/net/ethernet/chelsio/cxgb3/ael1002.c cphy_init(phy, adapter, phy_addr, &ael1006_ops, mdio_ops, phy_addr 510 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int phy_addr, const struct mdio_ops *mdio_ops) phy_addr 512 drivers/net/ethernet/chelsio/cxgb3/ael1002.c cphy_init(phy, adapter, phy_addr, &ael2005_ops, mdio_ops, phy_addr 815 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int t3_ael2020_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, phy_addr 820 drivers/net/ethernet/chelsio/cxgb3/ael1002.c cphy_init(phy, adapter, phy_addr, &ael2020_ops, mdio_ops, phy_addr 871 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int phy_addr, const struct mdio_ops *mdio_ops) phy_addr 875 drivers/net/ethernet/chelsio/cxgb3/ael1002.c cphy_init(phy, adapter, phy_addr, &qt2045_ops, mdio_ops, phy_addr 883 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if (!phy_addr && phy_addr 935 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int phy_addr, const struct mdio_ops *mdio_ops) phy_addr 937 drivers/net/ethernet/chelsio/cxgb3/ael1002.c cphy_init(phy, adapter, phy_addr, &xaui_direct_ops, mdio_ops, phy_addr 266 drivers/net/ethernet/chelsio/cxgb3/aq100x.c int t3_aq100x_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, phy_addr 272 drivers/net/ethernet/chelsio/cxgb3/aq100x.c cphy_init(phy, adapter, phy_addr, &aq100x_ops, mdio_ops, phy_addr 281 drivers/net/ethernet/chelsio/cxgb3/aq100x.c gpio = phy_addr ? F_GPIO10_OUT_VAL : F_GPIO6_OUT_VAL; phy_addr 298 drivers/net/ethernet/chelsio/cxgb3/aq100x.c phy_addr, err, v); phy_addr 308 drivers/net/ethernet/chelsio/cxgb3/aq100x.c phy_addr, v); phy_addr 316 drivers/net/ethernet/chelsio/cxgb3/aq100x.c CH_WARN(adapter, "PHY%d: reset took %ums\n", phy_addr, wait); phy_addr 322 drivers/net/ethernet/chelsio/cxgb3/aq100x.c phy_addr, v); phy_addr 339 drivers/net/ethernet/chelsio/cxgb3/aq100x.c phy_addr); phy_addr 350 drivers/net/ethernet/chelsio/cxgb3/aq100x.c phy_addr, v, v2); phy_addr 157 drivers/net/ethernet/chelsio/cxgb3/common.h int (*read)(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 159 drivers/net/ethernet/chelsio/cxgb3/common.h int (*write)(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 578 drivers/net/ethernet/chelsio/cxgb3/common.h int phy_addr, const struct cphy_ops *phy_ops, phy_addr 587 drivers/net/ethernet/chelsio/cxgb3/common.h phy->mdio.prtad = phy_addr; phy_addr 758 drivers/net/ethernet/chelsio/cxgb3/common.h int phy_addr, const struct mdio_ops *mdio_ops); phy_addr 760 drivers/net/ethernet/chelsio/cxgb3/common.h int phy_addr, const struct mdio_ops *mdio_ops); phy_addr 762 drivers/net/ethernet/chelsio/cxgb3/common.h int phy_addr, const struct mdio_ops *mdio_ops); phy_addr 764 drivers/net/ethernet/chelsio/cxgb3/common.h int phy_addr, const struct mdio_ops *mdio_ops); phy_addr 766 drivers/net/ethernet/chelsio/cxgb3/common.h int phy_addr, const struct mdio_ops *mdio_ops); phy_addr 767 drivers/net/ethernet/chelsio/cxgb3/common.h int t3_qt2045_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, phy_addr 770 drivers/net/ethernet/chelsio/cxgb3/common.h int phy_addr, const struct mdio_ops *mdio_ops); phy_addr 772 drivers/net/ethernet/chelsio/cxgb3/common.h int phy_addr, const struct mdio_ops *mdio_ops); phy_addr 209 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static int t3_mi1_read(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 215 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c u32 addr = V_REGADDR(reg_addr) | V_PHYADDR(phy_addr); phy_addr 228 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static int t3_mi1_write(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 234 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c u32 addr = V_REGADDR(reg_addr) | V_PHYADDR(phy_addr); phy_addr 256 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static int mi1_wr_addr(struct adapter *adapter, int phy_addr, int mmd_addr, phy_addr 259 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c u32 addr = V_REGADDR(mmd_addr) | V_PHYADDR(phy_addr); phy_addr 272 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static int mi1_ext_read(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 280 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ret = mi1_wr_addr(adapter, phy_addr, mmd_addr, reg_addr); phy_addr 292 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static int mi1_ext_write(struct net_device *dev, int phy_addr, int mmd_addr, phy_addr 300 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ret = mi1_wr_addr(adapter, phy_addr, mmd_addr, reg_addr); phy_addr 549 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c int phy_addr, const struct mdio_ops *ops); phy_addr 368 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c int phy_addr, const struct mdio_ops *mdio_ops) phy_addr 373 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops, phy_addr 902 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h dma_addr_t *phy_addr; /* physical address of the page */ phy_addr 1827 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, phy_addr 1829 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, phy_addr 3548 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c kfree(adapter->hma.phy_addr); phy_addr 3634 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adapter->hma.phy_addr = kcalloc(sgt->nents, sizeof(dma_addr_t), phy_addr 3636 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (unlikely(!adapter->hma.phy_addr)) phy_addr 3641 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adapter->hma.phy_addr[i] = sg_dma_address(iter); phy_addr 3684 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cpu_to_be64(adapter->hma.phy_addr[j + k]); phy_addr 6552 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, phy_addr 6565 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.mdio.paddr_mmd = cpu_to_be16(FW_LDST_CMD_PADDR_V(phy_addr) | phy_addr 6586 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, phy_addr 6598 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.mdio.paddr_mmd = cpu_to_be16(FW_LDST_CMD_PADDR_V(phy_addr) | phy_addr 102 drivers/net/ethernet/davicom/dm9000.c u8 phy_addr; phy_addr 246 drivers/net/ethernet/dec/tulip/dmfe.c u8 phy_addr; phy_addr 620 drivers/net/ethernet/dec/tulip/dmfe.c db->phy_addr = 1; phy_addr 759 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x8000, db->chip_id); phy_addr 1143 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x1000, db->chip_id); phy_addr 1219 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_read (db->ioaddr, db->phy_addr, 1, db->chip_id); phy_addr 1221 drivers/net/ethernet/dec/tulip/dmfe.c db->phy_addr, 1, db->chip_id) & 0x4) ? 1 : 0; phy_addr 1236 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, phy_addr 1638 drivers/net/ethernet/dec/tulip/dmfe.c phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); phy_addr 1639 drivers/net/ethernet/dec/tulip/dmfe.c phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); phy_addr 1644 drivers/net/ethernet/dec/tulip/dmfe.c db->phy_addr, 7, db->chip_id) & 0xf000; phy_addr 1647 drivers/net/ethernet/dec/tulip/dmfe.c db->phy_addr, 17, db->chip_id) & 0xf000; phy_addr 1685 drivers/net/ethernet/dec/tulip/dmfe.c db->phy_addr, 18, db->chip_id) & ~0x1000; phy_addr 1688 drivers/net/ethernet/dec/tulip/dmfe.c db->phy_addr, 18, phy_reg, db->chip_id); phy_addr 1692 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 4, db->chip_id) & ~0x01e0; phy_addr 1713 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 4, phy_reg, db->chip_id); phy_addr 1717 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 0, 0x1800, db->chip_id); phy_addr 1719 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 0, 0x1200, db->chip_id); phy_addr 1751 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 6, db->chip_id); phy_addr 1762 drivers/net/ethernet/dec/tulip/dmfe.c db->phy_addr, 0, phy_reg, db->chip_id); phy_addr 1766 drivers/net/ethernet/dec/tulip/dmfe.c db->phy_addr, 0, phy_reg, db->chip_id); phy_addr 1776 drivers/net/ethernet/dec/tulip/dmfe.c static void dmfe_phy_write(void __iomem *ioaddr, u8 phy_addr, u8 offset, phy_addr 1801 drivers/net/ethernet/dec/tulip/dmfe.c phy_addr & i ? PHY_DATA_1 : PHY_DATA_0); phy_addr 1824 drivers/net/ethernet/dec/tulip/dmfe.c static u16 dmfe_phy_read(void __iomem *ioaddr, u8 phy_addr, u8 offset, u32 chip_id) phy_addr 1850 drivers/net/ethernet/dec/tulip/dmfe.c phy_addr & i ? PHY_DATA_1 : PHY_DATA_0); phy_addr 1984 drivers/net/ethernet/dec/tulip/dmfe.c tmp_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); phy_addr 1988 drivers/net/ethernet/dec/tulip/dmfe.c if ( dmfe_phy_read(db->ioaddr, db->phy_addr, 31, db->chip_id) == 0x4404) { phy_addr 2014 drivers/net/ethernet/dec/tulip/dmfe.c reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 24, db->chip_id); phy_addr 2016 drivers/net/ethernet/dec/tulip/dmfe.c reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); phy_addr 2019 drivers/net/ethernet/dec/tulip/dmfe.c reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); phy_addr 2021 drivers/net/ethernet/dec/tulip/dmfe.c reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); phy_addr 2028 drivers/net/ethernet/dec/tulip/dmfe.c reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); phy_addr 2030 drivers/net/ethernet/dec/tulip/dmfe.c reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); phy_addr 2034 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); phy_addr 2035 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 17, reg17, db->chip_id); phy_addr 2036 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 25, reg25, db->chip_id); phy_addr 2049 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); phy_addr 2050 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); phy_addr 2052 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 25, phy_reg, db->chip_id); phy_addr 2066 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id) & 0x60; phy_addr 2076 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, phy_addr 163 drivers/net/ethernet/dec/tulip/uli526x.c u8 phy_addr; phy_addr 520 drivers/net/ethernet/dec/tulip/uli526x.c db->phy_addr = 1; phy_addr 526 drivers/net/ethernet/dec/tulip/uli526x.c db->phy_addr = phy_tmp; phy_addr 537 drivers/net/ethernet/dec/tulip/uli526x.c phy_reg_reset = phy->read(db, db->phy_addr, 0); phy_addr 539 drivers/net/ethernet/dec/tulip/uli526x.c phy->write(db, db->phy_addr, 0, phy_reg_reset); phy_addr 546 drivers/net/ethernet/dec/tulip/uli526x.c while (timeout-- && phy->read(db, db->phy_addr, 0) & 0x8000) phy_addr 665 drivers/net/ethernet/dec/tulip/uli526x.c db->phy.write(db, db->phy_addr, 0, 0x8000); phy_addr 944 drivers/net/ethernet/dec/tulip/uli526x.c cmd->base.phy_address = db->phy_addr; phy_addr 1062 drivers/net/ethernet/dec/tulip/uli526x.c if ((phy->read(db, db->phy_addr, 5) & 0x01e0)!=0) phy_addr 1075 drivers/net/ethernet/dec/tulip/uli526x.c phy->write(db, db->phy_addr, 0, 0x1000); phy_addr 1518 drivers/net/ethernet/dec/tulip/uli526x.c phy_mode = phy->read(db, db->phy_addr, 1); phy_addr 1519 drivers/net/ethernet/dec/tulip/uli526x.c phy_mode = phy->read(db, db->phy_addr, 1); phy_addr 1523 drivers/net/ethernet/dec/tulip/uli526x.c phy_mode = ((phy->read(db, db->phy_addr, 5) & 0x01e0)<<7); phy_addr 1562 drivers/net/ethernet/dec/tulip/uli526x.c phy_reg = phy->read(db, db->phy_addr, 4) & ~0x01e0; phy_addr 1583 drivers/net/ethernet/dec/tulip/uli526x.c phy->write(db, db->phy_addr, 4, phy_reg); phy_addr 1586 drivers/net/ethernet/dec/tulip/uli526x.c phy->write(db, db->phy_addr, 0, 0x1200); phy_addr 1614 drivers/net/ethernet/dec/tulip/uli526x.c phy_reg = phy->read(db, db->phy_addr, 6); phy_addr 1624 drivers/net/ethernet/dec/tulip/uli526x.c phy->write(db, db->phy_addr, 0, phy_reg); phy_addr 1631 drivers/net/ethernet/dec/tulip/uli526x.c static void phy_writeby_cr9(struct uli526x_board_info *db, u8 phy_addr, phy_addr 1650 drivers/net/ethernet/dec/tulip/uli526x.c phy_write_1bit(db, phy_addr & i ? PHY_DATA_1 : PHY_DATA_0); phy_addr 1665 drivers/net/ethernet/dec/tulip/uli526x.c static u16 phy_readby_cr9(struct uli526x_board_info *db, u8 phy_addr, u8 offset) phy_addr 1684 drivers/net/ethernet/dec/tulip/uli526x.c phy_write_1bit(db, phy_addr & i ? PHY_DATA_1 : PHY_DATA_0); phy_addr 1702 drivers/net/ethernet/dec/tulip/uli526x.c static u16 phy_readby_cr10(struct uli526x_board_info *db, u8 phy_addr, phy_addr 1706 drivers/net/ethernet/dec/tulip/uli526x.c u32 cr10_value = phy_addr; phy_addr 1720 drivers/net/ethernet/dec/tulip/uli526x.c static void phy_writeby_cr10(struct uli526x_board_info *db, u8 phy_addr, phy_addr 1724 drivers/net/ethernet/dec/tulip/uli526x.c u32 cr10_value = phy_addr; phy_addr 89 drivers/net/ethernet/dlink/dl2k.c static int mii_read (struct net_device *dev, int phy_addr, int reg_num); phy_addr 90 drivers/net/ethernet/dlink/dl2k.c static int mii_write (struct net_device *dev, int phy_addr, int reg_num, phy_addr 314 drivers/net/ethernet/dlink/dl2k.c np->phy_addr = 1; phy_addr 319 drivers/net/ethernet/dlink/dl2k.c np->phy_addr = i; phy_addr 545 drivers/net/ethernet/dlink/dl2k.c mii_write(dev, np->phy_addr, 31, 0x0001); phy_addr 546 drivers/net/ethernet/dlink/dl2k.c mii_write(dev, np->phy_addr, 27, 0x01e0); phy_addr 547 drivers/net/ethernet/dlink/dl2k.c mii_write(dev, np->phy_addr, 31, 0x0002); phy_addr 548 drivers/net/ethernet/dlink/dl2k.c mii_write(dev, np->phy_addr, 27, 0xeb8e); phy_addr 549 drivers/net/ethernet/dlink/dl2k.c mii_write(dev, np->phy_addr, 31, 0x0000); phy_addr 550 drivers/net/ethernet/dlink/dl2k.c mii_write(dev, np->phy_addr, 30, 0x005e); phy_addr 552 drivers/net/ethernet/dlink/dl2k.c mii_write(dev, np->phy_addr, MII_CTRL1000, 0x0700); phy_addr 1286 drivers/net/ethernet/dlink/dl2k.c cmd->base.phy_address = np->phy_addr; phy_addr 1353 drivers/net/ethernet/dlink/dl2k.c int phy_addr; phy_addr 1357 drivers/net/ethernet/dlink/dl2k.c phy_addr = np->phy_addr; phy_addr 1360 drivers/net/ethernet/dlink/dl2k.c miidata->phy_id = phy_addr; phy_addr 1363 drivers/net/ethernet/dlink/dl2k.c miidata->val_out = mii_read (dev, phy_addr, miidata->reg_num); phy_addr 1368 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, miidata->reg_num, miidata->val_in); phy_addr 1438 drivers/net/ethernet/dlink/dl2k.c mii_read (struct net_device *dev, int phy_addr, int reg_num) phy_addr 1448 drivers/net/ethernet/dlink/dl2k.c cmd = (0x06 << 10 | phy_addr << 5 | reg_num); phy_addr 1466 drivers/net/ethernet/dlink/dl2k.c mii_write (struct net_device *dev, int phy_addr, int reg_num, u16 data) phy_addr 1474 drivers/net/ethernet/dlink/dl2k.c cmd = (0x5002 << 16) | (phy_addr << 23) | (reg_num << 18) | data; phy_addr 1484 drivers/net/ethernet/dlink/dl2k.c int phy_addr; phy_addr 1488 drivers/net/ethernet/dlink/dl2k.c phy_addr = np->phy_addr; phy_addr 1491 drivers/net/ethernet/dlink/dl2k.c bmsr = mii_read (dev, phy_addr, MII_BMSR); phy_addr 1505 drivers/net/ethernet/dlink/dl2k.c int phy_addr; phy_addr 1509 drivers/net/ethernet/dlink/dl2k.c phy_addr = np->phy_addr; phy_addr 1511 drivers/net/ethernet/dlink/dl2k.c bmsr = mii_read (dev, phy_addr, MII_BMSR); phy_addr 1517 drivers/net/ethernet/dlink/dl2k.c negotiate = mii_read (dev, phy_addr, MII_ADVERTISE) & phy_addr 1518 drivers/net/ethernet/dlink/dl2k.c mii_read (dev, phy_addr, MII_LPA); phy_addr 1519 drivers/net/ethernet/dlink/dl2k.c mscr = mii_read (dev, phy_addr, MII_CTRL1000); phy_addr 1520 drivers/net/ethernet/dlink/dl2k.c mssr = mii_read (dev, phy_addr, MII_STAT1000); phy_addr 1555 drivers/net/ethernet/dlink/dl2k.c __u16 bmcr = mii_read (dev, phy_addr, MII_BMCR); phy_addr 1591 drivers/net/ethernet/dlink/dl2k.c int phy_addr; phy_addr 1594 drivers/net/ethernet/dlink/dl2k.c phy_addr = np->phy_addr; phy_addr 1599 drivers/net/ethernet/dlink/dl2k.c bmsr = mii_read (dev, phy_addr, MII_BMSR); phy_addr 1600 drivers/net/ethernet/dlink/dl2k.c anar = mii_read (dev, phy_addr, MII_ADVERTISE) & phy_addr 1615 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_ADVERTISE, anar); phy_addr 1618 drivers/net/ethernet/dlink/dl2k.c pscr = mii_read (dev, phy_addr, MII_PHY_SCR); phy_addr 1620 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_PHY_SCR, pscr); phy_addr 1623 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); phy_addr 1625 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); phy_addr 1630 drivers/net/ethernet/dlink/dl2k.c pscr = mii_read (dev, phy_addr, MII_PHY_SCR); phy_addr 1632 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_PHY_SCR, pscr); phy_addr 1635 drivers/net/ethernet/dlink/dl2k.c bmcr = mii_read (dev, phy_addr, MII_BMCR); phy_addr 1637 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); phy_addr 1641 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); phy_addr 1645 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_ADVERTISE, 0); phy_addr 1663 drivers/net/ethernet/dlink/dl2k.c mscr = mii_read (dev, phy_addr, MII_CTRL1000); phy_addr 1667 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); phy_addr 1678 drivers/net/ethernet/dlink/dl2k.c int phy_addr; phy_addr 1682 drivers/net/ethernet/dlink/dl2k.c phy_addr = np->phy_addr; phy_addr 1684 drivers/net/ethernet/dlink/dl2k.c bmsr = mii_read (dev, phy_addr, PCS_BMSR); phy_addr 1690 drivers/net/ethernet/dlink/dl2k.c negotiate = mii_read (dev, phy_addr, PCS_ANAR) & phy_addr 1691 drivers/net/ethernet/dlink/dl2k.c mii_read (dev, phy_addr, PCS_ANLPAR); phy_addr 1709 drivers/net/ethernet/dlink/dl2k.c __u16 bmcr = mii_read (dev, phy_addr, PCS_BMCR); phy_addr 1735 drivers/net/ethernet/dlink/dl2k.c int phy_addr; phy_addr 1738 drivers/net/ethernet/dlink/dl2k.c phy_addr = np->phy_addr; phy_addr 1743 drivers/net/ethernet/dlink/dl2k.c esr = mii_read (dev, phy_addr, PCS_ESR); phy_addr 1744 drivers/net/ethernet/dlink/dl2k.c anar = mii_read (dev, phy_addr, MII_ADVERTISE) & phy_addr 1752 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_ADVERTISE, anar); phy_addr 1755 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); phy_addr 1757 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); phy_addr 1763 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); phy_addr 1772 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); phy_addr 1776 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_ADVERTISE, 0); phy_addr 402 drivers/net/ethernet/dlink/dl2k.h int phy_addr; /* PHY addresses. */ phy_addr 1075 drivers/net/ethernet/faraday/ftgmac100.c static int ftgmac100_mdiobus_read(struct mii_bus *bus, int phy_addr, int regnum) phy_addr 1087 drivers/net/ethernet/faraday/ftgmac100.c phycr |= FTGMAC100_PHYCR_PHYAD(phy_addr) | phy_addr 1110 drivers/net/ethernet/faraday/ftgmac100.c static int ftgmac100_mdiobus_write(struct mii_bus *bus, int phy_addr, phy_addr 1124 drivers/net/ethernet/faraday/ftgmac100.c phycr |= FTGMAC100_PHYCR_PHYAD(phy_addr) | phy_addr 1091 drivers/net/ethernet/freescale/fman/fman_memac.c u8 qsmgii_phy_addr, phy_addr; phy_addr 1097 drivers/net/ethernet/freescale/fman/fman_memac.c phy_addr = memac->pcsphy->mdio.addr; phy_addr 1098 drivers/net/ethernet/freescale/fman/fman_memac.c qsmgii_phy_addr = (u8)((phy_addr << 2) | i); phy_addr 1105 drivers/net/ethernet/freescale/fman/fman_memac.c memac->pcsphy->mdio.addr = phy_addr; phy_addr 349 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c static void hix5hd2_set_rx_fq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) phy_addr 352 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c writel_relaxed(phy_addr, priv->base + RX_FQ_START_ADDR); phy_addr 356 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c static void hix5hd2_set_rx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) phy_addr 359 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c writel_relaxed(phy_addr, priv->base + RX_BQ_START_ADDR); phy_addr 363 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c static void hix5hd2_set_tx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) phy_addr 366 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c writel_relaxed(phy_addr, priv->base + TX_BQ_START_ADDR); phy_addr 370 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c static void hix5hd2_set_tx_rq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) phy_addr 373 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c writel_relaxed(phy_addr, priv->base + TX_RQ_START_ADDR); phy_addr 1216 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), phy_addr 1346 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->hw.mac.phy_addr = cfg.phy_addr; phy_addr 252 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u8 phy_addr; phy_addr 341 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u8 phy_addr; phy_addr 132 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c if (hdev->hw.mac.phy_addr == PHY_INEXISTENT) { phy_addr 136 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c } else if (hdev->hw.mac.phy_addr >= PHY_MAX_ADDR) { phy_addr 138 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c hdev->hw.mac.phy_addr); phy_addr 154 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c mdio_bus->phy_mask = ~(1 << mac->phy_addr); phy_addr 162 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c phydev = mdiobus_get_phy(mdio_bus, mac->phy_addr); phy_addr 196 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h u8 phy_addr; phy_addr 110 drivers/net/ethernet/intel/e1000/e1000_ethtool.c cmd->base.phy_address = hw->phy_addr; phy_addr 2820 drivers/net/ethernet/intel/e1000/e1000_hw.c const u32 phy_addr = (hw->mac_type == e1000_ce4100) ? hw->phy_addr : 1; phy_addr 2834 drivers/net/ethernet/intel/e1000/e1000_hw.c (phy_addr << E1000_MDIC_PHY_SHIFT) | phy_addr 2863 drivers/net/ethernet/intel/e1000/e1000_hw.c (phy_addr << E1000_MDIC_PHY_SHIFT) | phy_addr 2906 drivers/net/ethernet/intel/e1000/e1000_hw.c mdic = ((reg_addr) | (phy_addr << 5) | phy_addr 2958 drivers/net/ethernet/intel/e1000/e1000_hw.c const u32 phy_addr = (hw->mac_type == e1000_ce4100) ? hw->phy_addr : 1; phy_addr 2974 drivers/net/ethernet/intel/e1000/e1000_hw.c (phy_addr << E1000_MDIC_PHY_SHIFT) | phy_addr 2996 drivers/net/ethernet/intel/e1000/e1000_hw.c (phy_addr << E1000_MDIC_PHY_SHIFT) | phy_addr 3029 drivers/net/ethernet/intel/e1000/e1000_hw.c mdic = ((PHY_TURNAROUND) | (reg_addr << 2) | (phy_addr << 7) | phy_addr 1350 drivers/net/ethernet/intel/e1000/e1000_hw.h u32 phy_addr; phy_addr 1185 drivers/net/ethernet/intel/e1000/e1000_main.c hw->phy_addr = i; phy_addr 4757 drivers/net/ethernet/intel/e1000/e1000_main.c data->phy_id = hw->phy_addr; phy_addr 2283 drivers/net/ethernet/intel/e1000e/phy.c u32 phy_addr = 0; phy_addr 2289 drivers/net/ethernet/intel/e1000e/phy.c for (phy_addr = 0; phy_addr < E1000_MAX_PHY_ADDR; phy_addr++) { phy_addr 2290 drivers/net/ethernet/intel/e1000e/phy.c hw->phy.addr = phy_addr; phy_addr 2319 drivers/net/ethernet/intel/e1000e/phy.c u32 phy_addr = 2; phy_addr 2322 drivers/net/ethernet/intel/e1000e/phy.c phy_addr = 1; phy_addr 2324 drivers/net/ethernet/intel/e1000e/phy.c return phy_addr; phy_addr 2742 drivers/net/ethernet/intel/e1000e/phy.c u32 phy_addr = hw->phy.addr = e1000_get_phy_addr_for_hv_page(page); phy_addr 2772 drivers/net/ethernet/intel/e1000e/phy.c hw->phy.addr = phy_addr; phy_addr 2849 drivers/net/ethernet/intel/e1000e/phy.c u32 phy_addr = hw->phy.addr = e1000_get_phy_addr_for_hv_page(page); phy_addr 2895 drivers/net/ethernet/intel/e1000e/phy.c hw->phy.addr = phy_addr; phy_addr 2963 drivers/net/ethernet/intel/e1000e/phy.c u32 phy_addr = 2; phy_addr 2966 drivers/net/ethernet/intel/e1000e/phy.c phy_addr = 1; phy_addr 2968 drivers/net/ethernet/intel/e1000e/phy.c return phy_addr; phy_addr 4657 drivers/net/ethernet/intel/i40e/i40e_common.c u16 reg, u8 phy_addr, u16 *value) phy_addr 4665 drivers/net/ethernet/intel/i40e/i40e_common.c (phy_addr << I40E_GLGEN_MSCA_PHYADD_SHIFT) | phy_addr 4702 drivers/net/ethernet/intel/i40e/i40e_common.c u16 reg, u8 phy_addr, u16 value) phy_addr 4713 drivers/net/ethernet/intel/i40e/i40e_common.c (phy_addr << I40E_GLGEN_MSCA_PHYADD_SHIFT) | phy_addr 4743 drivers/net/ethernet/intel/i40e/i40e_common.c u8 page, u16 reg, u8 phy_addr, u16 *value) phy_addr 4752 drivers/net/ethernet/intel/i40e/i40e_common.c (phy_addr << I40E_GLGEN_MSCA_PHYADD_SHIFT) | phy_addr 4775 drivers/net/ethernet/intel/i40e/i40e_common.c (phy_addr << I40E_GLGEN_MSCA_PHYADD_SHIFT) | phy_addr 4817 drivers/net/ethernet/intel/i40e/i40e_common.c u8 page, u16 reg, u8 phy_addr, u16 value) phy_addr 4826 drivers/net/ethernet/intel/i40e/i40e_common.c (phy_addr << I40E_GLGEN_MSCA_PHYADD_SHIFT) | phy_addr 4851 drivers/net/ethernet/intel/i40e/i40e_common.c (phy_addr << I40E_GLGEN_MSCA_PHYADD_SHIFT) | phy_addr 4884 drivers/net/ethernet/intel/i40e/i40e_common.c u8 page, u16 reg, u8 phy_addr, u16 value) phy_addr 4890 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_write_phy_register_clause22(hw, reg, phy_addr, phy_addr 4899 drivers/net/ethernet/intel/i40e/i40e_common.c phy_addr, value); phy_addr 4920 drivers/net/ethernet/intel/i40e/i40e_common.c u8 page, u16 reg, u8 phy_addr, u16 *value) phy_addr 4926 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_read_phy_register_clause22(hw, reg, phy_addr, phy_addr 4936 drivers/net/ethernet/intel/i40e/i40e_common.c phy_addr, value); phy_addr 4978 drivers/net/ethernet/intel/i40e/i40e_common.c u8 phy_addr = 0; phy_addr 4983 drivers/net/ethernet/intel/i40e/i40e_common.c phy_addr = i40e_get_phy_address(hw, port_num); phy_addr 4989 drivers/net/ethernet/intel/i40e/i40e_common.c led_addr, phy_addr, phy_addr 4998 drivers/net/ethernet/intel/i40e/i40e_common.c led_addr, phy_addr, phy_addr 5010 drivers/net/ethernet/intel/i40e/i40e_common.c led_addr, phy_addr, &led_reg); phy_addr 5019 drivers/net/ethernet/intel/i40e/i40e_common.c led_addr, phy_addr, led_reg); phy_addr 5029 drivers/net/ethernet/intel/i40e/i40e_common.c led_addr, phy_addr, led_ctl); phy_addr 5045 drivers/net/ethernet/intel/i40e/i40e_common.c u8 phy_addr = 0; phy_addr 5060 drivers/net/ethernet/intel/i40e/i40e_common.c phy_addr = i40e_get_phy_address(hw, port_num); phy_addr 5063 drivers/net/ethernet/intel/i40e/i40e_common.c led_addr, phy_addr, phy_addr 5079 drivers/net/ethernet/intel/i40e/i40e_common.c u8 phy_addr = 0; phy_addr 5093 drivers/net/ethernet/intel/i40e/i40e_common.c phy_addr = i40e_get_phy_address(hw, port_num); phy_addr 5096 drivers/net/ethernet/intel/i40e/i40e_common.c led_addr, phy_addr, phy_addr 5115 drivers/net/ethernet/intel/i40e/i40e_common.c u8 phy_addr = 0; phy_addr 5136 drivers/net/ethernet/intel/i40e/i40e_common.c phy_addr = i40e_get_phy_address(hw, port_num); phy_addr 5142 drivers/net/ethernet/intel/i40e/i40e_common.c temp_addr, phy_addr, phy_addr 422 drivers/net/ethernet/intel/i40e/i40e_prototype.h u16 reg, u8 phy_addr, u16 *value); phy_addr 424 drivers/net/ethernet/intel/i40e/i40e_prototype.h u16 reg, u8 phy_addr, u16 value); phy_addr 426 drivers/net/ethernet/intel/i40e/i40e_prototype.h u8 page, u16 reg, u8 phy_addr, u16 *value); phy_addr 428 drivers/net/ethernet/intel/i40e/i40e_prototype.h u8 page, u16 reg, u8 phy_addr, u16 value); phy_addr 430 drivers/net/ethernet/intel/i40e/i40e_prototype.h u8 phy_addr, u16 *value); phy_addr 432 drivers/net/ethernet/intel/i40e/i40e_prototype.h u8 phy_addr, u16 value); phy_addr 644 drivers/net/ethernet/intel/ixgb/ixgb_hw.h u32 phy_addr; /* XGMII address of Phy */ phy_addr 228 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c static bool ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr) phy_addr 232 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c hw->phy.mdio.prtad = phy_addr; phy_addr 233 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c if (mdio45_probe(&hw->phy.mdio, phy_addr) != 0) phy_addr 265 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c u32 phy_addr; phy_addr 279 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c phy_addr = (hw->phy.nw_mng_if_sel & phy_addr 282 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c if (ixgbe_probe_phy(hw, phy_addr)) phy_addr 288 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c for (phy_addr = 0; phy_addr < IXGBE_MAX_PHY_ADDR; phy_addr++) { phy_addr 289 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c if (ixgbe_probe_phy(hw, phy_addr)) { phy_addr 1725 drivers/net/ethernet/jme.c u32 phy_addr; phy_addr 1727 drivers/net/ethernet/jme.c phy_addr = JM_PHY_SPEC_REG_READ | specreg; phy_addr 1729 drivers/net/ethernet/jme.c phy_addr); phy_addr 1737 drivers/net/ethernet/jme.c u32 phy_addr; phy_addr 1739 drivers/net/ethernet/jme.c phy_addr = JM_PHY_SPEC_REG_WRITE | ext_reg; phy_addr 1743 drivers/net/ethernet/jme.c phy_addr); phy_addr 140 drivers/net/ethernet/korina.c int phy_addr; phy_addr 1092 drivers/net/ethernet/korina.c lp->phy_addr = (((lp->rx_irq == 0x2c? 1:0) << 8) | 0x05); phy_addr 1096 drivers/net/ethernet/korina.c lp->mii_if.phy_id = lp->phy_addr; phy_addr 304 drivers/net/ethernet/lantiq_etop.c ltq_etop_mdio_wr(struct mii_bus *bus, int phy_addr, int phy_reg, u16 phy_data) phy_addr 307 drivers/net/ethernet/lantiq_etop.c ((phy_addr & MDIO_ADDR_MASK) << MDIO_ADDR_OFFSET) | phy_addr 318 drivers/net/ethernet/lantiq_etop.c ltq_etop_mdio_rd(struct mii_bus *bus, int phy_addr, int phy_reg) phy_addr 321 drivers/net/ethernet/lantiq_etop.c ((phy_addr & MDIO_ADDR_MASK) << MDIO_ADDR_OFFSET) | phy_addr 2752 drivers/net/ethernet/marvell/mv643xx_eth.c ppd.phy_addr = MV643XX_ETH_PHY_NONE; phy_addr 2904 drivers/net/ethernet/marvell/mv643xx_eth.c static void phy_addr_set(struct mv643xx_eth_private *mp, int phy_addr) phy_addr 2911 drivers/net/ethernet/marvell/mv643xx_eth.c data |= (phy_addr & 0x1f) << addr_shift; phy_addr 2976 drivers/net/ethernet/marvell/mv643xx_eth.c int phy_addr) phy_addr 2984 drivers/net/ethernet/marvell/mv643xx_eth.c if (phy_addr == MV643XX_ETH_PHY_ADDR_DEFAULT) { phy_addr 2988 drivers/net/ethernet/marvell/mv643xx_eth.c start = phy_addr & 0x1f; phy_addr 3147 drivers/net/ethernet/marvell/mv643xx_eth.c } else if (pd->phy_addr != MV643XX_ETH_PHY_NONE) { phy_addr 3148 drivers/net/ethernet/marvell/mv643xx_eth.c phydev = phy_scan(mp, pd->phy_addr); phy_addr 499 drivers/net/ethernet/marvell/octeontx2/af/rvu.c u64 cfg, phy_addr; phy_addr 585 drivers/net/ethernet/marvell/octeontx2/af/rvu.c phy_addr = rvu_read64(rvu, BLKADDR_RVUM, RVU_AF_MSIXTR_BASE); phy_addr 586 drivers/net/ethernet/marvell/octeontx2/af/rvu.c iova = dma_map_resource(rvu->dev, phy_addr, phy_addr 194 drivers/net/ethernet/marvell/pxa168_eth.c int phy_addr; phy_addr 968 drivers/net/ethernet/marvell/pxa168_eth.c phy = mdiobus_scan(pep->smi_bus, pep->phy_addr); phy_addr 977 drivers/net/ethernet/marvell/pxa168_eth.c cmd.base.phy_address = pep->phy_addr; phy_addr 1302 drivers/net/ethernet/marvell/pxa168_eth.c static int pxa168_smi_read(struct mii_bus *bus, int phy_addr, int regnum) phy_addr 1312 drivers/net/ethernet/marvell/pxa168_eth.c wrl(pep, SMI, (phy_addr << 16) | (regnum << 21) | SMI_OP_R); phy_addr 1326 drivers/net/ethernet/marvell/pxa168_eth.c static int pxa168_smi_write(struct mii_bus *bus, int phy_addr, int regnum, phy_addr 1336 drivers/net/ethernet/marvell/pxa168_eth.c wrl(pep, SMI, (phy_addr << 16) | (regnum << 21) | phy_addr 1474 drivers/net/ethernet/marvell/pxa168_eth.c pep->phy_addr = pep->pd->phy_addr; phy_addr 1491 drivers/net/ethernet/marvell/pxa168_eth.c of_property_read_u32(np, "reg", &pep->phy_addr); phy_addr 304 drivers/net/ethernet/marvell/skge.c cmd->base.phy_address = hw->phy_addr; phy_addr 1088 drivers/net/ethernet/marvell/skge.c xm_write16(hw, port, XM_PHY_ADDR, reg | hw->phy_addr); phy_addr 1119 drivers/net/ethernet/marvell/skge.c xm_write16(hw, port, XM_PHY_ADDR, reg | hw->phy_addr); phy_addr 1899 drivers/net/ethernet/marvell/skge.c GM_SMI_CT_PHY_AD(hw->phy_addr) | GM_SMI_CT_REG_AD(reg)); phy_addr 1916 drivers/net/ethernet/marvell/skge.c GM_SMI_CT_PHY_AD(hw->phy_addr) phy_addr 2448 drivers/net/ethernet/marvell/skge.c data->phy_id = hw->phy_addr; phy_addr 3553 drivers/net/ethernet/marvell/skge.c hw->phy_addr = PHY_ADDR_XMAC; phy_addr 3556 drivers/net/ethernet/marvell/skge.c hw->phy_addr = PHY_ADDR_BCOM; phy_addr 3575 drivers/net/ethernet/marvell/skge.c hw->phy_addr = PHY_ADDR_MARV; phy_addr 2425 drivers/net/ethernet/marvell/skge.h u16 phy_addr; phy_addr 95 drivers/net/ethernet/mediatek/mtk_eth_soc.c static u32 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr, phy_addr 105 drivers/net/ethernet/mediatek/mtk_eth_soc.c (phy_addr << PHY_IAC_ADDR_SHIFT) | write_data, phy_addr 114 drivers/net/ethernet/mediatek/mtk_eth_soc.c static u32 _mtk_mdio_read(struct mtk_eth *eth, int phy_addr, int phy_reg) phy_addr 123 drivers/net/ethernet/mediatek/mtk_eth_soc.c (phy_addr << PHY_IAC_ADDR_SHIFT), phy_addr 134 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_mdio_write(struct mii_bus *bus, int phy_addr, phy_addr 139 drivers/net/ethernet/mediatek/mtk_eth_soc.c return _mtk_mdio_write(eth, phy_addr, phy_reg, val); phy_addr 142 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_mdio_read(struct mii_bus *bus, int phy_addr, int phy_reg) phy_addr 146 drivers/net/ethernet/mediatek/mtk_eth_soc.c return _mtk_mdio_read(eth, phy_addr, phy_reg); phy_addr 1318 drivers/net/ethernet/micrel/ks8851.c static int ks8851_phy_read(struct net_device *dev, int phy_addr, int reg) phy_addr 1091 drivers/net/ethernet/micrel/ks8851_mll.c static int ks_phy_read(struct net_device *netdev, int phy_addr, int reg) phy_addr 111 drivers/net/ethernet/qualcomm/emac/emac-phy.c u32 phy_addr; phy_addr 119 drivers/net/ethernet/qualcomm/emac/emac-phy.c &phy_addr); phy_addr 126 drivers/net/ethernet/qualcomm/emac/emac-phy.c adpt->phydev = mdiobus_get_phy(mii_bus, phy_addr); phy_addr 198 drivers/net/ethernet/rdc/r6040.c static int r6040_phy_read(void __iomem *ioaddr, int phy_addr, int reg) phy_addr 203 drivers/net/ethernet/rdc/r6040.c iowrite16(MDIO_READ + reg + (phy_addr << 8), ioaddr + MMDIO); phy_addr 220 drivers/net/ethernet/rdc/r6040.c int phy_addr, int reg, u16 val) phy_addr 227 drivers/net/ethernet/rdc/r6040.c iowrite16(MDIO_WRITE + reg + (phy_addr << 8), ioaddr + MMDIO); phy_addr 239 drivers/net/ethernet/rdc/r6040.c static int r6040_mdiobus_read(struct mii_bus *bus, int phy_addr, int reg) phy_addr 245 drivers/net/ethernet/rdc/r6040.c return r6040_phy_read(ioaddr, phy_addr, reg); phy_addr 248 drivers/net/ethernet/rdc/r6040.c static int r6040_mdiobus_write(struct mii_bus *bus, int phy_addr, phy_addr 255 drivers/net/ethernet/rdc/r6040.c return r6040_phy_write(ioaddr, phy_addr, reg, value); phy_addr 285 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->plat->phy_addr); phy_addr 145 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c int err, phy_addr; phy_addr 179 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { phy_addr 180 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c struct phy_device *phy = mdiobus_get_phy(mdio_bus, phy_addr); phy_addr 190 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c irqlist[phy_addr] = mdio_data->probed_phy_irq; phy_addr 198 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c if (priv->plat->phy_addr == -1) phy_addr 199 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c priv->plat->phy_addr = phy_addr; phy_addr 201 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c act = (priv->plat->phy_addr == phy_addr); phy_addr 215 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c phy->phy_id, phy_addr, irq_str, phy_addr 75 drivers/net/ethernet/sgi/meth.c unsigned long phy_addr; phy_addr 124 drivers/net/ethernet/sgi/meth.c mace->eth.phy_regs = (priv->phy_addr << 5) | (phyreg & 0x1f); phy_addr 137 drivers/net/ethernet/sgi/meth.c if(priv->phy_addr>=0&&priv->phy_addr<32) phy_addr 141 drivers/net/ethernet/sgi/meth.c priv->phy_addr=i; phy_addr 166 drivers/net/ethernet/sgi/meth.c if(priv->phy_addr<32) { phy_addr 170 drivers/net/ethernet/sgi/meth.c priv->phy_addr=-1; phy_addr 318 drivers/net/ethernet/sgi/meth.c priv->phy_addr = -1; /* No PHY is known yet... */ phy_addr 149 drivers/net/ethernet/sis/sis900.c int phy_addr; phy_addr 242 drivers/net/ethernet/sis/sis900.c static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr); phy_addr 243 drivers/net/ethernet/sis/sis900.c static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr); phy_addr 604 drivers/net/ethernet/sis/sis900.c int phy_addr; phy_addr 609 drivers/net/ethernet/sis/sis900.c for (phy_addr = 0; phy_addr < 32; phy_addr++) { phy_addr 616 drivers/net/ethernet/sis/sis900.c mii_status = mdio_read(net_dev, phy_addr, MII_STATUS); phy_addr 622 drivers/net/ethernet/sis/sis900.c dev_name, phy_addr); phy_addr 637 drivers/net/ethernet/sis/sis900.c mii_phy->phy_id0 = mdio_read(net_dev, phy_addr, MII_PHY_ID0); phy_addr 638 drivers/net/ethernet/sis/sis900.c mii_phy->phy_id1 = mdio_read(net_dev, phy_addr, MII_PHY_ID1); phy_addr 639 drivers/net/ethernet/sis/sis900.c mii_phy->phy_addr = phy_addr; phy_addr 656 drivers/net/ethernet/sis/sis900.c phy_addr); phy_addr 662 drivers/net/ethernet/sis/sis900.c dev_name, phy_addr); phy_addr 733 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); phy_addr 734 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); phy_addr 741 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_CONTROL); phy_addr 742 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, phy->phy_addr, MII_CONTROL, phy_addr 760 drivers/net/ethernet/sis/sis900.c sis_priv->cur_phy = default_phy->phy_addr; phy_addr 792 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); phy_addr 793 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); phy_addr 801 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, phy->phy_addr, MII_ANADV, cap); phy_addr 995 drivers/net/ethernet/sis/sis900.c static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr) phy_addr 1001 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy_addr, MII_STATUS); phy_addr 1003 drivers/net/ethernet/sis/sis900.c mdio_write( net_dev, phy_addr, MII_CONTROL, MII_CNTL_RESET ); phy_addr 1450 drivers/net/ethernet/sis/sis900.c static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr) phy_addr 1457 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy_addr, MII_STATUS); phy_addr 1468 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, phy_addr, MII_CONTROL, phy_addr 1489 drivers/net/ethernet/sis/sis900.c int phy_addr = sis_priv->cur_phy; phy_addr 1495 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy_addr, MII_STATUS); phy_addr 1501 drivers/net/ethernet/sis/sis900.c autoadv = mdio_read(net_dev, phy_addr, MII_ANADV); phy_addr 1502 drivers/net/ethernet/sis/sis900.c autorec = mdio_read(net_dev, phy_addr, MII_ANLPAR); phy_addr 1517 drivers/net/ethernet/sis/sis900.c if (mdio_read(net_dev, phy_addr, MII_CONTROL) & MII_CNTL_FDX) phy_addr 1519 drivers/net/ethernet/sis/sis900.c if (mdio_read(net_dev, phy_addr, 0x0019) & 0x01) phy_addr 2221 drivers/net/ethernet/sis/sis900.c data->phy_id = sis_priv->mii->phy_addr; phy_addr 2271 drivers/net/ethernet/sis/sis900.c status = mdio_read(dev, mii_phy->phy_addr, MII_CONTROL); phy_addr 2277 drivers/net/ethernet/sis/sis900.c mdio_write(dev, mii_phy->phy_addr, phy_addr 2294 drivers/net/ethernet/sis/sis900.c status = mdio_read(dev, mii_phy->phy_addr, MII_CONTROL); phy_addr 2297 drivers/net/ethernet/sis/sis900.c mdio_write(dev, mii_phy->phy_addr, phy_addr 2315 drivers/net/ethernet/sis/sis900.c status = mdio_read(dev, mii_phy->phy_addr, MII_CONTROL); phy_addr 2316 drivers/net/ethernet/sis/sis900.c mdio_write(dev, mii_phy->phy_addr, phy_addr 307 drivers/net/ethernet/socionext/netsec.c u32 phy_addr; phy_addr 465 drivers/net/ethernet/socionext/netsec.c static int netsec_phy_read(struct mii_bus *bus, int phy_addr, int reg_addr); phy_addr 468 drivers/net/ethernet/socionext/netsec.c int phy_addr, int reg, u16 val) phy_addr 476 drivers/net/ethernet/socionext/netsec.c phy_addr << NETSEC_GMAC_GAR_REG_SHIFT_PA | phy_addr 493 drivers/net/ethernet/socionext/netsec.c netsec_phy_read(bus, phy_addr, MII_PHYSID1); phy_addr 498 drivers/net/ethernet/socionext/netsec.c static int netsec_phy_read(struct mii_bus *bus, int phy_addr, int reg_addr) phy_addr 505 drivers/net/ethernet/socionext/netsec.c phy_addr << NETSEC_GMAC_GAR_REG_SHIFT_PA | phy_addr 1696 drivers/net/ethernet/socionext/netsec.c data = netsec_phy_read(priv->mii_bus, priv->phy_addr, MII_BMCR) | phy_addr 1698 drivers/net/ethernet/socionext/netsec.c netsec_phy_write(priv->mii_bus, priv->phy_addr, MII_BMCR, data); phy_addr 1829 drivers/net/ethernet/socionext/netsec.c struct netsec_priv *priv, u32 *phy_addr) phy_addr 1837 drivers/net/ethernet/socionext/netsec.c *phy_addr = of_mdio_parse_addr(&pdev->dev, priv->phy_np); phy_addr 1850 drivers/net/ethernet/socionext/netsec.c struct netsec_priv *priv, u32 *phy_addr) phy_addr 1857 drivers/net/ethernet/socionext/netsec.c ret = device_property_read_u32(&pdev->dev, "phy-channel", phy_addr); phy_addr 1885 drivers/net/ethernet/socionext/netsec.c static int netsec_register_mdio(struct netsec_priv *priv, u32 phy_addr) phy_addr 1931 drivers/net/ethernet/socionext/netsec.c priv->phydev = get_phy_device(bus, phy_addr, false); phy_addr 1955 drivers/net/ethernet/socionext/netsec.c u32 hw_ver, phy_addr = 0; phy_addr 2039 drivers/net/ethernet/socionext/netsec.c ret = netsec_of_probe(pdev, priv, &phy_addr); phy_addr 2041 drivers/net/ethernet/socionext/netsec.c ret = netsec_acpi_probe(pdev, priv, &phy_addr); phy_addr 2045 drivers/net/ethernet/socionext/netsec.c priv->phy_addr = phy_addr; phy_addr 2090 drivers/net/ethernet/socionext/netsec.c ret = netsec_register_mdio(priv, phy_addr); phy_addr 98 drivers/net/ethernet/stmicro/stmmac/chain_mode.c static void init_dma_chain(void *des, dma_addr_t phy_addr, phy_addr 106 drivers/net/ethernet/stmicro/stmmac/chain_mode.c dma_addr_t dma_phy = phy_addr; phy_addr 115 drivers/net/ethernet/stmicro/stmmac/chain_mode.c p->basic.des3 = cpu_to_le32((unsigned int)phy_addr); phy_addr 124 drivers/net/ethernet/stmicro/stmmac/chain_mode.c p->des3 = cpu_to_le32((unsigned int)phy_addr); phy_addr 488 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*init) (void *des, dma_addr_t phy_addr, unsigned int size, phy_addr 1024 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c int addr = priv->plat->phy_addr; phy_addr 4515 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->plat->phy_addr = phyaddr; phy_addr 342 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (priv->plat->phy_addr > MII_XGMAC_MAX_C22ADDR) phy_addr 391 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (priv->plat->phy_addr == -1) phy_addr 392 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c priv->plat->phy_addr = addr; phy_addr 26 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c int phy_addr; phy_addr 56 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c return func_data->phy_addr; phy_addr 98 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->phy_addr = 0; phy_addr 222 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->phy_addr = 0; phy_addr 235 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->phy_addr = 0; phy_addr 263 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->phy_addr = 0; phy_addr 275 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .phy_addr = 1, phy_addr 287 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .phy_addr = 1, phy_addr 291 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .phy_addr = 1, phy_addr 363 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->phy_addr = ret; phy_addr 420 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->phy_addr = -1; phy_addr 439 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c plat->phy_addr = -1; phy_addr 450 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c if (of_property_read_u32(np, "snps,phy-addr", &plat->phy_addr) == 0) phy_addr 398 drivers/net/ethernet/sun/cassini.c cmd |= CAS_BASE(MIF_FRAME_PHY_ADDR, cp->phy_addr); phy_addr 419 drivers/net/ethernet/sun/cassini.c cmd |= CAS_BASE(MIF_FRAME_PHY_ADDR, cp->phy_addr); phy_addr 674 drivers/net/ethernet/sun/cassini.c cfg |= CAS_BASE(MIF_CFG_POLL_PHY, cp->phy_addr); phy_addr 3446 drivers/net/ethernet/sun/cassini.c cp->phy_addr = i; phy_addr 4543 drivers/net/ethernet/sun/cassini.c cmd->base.phy_address = cp->phy_addr; phy_addr 4776 drivers/net/ethernet/sun/cassini.c data->phy_id = cp->phy_addr; phy_addr 2787 drivers/net/ethernet/sun/cassini.h int phy_addr; phy_addr 1100 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMCR); phy_addr 1105 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMSR); phy_addr 1110 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_ADVERTISE); phy_addr 1115 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_LPA); phy_addr 1121 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_ESTATUS); phy_addr 1126 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_CTRL1000); phy_addr 1131 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_STAT1000); phy_addr 1220 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMSR); phy_addr 1261 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, phy_addr 1266 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, BCM8704_PHYXS_DEV_ADDR, phy_addr 1273 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, phy_addr 1293 drivers/net/ethernet/sun/niu.c int err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, reg); phy_addr 1296 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, reg); phy_addr 1307 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, phy_addr 1314 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, phy_addr 1328 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, phy_addr 1342 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, phy_addr 1358 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, phy_addr 1364 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, phy_addr 1378 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV2_ADDR, phy_addr 1386 drivers/net/ethernet/sun/niu.c return mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV2_ADDR, phy_addr 1394 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV2_ADDR, phy_addr 1400 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV2_ADDR, phy_addr 1421 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV3_ADDR, phy_addr 1428 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV3_ADDR, phy_addr 1433 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, phy_addr 1443 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, phy_addr 1449 drivers/net/ethernet/sun/niu.c return mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, phy_addr 1460 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PMA_PMD_DEV_ADDR, phy_addr 1466 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, 0x20); phy_addr 1471 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PHYXS_DEV_ADDR, phy_addr 1479 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, phy_addr 1483 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, phy_addr 1489 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, phy_addr 1493 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, phy_addr 1517 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PCS_DEV_ADDR, phy_addr 1527 drivers/net/ethernet/sun/niu.c err = mdio_write(np, np->phy_addr, BCM8704_PCS_DEV_ADDR, phy_addr 1631 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, BMCR_RESET); phy_addr 1638 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMCR); phy_addr 1667 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMSR); phy_addr 1674 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_ESTATUS); phy_addr 1681 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); phy_addr 1690 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_CTRL1000, ctrl1000); phy_addr 1697 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); phy_addr 1701 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMCR); phy_addr 1704 drivers/net/ethernet/sun/niu.c bmcr = mii_read(np, np->phy_addr, MII_BMCR); phy_addr 1706 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMSR); phy_addr 1723 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMSR); phy_addr 1730 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_ESTATUS); phy_addr 1737 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); phy_addr 1754 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, BCM5464R_AUX_CTL, aux); phy_addr 1775 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_ADVERTISE, adv); phy_addr 1787 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, phy_addr 1826 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); phy_addr 1831 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMCR); phy_addr 1836 drivers/net/ethernet/sun/niu.c err = mii_read(np, np->phy_addr, MII_BMSR); phy_addr 1924 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, phy_addr 1930 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, phy_addr 1938 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV3_ADDR, phy_addr 1943 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV3_ADDR, phy_addr 1951 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV4_ADDR, phy_addr 1979 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PMA_PMD_DEV_ADDR, phy_addr 1988 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PCS_DEV_ADDR, phy_addr 1998 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PHYXS_DEV_ADDR, phy_addr 2031 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PMA_PMD_DEV_ADDR, phy_addr 2040 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PCS_DEV_ADDR, phy_addr 2049 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, BCM8704_PHYXS_DEV_ADDR, phy_addr 2162 drivers/net/ethernet/sun/niu.c err = mdio_read(np, np->phy_addr, phy_addr 2580 drivers/net/ethernet/sun/niu.c np->phy_addr = tp->phy_addr_base + phy_addr_off; phy_addr 6803 drivers/net/ethernet/sun/niu.c cmd->base.phy_address = np->phy_addr; phy_addr 3285 drivers/net/ethernet/sun/niu.h int phy_addr; phy_addr 117 drivers/net/ethernet/sun/sungem.c static u16 __sungem_phy_read(struct gem *gp, int phy_addr, int reg) phy_addr 124 drivers/net/ethernet/sun/sungem.c cmd |= (phy_addr << 23) & MIF_FRAME_PHYAD; phy_addr 154 drivers/net/ethernet/sun/sungem.c static void __sungem_phy_write(struct gem *gp, int phy_addr, int reg, u16 val) phy_addr 161 drivers/net/ethernet/sun/sungem.c cmd |= (phy_addr << 23) & MIF_FRAME_PHYAD; phy_addr 1498 drivers/net/ethernet/xilinx/ll_temac_main.c PHY_ID_FMT, lp->mii_bus->id, pdata->phy_addr); phy_addr 481 drivers/net/phy/adin.c int phy_addr = phydev->mdio.addr; phy_addr 489 drivers/net/phy/adin.c err = __mdiobus_write(bus, phy_addr, ADIN1300_MII_EXT_REG_PTR, phy_addr 494 drivers/net/phy/adin.c return __mdiobus_read(bus, phy_addr, ADIN1300_MII_EXT_REG_DATA); phy_addr 501 drivers/net/phy/adin.c int phy_addr = phydev->mdio.addr; phy_addr 509 drivers/net/phy/adin.c err = __mdiobus_write(bus, phy_addr, ADIN1300_MII_EXT_REG_PTR, phy_addr 514 drivers/net/phy/adin.c return __mdiobus_write(bus, phy_addr, ADIN1300_MII_EXT_REG_DATA, val); phy_addr 75 drivers/net/phy/fixed_phy.c static int fixed_mdio_read(struct mii_bus *bus, int phy_addr, int reg_num) phy_addr 81 drivers/net/phy/fixed_phy.c if (fp->addr == phy_addr) { phy_addr 104 drivers/net/phy/fixed_phy.c static int fixed_mdio_write(struct mii_bus *bus, int phy_addr, int reg_num, phy_addr 137 drivers/net/phy/fixed_phy.c static int fixed_phy_add_gpiod(unsigned int irq, int phy_addr, phy_addr 156 drivers/net/phy/fixed_phy.c fmb->mii_bus->irq[phy_addr] = irq; phy_addr 158 drivers/net/phy/fixed_phy.c fp->addr = phy_addr; phy_addr 169 drivers/net/phy/fixed_phy.c int fixed_phy_add(unsigned int irq, int phy_addr, phy_addr 172 drivers/net/phy/fixed_phy.c return fixed_phy_add_gpiod(irq, phy_addr, status, NULL); phy_addr 178 drivers/net/phy/fixed_phy.c static void fixed_phy_del(int phy_addr) phy_addr 184 drivers/net/phy/fixed_phy.c if (fp->addr == phy_addr) { phy_addr 189 drivers/net/phy/fixed_phy.c ida_simple_remove(&phy_fixed_ida, phy_addr); phy_addr 239 drivers/net/phy/fixed_phy.c int phy_addr; phy_addr 253 drivers/net/phy/fixed_phy.c phy_addr = ida_simple_get(&phy_fixed_ida, 0, PHY_MAX_ADDR, GFP_KERNEL); phy_addr 254 drivers/net/phy/fixed_phy.c if (phy_addr < 0) phy_addr 255 drivers/net/phy/fixed_phy.c return ERR_PTR(phy_addr); phy_addr 257 drivers/net/phy/fixed_phy.c ret = fixed_phy_add_gpiod(irq, phy_addr, status, gpiod); phy_addr 259 drivers/net/phy/fixed_phy.c ida_simple_remove(&phy_fixed_ida, phy_addr); phy_addr 263 drivers/net/phy/fixed_phy.c phy = get_phy_device(fmb->mii_bus, phy_addr, false); phy_addr 265 drivers/net/phy/fixed_phy.c fixed_phy_del(phy_addr); phy_addr 309 drivers/net/phy/fixed_phy.c fixed_phy_del(phy_addr); phy_addr 263 drivers/net/phy/mdio-xgene.c struct phy_device *xgene_enet_phy_register(struct mii_bus *bus, int phy_addr) phy_addr 267 drivers/net/phy/mdio-xgene.c phy_dev = get_phy_device(bus, phy_addr, false); phy_addr 286 drivers/net/phy/mdio-xgene.c u32 phy_addr; phy_addr 293 drivers/net/phy/mdio-xgene.c phy_addr = obj->integer.value; phy_addr 295 drivers/net/phy/mdio-xgene.c phy_dev = xgene_enet_phy_register(mdio, phy_addr); phy_addr 128 drivers/net/phy/mdio-xgene.h struct phy_device *xgene_enet_phy_register(struct mii_bus *bus, int phy_addr); phy_addr 352 drivers/net/phy/phy-core.c static void mmd_phy_indirect(struct mii_bus *bus, int phy_addr, int devad, phy_addr 356 drivers/net/phy/phy-core.c __mdiobus_write(bus, phy_addr, MII_MMD_CTRL, devad); phy_addr 359 drivers/net/phy/phy-core.c __mdiobus_write(bus, phy_addr, MII_MMD_DATA, regnum); phy_addr 362 drivers/net/phy/phy-core.c __mdiobus_write(bus, phy_addr, MII_MMD_CTRL, phy_addr 390 drivers/net/phy/phy-core.c int phy_addr = phydev->mdio.addr; phy_addr 392 drivers/net/phy/phy-core.c mmd_phy_indirect(bus, phy_addr, devad, regnum); phy_addr 395 drivers/net/phy/phy-core.c val = __mdiobus_read(bus, phy_addr, MII_MMD_DATA); phy_addr 448 drivers/net/phy/phy-core.c int phy_addr = phydev->mdio.addr; phy_addr 450 drivers/net/phy/phy-core.c mmd_phy_indirect(bus, phy_addr, devad, regnum); phy_addr 453 drivers/net/phy/phy-core.c __mdiobus_write(bus, phy_addr, MII_MMD_DATA, val); phy_addr 22 drivers/net/usb/ax88172a.c u16 phy_addr; phy_addr 232 drivers/net/usb/ax88172a.c priv->phy_addr = asix_read_phy_addr(dev, priv->use_embdphy); phy_addr 329 drivers/net/usb/ax88172a.c priv->mdio->id, priv->phy_addr); phy_addr 239 drivers/net/wireless/ath/wcn36xx/dxe.c dma_addr_t bd_phy_addr = pool->phy_addr; phy_addr 630 drivers/net/wireless/ath/wcn36xx/dxe.c &wcn->mgmt_mem_pool.phy_addr, phy_addr 645 drivers/net/wireless/ath/wcn36xx/dxe.c &wcn->data_mem_pool.phy_addr, phy_addr 666 drivers/net/wireless/ath/wcn36xx/dxe.c wcn->mgmt_mem_pool.phy_addr); phy_addr 672 drivers/net/wireless/ath/wcn36xx/dxe.c wcn->data_mem_pool.phy_addr); phy_addr 451 drivers/net/wireless/ath/wcn36xx/dxe.h dma_addr_t phy_addr; phy_addr 310 drivers/net/wireless/intel/iwlwifi/fw/paging.c __le32 phy_addr; phy_addr 313 drivers/net/wireless/intel/iwlwifi/fw/paging.c phy_addr = cpu_to_le32(addr); phy_addr 314 drivers/net/wireless/intel/iwlwifi/fw/paging.c paging_cmd.device_phy_addr[blk_idx] = phy_addr; phy_addr 672 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 dst_addr, dma_addr_t phy_addr, phy_addr 682 drivers/net/wireless/intel/iwlwifi/pcie/trans.c phy_addr & FH_MEM_TFDIB_DRAM_ADDR_LSB_MSK); phy_addr 685 drivers/net/wireless/intel/iwlwifi/pcie/trans.c (iwl_get_dma_hi_addr(phy_addr) phy_addr 700 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 dst_addr, dma_addr_t phy_addr, phy_addr 712 drivers/net/wireless/intel/iwlwifi/pcie/trans.c iwl_pcie_load_firmware_chunk_fh(trans, dst_addr, phy_addr, phy_addr 151 drivers/net/wireless/ray_cs.c static char *phy_addr = NULL; phy_addr 171 drivers/net/wireless/ray_cs.c module_param(phy_addr, charp, 0); phy_addr 503 drivers/net/wireless/ray_cs.c if (!parse_addr(phy_addr, local->sparm.b4.a_mac_addr)) { phy_addr 4019 drivers/scsi/advansys.c __le32 phy_addr; phy_addr 4044 drivers/scsi/advansys.c phy_addr = cpu_to_le32(asc_dvc->overrun_dma); phy_addr 4046 drivers/scsi/advansys.c (uchar *)&phy_addr, 1); phy_addr 388 drivers/scsi/mac53c94.c dcmds->phy_addr = cpu_to_le32(dma_addr); phy_addr 1293 drivers/scsi/mesh.c dcmds->phy_addr = cpu_to_le32(dma_addr + off); phy_addr 1308 drivers/scsi/mesh.c dcmds->phy_addr = cpu_to_le32(virt_to_phys(mesh_extra_buf)); phy_addr 228 drivers/scsi/mvumi.c dma_addr_t phy_addr; phy_addr 233 drivers/scsi/mvumi.c virt_addr = dma_alloc_coherent(&mhba->pdev->dev, size, &phy_addr, phy_addr 242 drivers/scsi/mvumi.c m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(phy_addr)); phy_addr 243 drivers/scsi/mvumi.c m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(phy_addr)); phy_addr 291 drivers/scsi/mvumi.c dma_addr_t phy_addr; phy_addr 298 drivers/scsi/mvumi.c phy_addr = (dma_addr_t) m_sg->baseaddr_l | phy_addr 302 drivers/scsi/mvumi.c phy_addr); phy_addr 383 drivers/spi/spi-fsl-dspi.c static int dspi_request_dma(struct fsl_dspi *dspi, phys_addr_t phy_addr) phy_addr 422 drivers/spi/spi-fsl-dspi.c cfg.src_addr = phy_addr + SPI_POPR; phy_addr 423 drivers/spi/spi-fsl-dspi.c cfg.dst_addr = phy_addr + SPI_PUSHR; phy_addr 94 drivers/staging/netlogic/platform_net.c ndata1.phy_addr[mac] = mac + 4 + 0x10; phy_addr 142 drivers/staging/netlogic/platform_net.c ndata0.phy_addr[0] = 0; phy_addr 157 drivers/staging/netlogic/platform_net.c ndata0.phy_addr[mac] = mac + 0x10; phy_addr 199 drivers/staging/netlogic/platform_net.c ndata0.phy_addr[mac] = mac; phy_addr 19 drivers/staging/netlogic/platform_net.h int phy_addr[PORTS_PER_CONTROLLER]; phy_addr 140 drivers/staging/netlogic/xlr_net.c return mdiobus_get_phy(priv->mii_bus, priv->phy_addr); phy_addr 597 drivers/staging/netlogic/xlr_net.c static int xlr_phy_write(u32 *base_addr, int phy_addr, int regnum, u16 val) phy_addr 607 drivers/staging/netlogic/xlr_net.c xlr_nae_wreg(base_addr, R_MII_MGMT_ADDRESS, (phy_addr << 8) | regnum); phy_addr 627 drivers/staging/netlogic/xlr_net.c static int xlr_phy_read(u32 *base_addr, int phy_addr, int regnum) phy_addr 639 drivers/staging/netlogic/xlr_net.c (phy_addr << 8) | (regnum << 0)); phy_addr 664 drivers/staging/netlogic/xlr_net.c static int xlr_mii_write(struct mii_bus *bus, int phy_addr, int regnum, u16 val) phy_addr 669 drivers/staging/netlogic/xlr_net.c ret = xlr_phy_write(priv->mii_addr, phy_addr, regnum, val); phy_addr 671 drivers/staging/netlogic/xlr_net.c phy_addr, regnum, val, ret); phy_addr 675 drivers/staging/netlogic/xlr_net.c static int xlr_mii_read(struct mii_bus *bus, int phy_addr, int regnum) phy_addr 680 drivers/staging/netlogic/xlr_net.c ret = xlr_phy_read(priv->mii_addr, phy_addr, regnum); phy_addr 682 drivers/staging/netlogic/xlr_net.c phy_addr, regnum, ret); phy_addr 716 drivers/staging/netlogic/xlr_net.c phy = priv->phy_addr % 4 + 27; phy_addr 788 drivers/staging/netlogic/xlr_net.c pr_err("no PHY found on phy_addr %d\n", priv->phy_addr); phy_addr 833 drivers/staging/netlogic/xlr_net.c priv->mii_bus->phy_mask = ~(1 << priv->phy_addr); phy_addr 998 drivers/staging/netlogic/xlr_net.c priv->phy_addr = priv->nd->phy_addr[port]; phy_addr 1056 drivers/staging/netlogic/xlr_net.h int phy_addr; /* PHY addr on MDIO bus */ phy_addr 183 include/linux/dma/sprd-dma.h phys_addr_t phy_addr; phy_addr 46 include/linux/mv643xx_eth.h int phy_addr; phy_addr 16 include/linux/platform_data/xilinx-ll-temac.h int phy_addr; /* Address of the PHY to connect to */ phy_addr 12 include/linux/pxa168_eth.h int phy_addr; phy_addr 132 include/linux/stmmac.h int phy_addr; phy_addr 40 include/linux/sxgbe_platform.h int phy_addr; phy_addr 68 include/sound/sof/stream.h uint32_t phy_addr; phy_addr 399 sound/aoa/soundbus/i2sbus/pcm.c command->phy_addr = cpu_to_le32(offset); phy_addr 240 sound/ppc/pmac.c cp->phy_addr = cpu_to_le32(offset); phy_addr 425 sound/ppc/pmac.c phy = le32_to_cpu(cp->phy_addr); phy_addr 430 sound/ppc/pmac.c cp->phy_addr = cpu_to_le32(phy); phy_addr 752 sound/ppc/pmac.c chip->extra_dma.cmds->phy_addr = cpu_to_le32(addr); phy_addr 152 sound/soc/sof/pcm.c pcm.params.buffer.phy_addr = phy_addr 179 sound/soc/sof/trace.c params.buffer.phy_addr = sdev->dmatp.addr; phy_addr 225 sound/soc/sprd/sprd-pcm-compress.c link.phy_addr = dma->phys; phy_addr 275 sound/soc/sprd/sprd-pcm-dma.c link.phy_addr = data->phys; phy_addr 75 sound/soc/zte/zx-tdm.c resource_size_t phy_addr; phy_addr 154 sound/soc/zte/zx-tdm.c zx_tdm->dma_playback.addr = zx_tdm->phy_addr + REG_DATABUF; phy_addr 156 sound/soc/zte/zx-tdm.c zx_tdm->dma_capture.addr = zx_tdm->phy_addr + REG_DATABUF; phy_addr 402 sound/soc/zte/zx-tdm.c zx_tdm->phy_addr = res->start;