phy_id 618 arch/arm/mach-davinci/board-da830-evm.c soc_info->emac_pdata->phy_id = DA830_EVM_PHY_ID; phy_id 1140 arch/arm/mach-davinci/board-da850-evm.c soc_info->emac_pdata->phy_id = DA850_EVM_PHY_ID; phy_id 746 arch/arm/mach-davinci/board-dm365-evm.c soc_info->emac_pdata->phy_id = DM365_EVM_PHY_ID; phy_id 881 arch/arm/mach-davinci/board-dm644x-evm.c soc_info->emac_pdata->phy_id = DM644X_EVM_PHY_ID; phy_id 857 arch/arm/mach-davinci/board-dm646x-evm.c soc_info->emac_pdata->phy_id = DM646X_EVM_PHY_ID; phy_id 550 arch/arm/mach-davinci/board-mityomapl138.c soc_info->emac_pdata->phy_id = MITYOMAPL138_PHY_ID; phy_id 210 arch/arm/mach-davinci/board-neuros-osd2.c soc_info->emac_pdata->phy_id = NEUROS_OSD2_PHY_ID; phy_id 67 arch/arm/mach-davinci/board-omapl138-hawk.c soc_info->emac_pdata->phy_id = HAWKBOARD_PHY_ID; phy_id 131 arch/arm/mach-davinci/board-sffsdr.c soc_info->emac_pdata->phy_id = SFFSDR_PHY_ID; phy_id 22 arch/arm/mach-ep93xx/adssphere.c .phy_id = 1, phy_id 53 arch/arm/mach-ep93xx/edb93xx.c .phy_id = 1, phy_id 22 arch/arm/mach-ep93xx/gesbc9312.c .phy_id = 1, phy_id 63 arch/arm/mach-ep93xx/micro9.c .phy_id = 0x1f, phy_id 34 arch/arm/mach-ep93xx/simone.c .phy_id = 1, phy_id 118 arch/arm/mach-ep93xx/snappercl15.c .phy_id = 1, phy_id 213 arch/arm/mach-ep93xx/ts72xx.c .phy_id = 1, phy_id 67 arch/arm/mach-ep93xx/vision_ep9307.c .phy_id = 1, phy_id 256 arch/mips/bcm63xx/dev-enet.c dpd->phy_id = 1; phy_id 22 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_enet.h int phy_id; phy_id 40 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_enet.h int phy_id, int reg), phy_id 42 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_enet.h int phy_id, int reg, int val)); phy_id 75 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_enet.h int phy_id; phy_id 320 arch/powerpc/platforms/85xx/mpc85xx_mds.c char phy_id[20]; phy_id 330 arch/powerpc/platforms/85xx/mpc85xx_mds.c snprintf(phy_id, sizeof(phy_id), "%llx:%02x", phy_id 333 arch/powerpc/platforms/85xx/mpc85xx_mds.c phy_register_fixup_for_id(phy_id, mpc8568_fixup_125_clock); phy_id 334 arch/powerpc/platforms/85xx/mpc85xx_mds.c phy_register_fixup_for_id(phy_id, mpc8568_mds_phy_fixups); phy_id 337 arch/powerpc/platforms/85xx/mpc85xx_mds.c snprintf(phy_id, sizeof(phy_id), "%llx:%02x", phy_id 339 arch/powerpc/platforms/85xx/mpc85xx_mds.c phy_register_fixup_for_id(phy_id, mpc8568_mds_phy_fixups); phy_id 115 arch/powerpc/platforms/pasemi/gpio_mdio.c static int gpio_mdio_read(struct mii_bus *bus, int phy_id, int location) phy_id 119 arch/powerpc/platforms/pasemi/gpio_mdio.c u8 addr = phy_id & 0xff; phy_id 154 arch/powerpc/platforms/pasemi/gpio_mdio.c static int gpio_mdio_write(struct mii_bus *bus, int phy_id, int location, u16 val) phy_id 158 arch/powerpc/platforms/pasemi/gpio_mdio.c u8 addr = phy_id & 0xff; phy_id 75 arch/powerpc/sysdev/tsi108_dev.c const unsigned int *phy_id; phy_id 123 arch/powerpc/sysdev/tsi108_dev.c phy_id = of_get_property(phy, "reg", NULL); phy_id 127 arch/powerpc/sysdev/tsi108_dev.c tsi_eth_data.phy = *phy_id; phy_id 187 arch/xtensa/platforms/xtfpga/setup.c .phy_id = -1, phy_id 36 drivers/char/tpm/st33zp24/i2c.c static int write8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size) phy_id 38 drivers/char/tpm/st33zp24/i2c.c struct st33zp24_i2c_phy *phy = phy_id; phy_id 53 drivers/char/tpm/st33zp24/i2c.c static int read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size) phy_id 55 drivers/char/tpm/st33zp24/i2c.c struct st33zp24_i2c_phy *phy = phy_id; phy_id 75 drivers/char/tpm/st33zp24/i2c.c static int st33zp24_i2c_send(void *phy_id, u8 tpm_register, u8 *tpm_data, phy_id 78 drivers/char/tpm/st33zp24/i2c.c return write8_reg(phy_id, tpm_register | TPM_WRITE_DIRECTION, tpm_data, phy_id 91 drivers/char/tpm/st33zp24/i2c.c static int st33zp24_i2c_recv(void *phy_id, u8 tpm_register, u8 *tpm_data, phy_id 94 drivers/char/tpm/st33zp24/i2c.c return read8_reg(phy_id, tpm_register, tpm_data, tpm_size); phy_id 113 drivers/char/tpm/st33zp24/i2c.c struct st33zp24_i2c_phy *phy = tpm_dev->phy_id; phy_id 145 drivers/char/tpm/st33zp24/i2c.c struct st33zp24_i2c_phy *phy = tpm_dev->phy_id; phy_id 185 drivers/char/tpm/st33zp24/i2c.c struct st33zp24_i2c_phy *phy = tpm_dev->phy_id; phy_id 101 drivers/char/tpm/st33zp24/spi.c static int st33zp24_spi_send(void *phy_id, u8 tpm_register, u8 *tpm_data, phy_id 105 drivers/char/tpm/st33zp24/spi.c struct st33zp24_spi_phy *phy = phy_id; phy_id 144 drivers/char/tpm/st33zp24/spi.c static int st33zp24_spi_read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, phy_id 148 drivers/char/tpm/st33zp24/spi.c struct st33zp24_spi_phy *phy = phy_id; phy_id 185 drivers/char/tpm/st33zp24/spi.c static int st33zp24_spi_recv(void *phy_id, u8 tpm_register, u8 *tpm_data, phy_id 190 drivers/char/tpm/st33zp24/spi.c ret = st33zp24_spi_read8_reg(phy_id, tpm_register, tpm_data, tpm_size); phy_id 196 drivers/char/tpm/st33zp24/spi.c static int st33zp24_spi_evaluate_latency(void *phy_id) phy_id 198 drivers/char/tpm/st33zp24/spi.c struct st33zp24_spi_phy *phy = phy_id; phy_id 204 drivers/char/tpm/st33zp24/spi.c status = st33zp24_spi_read8_reg(phy_id, TPM_INTF_CAPABILITY, phy_id 232 drivers/char/tpm/st33zp24/spi.c struct st33zp24_spi_phy *phy = tpm_dev->phy_id; phy_id 263 drivers/char/tpm/st33zp24/spi.c struct st33zp24_spi_phy *phy = tpm_dev->phy_id; phy_id 303 drivers/char/tpm/st33zp24/spi.c struct st33zp24_spi_phy *phy = tpm_dev->phy_id; phy_id 72 drivers/char/tpm/st33zp24/st33zp24.c tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); phy_id 73 drivers/char/tpm/st33zp24/st33zp24.c tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); phy_id 88 drivers/char/tpm/st33zp24/st33zp24.c tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); phy_id 101 drivers/char/tpm/st33zp24/st33zp24.c tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); phy_id 116 drivers/char/tpm/st33zp24/st33zp24.c status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_ACCESS, &data, 1); phy_id 141 drivers/char/tpm/st33zp24/st33zp24.c ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); phy_id 169 drivers/char/tpm/st33zp24/st33zp24.c tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); phy_id 186 drivers/char/tpm/st33zp24/st33zp24.c status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 1, phy_id 192 drivers/char/tpm/st33zp24/st33zp24.c status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 2, phy_id 318 drivers/char/tpm/st33zp24/st33zp24.c ret = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_DATA_FIFO, phy_id 387 drivers/char/tpm/st33zp24/st33zp24.c ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_DATA_FIFO, phy_id 401 drivers/char/tpm/st33zp24/st33zp24.c ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_DATA_FIFO, phy_id 413 drivers/char/tpm/st33zp24/st33zp24.c ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); phy_id 510 drivers/char/tpm/st33zp24/st33zp24.c int st33zp24_probe(void *phy_id, const struct st33zp24_phy_ops *ops, phy_id 527 drivers/char/tpm/st33zp24/st33zp24.c tpm_dev->phy_id = phy_id; phy_id 562 drivers/char/tpm/st33zp24/st33zp24.c ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_ENABLE, phy_id 568 drivers/char/tpm/st33zp24/st33zp24.c ret = tpm_dev->ops->send(tpm_dev->phy_id, (TPM_INT_ENABLE + 3), phy_id 15 drivers/char/tpm/st33zp24/st33zp24.h void *phy_id; phy_id 26 drivers/char/tpm/st33zp24/st33zp24.h int (*send)(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size); phy_id 27 drivers/char/tpm/st33zp24/st33zp24.h int (*recv)(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size); phy_id 35 drivers/char/tpm/st33zp24/st33zp24.h int st33zp24_probe(void *phy_id, const struct st33zp24_phy_ops *ops, phy_id 176 drivers/firewire/core-topology.c int i, port_count, child_port_count, phy_id, parent_count, stack_depth; phy_id 185 drivers/firewire/core-topology.c phy_id = 0; phy_id 199 drivers/firewire/core-topology.c if (phy_id != SELF_ID_PHY_ID(q)) { phy_id 201 drivers/firewire/core-topology.c phy_id, SELF_ID_PHY_ID(q)); phy_id 228 drivers/firewire/core-topology.c if (phy_id == (card->node_id & 0x3f)) phy_id 274 drivers/firewire/core-topology.c "parent_count=%d\n", phy_id, parent_count); phy_id 297 drivers/firewire/core-topology.c phy_id++; phy_id 372 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c int phy_id = phy->id; phy_id 375 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c if ((phy_id >= DSI_MAX) || (pll_id >= DSI_MAX)) phy_id 380 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c if (phy->cfg->src_pll_truthtable[phy_id][pll_id]) phy_id 857 drivers/message/fusion/mptsas.c port_details->phy_bitmask &= ~ (1 << phy_info->phy_id); phy_id 863 drivers/message/fusion/mptsas.c phy_info->phy_id, phy_info->phy)); phy_id 890 drivers/message/fusion/mptsas.c if (phy_info->phy_id < 64 ) phy_id 892 drivers/message/fusion/mptsas.c (1 << phy_info->phy_id); phy_id 932 drivers/message/fusion/mptsas.c if (phy_info_cmp->phy_id < 64 ) phy_id 934 drivers/message/fusion/mptsas.c (1 << phy_info_cmp->phy_id); phy_id 1461 drivers/message/fusion/mptsas.c phy_info->attached.phy_id, (unsigned long long) phy_id 1542 drivers/message/fusion/mptsas.c phy_info->attached.id, phy_info->attached.phy_id, phy_id 1562 drivers/message/fusion/mptsas.c ioc->name, phy_info_parent->phy_id, phy_id 1827 drivers/message/fusion/mptsas.c p->phy_info[i].attached.phy_id, (unsigned long long) phy_id 2416 drivers/message/fusion/mptsas.c port_info->phy_info[i].phy_id = i; phy_id 2617 drivers/message/fusion/mptsas.c device_info->phy_id = buffer->PhyNum; phy_id 2776 drivers/message/fusion/mptsas.c phy_info->phy_id = buffer->PhyIdentifier; phy_id 2979 drivers/message/fusion/mptsas.c identify->phy_identifier = device_info->phy_id; phy_id 3181 drivers/message/fusion/mptsas.c ioc->name, phy_info->phy_id)); phy_id 3186 drivers/message/fusion/mptsas.c phy_info->phy_id, phy_info->phy)); phy_id 3329 drivers/message/fusion/mptsas.c port_info->phy_info[i].identify.phy_id = phy_id 3330 drivers/message/fusion/mptsas.c port_info->phy_info[i].phy_id = i; phy_id 3375 drivers/message/fusion/mptsas.c port_info->phy_info[i].identify.phy_id = phy_id 3376 drivers/message/fusion/mptsas.c port_info->phy_info[i].phy_id; phy_id 3384 drivers/message/fusion/mptsas.c port_info->phy_info[i].attached.phy_id = phy_id 3385 drivers/message/fusion/mptsas.c port_info->phy_info[i].phy_id; phy_id 3565 drivers/message/fusion/mptsas.c phy_info->phy_id, phy_info->phy); phy_id 4601 drivers/message/fusion/mptsas.c hot_plug_info.phy_id = sas_event_data->PhyNum; phy_id 102 drivers/message/fusion/mptsas.h u8 phy_id; phy_id 134 drivers/message/fusion/mptsas.h u8 phy_id; /* phy number of parent device */ phy_id 160 drivers/message/fusion/mptsas.h u8 phy_id; /* phy index */ phy_id 3534 drivers/net/bonding/bond_main.c mii->phy_id = 0; phy_id 293 drivers/net/dsa/b53/b53_mdio.c u32 phy_id; phy_id 306 drivers/net/dsa/b53/b53_mdio.c phy_id = mdiobus_read(mdiodev->bus, 0, 2) << 16; phy_id 307 drivers/net/dsa/b53/b53_mdio.c phy_id |= mdiobus_read(mdiodev->bus, 0, 3); phy_id 313 drivers/net/dsa/b53/b53_mdio.c if ((phy_id & 0xfffffc00) != B53_BRCM_OUI_1 && phy_id 314 drivers/net/dsa/b53/b53_mdio.c (phy_id & 0xfffffc00) != B53_BRCM_OUI_2 && phy_id 315 drivers/net/dsa/b53/b53_mdio.c (phy_id & 0xfffffc00) != B53_BRCM_OUI_3 && phy_id 316 drivers/net/dsa/b53/b53_mdio.c (phy_id & 0xfffffc00) != B53_BRCM_OUI_4) { phy_id 317 drivers/net/dsa/b53/b53_mdio.c dev_err(&mdiodev->dev, "Unsupported device: 0x%08x\n", phy_id); phy_id 91 drivers/net/dsa/qca8k.c qca8k_mii_read32(struct mii_bus *bus, int phy_id, u32 regnum) phy_id 96 drivers/net/dsa/qca8k.c ret = bus->read(bus, phy_id, regnum); phy_id 99 drivers/net/dsa/qca8k.c ret = bus->read(bus, phy_id, regnum + 1); phy_id 113 drivers/net/dsa/qca8k.c qca8k_mii_write32(struct mii_bus *bus, int phy_id, u32 regnum, u32 val) phy_id 121 drivers/net/dsa/qca8k.c ret = bus->write(bus, phy_id, regnum, lo); phy_id 123 drivers/net/dsa/qca8k.c ret = bus->write(bus, phy_id, regnum + 1, hi); phy_id 221 drivers/net/ethernet/3com/3c574_cs.c static int mdio_read(unsigned int ioaddr, int phy_id, int location); phy_id 222 drivers/net/ethernet/3com/3c574_cs.c static void mdio_write(unsigned int ioaddr, int phy_id, int location, phy_id 542 drivers/net/ethernet/3com/3c574_cs.c static int mdio_read(unsigned int ioaddr, int phy_id, int location) phy_id 545 drivers/net/ethernet/3com/3c574_cs.c int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; phy_id 567 drivers/net/ethernet/3com/3c574_cs.c static void mdio_write(unsigned int ioaddr, int phy_id, int location, int value) phy_id 569 drivers/net/ethernet/3com/3c574_cs.c int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; phy_id 1044 drivers/net/ethernet/3com/3c574_cs.c data->phy_id, data->reg_num, data->val_in, data->val_out); phy_id 1048 drivers/net/ethernet/3com/3c574_cs.c data->phy_id = phy; phy_id 1058 drivers/net/ethernet/3com/3c574_cs.c data->val_out = mdio_read(ioaddr, data->phy_id & 0x1f, phy_id 1072 drivers/net/ethernet/3com/3c574_cs.c mdio_write(ioaddr, data->phy_id & 0x1f, phy_id 759 drivers/net/ethernet/3com/3c59x.c static int mdio_read(struct net_device *dev, int phy_id, int location); phy_id 760 drivers/net/ethernet/3com/3c59x.c static void mdio_write(struct net_device *vp, int phy_id, int location, int value); phy_id 1429 drivers/net/ethernet/3com/3c59x.c vp->mii.phy_id = vp->phys[0]; phy_id 3152 drivers/net/ethernet/3com/3c59x.c static int mdio_read(struct net_device *dev, int phy_id, int location) phy_id 3156 drivers/net/ethernet/3com/3c59x.c int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; phy_id 3190 drivers/net/ethernet/3com/3c59x.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value) phy_id 3193 drivers/net/ethernet/3com/3c59x.c int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; phy_id 91 drivers/net/ethernet/8390/axnet_cs.c static int mdio_read(unsigned int addr, int phy_id, int loc); phy_id 92 drivers/net/ethernet/8390/axnet_cs.c static void mdio_write(unsigned int addr, int phy_id, int loc, int value); phy_id 117 drivers/net/ethernet/8390/axnet_cs.c int phy_id; phy_id 347 drivers/net/ethernet/8390/axnet_cs.c info->phy_id = (i < 32) ? i : -1; phy_id 358 drivers/net/ethernet/8390/axnet_cs.c if (info->phy_id != -1) { phy_id 360 drivers/net/ethernet/8390/axnet_cs.c info->phy_id, j); phy_id 426 drivers/net/ethernet/8390/axnet_cs.c static int mdio_read(unsigned int addr, int phy_id, int loc) phy_id 428 drivers/net/ethernet/8390/axnet_cs.c u_int cmd = (0xf6<<10)|(phy_id<<5)|loc; phy_id 445 drivers/net/ethernet/8390/axnet_cs.c static void mdio_write(unsigned int addr, int phy_id, int loc, int value) phy_id 447 drivers/net/ethernet/8390/axnet_cs.c u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; phy_id 573 drivers/net/ethernet/8390/axnet_cs.c if (info->phy_id < 0) phy_id 575 drivers/net/ethernet/8390/axnet_cs.c link = mdio_read(mii_addr, info->phy_id, 1); phy_id 578 drivers/net/ethernet/8390/axnet_cs.c info->phy_id = -1; phy_id 584 drivers/net/ethernet/8390/axnet_cs.c u_short p = mdio_read(mii_addr, info->phy_id, 5); phy_id 612 drivers/net/ethernet/8390/axnet_cs.c data->phy_id = info->phy_id; phy_id 615 drivers/net/ethernet/8390/axnet_cs.c data->val_out = mdio_read(mii_addr, data->phy_id, data->reg_num & 0x1f); phy_id 618 drivers/net/ethernet/8390/axnet_cs.c mdio_write(mii_addr, data->phy_id, data->reg_num & 0x1f, data->val_in); phy_id 208 drivers/net/ethernet/8390/pcnet_cs.c u_char phy_id; phy_id 706 drivers/net/ethernet/8390/pcnet_cs.c static int mdio_read(unsigned int addr, int phy_id, int loc) phy_id 708 drivers/net/ethernet/8390/pcnet_cs.c u_int cmd = (0x06<<10)|(phy_id<<5)|loc; phy_id 725 drivers/net/ethernet/8390/pcnet_cs.c static void mdio_write(unsigned int addr, int phy_id, int loc, int value) phy_id 727 drivers/net/ethernet/8390/pcnet_cs.c u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; phy_id 919 drivers/net/ethernet/8390/pcnet_cs.c info->phy_id = info->eth_phy; phy_id 1038 drivers/net/ethernet/8390/pcnet_cs.c mdio_read(mii_addr, info->phy_id, 1); phy_id 1039 drivers/net/ethernet/8390/pcnet_cs.c link = mdio_read(mii_addr, info->phy_id, 1); phy_id 1042 drivers/net/ethernet/8390/pcnet_cs.c info->phy_id = info->eth_phy = 0; phy_id 1052 drivers/net/ethernet/8390/pcnet_cs.c u_short p = mdio_read(mii_addr, info->phy_id, 5); phy_id 1062 drivers/net/ethernet/8390/pcnet_cs.c if (info->phy_id == info->eth_phy) { phy_id 1077 drivers/net/ethernet/8390/pcnet_cs.c if (((info->phy_id == info->pna_phy) && link) || phy_id 1078 drivers/net/ethernet/8390/pcnet_cs.c ((info->phy_id != info->pna_phy) && !link)) { phy_id 1080 drivers/net/ethernet/8390/pcnet_cs.c mdio_write(mii_addr, info->phy_id, 0, 0x0400); phy_id 1081 drivers/net/ethernet/8390/pcnet_cs.c info->phy_id ^= info->pna_phy ^ info->eth_phy; phy_id 1083 drivers/net/ethernet/8390/pcnet_cs.c (info->phy_id == info->eth_phy) ? "ethernet" : "PNA"); phy_id 1084 drivers/net/ethernet/8390/pcnet_cs.c mdio_write(mii_addr, info->phy_id, 0, phy_id 1085 drivers/net/ethernet/8390/pcnet_cs.c (info->phy_id == info->eth_phy) ? 0x1000 : 0); phy_id 1110 drivers/net/ethernet/8390/pcnet_cs.c data->phy_id = info->phy_id; phy_id 1113 drivers/net/ethernet/8390/pcnet_cs.c data->val_out = mdio_read(mii_addr, data->phy_id, data->reg_num & 0x1f); phy_id 1116 drivers/net/ethernet/8390/pcnet_cs.c mdio_write(mii_addr, data->phy_id, data->reg_num & 0x1f, data->val_in); phy_id 575 drivers/net/ethernet/adaptec/starfire.c static int mdio_read(struct net_device *dev, int phy_id, int location); phy_id 576 drivers/net/ethernet/adaptec/starfire.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value); phy_id 827 drivers/net/ethernet/adaptec/starfire.c np->mii_if.phy_id = np->phys[0]; phy_id 847 drivers/net/ethernet/adaptec/starfire.c static int mdio_read(struct net_device *dev, int phy_id, int location) phy_id 850 drivers/net/ethernet/adaptec/starfire.c void __iomem *mdio_addr = np->base + MIICtrl + (phy_id<<7) + (location<<2); phy_id 864 drivers/net/ethernet/adaptec/starfire.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value) phy_id 867 drivers/net/ethernet/adaptec/starfire.c void __iomem *mdio_addr = np->base + MIICtrl + (phy_id<<7) + (location<<2); phy_id 1928 drivers/net/ethernet/adaptec/starfire.c if ((cmd == SIOCSMIIREG) && (data->phy_id == np->phys[0])) phy_id 840 drivers/net/ethernet/altera/altera_tse_main.c if ((phydev->phy_id == 0) && !fixed_link) { phy_id 841 drivers/net/ethernet/altera/altera_tse_main.c netdev_err(dev, "Bad PHY UID 0x%08x\n", phydev->phy_id); phy_id 847 drivers/net/ethernet/altera/altera_tse_main.c phydev->mdio.addr, phydev->phy_id, phydev->link); phy_id 100 drivers/net/ethernet/amd/amd8111e.c int phy_id, int reg, u32 *val) phy_id 110 drivers/net/ethernet/amd/amd8111e.c writel( PHY_RD_CMD | ((phy_id & 0x1f) << 21) | phy_id 129 drivers/net/ethernet/amd/amd8111e.c int phy_id, int reg, u32 val) phy_id 139 drivers/net/ethernet/amd/amd8111e.c writel( PHY_WR_CMD | ((phy_id & 0x1f) << 21) | phy_id 158 drivers/net/ethernet/amd/amd8111e.c static int amd8111e_mdio_read(struct net_device *dev, int phy_id, int reg_num) phy_id 163 drivers/net/ethernet/amd/amd8111e.c amd8111e_read_phy(lp,phy_id,reg_num,®_val); phy_id 170 drivers/net/ethernet/amd/amd8111e.c int phy_id, int reg_num, int val) phy_id 174 drivers/net/ethernet/amd/amd8111e.c amd8111e_write_phy(lp, phy_id, reg_num, val); phy_id 1471 drivers/net/ethernet/amd/amd8111e.c data->phy_id = lp->ext_phy_addr; phy_id 1477 drivers/net/ethernet/amd/amd8111e.c err = amd8111e_read_phy(lp, data->phy_id, phy_id 1487 drivers/net/ethernet/amd/amd8111e.c err = amd8111e_write_phy(lp, data->phy_id, phy_id 1853 drivers/net/ethernet/amd/amd8111e.c lp->mii_if.phy_id = lp->ext_phy_addr; phy_id 325 drivers/net/ethernet/amd/pcnet32.c static int mdio_read(struct net_device *dev, int phy_id, int reg_num); phy_id 326 drivers/net/ethernet/amd/pcnet32.c static void mdio_write(struct net_device *dev, int phy_id, int reg_num, phy_id 1952 drivers/net/ethernet/amd/pcnet32.c lp->mii_if.phy_id = ((lp->a->read_bcr(ioaddr, 33)) >> 5) & 0x1f; phy_id 1967 drivers/net/ethernet/amd/pcnet32.c lp->mii_if.phy_id = i; phy_id 1972 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 33, (lp->mii_if.phy_id) << 5); phy_id 2245 drivers/net/ethernet/amd/pcnet32.c lp->mii_if.phy_id = i; phy_id 2254 drivers/net/ethernet/amd/pcnet32.c lp->mii_if.phy_id = first_phy; phy_id 2756 drivers/net/ethernet/amd/pcnet32.c static int mdio_read(struct net_device *dev, int phy_id, int reg_num) phy_id 2765 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 33, ((phy_id & 0x1f) << 5) | (reg_num & 0x1f)); phy_id 2772 drivers/net/ethernet/amd/pcnet32.c static void mdio_write(struct net_device *dev, int phy_id, int reg_num, int val) phy_id 2780 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 33, ((phy_id & 0x1f) << 5) | (reg_num & 0x1f)); phy_id 2810 drivers/net/ethernet/amd/pcnet32.c if (i == lp->mii_if.phy_id) phy_id 2813 drivers/net/ethernet/amd/pcnet32.c mii.phy_id = i; phy_id 2821 drivers/net/ethernet/amd/pcnet32.c mdio_read(dev, lp->mii_if.phy_id, MII_BMCR); phy_id 2822 drivers/net/ethernet/amd/pcnet32.c mdio_write(dev, lp->mii_if.phy_id, MII_BMCR, phy_id 2831 drivers/net/ethernet/amd/pcnet32.c lp->mii_if.phy_id = i; phy_id 862 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c unsigned int phy_id = phy_data->phydev->phy_id; phy_id 867 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if ((phy_id & 0xfffffff0) != 0x01ff0cc0) phy_id 904 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c unsigned int phy_id = phy_data->phydev->phy_id; phy_id 921 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if ((phy_id & 0xfffffff0) != 0x03625d10) phy_id 1027 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c phydev->phy_id); phy_id 12 drivers/net/ethernet/apm/xgene-v2/mdio.c static int xge_mdio_write(struct mii_bus *bus, int phy_id, int reg, u16 data) phy_id 18 drivers/net/ethernet/apm/xgene-v2/mdio.c SET_REG_BITS(&val, PHY_ADDR, phy_id); phy_id 36 drivers/net/ethernet/apm/xgene-v2/mdio.c static int xge_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 42 drivers/net/ethernet/apm/xgene-v2/mdio.c SET_REG_BITS(&val, PHY_ADDR, phy_id); phy_id 113 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c static void xgene_mii_phy_write(struct xgene_enet_pdata *p, u8 phy_id, phy_id 119 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c addr = PHY_ADDR(phy_id) | REG_ADDR(reg); phy_id 135 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c static u32 xgene_mii_phy_read(struct xgene_enet_pdata *p, u8 phy_id, u32 reg) phy_id 140 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c addr = PHY_ADDR(phy_id) | REG_ADDR(reg); phy_id 999 drivers/net/ethernet/arc/emac_main.c phydev->drv->name, phydev->phy_id); phy_id 1052 drivers/net/ethernet/atheros/alx/hw.c if (alx_read_phy_reg(hw, MII_PHYSID1, &hw->phy_id[0]) || phy_id 1053 drivers/net/ethernet/atheros/alx/hw.c alx_read_phy_reg(hw, MII_PHYSID2, &hw->phy_id[1])) phy_id 492 drivers/net/ethernet/atheros/alx/hw.h u16 phy_id[2]; phy_id 559 drivers/net/ethernet/atheros/atl1c/atl1c_main.c static int atl1c_mdio_read(struct net_device *netdev, int phy_id, int reg_num) phy_id 568 drivers/net/ethernet/atheros/atl1c/atl1c_main.c static void atl1c_mdio_write(struct net_device *netdev, int phy_id, phy_id 591 drivers/net/ethernet/atheros/atl1c/atl1c_main.c data->phy_id = 0; phy_id 449 drivers/net/ethernet/atheros/atl1e/atl1e_main.c static int atl1e_mdio_read(struct net_device *netdev, int phy_id, int reg_num) phy_id 458 drivers/net/ethernet/atheros/atl1e/atl1e_main.c static void atl1e_mdio_write(struct net_device *netdev, int phy_id, phy_id 482 drivers/net/ethernet/atheros/atl1e/atl1e_main.c data->phy_id = 0; phy_id 981 drivers/net/ethernet/atheros/atlx/atl1.c static int mdio_read(struct net_device *netdev, int phy_id, int reg_num) phy_id 991 drivers/net/ethernet/atheros/atlx/atl1.c static void mdio_write(struct net_device *netdev, int phy_id, int reg_num, phy_id 956 drivers/net/ethernet/atheros/atlx/atl2.c data->phy_id = 0; phy_id 137 drivers/net/ethernet/aurora/nb8800.c static int nb8800_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 143 drivers/net/ethernet/aurora/nb8800.c err = nb8800_mdio_cmd(bus, MDIO_CMD_ADDR(phy_id) | MDIO_CMD_REG(reg)); phy_id 154 drivers/net/ethernet/aurora/nb8800.c static int nb8800_mdio_write(struct mii_bus *bus, int phy_id, int reg, u16 val) phy_id 156 drivers/net/ethernet/aurora/nb8800.c u32 cmd = MDIO_CMD_ADDR(phy_id) | MDIO_CMD_REG(reg) | phy_id 304 drivers/net/ethernet/broadcom/b44.c static int b44_mdio_read_mii(struct net_device *dev, int phy_id, int location) phy_id 308 drivers/net/ethernet/broadcom/b44.c int rc = __b44_readphy(bp, phy_id, location, &val); phy_id 314 drivers/net/ethernet/broadcom/b44.c static void b44_mdio_write_mii(struct net_device *dev, int phy_id, int location, phy_id 318 drivers/net/ethernet/broadcom/b44.c __b44_writephy(bp, phy_id, location, val); phy_id 321 drivers/net/ethernet/broadcom/b44.c static int b44_mdio_read_phylib(struct mii_bus *bus, int phy_id, int location) phy_id 325 drivers/net/ethernet/broadcom/b44.c int rc = __b44_readphy(bp, phy_id, location, &val); phy_id 331 drivers/net/ethernet/broadcom/b44.c static int b44_mdio_write_phylib(struct mii_bus *bus, int phy_id, int location, phy_id 335 drivers/net/ethernet/broadcom/b44.c return __b44_writephy(bp, phy_id, location, val); phy_id 2416 drivers/net/ethernet/broadcom/b44.c bp->mii_if.phy_id = bp->phy_addr; phy_id 860 drivers/net/ethernet/broadcom/bcm63xx_enet.c char phy_id[MII_BUS_ID_SIZE + 3]; phy_id 869 drivers/net/ethernet/broadcom/bcm63xx_enet.c snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, phy_id 870 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->mii_bus->id, priv->phy_id); phy_id 872 drivers/net/ethernet/broadcom/bcm63xx_enet.c phydev = phy_connect(dev, phy_id, bcm_enet_adjust_phy_link, phy_id 1596 drivers/net/ethernet/broadcom/bcm63xx_enet.c mii.phy_id = 0; phy_id 1749 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->phy_id = pd->phy_id; phy_id 1803 drivers/net/ethernet/broadcom/bcm63xx_enet.c bus->phy_mask = ~(1 << priv->phy_id); phy_id 1806 drivers/net/ethernet/broadcom/bcm63xx_enet.c bus->irq[priv->phy_id] = priv->phy_interrupt; phy_id 1928 drivers/net/ethernet/broadcom/bcm63xx_enet.c int ext, int phy_id, int location) phy_id 1937 drivers/net/ethernet/broadcom/bcm63xx_enet.c (phy_id << ENETSW_MDIOC_PHYID_SHIFT) | phy_id 1951 drivers/net/ethernet/broadcom/bcm63xx_enet.c int ext, int phy_id, int location, phy_id 1960 drivers/net/ethernet/broadcom/bcm63xx_enet.c (phy_id << ENETSW_MDIOC_PHYID_SHIFT) | phy_id 2002 drivers/net/ethernet/broadcom/bcm63xx_enet.c port->phy_id, MII_BMSR); phy_id 2026 drivers/net/ethernet/broadcom/bcm63xx_enet.c port->phy_id, MII_ADVERTISE); phy_id 2028 drivers/net/ethernet/broadcom/bcm63xx_enet.c lpa = bcmenet_sw_mdio_read(priv, external_phy, port->phy_id, phy_id 2042 drivers/net/ethernet/broadcom/bcm63xx_enet.c port->phy_id, MII_CTRL1000); phy_id 2045 drivers/net/ethernet/broadcom/bcm63xx_enet.c port->phy_id, MII_STAT1000); phy_id 2388 drivers/net/ethernet/broadcom/bcm63xx_enet.c static int bcm_enetsw_phy_is_external(struct bcm_enet_priv *priv, int phy_id) phy_id 2395 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (priv->used_ports[i].phy_id == phy_id) phy_id 2400 drivers/net/ethernet/broadcom/bcm63xx_enet.c phy_id); phy_id 2407 drivers/net/ethernet/broadcom/bcm63xx_enet.c static int bcm_enetsw_mii_mdio_read(struct net_device *dev, int phy_id, phy_id 2414 drivers/net/ethernet/broadcom/bcm63xx_enet.c bcm_enetsw_phy_is_external(priv, phy_id), phy_id 2415 drivers/net/ethernet/broadcom/bcm63xx_enet.c phy_id, location); phy_id 2421 drivers/net/ethernet/broadcom/bcm63xx_enet.c static void bcm_enetsw_mii_mdio_write(struct net_device *dev, int phy_id, phy_id 2428 drivers/net/ethernet/broadcom/bcm63xx_enet.c bcmenet_sw_mdio_write(priv, bcm_enetsw_phy_is_external(priv, phy_id), phy_id 2429 drivers/net/ethernet/broadcom/bcm63xx_enet.c phy_id, location, val); phy_id 2439 drivers/net/ethernet/broadcom/bcm63xx_enet.c mii.phy_id = 0; phy_id 282 drivers/net/ethernet/broadcom/bcm63xx_enet.h int phy_id; phy_id 198 drivers/net/ethernet/broadcom/bgmac-bcma.c (phydev->drv->phy_id & phydev->drv->phy_id_mask) == PHY_ID_BCM54210E) phy_id 2414 drivers/net/ethernet/broadcom/bnx2.c bp->phy_id = val << 16; phy_id 2416 drivers/net/ethernet/broadcom/bnx2.c bp->phy_id |= val & 0xffff; phy_id 7859 drivers/net/ethernet/broadcom/bnx2.c data->phy_id = bp->phy_addr; phy_id 6895 drivers/net/ethernet/broadcom/bnx2.h u32 phy_id; phy_id 12936 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c mdio->phy_id, mdio->reg_num, mdio->val_in); phy_id 9398 drivers/net/ethernet/broadcom/bnxt/bnxt.c mdio->phy_id = bp->link_info.phy_addr; phy_id 9407 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = bnxt_hwrm_port_phy_read(bp, mdio->phy_id, mdio->reg_num, phy_id 9417 drivers/net/ethernet/broadcom/bnxt/bnxt.c return bnxt_hwrm_port_phy_write(bp, mdio->phy_id, mdio->reg_num, phy_id 1422 drivers/net/ethernet/broadcom/tg3.c switch (phydev->drv->phy_id & phydev->drv->phy_id_mask) { phy_id 1578 drivers/net/ethernet/broadcom/tg3.c switch (phydev->drv->phy_id & phydev->drv->phy_id_mask) { phy_id 2187 drivers/net/ethernet/broadcom/tg3.c if ((tp->phy_id & TG3_PHY_ID_MASK) == TG3_PHY_ID_BCM5401) { phy_id 2746 drivers/net/ethernet/broadcom/tg3.c if ((tp->phy_id & TG3_PHY_ID_MASK) == TG3_PHY_ID_BCM5401) { phy_id 3018 drivers/net/ethernet/broadcom/tg3.c else if ((tp->phy_id & TG3_PHY_ID_MASK) == TG3_PHY_ID_BCM5411) { phy_id 4095 drivers/net/ethernet/broadcom/tg3.c phyid = phydev->drv->phy_id & phydev->drv->phy_id_mask; phy_id 4818 drivers/net/ethernet/broadcom/tg3.c if ((tp->phy_id & TG3_PHY_ID_MASK) == TG3_PHY_ID_BCM5401) { phy_id 4839 drivers/net/ethernet/broadcom/tg3.c if ((tp->phy_id & TG3_PHY_ID_REV_MASK) == phy_id 5047 drivers/net/ethernet/broadcom/tg3.c if ((tp->phy_id & TG3_PHY_ID_MASK) == TG3_PHY_ID_BCM5411 && phy_id 5754 drivers/net/ethernet/broadcom/tg3.c if (tp->phy_id == TG3_PHY_ID_BCM8002) phy_id 8279 drivers/net/ethernet/broadcom/tg3.c u32 masked_phy_id = tp->phy_id & TG3_PHY_ID_MASK; phy_id 14010 drivers/net/ethernet/broadcom/tg3.c data->phy_id = tp->phy_addr; phy_id 14023 drivers/net/ethernet/broadcom/tg3.c err = __tg3_readphy(tp, data->phy_id & 0x1f, phy_id 14040 drivers/net/ethernet/broadcom/tg3.c err = __tg3_writephy(tp, data->phy_id & 0x1f, phy_id 15068 drivers/net/ethernet/broadcom/tg3.c u32 phy_id; phy_id 15153 drivers/net/ethernet/broadcom/tg3.c tp->phy_id = TG3_PHY_ID_INVALID; phy_id 15217 drivers/net/ethernet/broadcom/tg3.c tp->phy_id = eeprom_phy_id; phy_id 15536 drivers/net/ethernet/broadcom/tg3.c tp->phy_id = hw_phy_id; phy_id 15542 drivers/net/ethernet/broadcom/tg3.c if (tp->phy_id != TG3_PHY_ID_INVALID) { phy_id 15554 drivers/net/ethernet/broadcom/tg3.c tp->phy_id = p->phy_id; phy_id 15566 drivers/net/ethernet/broadcom/tg3.c if (!tp->phy_id || phy_id 15567 drivers/net/ethernet/broadcom/tg3.c tp->phy_id == TG3_PHY_ID_BCM8002) phy_id 15621 drivers/net/ethernet/broadcom/tg3.c if ((tp->phy_id & TG3_PHY_ID_MASK) == TG3_PHY_ID_BCM5401) { phy_id 17522 drivers/net/ethernet/broadcom/tg3.c switch (tp->phy_id & TG3_PHY_ID_MASK) { phy_id 3281 drivers/net/ethernet/broadcom/tg3.h u32 phy_id; phy_id 2542 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c !mdio_phy_id_is_c45(data->phy_id) && phy_id 2543 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c (data->phy_id & 0x1f00) && phy_id 2544 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c !(data->phy_id & 0xe0e0)) phy_id 2545 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c data->phy_id = mdio_phy_id_c45(data->phy_id >> 8, phy_id 2546 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c data->phy_id & 0x1f); phy_id 2628 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c data->phy_id = pi->mdio_addr; phy_id 2632 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (mdio_phy_id_is_c45(data->phy_id)) { phy_id 2633 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c prtad = mdio_phy_id_prtad(data->phy_id); phy_id 2634 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c devad = mdio_phy_id_devad(data->phy_id); phy_id 2635 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c } else if (data->phy_id < 32) { phy_id 2636 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c prtad = data->phy_id; phy_id 185 drivers/net/ethernet/cirrus/ep93xx_eth.c static int ep93xx_mdio_read(struct net_device *dev, int phy_id, int reg) phy_id 191 drivers/net/ethernet/cirrus/ep93xx_eth.c wrl(ep, REG_MIICMD, REG_MIICMD_READ | (phy_id << 5) | reg); phy_id 209 drivers/net/ethernet/cirrus/ep93xx_eth.c static void ep93xx_mdio_write(struct net_device *dev, int phy_id, int reg, int data) phy_id 215 drivers/net/ethernet/cirrus/ep93xx_eth.c wrl(ep, REG_MIICMD, REG_MIICMD_WRITE | (phy_id << 5) | reg); phy_id 553 drivers/net/ethernet/cirrus/ep93xx_eth.c if ((ep93xx_mdio_read(dev, ep->mii.phy_id, MII_BMSR) & 0x0040) != 0) phy_id 837 drivers/net/ethernet/cirrus/ep93xx_eth.c ep->mii.phy_id = data->phy_id; phy_id 760 drivers/net/ethernet/davicom/dm9000.c lpa = mii->mdio_read(mii->dev, mii->phy_id, MII_LPA); phy_id 47 drivers/net/ethernet/dec/tulip/media.c int tulip_mdio_read(struct net_device *dev, int phy_id, int location) phy_id 51 drivers/net/ethernet/dec/tulip/media.c int read_cmd = (0xf6 << 10) | ((phy_id & 0x1f) << 5) | location; phy_id 60 drivers/net/ethernet/dec/tulip/media.c if (tp->chip_id == COMET && phy_id == 30) { phy_id 68 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); phy_id 109 drivers/net/ethernet/dec/tulip/media.c void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int val) phy_id 113 drivers/net/ethernet/dec/tulip/media.c int cmd = (0x5002 << 16) | ((phy_id & 0x1f) << 23) | (location<<18) | (val & 0xffff); phy_id 121 drivers/net/ethernet/dec/tulip/media.c if (tp->chip_id == COMET && phy_id == 30) { phy_id 498 drivers/net/ethernet/dec/tulip/tulip.h int tulip_mdio_read(struct net_device *dev, int phy_id, int location); phy_id 499 drivers/net/ethernet/dec/tulip/tulip.h void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int value); phy_id 919 drivers/net/ethernet/dec/tulip/tulip_core.c data->phy_id = phy; phy_id 921 drivers/net/ethernet/dec/tulip/tulip_core.c data->phy_id = 32; phy_id 923 drivers/net/ethernet/dec/tulip/tulip_core.c data->phy_id = 1; phy_id 929 drivers/net/ethernet/dec/tulip/tulip_core.c if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { phy_id 959 drivers/net/ethernet/dec/tulip/tulip_core.c data->val_out = tulip_mdio_read (dev, data->phy_id & 0x1f, regnum); phy_id 966 drivers/net/ethernet/dec/tulip/tulip_core.c if (data->phy_id == phy) { phy_id 980 drivers/net/ethernet/dec/tulip/tulip_core.c if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { phy_id 993 drivers/net/ethernet/dec/tulip/tulip_core.c tulip_mdio_write (dev, data->phy_id & 0x1f, regnum, data->val_in); phy_id 326 drivers/net/ethernet/dec/tulip/winbond-840.c static int mdio_read(struct net_device *dev, int phy_id, int location); phy_id 327 drivers/net/ethernet/dec/tulip/winbond-840.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value); phy_id 459 drivers/net/ethernet/dec/tulip/winbond-840.c np->mii_if.phy_id = np->phys[0]; phy_id 566 drivers/net/ethernet/dec/tulip/winbond-840.c static int mdio_read(struct net_device *dev, int phy_id, int location) phy_id 570 drivers/net/ethernet/dec/tulip/winbond-840.c int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; phy_id 596 drivers/net/ethernet/dec/tulip/winbond-840.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value) phy_id 600 drivers/net/ethernet/dec/tulip/winbond-840.c int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value; phy_id 603 drivers/net/ethernet/dec/tulip/winbond-840.c if (location == 4 && phy_id == np->phys[0]) phy_id 1456 drivers/net/ethernet/dec/tulip/winbond-840.c data->phy_id = ((struct netdev_private *)netdev_priv(dev))->phys[0] & 0x1f; phy_id 1461 drivers/net/ethernet/dec/tulip/winbond-840.c data->val_out = mdio_read(dev, data->phy_id & 0x1f, data->reg_num & 0x1f); phy_id 1467 drivers/net/ethernet/dec/tulip/winbond-840.c mdio_write(dev, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in); phy_id 1360 drivers/net/ethernet/dlink/dl2k.c miidata->phy_id = phy_addr; phy_id 429 drivers/net/ethernet/dlink/sundance.c static int mdio_read(struct net_device *dev, int phy_id, int location); phy_id 430 drivers/net/ethernet/dlink/sundance.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value); phy_id 632 drivers/net/ethernet/dlink/sundance.c np->mii_if.phy_id = np->phys[0]; phy_id 772 drivers/net/ethernet/dlink/sundance.c static int mdio_read(struct net_device *dev, int phy_id, int location) phy_id 776 drivers/net/ethernet/dlink/sundance.c int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; phy_id 802 drivers/net/ethernet/dlink/sundance.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value) phy_id 806 drivers/net/ethernet/dlink/sundance.c int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value; phy_id 833 drivers/net/ethernet/dlink/sundance.c int phy_id; phy_id 837 drivers/net/ethernet/dlink/sundance.c phy_id = np->phys[0]; phy_id 840 drivers/net/ethernet/dlink/sundance.c bmsr = mdio_read(dev, phy_id, MII_BMSR); phy_id 217 drivers/net/ethernet/ethoc.c s8 phy_id; phy_id 701 drivers/net/ethernet/ethoc.c if (priv->phy_id != -1) phy_id 702 drivers/net/ethernet/ethoc.c phy = mdiobus_get_phy(priv->mdio, priv->phy_id); phy_id 790 drivers/net/ethernet/ethoc.c if (mdio->phy_id >= PHY_MAX_ADDR) phy_id 793 drivers/net/ethernet/ethoc.c phy = mdiobus_get_phy(priv->mdio, mdio->phy_id); phy_id 1148 drivers/net/ethernet/ethoc.c priv->phy_id = pdata->phy_id; phy_id 1155 drivers/net/ethernet/ethoc.c priv->phy_id = -1; phy_id 752 drivers/net/ethernet/faraday/ftmac100.c static int ftmac100_mdio_read(struct net_device *netdev, int phy_id, int reg) phy_id 758 drivers/net/ethernet/faraday/ftmac100.c phycr = FTMAC100_PHYCR_PHYAD(phy_id) | phy_id 777 drivers/net/ethernet/faraday/ftmac100.c static void ftmac100_mdio_write(struct net_device *netdev, int phy_id, int reg, phy_id 784 drivers/net/ethernet/faraday/ftmac100.c phycr = FTMAC100_PHYCR_PHYAD(phy_id) | phy_id 1115 drivers/net/ethernet/faraday/ftmac100.c priv->mii.phy_id = 0; phy_id 424 drivers/net/ethernet/fealnx.c static int mdio_read(struct net_device *dev, int phy_id, int location); phy_id 425 drivers/net/ethernet/fealnx.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value); phy_id 624 drivers/net/ethernet/fealnx.c np->mii.phy_id = np->phys[0]; phy_id 2509 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c ((phy_dev->drv->phy_id & GENMASK(31, 10)) != PHY_VEND_AQUANTIA)) { phy_id 46 drivers/net/ethernet/freescale/enetc/enetc_mdio.c int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, u16 value) phy_id 71 drivers/net/ethernet/freescale/enetc/enetc_mdio.c mdio_ctl = MDIO_CTL_PORT_ADDR(phy_id) | MDIO_CTL_DEV_ADDR(dev_addr); phy_id 93 drivers/net/ethernet/freescale/enetc/enetc_mdio.c int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum) phy_id 117 drivers/net/ethernet/freescale/enetc/enetc_mdio.c mdio_ctl = MDIO_CTL_PORT_ADDR(phy_id) | MDIO_CTL_DEV_ADDR(dev_addr); phy_id 140 drivers/net/ethernet/freescale/enetc/enetc_mdio.c phy_id, dev_addr, regnum); phy_id 11 drivers/net/ethernet/freescale/enetc/enetc_mdio.h int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, u16 value); phy_id 12 drivers/net/ethernet/freescale/enetc/enetc_mdio.h int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum); phy_id 2004 drivers/net/ethernet/freescale/fec_main.c int phy_id; phy_id 2017 drivers/net/ethernet/freescale/fec_main.c for (phy_id = 0; (phy_id < PHY_MAX_ADDR); phy_id++) { phy_id 2018 drivers/net/ethernet/freescale/fec_main.c if (!mdiobus_is_registered_device(fep->mii_bus, phy_id)) phy_id 2026 drivers/net/ethernet/freescale/fec_main.c if (phy_id >= PHY_MAX_ADDR) { phy_id 2029 drivers/net/ethernet/freescale/fec_main.c phy_id = 0; phy_id 2033 drivers/net/ethernet/freescale/fec_main.c PHY_ID_FMT, mdio_bus_id, phy_id); phy_id 27 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c static int mpc52xx_fec_mdio_transfer(struct mii_bus *bus, int phy_id, phy_id 34 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c value |= (phy_id << FEC_MII_DATA_PA_SHIFT) & FEC_MII_DATA_PA_MSK; phy_id 51 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c static int mpc52xx_fec_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 53 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c return mpc52xx_fec_mdio_transfer(bus, phy_id, reg, FEC_MII_READ_FRAME); phy_id 56 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c static int mpc52xx_fec_mdio_write(struct mii_bus *bus, int phy_id, int reg, phy_id 59 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c return mpc52xx_fec_mdio_transfer(bus, phy_id, reg, phy_id 52 drivers/net/ethernet/freescale/fs_enet/mii-fec.c static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location) phy_id 61 drivers/net/ethernet/freescale/fs_enet/mii-fec.c out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_read(location)); phy_id 75 drivers/net/ethernet/freescale/fs_enet/mii-fec.c static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) phy_id 85 drivers/net/ethernet/freescale/fs_enet/mii-fec.c out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_write(location, val)); phy_id 129 drivers/net/ethernet/freescale/xgmac_mdio.c static int xgmac_mdio_write(struct mii_bus *bus, int phy_id, int regnum, u16 value) phy_id 156 drivers/net/ethernet/freescale/xgmac_mdio.c mdio_ctl = MDIO_CTL_PORT_ADDR(phy_id) | MDIO_CTL_DEV_ADDR(dev_addr); phy_id 183 drivers/net/ethernet/freescale/xgmac_mdio.c static int xgmac_mdio_read(struct mii_bus *bus, int phy_id, int regnum) phy_id 210 drivers/net/ethernet/freescale/xgmac_mdio.c mdio_ctl = MDIO_CTL_PORT_ADDR(phy_id) | MDIO_CTL_DEV_ADDR(dev_addr); phy_id 234 drivers/net/ethernet/freescale/xgmac_mdio.c phy_id, dev_addr, regnum); phy_id 854 drivers/net/ethernet/hisilicon/hisi_femac.c (unsigned long)phy->phy_id, phy_id 193 drivers/net/ethernet/hisilicon/hns_mdio.c u8 is_c45, u8 op, u8 phy_id, u16 cmd) phy_id 201 drivers/net/ethernet/hisilicon/hns_mdio.c (phy_id & MDIO_CMD_PRTAD_M) << MDIO_CMD_PRTAD_S; phy_id 218 drivers/net/ethernet/hisilicon/hns_mdio.c int phy_id, int regnum, u16 data) phy_id 231 drivers/net/ethernet/hisilicon/hns_mdio.c phy_id, is_c45, devad, reg, data); phy_id 249 drivers/net/ethernet/hisilicon/hns_mdio.c MDIO_C45_WRITE_ADDR, phy_id, devad); phy_id 266 drivers/net/ethernet/hisilicon/hns_mdio.c hns_mdio_cmd_write(mdio_dev, is_c45, op, phy_id, cmd_reg_cfg); phy_id 280 drivers/net/ethernet/hisilicon/hns_mdio.c static int hns_mdio_read(struct mii_bus *bus, int phy_id, int regnum) phy_id 292 drivers/net/ethernet/hisilicon/hns_mdio.c phy_id, is_c45, devad, reg); phy_id 303 drivers/net/ethernet/hisilicon/hns_mdio.c MDIO_C22_READ, phy_id, reg); phy_id 310 drivers/net/ethernet/hisilicon/hns_mdio.c MDIO_C45_WRITE_ADDR, phy_id, devad); phy_id 320 drivers/net/ethernet/hisilicon/hns_mdio.c MDIO_C45_READ, phy_id, devad); phy_id 2322 drivers/net/ethernet/ibm/emac/core.c data->phy_id = dev->phy.address; phy_id 2644 drivers/net/ethernet/ibm/emac/core.c dev->phy.def->phy_id = dev->phy_dev->drv->phy_id; phy_id 288 drivers/net/ethernet/ibm/emac/phy.c .phy_id = 0x00000000, phy_id 353 drivers/net/ethernet/ibm/emac/phy.c .phy_id = 0x000fc410, phy_id 361 drivers/net/ethernet/ibm/emac/phy.c .phy_id = 0x0143bc00, phy_id 433 drivers/net/ethernet/ibm/emac/phy.c .phy_id = 0x0282f000, phy_id 453 drivers/net/ethernet/ibm/emac/phy.c .phy_id = 0x01410CC0, phy_id 468 drivers/net/ethernet/ibm/emac/phy.c .phy_id = 0x01410C90, phy_id 493 drivers/net/ethernet/ibm/emac/phy.c .phy_id = 0x004dd070, phy_id 530 drivers/net/ethernet/ibm/emac/phy.c if ((id & def->phy_id_mask) == def->phy_id) phy_id 39 drivers/net/ethernet/ibm/emac/phy.h u32 phy_id; /* Concatenated ID1 << 16 | ID2 */ phy_id 967 drivers/net/ethernet/intel/e100.c u16 advert = mdio_read(nic->netdev, nic->mii.phy_id, phy_id 1417 drivers/net/ethernet/intel/e100.c nic->mii.phy_id = 0; /* is this ok for an MII-less PHY? */ phy_id 1445 drivers/net/ethernet/intel/e100.c nic->mii.phy_id = (addr == 0) ? 1 : (addr == 1) ? 0 : addr; phy_id 1446 drivers/net/ethernet/intel/e100.c bmcr = mdio_read(netdev, nic->mii.phy_id, MII_BMCR); phy_id 1447 drivers/net/ethernet/intel/e100.c stat = mdio_read(netdev, nic->mii.phy_id, MII_BMSR); phy_id 1448 drivers/net/ethernet/intel/e100.c stat = mdio_read(netdev, nic->mii.phy_id, MII_BMSR); phy_id 1467 drivers/net/ethernet/intel/e100.c "phy_addr = %d\n", nic->mii.phy_id); phy_id 1470 drivers/net/ethernet/intel/e100.c id_lo = mdio_read(netdev, nic->mii.phy_id, MII_PHYSID1); phy_id 1471 drivers/net/ethernet/intel/e100.c id_hi = mdio_read(netdev, nic->mii.phy_id, MII_PHYSID2); phy_id 1478 drivers/net/ethernet/intel/e100.c if (addr != nic->mii.phy_id) { phy_id 1492 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, MII_BMCR, phy_id 1499 drivers/net/ethernet/intel/e100.c cong = mdio_read(netdev, nic->mii.phy_id, MII_NSC_CONG); phy_id 1502 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, MII_NSC_CONG, cong); phy_id 1506 drivers/net/ethernet/intel/e100.c u16 advert = mdio_read(netdev, nic->mii.phy_id, MII_ADVERTISE); phy_id 1513 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, MII_ADVERTISE, advert); phy_id 1516 drivers/net/ethernet/intel/e100.c bmcr = mdio_read(netdev, nic->mii.phy_id, MII_BMCR); phy_id 1518 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, MII_BMCR, bmcr); phy_id 1520 drivers/net/ethernet/intel/e100.c (mdio_read(netdev, nic->mii.phy_id, MII_TPISTATUS) & 0x8000) && phy_id 1523 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, MII_NCONFIG, phy_id 2368 drivers/net/ethernet/intel/e100.c mdio_write(nic->netdev, nic->mii.phy_id, MII_BMCR, phy_id 2391 drivers/net/ethernet/intel/e100.c mdio_write(nic->netdev, nic->mii.phy_id, MII_BMCR, 0); phy_id 2421 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, MII_BMCR, BMCR_RESET); phy_id 2458 drivers/net/ethernet/intel/e100.c mdio_read(netdev, nic->mii.phy_id, i); phy_id 2659 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, led_reg, leds); phy_id 3005 drivers/net/ethernet/intel/e100.c u16 smartspeed = mdio_read(netdev, nic->mii.phy_id, phy_id 3008 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, phy_id 3051 drivers/net/ethernet/intel/e100.c u16 smartspeed = mdio_read(netdev, nic->mii.phy_id, phy_id 3054 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, phy_id 96 drivers/net/ethernet/intel/e1000/e1000_hw.c switch (hw->phy_id) { phy_id 1033 drivers/net/ethernet/intel/e1000/e1000_hw.c e_dbg("Phy ID = %x\n", hw->phy_id); phy_id 1269 drivers/net/ethernet/intel/e1000/e1000_hw.c (hw->phy_id == M88E1111_I_PHY_ID)) { phy_id 3147 drivers/net/ethernet/intel/e1000/e1000_hw.c if (hw->phy_id != 0) phy_id 3155 drivers/net/ethernet/intel/e1000/e1000_hw.c hw->phy_id = (u32)(phy_id_high << 16); phy_id 3161 drivers/net/ethernet/intel/e1000/e1000_hw.c hw->phy_id |= (u32)(phy_id_low & PHY_REVISION_MASK); phy_id 3166 drivers/net/ethernet/intel/e1000/e1000_hw.c if (hw->phy_id == M88E1000_E_PHY_ID) phy_id 3170 drivers/net/ethernet/intel/e1000/e1000_hw.c if (hw->phy_id == M88E1000_I_PHY_ID) phy_id 3178 drivers/net/ethernet/intel/e1000/e1000_hw.c if (hw->phy_id == M88E1011_I_PHY_ID) phy_id 3182 drivers/net/ethernet/intel/e1000/e1000_hw.c if ((hw->phy_id == RTL8211B_PHY_ID) || phy_id 3183 drivers/net/ethernet/intel/e1000/e1000_hw.c (hw->phy_id == RTL8201N_PHY_ID) || phy_id 3184 drivers/net/ethernet/intel/e1000/e1000_hw.c (hw->phy_id == M88E1118_E_PHY_ID)) phy_id 3191 drivers/net/ethernet/intel/e1000/e1000_hw.c if (hw->phy_id == IGP01E1000_I_PHY_ID) phy_id 3201 drivers/net/ethernet/intel/e1000/e1000_hw.c e_dbg("PHY ID 0x%X detected\n", hw->phy_id); phy_id 3204 drivers/net/ethernet/intel/e1000/e1000_hw.c e_dbg("Invalid PHY ID 0x%X\n", hw->phy_id); phy_id 1348 drivers/net/ethernet/intel/e1000/e1000_hw.h u32 phy_id; phy_id 4757 drivers/net/ethernet/intel/e1000/e1000_main.c data->phy_id = hw->phy_addr; phy_id 392 drivers/net/ethernet/intel/e1000e/82571.c u16 phy_id = 0; phy_id 408 drivers/net/ethernet/intel/e1000e/82571.c ret_val = e1e_rphy(hw, MII_PHYSID1, &phy_id); phy_id 412 drivers/net/ethernet/intel/e1000e/82571.c phy->id = (u32)(phy_id << 16); phy_id 414 drivers/net/ethernet/intel/e1000e/82571.c ret_val = e1e_rphy(hw, MII_PHYSID2, &phy_id); phy_id 418 drivers/net/ethernet/intel/e1000e/82571.c phy->id |= (u32)(phy_id); phy_id 419 drivers/net/ethernet/intel/e1000e/82571.c phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); phy_id 179 drivers/net/ethernet/intel/e1000e/ich8lan.c u32 phy_id = 0; phy_id 188 drivers/net/ethernet/intel/e1000e/ich8lan.c phy_id = (u32)(phy_reg << 16); phy_id 192 drivers/net/ethernet/intel/e1000e/ich8lan.c phy_id = 0; phy_id 195 drivers/net/ethernet/intel/e1000e/ich8lan.c phy_id |= (u32)(phy_reg & PHY_REVISION_MASK); phy_id 200 drivers/net/ethernet/intel/e1000e/ich8lan.c if (hw->phy.id == phy_id) phy_id 202 drivers/net/ethernet/intel/e1000e/ich8lan.c } else if (phy_id) { phy_id 203 drivers/net/ethernet/intel/e1000e/ich8lan.c hw->phy.id = phy_id; phy_id 6090 drivers/net/ethernet/intel/e1000e/netdev.c data->phy_id = adapter->hw.phy.addr; phy_id 63 drivers/net/ethernet/intel/e1000e/phy.c u16 phy_id; phy_id 70 drivers/net/ethernet/intel/e1000e/phy.c ret_val = e1e_rphy(hw, MII_PHYSID1, &phy_id); phy_id 74 drivers/net/ethernet/intel/e1000e/phy.c phy->id = (u32)(phy_id << 16); phy_id 76 drivers/net/ethernet/intel/e1000e/phy.c ret_val = e1e_rphy(hw, MII_PHYSID2, &phy_id); phy_id 80 drivers/net/ethernet/intel/e1000e/phy.c phy->id |= (u32)(phy_id & PHY_REVISION_MASK); phy_id 81 drivers/net/ethernet/intel/e1000e/phy.c phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); phy_id 2225 drivers/net/ethernet/intel/e1000e/phy.c enum e1000_phy_type e1000e_get_phy_type_from_id(u32 phy_id) phy_id 2229 drivers/net/ethernet/intel/e1000e/phy.c switch (phy_id) { phy_id 44 drivers/net/ethernet/intel/e1000e/phy.h enum e1000_phy_type e1000e_get_phy_type_from_id(u32 phy_id); phy_id 2016 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 phy_id[4]; phy_id 827 drivers/net/ethernet/intel/igb/e1000_82575.c u16 phy_id; phy_id 882 drivers/net/ethernet/intel/igb/e1000_82575.c ret_val = igb_read_phy_reg_sgmii_82575(hw, PHY_ID1, &phy_id); phy_id 885 drivers/net/ethernet/intel/igb/e1000_82575.c phy_id, phy->addr); phy_id 889 drivers/net/ethernet/intel/igb/e1000_82575.c if (phy_id == M88_VENDOR) phy_id 58 drivers/net/ethernet/intel/igb/e1000_phy.c u16 phy_id; phy_id 64 drivers/net/ethernet/intel/igb/e1000_phy.c ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); phy_id 68 drivers/net/ethernet/intel/igb/e1000_phy.c phy->id = (u32)(phy_id << 16); phy_id 70 drivers/net/ethernet/intel/igb/e1000_phy.c ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); phy_id 74 drivers/net/ethernet/intel/igb/e1000_phy.c phy->id |= (u32)(phy_id & PHY_REVISION_MASK); phy_id 75 drivers/net/ethernet/intel/igb/e1000_phy.c phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); phy_id 8525 drivers/net/ethernet/intel/igb/igb_main.c data->phy_id = adapter->hw.phy.addr; phy_id 35 drivers/net/ethernet/intel/igc/igc_phy.c u16 phy_id; phy_id 37 drivers/net/ethernet/intel/igc/igc_phy.c ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); phy_id 41 drivers/net/ethernet/intel/igc/igc_phy.c phy->id = (u32)(phy_id << 16); phy_id 43 drivers/net/ethernet/intel/igc/igc_phy.c ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); phy_id 47 drivers/net/ethernet/intel/igc/igc_phy.c phy->id |= (u32)(phy_id & PHY_REVISION_MASK); phy_id 48 drivers/net/ethernet/intel/igc/igc_phy.c phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); phy_id 643 drivers/net/ethernet/intel/ixgb/ixgb_hw.h u32 phy_id; /* Phy Identifier */ phy_id 24 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c static enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id); phy_id 360 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c static enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id) phy_id 364 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c switch (phy_id) { phy_id 104 drivers/net/ethernet/jme.c jme->mii_if.phy_id, phy_id 110 drivers/net/ethernet/jme.c jme->mii_if.phy_id, phy_id 115 drivers/net/ethernet/jme.c jme->mii_if.phy_id, phy_id 119 drivers/net/ethernet/jme.c jme->mii_if.phy_id, phy_id 389 drivers/net/ethernet/jme.c phylink = jme_mdio_read(jme->dev, jme->mii_if.phy_id, 17); phy_id 390 drivers/net/ethernet/jme.c bmsr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMSR); phy_id 400 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, 27, 0x0004); phy_id 406 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, 27, 0x0000); phy_id 433 drivers/net/ethernet/jme.c jme->mii_if.phy_id, phy_id 1614 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMCR); phy_id 1616 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_BMCR, bmcr); phy_id 1701 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMCR); phy_id 1703 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_BMCR, bmcr); phy_id 1714 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMCR); phy_id 1716 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_BMCR, bmcr); phy_id 1728 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, JM_PHY_SPEC_ADDR_REG, phy_id 1730 drivers/net/ethernet/jme.c return jme_mdio_read(jme->dev, jme->mii_if.phy_id, phy_id 1740 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, JM_PHY_SPEC_DATA_REG, phy_id 1742 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, JM_PHY_SPEC_ADDR_REG, phy_id 1754 drivers/net/ethernet/jme.c ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); phy_id 1757 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); phy_id 1772 drivers/net/ethernet/jme.c ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); phy_id 1774 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); phy_id 1875 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMCR); phy_id 1881 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_BMCR, tmp); phy_id 2388 drivers/net/ethernet/jme.c p16[i] = jme_mdio_read(jme->dev, jme->mii_if.phy_id, i); phy_id 2491 drivers/net/ethernet/jme.c val = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_ADVERTISE); phy_id 2530 drivers/net/ethernet/jme.c val = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_ADVERTISE); phy_id 2539 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, phy_id 2892 drivers/net/ethernet/jme.c reg26 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, 26); phy_id 2893 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, 26, reg26 | 0x1000); phy_id 3083 drivers/net/ethernet/jme.c jme->mii_if.phy_id = 0; phy_id 3088 drivers/net/ethernet/jme.c jme->mii_if.phy_id = i; phy_id 3093 drivers/net/ethernet/jme.c if (!jme->mii_if.phy_id) { phy_id 3101 drivers/net/ethernet/jme.c jme->mii_if.phy_id = 1; phy_id 1096 drivers/net/ethernet/korina.c lp->mii_if.phy_id = lp->phy_addr; phy_id 2982 drivers/net/ethernet/marvell/mv643xx_eth.c char phy_id[MII_BUS_ID_SIZE + 3]; phy_id 2997 drivers/net/ethernet/marvell/mv643xx_eth.c snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, phy_id 3000 drivers/net/ethernet/marvell/mv643xx_eth.c phydev = phy_connect(mp->dev, phy_id, mv643xx_eth_adjust_link, phy_id 2448 drivers/net/ethernet/marvell/skge.c data->phy_id = hw->phy_addr; phy_id 1376 drivers/net/ethernet/marvell/sky2.c data->phy_id = PHY_ADDR_MARV; phy_id 1506 drivers/net/ethernet/micrel/ks8851.c ks->mii.phy_id = 1, phy_id 1286 drivers/net/ethernet/micrel/ks8851_mll.c ks->mii.phy_id = 1, phy_id 5839 drivers/net/ethernet/micrel/ksz884x.c data->phy_id = priv->id; phy_id 5845 drivers/net/ethernet/micrel/ksz884x.c if (data->phy_id != priv->id || data->reg_num >= 6) phy_id 5856 drivers/net/ethernet/micrel/ksz884x.c else if (data->phy_id != priv->id || data->reg_num >= 6) phy_id 5886 drivers/net/ethernet/micrel/ksz884x.c static int mdio_read(struct net_device *dev, int phy_id, int reg_num) phy_id 5906 drivers/net/ethernet/micrel/ksz884x.c static void mdio_write(struct net_device *dev, int phy_id, int reg_num, int val) phy_id 6803 drivers/net/ethernet/micrel/ksz884x.c priv->mii_if.phy_id = priv->port.first_port + 1; phy_id 729 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_mdiobus_read(struct mii_bus *bus, int phy_id, int index) phy_id 741 drivers/net/ethernet/microchip/lan743x_main.c mii_access = lan743x_mac_mii_access(phy_id, index, MAC_MII_READ); phy_id 752 drivers/net/ethernet/microchip/lan743x_main.c int phy_id, int index, u16 regval) phy_id 766 drivers/net/ethernet/microchip/lan743x_main.c mii_access = lan743x_mac_mii_access(phy_id, index, MAC_MII_WRITE); phy_id 603 drivers/net/ethernet/natsemi/natsemi.c static int miiport_read(struct net_device *dev, int phy_id, int reg); phy_id 604 drivers/net/ethernet/natsemi/natsemi.c static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data); phy_id 1080 drivers/net/ethernet/natsemi/natsemi.c static int miiport_read(struct net_device *dev, int phy_id, int reg) phy_id 1090 drivers/net/ethernet/natsemi/natsemi.c cmd = (0x06 << 10) | (phy_id << 5) | reg; phy_id 1105 drivers/net/ethernet/natsemi/natsemi.c static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data) phy_id 1113 drivers/net/ethernet/natsemi/natsemi.c cmd = (0x5002 << 16) | (phy_id << 23) | (reg << 18) | data; phy_id 3083 drivers/net/ethernet/natsemi/natsemi.c data->phy_id = np->phy_addr_external; phy_id 3092 drivers/net/ethernet/natsemi/natsemi.c if ((data->phy_id & 0x1f) == np->phy_addr_external) phy_id 3098 drivers/net/ethernet/natsemi/natsemi.c move_int_phy(dev, data->phy_id & 0x1f); phy_id 3099 drivers/net/ethernet/natsemi/natsemi.c data->val_out = miiport_read(dev, data->phy_id & 0x1f, phy_id 3106 drivers/net/ethernet/natsemi/natsemi.c if ((data->phy_id & 0x1f) == np->phy_addr_external) { phy_id 3113 drivers/net/ethernet/natsemi/natsemi.c if ((data->phy_id & 0x1f) == np->phy_addr_external) { phy_id 3117 drivers/net/ethernet/natsemi/natsemi.c move_int_phy(dev, data->phy_id & 0x1f); phy_id 3118 drivers/net/ethernet/natsemi/natsemi.c miiport_write(dev, data->phy_id & 0x1f, phy_id 1095 drivers/net/ethernet/ni/nixge.c static int nixge_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 1108 drivers/net/ethernet/ni/nixge.c | NIXGE_MDIO_ADDR(phy_id) | NIXGE_MDIO_MMD(device); phy_id 1121 drivers/net/ethernet/ni/nixge.c NIXGE_MDIO_ADDR(phy_id) | NIXGE_MDIO_MMD(device); phy_id 1126 drivers/net/ethernet/ni/nixge.c NIXGE_MDIO_ADDR(phy_id) | NIXGE_MDIO_MMD(device); phy_id 1144 drivers/net/ethernet/ni/nixge.c static int nixge_mdio_write(struct mii_bus *bus, int phy_id, int reg, u16 val) phy_id 1157 drivers/net/ethernet/ni/nixge.c | NIXGE_MDIO_ADDR(phy_id) | NIXGE_MDIO_MMD(device); phy_id 1170 drivers/net/ethernet/ni/nixge.c | NIXGE_MDIO_ADDR(phy_id) | NIXGE_MDIO_MMD(device); phy_id 1183 drivers/net/ethernet/ni/nixge.c NIXGE_MDIO_ADDR(phy_id) | NIXGE_MDIO_MMD(device); phy_id 668 drivers/net/ethernet/nxp/lpc_eth.c static int lpc_mdio_read(struct mii_bus *bus, int phy_id, int phyreg) phy_id 674 drivers/net/ethernet/nxp/lpc_eth.c writel(((phy_id << 8) | phyreg), LPC_ENET_MADR(pldat->net_base)); phy_id 690 drivers/net/ethernet/nxp/lpc_eth.c static int lpc_mdio_write(struct mii_bus *bus, int phy_id, int phyreg, phy_id 696 drivers/net/ethernet/nxp/lpc_eth.c writel(((phy_id << 8) | phyreg), LPC_ENET_MADR(pldat->net_base)); phy_id 611 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c adapter->mii.phy_id = (addr == 0) ? 1 : (addr == 1) ? 0 : addr; phy_id 612 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c bmcr = pch_gbe_mdio_read(netdev, adapter->mii.phy_id, MII_BMCR); phy_id 613 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c stat = pch_gbe_mdio_read(netdev, adapter->mii.phy_id, MII_BMSR); phy_id 614 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c stat = pch_gbe_mdio_read(netdev, adapter->mii.phy_id, MII_BMSR); phy_id 618 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c adapter->hw.phy.addr = adapter->mii.phy_id; phy_id 619 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c netdev_dbg(netdev, "phy_addr = %d\n", adapter->mii.phy_id); phy_id 624 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (addr != adapter->mii.phy_id) { phy_id 546 drivers/net/ethernet/packetengines/hamachi.c static int mdio_read(struct net_device *dev, int phy_id, int location); phy_id 547 drivers/net/ethernet/packetengines/hamachi.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value); phy_id 763 drivers/net/ethernet/packetengines/hamachi.c hmp->mii_if.phy_id = hmp->phys[0]; phy_id 811 drivers/net/ethernet/packetengines/hamachi.c static int mdio_read(struct net_device *dev, int phy_id, int location) phy_id 821 drivers/net/ethernet/packetengines/hamachi.c writew((phy_id<<8) + location, ioaddr + MII_Addr); phy_id 829 drivers/net/ethernet/packetengines/hamachi.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value) phy_id 839 drivers/net/ethernet/packetengines/hamachi.c writew((phy_id<<8) + location, ioaddr + MII_Addr); phy_id 342 drivers/net/ethernet/packetengines/yellowfin.c static int mdio_read(void __iomem *ioaddr, int phy_id, int location); phy_id 343 drivers/net/ethernet/packetengines/yellowfin.c static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value); phy_id 538 drivers/net/ethernet/packetengines/yellowfin.c static int mdio_read(void __iomem *ioaddr, int phy_id, int location) phy_id 542 drivers/net/ethernet/packetengines/yellowfin.c iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); phy_id 550 drivers/net/ethernet/packetengines/yellowfin.c static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value) phy_id 554 drivers/net/ethernet/packetengines/yellowfin.c iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); phy_id 1345 drivers/net/ethernet/packetengines/yellowfin.c data->phy_id = np->phys[0] & 0x1f; phy_id 1349 drivers/net/ethernet/packetengines/yellowfin.c data->val_out = mdio_read(ioaddr, data->phy_id & 0x1f, data->reg_num & 0x1f); phy_id 1353 drivers/net/ethernet/packetengines/yellowfin.c if (data->phy_id == np->phys[0]) { phy_id 1366 drivers/net/ethernet/packetengines/yellowfin.c mdio_write(ioaddr, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in); phy_id 3807 drivers/net/ethernet/qlogic/qed/qed_debug.c u8 phy_id; phy_id 3809 drivers/net/ethernet/qlogic/qed/qed_debug.c for (phy_id = 0; phy_id < ARRAY_SIZE(s_phy_defs); phy_id++) { phy_id 3814 drivers/net/ethernet/qlogic/qed/qed_debug.c phy_defs = &s_phy_defs[phy_id]; phy_id 1303 drivers/net/ethernet/realtek/8139cp.c static int mdio_read(struct net_device *dev, int phy_id, int location) phy_id 1312 drivers/net/ethernet/realtek/8139cp.c static void mdio_write(struct net_device *dev, int phy_id, int location, phy_id 1916 drivers/net/ethernet/realtek/8139cp.c cp->mii_if.phy_id = CP_INTERNAL_PHY; phy_id 641 drivers/net/ethernet/realtek/8139too.c static int mdio_read (struct net_device *dev, int phy_id, int location); phy_id 642 drivers/net/ethernet/realtek/8139too.c static void mdio_write (struct net_device *dev, int phy_id, int location, phy_id 1074 drivers/net/ethernet/realtek/8139too.c tp->mii.phy_id = tp->phys[0]; phy_id 1233 drivers/net/ethernet/realtek/8139too.c static int mdio_read (struct net_device *dev, int phy_id, int location) phy_id 1239 drivers/net/ethernet/realtek/8139too.c int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; phy_id 1243 drivers/net/ethernet/realtek/8139too.c if (phy_id > 31) { /* Really a 8139. Use internal registers. */ phy_id 1275 drivers/net/ethernet/realtek/8139too.c static void mdio_write (struct net_device *dev, int phy_id, int location, phy_id 1281 drivers/net/ethernet/realtek/8139too.c int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location << 18) | value; phy_id 1285 drivers/net/ethernet/realtek/8139too.c if (phy_id > 31) { /* Really a 8139. Use internal registers. */ phy_id 2047 drivers/net/ethernet/renesas/sh_eth.c char phy_id[MII_BUS_ID_SIZE + 3]; phy_id 2049 drivers/net/ethernet/renesas/sh_eth.c snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, phy_id 2050 drivers/net/ethernet/renesas/sh_eth.c mdp->mii_bus->id, mdp->phy_id); phy_id 2052 drivers/net/ethernet/renesas/sh_eth.c phydev = phy_connect(ndev, phy_id, sh_eth_adjust_link, phy_id 3288 drivers/net/ethernet/renesas/sh_eth.c mdp->phy_id = pd->phy; phy_id 535 drivers/net/ethernet/renesas/sh_eth.h u32 phy_id; /* PHY ID */ phy_id 300 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c if (phydev->phy_id == 0) { phy_id 306 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c __func__, phydev->phy_id, phydev->link); phy_id 215 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c phy->phy_id, phy_addr, irq_str, phy_id 2162 drivers/net/ethernet/sfc/efx.c (data->phy_id & 0xfc00) == 0x0400) phy_id 2163 drivers/net/ethernet/sfc/efx.c data->phy_id ^= MDIO_PHY_ID_C45 | 0x0400; phy_id 2007 drivers/net/ethernet/sfc/falcon/efx.c (data->phy_id & 0xfc00) == 0x0400) phy_id 2008 drivers/net/ethernet/sfc/falcon/efx.c data->phy_id ^= MDIO_PHY_ID_C45 | 0x0400; phy_id 784 drivers/net/ethernet/sgi/ioc3-eth.c ip->mii.phy_id = -1; phy_id 790 drivers/net/ethernet/sgi/ioc3-eth.c ip->mii.phy_id = i; phy_id 1275 drivers/net/ethernet/sgi/ioc3-eth.c if (ip->mii.phy_id == -1) { phy_id 1293 drivers/net/ethernet/sgi/ioc3-eth.c sw_physid1 = ioc3_mdio_read(dev, ip->mii.phy_id, MII_PHYSID1); phy_id 1294 drivers/net/ethernet/sgi/ioc3-eth.c sw_physid2 = ioc3_mdio_read(dev, ip->mii.phy_id, MII_PHYSID2); phy_id 1307 drivers/net/ethernet/sgi/ioc3-eth.c ip->mii.phy_id, vendor, model, rev); phy_id 297 drivers/net/ethernet/sis/sis190.c int phy_id; phy_id 383 drivers/net/ethernet/sis/sis190.c static void mdio_write(void __iomem *ioaddr, int phy_id, int reg, int val) phy_id 386 drivers/net/ethernet/sis/sis190.c (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift) | phy_id 390 drivers/net/ethernet/sis/sis190.c static int mdio_read(void __iomem *ioaddr, int phy_id, int reg) phy_id 393 drivers/net/ethernet/sis/sis190.c (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift)); phy_id 398 drivers/net/ethernet/sis/sis190.c static void __mdio_write(struct net_device *dev, int phy_id, int reg, int val) phy_id 402 drivers/net/ethernet/sis/sis190.c mdio_write(tp->mmio_addr, phy_id, reg, val); phy_id 405 drivers/net/ethernet/sis/sis190.c static int __mdio_read(struct net_device *dev, int phy_id, int reg) phy_id 409 drivers/net/ethernet/sis/sis190.c return mdio_read(tp->mmio_addr, phy_id, reg); phy_id 412 drivers/net/ethernet/sis/sis190.c static u16 mdio_read_latched(void __iomem *ioaddr, int phy_id, int reg) phy_id 414 drivers/net/ethernet/sis/sis190.c mdio_read(ioaddr, phy_id, reg); phy_id 415 drivers/net/ethernet/sis/sis190.c return mdio_read(ioaddr, phy_id, reg); phy_id 919 drivers/net/ethernet/sis/sis190.c int phy_id = tp->mii_if.phy_id; phy_id 927 drivers/net/ethernet/sis/sis190.c val = mdio_read(ioaddr, phy_id, MII_BMCR); phy_id 934 drivers/net/ethernet/sis/sis190.c val = mdio_read_latched(ioaddr, phy_id, MII_BMSR); phy_id 962 drivers/net/ethernet/sis/sis190.c val = mdio_read(ioaddr, phy_id, 0x1f); phy_id 965 drivers/net/ethernet/sis/sis190.c val = mdio_read(ioaddr, phy_id, MII_LPA); phy_id 966 drivers/net/ethernet/sis/sis190.c adv = mdio_read(ioaddr, phy_id, MII_ADVERTISE); phy_id 967 drivers/net/ethernet/sis/sis190.c autoexp = mdio_read(ioaddr, phy_id, MII_EXPANSION); phy_id 973 drivers/net/ethernet/sis/sis190.c gigadv = mdio_read(ioaddr, phy_id, MII_CTRL1000); phy_id 974 drivers/net/ethernet/sis/sis190.c gigrec = mdio_read(ioaddr, phy_id, MII_STAT1000); phy_id 995 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, 0x18, 0xf1c7); phy_id 997 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, 0x1c, 0x8c00); phy_id 1271 drivers/net/ethernet/sis/sis190.c status = mdio_read_latched(ioaddr, phy->phy_id, MII_BMSR); phy_id 1279 drivers/net/ethernet/sis/sis190.c status = mdio_read(ioaddr, phy->phy_id, MII_BMCR); phy_id 1280 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy->phy_id, MII_BMCR, phy_id 1299 drivers/net/ethernet/sis/sis190.c if (mii_if->phy_id != phy_default->phy_id) { phy_id 1300 drivers/net/ethernet/sis/sis190.c mii_if->phy_id = phy_default->phy_id; phy_id 1303 drivers/net/ethernet/sis/sis190.c pci_name(tp->pci_dev), mii_if->phy_id); phy_id 1306 drivers/net/ethernet/sis/sis190.c status = mdio_read(ioaddr, mii_if->phy_id, MII_BMCR); phy_id 1309 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, mii_if->phy_id, MII_BMCR, status); phy_id 1310 drivers/net/ethernet/sis/sis190.c status = mdio_read_latched(ioaddr, mii_if->phy_id, MII_BMSR); phy_id 1316 drivers/net/ethernet/sis/sis190.c struct sis190_phy *phy, unsigned int phy_id, phy_id 1324 drivers/net/ethernet/sis/sis190.c phy->phy_id = phy_id; phy_id 1326 drivers/net/ethernet/sis/sis190.c phy->id[0] = mdio_read(ioaddr, phy_id, MII_PHYSID1); phy_id 1327 drivers/net/ethernet/sis/sis190.c phy->id[1] = mdio_read(ioaddr, phy_id, MII_PHYSID2); phy_id 1343 drivers/net/ethernet/sis/sis190.c pci_name(tp->pci_dev), p->name, phy_id); phy_id 1349 drivers/net/ethernet/sis/sis190.c phy->id[0], (phy->id[1] & 0xfff0), phy_id); phy_id 1357 drivers/net/ethernet/sis/sis190.c int phy_id = tp->mii_if.phy_id; phy_id 1365 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, 0x1b, p[0]); phy_id 1367 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, 0x14, p[1]); phy_id 1385 drivers/net/ethernet/sis/sis190.c int phy_id; phy_id 1390 drivers/net/ethernet/sis/sis190.c for (phy_id = 0; phy_id < PHY_MAX_ADDR; phy_id++) { phy_id 1394 drivers/net/ethernet/sis/sis190.c status = mdio_read_latched(ioaddr, phy_id, MII_BMSR); phy_id 1407 drivers/net/ethernet/sis/sis190.c sis190_init_phy(dev, tp, phy, phy_id, status); phy_id 1714 drivers/net/ethernet/sis/sis190.c int phy_id = tp->mii_if.phy_id; phy_id 1719 drivers/net/ethernet/sis/sis190.c val = mdio_read(ioaddr, phy_id, MII_ADVERTISE); phy_id 1723 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, MII_ADVERTISE, (val & ADVERTISE_SLCT) | phy_id 1728 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, MII_CTRL1000, ADVERTISE_1000FULL); phy_id 1731 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, MII_BMCR, phy_id 221 drivers/net/ethernet/sis/sis900.c static int mdio_read(struct net_device *net_dev, int phy_id, int location); phy_id 222 drivers/net/ethernet/sis/sis900.c static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val); phy_id 765 drivers/net/ethernet/sis/sis900.c sis_priv->mii_info.phy_id = sis_priv->cur_phy; phy_id 896 drivers/net/ethernet/sis/sis900.c static int mdio_read(struct net_device *net_dev, int phy_id, int location) phy_id 898 drivers/net/ethernet/sis/sis900.c int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift); phy_id 941 drivers/net/ethernet/sis/sis900.c static void mdio_write(struct net_device *net_dev, int phy_id, int location, phy_id 944 drivers/net/ethernet/sis/sis900.c int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift); phy_id 2221 drivers/net/ethernet/sis/sis900.c data->phy_id = sis_priv->mii->phy_addr; phy_id 2225 drivers/net/ethernet/sis/sis900.c data->val_out = mdio_read(net_dev, data->phy_id & 0x1f, data->reg_num & 0x1f); phy_id 2229 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in); phy_id 290 drivers/net/ethernet/smsc/epic100.c static int mdio_read(struct net_device *dev, int phy_id, int location); phy_id 291 drivers/net/ethernet/smsc/epic100.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int val); phy_id 461 drivers/net/ethernet/smsc/epic100.c ep->mii.phy_id = ep->phys[0]; phy_id 600 drivers/net/ethernet/smsc/epic100.c static int mdio_read(struct net_device *dev, int phy_id, int location) phy_id 604 drivers/net/ethernet/smsc/epic100.c int read_cmd = (phy_id << 9) | (location << 4) | MII_READOP; phy_id 613 drivers/net/ethernet/smsc/epic100.c if (phy_id == 1 && location < 6 && phy_id 624 drivers/net/ethernet/smsc/epic100.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) phy_id 631 drivers/net/ethernet/smsc/epic100.c ew32(MIICtrl, (phy_id << 9) | (loc << 4) | MII_WRITEOP); phy_id 706 drivers/net/ethernet/smsc/smc911x.c lp->mii.phy_id = phyaddr & 31; phy_id 721 drivers/net/ethernet/smsc/smc911x.c lp->mii.phy_id = 1; phy_id 726 drivers/net/ethernet/smsc/smc911x.c id1, id2, lp->mii.phy_id); phy_id 736 drivers/net/ethernet/smsc/smc911x.c int phyaddr = lp->mii.phy_id; phy_id 842 drivers/net/ethernet/smsc/smc911x.c int phyaddr = lp->mii.phy_id; phy_id 879 drivers/net/ethernet/smsc/smc911x.c int phyaddr = lp->mii.phy_id; phy_id 975 drivers/net/ethernet/smsc/smc911x.c int phyaddr = lp->mii.phy_id; phy_id 1423 drivers/net/ethernet/smsc/smc911x.c smc911x_phy_powerdown(dev, lp->mii.phy_id); phy_id 1464 drivers/net/ethernet/smsc/smc911x.c SMC_GET_PHY_SPECIAL(lp, lp->mii.phy_id, status); phy_id 1569 drivers/net/ethernet/smsc/smc911x.c SMC_GET_MII(lp, i, lp->mii.phy_id, reg); phy_id 285 drivers/net/ethernet/smsc/smc91c92_cs.c static int mdio_read(struct net_device *dev, int phy_id, int loc); phy_id 286 drivers/net/ethernet/smsc/smc91c92_cs.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int value); phy_id 911 drivers/net/ethernet/smsc/smc91c92_cs.c smc->mii_if.phy_id = (i < 32) ? i : -1; phy_id 936 drivers/net/ethernet/smsc/smc91c92_cs.c if (smc->mii_if.phy_id != -1) { phy_id 938 drivers/net/ethernet/smsc/smc91c92_cs.c smc->mii_if.phy_id, j); phy_id 985 drivers/net/ethernet/smsc/smc91c92_cs.c static int mdio_read(struct net_device *dev, int phy_id, int loc) phy_id 988 drivers/net/ethernet/smsc/smc91c92_cs.c u_int cmd = (0x06<<10)|(phy_id<<5)|loc; phy_id 1005 drivers/net/ethernet/smsc/smc91c92_cs.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) phy_id 1008 drivers/net/ethernet/smsc/smc91c92_cs.c u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; phy_id 1689 drivers/net/ethernet/smsc/smc91c92_cs.c mdio_write(dev, smc->mii_if.phy_id, 0, 0x8000); phy_id 1692 drivers/net/ethernet/smsc/smc91c92_cs.c mdio_write(dev, smc->mii_if.phy_id, 4, 0x01e1); phy_id 1695 drivers/net/ethernet/smsc/smc91c92_cs.c mdio_write(dev, smc->mii_if.phy_id, 0, 0x0000); phy_id 1696 drivers/net/ethernet/smsc/smc91c92_cs.c mdio_write(dev, smc->mii_if.phy_id, 0, 0x1200); phy_id 1765 drivers/net/ethernet/smsc/smc91c92_cs.c if (smc->mii_if.phy_id < 0) phy_id 1769 drivers/net/ethernet/smsc/smc91c92_cs.c link = mdio_read(dev, smc->mii_if.phy_id, 1); phy_id 1772 drivers/net/ethernet/smsc/smc91c92_cs.c smc->mii_if.phy_id = -1; phy_id 1778 drivers/net/ethernet/smsc/smc91c92_cs.c u_short p = mdio_read(dev, smc->mii_if.phy_id, 5); phy_id 890 drivers/net/ethernet/smsc/smc91x.c lp->mii.phy_id = phyaddr & 31; phy_id 904 drivers/net/ethernet/smsc/smc91x.c int phyaddr = lp->mii.phy_id; phy_id 981 drivers/net/ethernet/smsc/smc91x.c int phy = lp->mii.phy_id; phy_id 1036 drivers/net/ethernet/smsc/smc91x.c int phyaddr = lp->mii.phy_id; phy_id 1137 drivers/net/ethernet/smsc/smc91x.c int phyaddr = lp->mii.phy_id; phy_id 1026 drivers/net/ethernet/smsc/smsc911x.c phydev->mdio.addr, phydev->phy_id); phy_id 252 drivers/net/ethernet/socionext/sni_ave.c int phy_id; phy_id 804 drivers/net/ethernet/sun/cassini.c if (PHY_NS_DP83065 != cp->phy_id) phy_id 875 drivers/net/ethernet/sun/cassini.c if (PHY_LUCENT_B0 == cp->phy_id) { phy_id 881 drivers/net/ethernet/sun/cassini.c } else if (PHY_BROADCOM_B0 == (cp->phy_id & 0xFFFFFFFC)) { phy_id 895 drivers/net/ethernet/sun/cassini.c } else if (PHY_BROADCOM_5411 == cp->phy_id) { phy_id 913 drivers/net/ethernet/sun/cassini.c if (PHY_NS_DP83065 == cp->phy_id) { phy_id 3442 drivers/net/ethernet/sun/cassini.c u32 phy_id; phy_id 3447 drivers/net/ethernet/sun/cassini.c phy_id = cas_phy_read(cp, MII_PHYSID1) << 16; phy_id 3448 drivers/net/ethernet/sun/cassini.c phy_id |= cas_phy_read(cp, MII_PHYSID2); phy_id 3449 drivers/net/ethernet/sun/cassini.c if (phy_id && (phy_id != 0xFFFFFFFF)) { phy_id 3450 drivers/net/ethernet/sun/cassini.c cp->phy_id = phy_id; phy_id 4776 drivers/net/ethernet/sun/cassini.c data->phy_id = cp->phy_addr; phy_id 2788 drivers/net/ethernet/sun/cassini.h u32 phy_id; phy_id 1597 drivers/net/ethernet/sun/niu.c int phy_id, err; phy_id 1610 drivers/net/ethernet/sun/niu.c phy_id = phy_decode(np->parent->port_phy, np->port); phy_id 1611 drivers/net/ethernet/sun/niu.c phy_id = np->parent->phy_probe_info.phy_id[phy_id][np->port]; phy_id 1614 drivers/net/ethernet/sun/niu.c switch (phy_id & NIU_PHY_ID_MASK) { phy_id 2082 drivers/net/ethernet/sun/niu.c int phy_id; phy_id 2084 drivers/net/ethernet/sun/niu.c phy_id = phy_decode(np->parent->port_phy, np->port); phy_id 2085 drivers/net/ethernet/sun/niu.c phy_id = np->parent->phy_probe_info.phy_id[phy_id][np->port]; phy_id 2088 drivers/net/ethernet/sun/niu.c switch (phy_id & NIU_PHY_ID_MASK) { phy_id 8572 drivers/net/ethernet/sun/niu.c p->phy_id[type][idx] = id; phy_id 3039 drivers/net/ethernet/sun/niu.h u32 phy_id[PHY_TYPE_MAX][NIU_MAX_PORTS]; phy_id 2711 drivers/net/ethernet/sun/sungem.c data->phy_id = gp->mii_phy_addr; phy_id 2715 drivers/net/ethernet/sun/sungem.c data->val_out = __sungem_phy_read(gp, data->phy_id & 0x1f, phy_id 2721 drivers/net/ethernet/sun/sungem.c __sungem_phy_write(gp, data->phy_id & 0x1f, data->reg_num & 0x1f, phy_id 265 drivers/net/ethernet/ti/cpmac.c static int cpmac_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 272 drivers/net/ethernet/ti/cpmac.c MDIO_PHY(phy_id)); phy_id 279 drivers/net/ethernet/ti/cpmac.c static int cpmac_mdio_write(struct mii_bus *bus, int phy_id, phy_id 285 drivers/net/ethernet/ti/cpmac.c MDIO_REG(reg) | MDIO_PHY(phy_id) | MDIO_DATA(val)); phy_id 1066 drivers/net/ethernet/ti/cpmac.c int rc, phy_id; phy_id 1078 drivers/net/ethernet/ti/cpmac.c phy_id = pdev->id; phy_id 1080 drivers/net/ethernet/ti/cpmac.c for (phy_id = 0; phy_id < PHY_MAX_ADDR; phy_id++) { phy_id 1081 drivers/net/ethernet/ti/cpmac.c if (!(pdata->phy_mask & (1 << phy_id))) phy_id 1083 drivers/net/ethernet/ti/cpmac.c if (!mdiobus_get_phy(cpmac_mii, phy_id)) phy_id 1090 drivers/net/ethernet/ti/cpmac.c if (phy_id == PHY_MAX_ADDR) { phy_id 1094 drivers/net/ethernet/ti/cpmac.c phy_id = pdev->id; phy_id 1128 drivers/net/ethernet/ti/cpmac.c mdio_bus_id, phy_id); phy_id 1263 drivers/net/ethernet/ti/cpsw.c phy = phy_connect(priv->ndev, slave->data->phy_id, phy_id 1268 drivers/net/ethernet/ti/cpsw.c slave->data->phy_id, slave->slave_num, phy_id 2613 drivers/net/ethernet/ti/cpsw.c snprintf(slave_data->phy_id, sizeof(slave_data->phy_id), phy_id 277 drivers/net/ethernet/ti/cpsw_priv.h char phy_id[MII_BUS_ID_SIZE]; phy_id 335 drivers/net/ethernet/ti/davinci_emac.c const char *phy_id; phy_id 1481 drivers/net/ethernet/ti/davinci_emac.c if (!phydev && !priv->phy_id) { phy_id 1491 drivers/net/ethernet/ti/davinci_emac.c priv->phy_id = dev_name(phy); phy_id 1492 drivers/net/ethernet/ti/davinci_emac.c if (!priv->phy_id || !*priv->phy_id) phy_id 1497 drivers/net/ethernet/ti/davinci_emac.c if (!phydev && priv->phy_id && *priv->phy_id) { phy_id 1498 drivers/net/ethernet/ti/davinci_emac.c phydev = phy_connect(ndev, priv->phy_id, phy_id 1504 drivers/net/ethernet/ti/davinci_emac.c priv->phy_id); phy_id 1726 drivers/net/ethernet/ti/davinci_emac.c pdata->phy_id = NULL; phy_id 1810 drivers/net/ethernet/ti/davinci_emac.c priv->phy_id = pdata->phy_id; phy_id 226 drivers/net/ethernet/ti/davinci_mdio.c static int davinci_mdio_read(struct mii_bus *bus, int phy_id, int phy_reg) phy_id 232 drivers/net/ethernet/ti/davinci_mdio.c if (phy_reg & ~PHY_REG_MASK || phy_id & ~PHY_ID_MASK) phy_id 242 drivers/net/ethernet/ti/davinci_mdio.c (phy_id << 16)); phy_id 269 drivers/net/ethernet/ti/davinci_mdio.c static int davinci_mdio_write(struct mii_bus *bus, int phy_id, phy_id 276 drivers/net/ethernet/ti/davinci_mdio.c if (phy_reg & ~PHY_REG_MASK || phy_id & ~PHY_ID_MASK) phy_id 286 drivers/net/ethernet/ti/davinci_mdio.c (phy_id << 16) | (phy_data & USERACCESS_DATA)); phy_id 969 drivers/net/ethernet/ti/tlan.c data->phy_id = phy; phy_id 974 drivers/net/ethernet/ti/tlan.c tlan_mii_read_reg(dev, data->phy_id & 0x1f, phy_id 980 drivers/net/ethernet/ti/tlan.c tlan_mii_write_reg(dev, data->phy_id & 0x1f, phy_id 1916 drivers/net/ethernet/toshiba/spider_net.c if (card->phy.def->phy_id) phy_id 268 drivers/net/ethernet/tundra/tsi108_eth.c val = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_BMSR); phy_id 272 drivers/net/ethernet/tundra/tsi108_eth.c advert = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_ADVERTISE); phy_id 273 drivers/net/ethernet/tundra/tsi108_eth.c lpa = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_LPA); phy_id 277 drivers/net/ethernet/tundra/tsi108_eth.c lpa2 = mii->mdio_read(mii->dev, mii->phy_id, MII_STAT1000); phy_id 1592 drivers/net/ethernet/tundra/tsi108_eth.c data->mii_if.phy_id = einfo->phy; phy_id 504 drivers/net/ethernet/via/via-rhine.c static int mdio_read(struct net_device *dev, int phy_id, int location); phy_id 505 drivers/net/ethernet/via/via-rhine.c static void mdio_write(struct net_device *dev, int phy_id, int location, int value); phy_id 907 drivers/net/ethernet/via/via-rhine.c int i, rc, phy_id; phy_id 932 drivers/net/ethernet/via/via-rhine.c phy_id = rp->quirks & rqIntPHY ? 1 : 0; phy_id 953 drivers/net/ethernet/via/via-rhine.c if (!phy_id) phy_id 954 drivers/net/ethernet/via/via-rhine.c phy_id = ioread8(ioaddr + 0x6C); phy_id 1003 drivers/net/ethernet/via/via-rhine.c int mii_status = mdio_read(dev, phy_id, 1); phy_id 1004 drivers/net/ethernet/via/via-rhine.c mii_cmd = mdio_read(dev, phy_id, MII_BMCR) & ~BMCR_ISOLATE; phy_id 1005 drivers/net/ethernet/via/via-rhine.c mdio_write(dev, phy_id, MII_BMCR, mii_cmd); phy_id 1007 drivers/net/ethernet/via/via-rhine.c rp->mii_if.advertising = mdio_read(dev, phy_id, 4); phy_id 1010 drivers/net/ethernet/via/via-rhine.c phy_id, phy_id 1012 drivers/net/ethernet/via/via-rhine.c mdio_read(dev, phy_id, 5)); phy_id 1022 drivers/net/ethernet/via/via-rhine.c rp->mii_if.phy_id = phy_id; phy_id 1635 drivers/net/ethernet/via/via-rhine.c static int mdio_read(struct net_device *dev, int phy_id, int regnum) phy_id 1644 drivers/net/ethernet/via/via-rhine.c iowrite8(phy_id, ioaddr + MIIPhyAddr); phy_id 1654 drivers/net/ethernet/via/via-rhine.c static void mdio_write(struct net_device *dev, int phy_id, int regnum, int value) phy_id 1662 drivers/net/ethernet/via/via-rhine.c iowrite8(phy_id, ioaddr + MIIPhyAddr); phy_id 1715 drivers/net/ethernet/via/via-rhine.c mdio_read(dev, rp->mii_if.phy_id, MII_BMSR)); phy_id 1771 drivers/net/ethernet/via/via-rhine.c mdio_read(dev, rp->mii_if.phy_id, MII_BMSR)); phy_id 888 drivers/net/ethernet/via/via-velocity.c if (PHYID_GET_PHY_ID(vptr->phy_id) == PHYID_CICADA_CS8201) phy_id 1171 drivers/net/ethernet/via/via-velocity.c switch (PHYID_GET_PHY_ID(vptr->phy_id)) { phy_id 2379 drivers/net/ethernet/via/via-velocity.c miidata->phy_id = readb(®s->MIIADR) & 0x1f; phy_id 2837 drivers/net/ethernet/via/via-velocity.c vptr->phy_id = MII_GET_PHY_ID(vptr->mac_regs); phy_id 3064 drivers/net/ethernet/via/via-velocity.c if (PHYID_GET_PHY_ID(vptr->phy_id) == PHYID_CICADA_CS8201) phy_id 1472 drivers/net/ethernet/via/via-velocity.h u32 phy_id; phy_id 24 drivers/net/ethernet/xilinx/ll_temac_mdio.c static int temac_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 34 drivers/net/ethernet/xilinx/ll_temac_mdio.c temac_iow(lp, XTE_LSW0_OFFSET, (phy_id << 5) | reg); phy_id 39 drivers/net/ethernet/xilinx/ll_temac_mdio.c phy_id, reg, rc); phy_id 44 drivers/net/ethernet/xilinx/ll_temac_mdio.c static int temac_mdio_write(struct mii_bus *bus, int phy_id, int reg, u16 val) phy_id 50 drivers/net/ethernet/xilinx/ll_temac_mdio.c phy_id, reg, val); phy_id 57 drivers/net/ethernet/xilinx/ll_temac_mdio.c temac_indirect_out32_locked(lp, XTE_MIIMAI_OFFSET, (phy_id << 5) | reg); phy_id 45 drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c static int axienet_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 56 drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c (((phy_id << XAE_MDIO_MCR_PHYAD_SHIFT) & phy_id 70 drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c phy_id, reg, rc); phy_id 88 drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c static int axienet_mdio_write(struct mii_bus *bus, int phy_id, int reg, phy_id 95 drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c phy_id, reg, val); phy_id 103 drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c (((phy_id << XAE_MDIO_MCR_PHYAD_SHIFT) & phy_id 737 drivers/net/ethernet/xilinx/xilinx_emaclite.c static int xemaclite_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 752 drivers/net/ethernet/xilinx/xilinx_emaclite.c ((phy_id << XEL_MDIOADDR_PHYADR_SHIFT) | reg), phy_id 764 drivers/net/ethernet/xilinx/xilinx_emaclite.c phy_id, reg, rc); phy_id 781 drivers/net/ethernet/xilinx/xilinx_emaclite.c static int xemaclite_mdio_write(struct mii_bus *bus, int phy_id, int reg, phy_id 789 drivers/net/ethernet/xilinx/xilinx_emaclite.c phy_id, reg, val); phy_id 801 drivers/net/ethernet/xilinx/xilinx_emaclite.c ((phy_id << XEL_MDIOADDR_PHYADR_SHIFT) | reg), phy_id 1429 drivers/net/ethernet/xircom/xirc2ps_cs.c data->phy_id, data->reg_num, data->val_in, data->val_out); phy_id 1436 drivers/net/ethernet/xircom/xirc2ps_cs.c data->phy_id = 0; /* we have only this address */ phy_id 1439 drivers/net/ethernet/xircom/xirc2ps_cs.c data->val_out = mii_rd(ioaddr, data->phy_id & 0x1f, phy_id 1443 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wr(ioaddr, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in, phy_id 438 drivers/net/ethernet/xscale/ixp4xx_eth.c static int ixp4xx_mdio_cmd(struct mii_bus *bus, int phy_id, int location, phy_id 452 drivers/net/ethernet/xscale/ixp4xx_eth.c __raw_writel(((phy_id << 5) | location) & 0xFF, phy_id 454 drivers/net/ethernet/xscale/ixp4xx_eth.c __raw_writel((phy_id >> 3) | (write << 2) | 0x80 /* GO */, phy_id 465 drivers/net/ethernet/xscale/ixp4xx_eth.c phy_id); phy_id 471 drivers/net/ethernet/xscale/ixp4xx_eth.c phy_id, write ? "write" : "read", cycles); phy_id 480 drivers/net/ethernet/xscale/ixp4xx_eth.c phy_id); phy_id 489 drivers/net/ethernet/xscale/ixp4xx_eth.c static int ixp4xx_mdio_read(struct mii_bus *bus, int phy_id, int location) phy_id 495 drivers/net/ethernet/xscale/ixp4xx_eth.c ret = ixp4xx_mdio_cmd(bus, phy_id, location, 0, 0); phy_id 499 drivers/net/ethernet/xscale/ixp4xx_eth.c phy_id, location, ret); phy_id 504 drivers/net/ethernet/xscale/ixp4xx_eth.c static int ixp4xx_mdio_write(struct mii_bus *bus, int phy_id, int location, phy_id 511 drivers/net/ethernet/xscale/ixp4xx_eth.c ret = ixp4xx_mdio_cmd(bus, phy_id, location, 1, val); phy_id 515 drivers/net/ethernet/xscale/ixp4xx_eth.c bus->name, phy_id, location, val, ret); phy_id 1373 drivers/net/ethernet/xscale/ixp4xx_eth.c char phy_id[MII_BUS_ID_SIZE + 3]; phy_id 1460 drivers/net/ethernet/xscale/ixp4xx_eth.c snprintf(phy_id, MII_BUS_ID_SIZE + 3, PHY_ID_FMT, phy_id 1462 drivers/net/ethernet/xscale/ixp4xx_eth.c phydev = phy_connect(dev, phy_id, &ixp4xx_adjust_link, phy_id 538 drivers/net/mdio.c mii_data->phy_id = mdio->prtad; phy_id 550 drivers/net/mdio.c mdio_phy_id_is_c45(mii_data->phy_id)) { phy_id 551 drivers/net/mdio.c prtad = mdio_phy_id_prtad(mii_data->phy_id); phy_id 552 drivers/net/mdio.c devad = mdio_phy_id_devad(mii_data->phy_id); phy_id 554 drivers/net/mdio.c mii_data->phy_id < 0x20) { phy_id 555 drivers/net/mdio.c prtad = mii_data->phy_id; phy_id 560 drivers/net/mdio.c mii_data->phy_id == mdio->prtad) { phy_id 40 drivers/net/mii.c advert = mii->mdio_read(mii->dev, mii->phy_id, addr); phy_id 76 drivers/net/mii.c ecmd->phy_address = mii->phy_id; phy_id 81 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); phy_id 82 drivers/net/mii.c bmsr = mii->mdio_read(dev, mii->phy_id, MII_BMSR); phy_id 84 drivers/net/mii.c ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); phy_id 85 drivers/net/mii.c stat1000 = mii->mdio_read(dev, mii->phy_id, MII_STAT1000); phy_id 163 drivers/net/mii.c cmd->base.phy_address = mii->phy_id; phy_id 168 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); phy_id 169 drivers/net/mii.c bmsr = mii->mdio_read(dev, mii->phy_id, MII_BMSR); phy_id 171 drivers/net/mii.c ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); phy_id 172 drivers/net/mii.c stat1000 = mii->mdio_read(dev, mii->phy_id, MII_STAT1000); phy_id 252 drivers/net/mii.c if (ecmd->phy_address != mii->phy_id) phy_id 274 drivers/net/mii.c advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); phy_id 277 drivers/net/mii.c advert2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); phy_id 286 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_ADVERTISE, tmp); phy_id 290 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_CTRL1000, tmp2); phy_id 293 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); phy_id 295 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_BMCR, bmcr); phy_id 302 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); phy_id 315 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_BMCR, tmp); phy_id 343 drivers/net/mii.c if (cmd->base.phy_address != mii->phy_id) phy_id 370 drivers/net/mii.c advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); phy_id 373 drivers/net/mii.c advert2 = mii->mdio_read(dev, mii->phy_id, phy_id 383 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_ADVERTISE, tmp); phy_id 387 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_CTRL1000, tmp2); phy_id 390 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); phy_id 392 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_BMCR, bmcr); phy_id 399 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); phy_id 413 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_BMCR, tmp); phy_id 428 drivers/net/mii.c reg = mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR); phy_id 430 drivers/net/mii.c reg = mii->mdio_read(mii->dev, mii->phy_id, MII_ESTATUS); phy_id 447 drivers/net/mii.c mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR); phy_id 448 drivers/net/mii.c if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) phy_id 465 drivers/net/mii.c bmcr = mii->mdio_read(mii->dev, mii->phy_id, MII_BMCR); phy_id 469 drivers/net/mii.c mii->mdio_write(mii->dev, mii->phy_id, MII_BMCR, bmcr); phy_id 545 drivers/net/mii.c advertise = mii->mdio_read(mii->dev, mii->phy_id, MII_ADVERTISE); phy_id 548 drivers/net/mii.c lpa = mii->mdio_read(mii->dev, mii->phy_id, MII_LPA); phy_id 550 drivers/net/mii.c lpa2 = mii->mdio_read(mii->dev, mii->phy_id, MII_STAT1000); phy_id 594 drivers/net/mii.c mii_data->phy_id &= mii_if->phy_id_mask; phy_id 599 drivers/net/mii.c mii_data->phy_id = mii_if->phy_id; phy_id 604 drivers/net/mii.c mii_if->mdio_read(mii_if->dev, mii_data->phy_id, phy_id 611 drivers/net/mii.c if (mii_data->phy_id == mii_if->phy_id) { phy_id 637 drivers/net/mii.c mii_if->mdio_write(mii_if->dev, mii_data->phy_id, phy_id 60 drivers/net/phy/amd.c .phy_id = PHY_ID_AM79C874, phy_id 430 drivers/net/phy/at803x.c .phy_id = ATH8035_PHY_ID, phy_id 445 drivers/net/phy/at803x.c .phy_id = ATH8030_PHY_ID, phy_id 460 drivers/net/phy/at803x.c .phy_id = ATH8031_PHY_ID, phy_id 43 drivers/net/phy/ax88796b.c .phy_id = PHY_ID_ASIX_AX88796B, phy_id 133 drivers/net/phy/bcm-cygnus.c rev = phydev->phy_id & ~phydev->drv->phy_id_mask; phy_id 254 drivers/net/phy/bcm-cygnus.c .phy_id = PHY_ID_BCM_CYGNUS, phy_id 264 drivers/net/phy/bcm-cygnus.c .phy_id = PHY_ID_BCM_OMEGA, phy_id 64 drivers/net/phy/bcm63xx.c .phy_id = 0x00406000, phy_id 74 drivers/net/phy/bcm63xx.c .phy_id = 0x002bdc00, phy_id 148 drivers/net/phy/bcm7xxx.c rev = phydev->phy_id & ~phydev->drv->phy_id_mask; phy_id 368 drivers/net/phy/bcm7xxx.c u8 rev = phydev->phy_id & ~phydev->drv->phy_id_mask; phy_id 538 drivers/net/phy/bcm7xxx.c .phy_id = (_oui), \ phy_id 555 drivers/net/phy/bcm7xxx.c .phy_id = (_oui), \ phy_id 570 drivers/net/phy/bcm7xxx.c .phy_id = (_oui), \ phy_id 190 drivers/net/phy/bcm87xx.c .phy_id = PHY_ID_BCM8706, phy_id 202 drivers/net/phy/bcm87xx.c .phy_id = PHY_ID_BCM8727, phy_id 20 drivers/net/phy/broadcom.c ((phydev)->drv->phy_id & (phydev)->drv->phy_id_mask) phy_id 23 drivers/net/phy/broadcom.c ((phydev)->drv->phy_id & ~((phydev)->drv->phy_id_mask)) phy_id 179 drivers/net/phy/broadcom.c if (phydev->drv->phy_id == PHY_ID_BCM50610) { phy_id 605 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM5411, phy_id 613 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM5421, phy_id 621 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM54210E, phy_id 629 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM5461, phy_id 637 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM54612E, phy_id 645 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM54616S, phy_id 654 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM5464, phy_id 664 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM5481, phy_id 673 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM54810, phy_id 682 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM5482, phy_id 691 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM50610, phy_id 699 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM50610M, phy_id 707 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM57780, phy_id 715 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCMAC131, phy_id 723 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM5241, phy_id 731 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM5395, phy_id 741 drivers/net/phy/broadcom.c .phy_id = PHY_ID_BCM89610, phy_id 102 drivers/net/phy/cicada.c .phy_id = 0x000fc410, phy_id 110 drivers/net/phy/cicada.c .phy_id = 0x000fc440, phy_id 49 drivers/net/phy/cortina.c u32 phy_id = 0; phy_id 57 drivers/net/phy/cortina.c phy_id = id_lsb << 16; phy_id 63 drivers/net/phy/cortina.c phy_id |= id_msb; phy_id 68 drivers/net/phy/cortina.c if (phy_id != phydev->drv->phy_id) { phy_id 79 drivers/net/phy/cortina.c .phy_id = PHY_ID_CS4340, phy_id 144 drivers/net/phy/davicom.c .phy_id = 0x0181b880, phy_id 153 drivers/net/phy/davicom.c .phy_id = 0x0181b8b0, phy_id 162 drivers/net/phy/davicom.c .phy_id = 0x0181b8a0, phy_id 171 drivers/net/phy/davicom.c .phy_id = 0x00181b80, phy_id 1530 drivers/net/phy/dp83640.c .phy_id = DP83640_PHY_ID, phy_id 94 drivers/net/phy/dp83848.c .phy_id = _id, \ phy_id 487 drivers/net/phy/dp83867.c .phy_id = DP83867_PHY_ID, phy_id 334 drivers/net/phy/dp83tc811.c .phy_id = DP83TC811_PHY_ID, phy_id 86 drivers/net/phy/et1011c.c .phy_id = 0x0282f014, phy_id 311 drivers/net/phy/icplus.c .phy_id = 0x02430d80, phy_id 321 drivers/net/phy/icplus.c .phy_id = 0x02430d90, phy_id 329 drivers/net/phy/icplus.c .phy_id = 0x02430c54, phy_id 232 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY11G_1_3, phy_id 244 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY22F_1_3, phy_id 256 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY11G_1_4, phy_id 268 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY22F_1_4, phy_id 280 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY11G_1_5, phy_id 291 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY22F_1_5, phy_id 302 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY11G_VR9_1_1, phy_id 313 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY22F_VR9_1_1, phy_id 324 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY11G_VR9_1_2, phy_id 335 drivers/net/phy/intel-xway.c .phy_id = PHY_ID_PHY22F_VR9_1_2, phy_id 251 drivers/net/phy/lxt.c .phy_id = 0x78100000, phy_id 259 drivers/net/phy/lxt.c .phy_id = 0x001378e0, phy_id 268 drivers/net/phy/lxt.c .phy_id = 0x00137a10, phy_id 279 drivers/net/phy/lxt.c .phy_id = 0x00137a10, phy_id 625 drivers/net/phy/marvell.c switch (MARVELL_PHY_FAMILY_ID(phydev->phy_id)) { phy_id 2132 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1101, phy_id 2150 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1112, phy_id 2168 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1111, phy_id 2187 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1118, phy_id 2205 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1121R, phy_id 2225 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1318S, phy_id 2247 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1145, phy_id 2266 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1149R, phy_id 2284 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1240, phy_id 2302 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1116R, phy_id 2319 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1510, phy_id 2342 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1540, phy_id 2364 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E1545, phy_id 2384 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E3016, phy_id 2404 drivers/net/phy/marvell.c .phy_id = MARVELL_PHY_ID_88E6390, phy_id 481 drivers/net/phy/marvell10g.c .phy_id = MARVELL_PHY_ID_88X3310, phy_id 495 drivers/net/phy/marvell10g.c .phy_id = MARVELL_PHY_ID_88E2110, phy_id 66 drivers/net/phy/mdio-bcm-iproc.c static int iproc_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 79 drivers/net/phy/mdio-bcm-iproc.c (phy_id << MII_DATA_PA_SHIFT) | phy_id 94 drivers/net/phy/mdio-bcm-iproc.c static int iproc_mdio_write(struct mii_bus *bus, int phy_id, phy_id 108 drivers/net/phy/mdio-bcm-iproc.c (phy_id << MII_DATA_PA_SHIFT) | phy_id 98 drivers/net/phy/mdio-bcm-unimac.c static int unimac_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 105 drivers/net/phy/mdio-bcm-unimac.c cmd = MDIO_RD | (phy_id << MDIO_PMD_SHIFT) | (reg << MDIO_REG_SHIFT); phy_id 122 drivers/net/phy/mdio-bcm-unimac.c if (!(bus->phy_ignore_ta_mask & 1 << phy_id) && (cmd & MDIO_READ_FAIL)) phy_id 128 drivers/net/phy/mdio-bcm-unimac.c static int unimac_mdio_write(struct mii_bus *bus, int phy_id, phy_id 135 drivers/net/phy/mdio-bcm-unimac.c cmd = MDIO_WR | (phy_id << MDIO_PMD_SHIFT) | phy_id 29 drivers/net/phy/mdio-cavium.c int phy_id, int regnum) phy_id 45 drivers/net/phy/mdio-cavium.c smi_cmd.s.phy_adr = phy_id; phy_id 62 drivers/net/phy/mdio-cavium.c int cavium_mdiobus_read(struct mii_bus *bus, int phy_id, int regnum) phy_id 71 drivers/net/phy/mdio-cavium.c int r = cavium_mdiobus_c45_addr(p, phy_id, regnum); phy_id 84 drivers/net/phy/mdio-cavium.c smi_cmd.s.phy_adr = phy_id; phy_id 103 drivers/net/phy/mdio-cavium.c int cavium_mdiobus_write(struct mii_bus *bus, int phy_id, int regnum, u16 val) phy_id 112 drivers/net/phy/mdio-cavium.c int r = cavium_mdiobus_c45_addr(p, phy_id, regnum); phy_id 129 drivers/net/phy/mdio-cavium.c smi_cmd.s.phy_adr = phy_id; phy_id 117 drivers/net/phy/mdio-cavium.h int cavium_mdiobus_read(struct mii_bus *bus, int phy_id, int regnum); phy_id 118 drivers/net/phy/mdio-cavium.h int cavium_mdiobus_write(struct mii_bus *bus, int phy_id, int regnum, u16 val); phy_id 22 drivers/net/phy/mdio-i2c.c static bool i2c_mii_valid_phy_id(int phy_id) phy_id 24 drivers/net/phy/mdio-i2c.c return phy_id != 0x10 && phy_id != 0x11; phy_id 27 drivers/net/phy/mdio-i2c.c static unsigned int i2c_mii_phy_addr(int phy_id) phy_id 29 drivers/net/phy/mdio-i2c.c return phy_id + 0x40; phy_id 32 drivers/net/phy/mdio-i2c.c static int i2c_mii_read(struct mii_bus *bus, int phy_id, int reg) phy_id 39 drivers/net/phy/mdio-i2c.c if (!i2c_mii_valid_phy_id(phy_id)) phy_id 42 drivers/net/phy/mdio-i2c.c bus_addr = i2c_mii_phy_addr(phy_id); phy_id 59 drivers/net/phy/mdio-i2c.c static int i2c_mii_write(struct mii_bus *bus, int phy_id, int reg, u16 val) phy_id 66 drivers/net/phy/mdio-i2c.c if (!i2c_mii_valid_phy_id(phy_id)) phy_id 73 drivers/net/phy/mdio-i2c.c msg.addr = i2c_mii_phy_addr(phy_id); phy_id 38 drivers/net/phy/mdio-mux.c static int mdio_mux_read(struct mii_bus *bus, int phy_id, int regnum) phy_id 51 drivers/net/phy/mdio-mux.c r = pb->mii_bus->read(pb->mii_bus, phy_id, regnum); phy_id 61 drivers/net/phy/mdio-mux.c static int mdio_mux_write(struct mii_bus *bus, int phy_id, phy_id 76 drivers/net/phy/mdio-mux.c r = pb->mii_bus->write(pb->mii_bus, phy_id, regnum, val); phy_id 80 drivers/net/phy/mdio-xgene.c int xgene_mdio_rgmii_read(struct mii_bus *bus, int phy_id, int reg) phy_id 86 drivers/net/phy/mdio-xgene.c data = SET_VAL(PHY_ADDR, phy_id) | SET_VAL(REG_ADDR, reg); phy_id 106 drivers/net/phy/mdio-xgene.c int xgene_mdio_rgmii_write(struct mii_bus *bus, int phy_id, int reg, u16 data) phy_id 112 drivers/net/phy/mdio-xgene.c val = SET_VAL(PHY_ADDR, phy_id) | SET_VAL(REG_ADDR, reg); phy_id 211 drivers/net/phy/mdio-xgene.c static int xgene_xfi_mdio_write(struct mii_bus *bus, int phy_id, phy_id 218 drivers/net/phy/mdio-xgene.c val = SET_VAL(HSTPHYADX, phy_id) | SET_VAL(HSTREGADX, reg) | phy_id 235 drivers/net/phy/mdio-xgene.c static int xgene_xfi_mdio_read(struct mii_bus *bus, int phy_id, int reg) phy_id 241 drivers/net/phy/mdio-xgene.c val = SET_VAL(HSTPHYADX, phy_id) | SET_VAL(HSTREGADX, reg); phy_id 126 drivers/net/phy/mdio-xgene.h int xgene_mdio_rgmii_read(struct mii_bus *bus, int phy_id, int reg); phy_id 127 drivers/net/phy/mdio-xgene.h int xgene_mdio_rgmii_write(struct mii_bus *bus, int phy_id, int reg, u16 data); phy_id 350 drivers/net/phy/micrel.c if ((phydev->phy_id & MICREL_PHY_ID_MASK) != ksz_phy_id) phy_id 989 drivers/net/phy/micrel.c .phy_id = PHY_ID_KS8737, phy_id 1000 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ8021, phy_id 1015 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ8031, phy_id 1030 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ8041, phy_id 1046 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ8041RNLI, phy_id 1075 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ8001, phy_id 1090 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ8081, phy_id 1105 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ8061, phy_id 1115 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ9021, phy_id 1133 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ9031, phy_id 1150 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ9131, phy_id 1166 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ8873MLL, phy_id 1176 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ886X, phy_id 1193 drivers/net/phy/micrel.c .phy_id = PHY_ID_KSZ9477, phy_id 331 drivers/net/phy/microchip.c .phy_id = 0x0007c130, phy_id 215 drivers/net/phy/microchip_t1.c .phy_id = 0x0007c150, phy_id 1600 drivers/net/phy/mscc.c if ((phy->phy_id & phydev->drv->phy_id_mask) != phy_id 1601 drivers/net/phy/mscc.c (phydev->drv->phy_id & phydev->drv->phy_id_mask)) phy_id 1650 drivers/net/phy/mscc.c if ((phydev->phy_id & phydev->drv->phy_id_mask) == phy_id 1653 drivers/net/phy/mscc.c else if ((phydev->phy_id & phydev->drv->phy_id_mask) == phy_id 1737 drivers/net/phy/mscc.c int rc, i, phy_id; phy_id 1752 drivers/net/phy/mscc.c phy_id = phydev->drv->phy_id & phydev->drv->phy_id_mask; phy_id 1753 drivers/net/phy/mscc.c if (PHY_ID_VSC8531 == phy_id || PHY_ID_VSC8541 == phy_id || phy_id 1754 drivers/net/phy/mscc.c PHY_ID_VSC8530 == phy_id || PHY_ID_VSC8540 == phy_id) { phy_id 2269 drivers/net/phy/mscc.c if ((phydev->phy_id & MSCC_DEV_REV_MASK) != VSC8584_REVB) { phy_id 2325 drivers/net/phy/mscc.c .phy_id = PHY_ID_VSC8514, phy_id 2348 drivers/net/phy/mscc.c .phy_id = PHY_ID_VSC8530, phy_id 2373 drivers/net/phy/mscc.c .phy_id = PHY_ID_VSC8531, phy_id 2398 drivers/net/phy/mscc.c .phy_id = PHY_ID_VSC8540, phy_id 2423 drivers/net/phy/mscc.c .phy_id = PHY_ID_VSC8541, phy_id 2448 drivers/net/phy/mscc.c .phy_id = PHY_ID_VSC8574, phy_id 2474 drivers/net/phy/mscc.c .phy_id = PHY_ID_VSC8584, phy_id 131 drivers/net/phy/national.c .phy_id = DP83865_PHY_ID, phy_id 182 drivers/net/phy/nxp-tja11xx.c switch (phydev->phy_id & PHY_ID_MASK) { phy_id 563 drivers/net/phy/phy-c45.c .phy_id = 0xffffffff, phy_id 407 drivers/net/phy/phy.c mii_data->phy_id = phydev->mdio.addr; phy_id 411 drivers/net/phy/phy.c if (mdio_phy_id_is_c45(mii_data->phy_id)) { phy_id 412 drivers/net/phy/phy.c prtad = mdio_phy_id_prtad(mii_data->phy_id); phy_id 413 drivers/net/phy/phy.c devad = mdio_phy_id_devad(mii_data->phy_id); phy_id 416 drivers/net/phy/phy.c prtad = mii_data->phy_id; phy_id 424 drivers/net/phy/phy.c if (mdio_phy_id_is_c45(mii_data->phy_id)) { phy_id 425 drivers/net/phy/phy.c prtad = mdio_phy_id_prtad(mii_data->phy_id); phy_id 426 drivers/net/phy/phy.c devad = mdio_phy_id_devad(mii_data->phy_id); phy_id 429 drivers/net/phy/phy.c prtad = mii_data->phy_id; phy_id 452 drivers/net/phy/phy_device.c (phydev->phy_id & fixup->phy_uid_mask)) phy_id 499 drivers/net/phy/phy_device.c if ((phydrv->phy_id & phydrv->phy_id_mask) == phy_id 506 drivers/net/phy/phy_device.c return (phydrv->phy_id & phydrv->phy_id_mask) == phy_id 507 drivers/net/phy/phy_device.c (phydev->phy_id & phydrv->phy_id_mask); phy_id 516 drivers/net/phy/phy_device.c return sprintf(buf, "0x%.8lx\n", (unsigned long)phydev->phy_id); phy_id 518 drivers/net/phy/phy_device.c static DEVICE_ATTR_RO(phy_id); phy_id 560 drivers/net/phy/phy_device.c static int phy_request_driver_module(struct phy_device *dev, u32 phy_id) phy_id 565 drivers/net/phy/phy_device.c MDIO_ID_ARGS(phy_id)); phy_id 573 drivers/net/phy/phy_device.c ret, (unsigned long)phy_id); phy_id 580 drivers/net/phy/phy_device.c struct phy_device *phy_device_create(struct mii_bus *bus, int addr, u32 phy_id, phy_id 614 drivers/net/phy/phy_device.c dev->phy_id = phy_id; phy_id 649 drivers/net/phy/phy_device.c ret = phy_request_driver_module(dev, phy_id); phy_id 710 drivers/net/phy/phy_device.c static int get_phy_c45_ids(struct mii_bus *bus, int addr, u32 *phy_id, phy_id 736 drivers/net/phy/phy_device.c *phy_id = 0xffffffff; phy_id 761 drivers/net/phy/phy_device.c *phy_id = 0; phy_id 781 drivers/net/phy/phy_device.c static int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id, phy_id 787 drivers/net/phy/phy_device.c return get_phy_c45_ids(bus, addr, phy_id, c45_ids); phy_id 796 drivers/net/phy/phy_device.c *phy_id = phy_reg << 16; phy_id 803 drivers/net/phy/phy_device.c *phy_id |= phy_reg; phy_id 821 drivers/net/phy/phy_device.c u32 phy_id = 0; phy_id 827 drivers/net/phy/phy_device.c r = get_phy_id(bus, addr, &phy_id, is_c45, &c45_ids); phy_id 832 drivers/net/phy/phy_device.c if ((phy_id & 0x1fffffff) == 0x1fffffff) phy_id 835 drivers/net/phy/phy_device.c return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); phy_id 2373 drivers/net/phy/phy_device.c .phy_id = 0xffffffff, phy_id 1475 drivers/net/phy/phylink.c static int phylink_phy_read(struct phylink *pl, unsigned int phy_id, phy_id 1481 drivers/net/phy/phylink.c if (mdio_phy_id_is_c45(phy_id)) { phy_id 1482 drivers/net/phy/phylink.c prtad = mdio_phy_id_prtad(phy_id); phy_id 1483 drivers/net/phy/phylink.c devad = mdio_phy_id_devad(phy_id); phy_id 1506 drivers/net/phy/phylink.c prtad = phy_id; phy_id 1509 drivers/net/phy/phylink.c prtad = phy_id; phy_id 1515 drivers/net/phy/phylink.c static int phylink_phy_write(struct phylink *pl, unsigned int phy_id, phy_id 1521 drivers/net/phy/phylink.c if (mdio_phy_id_is_c45(phy_id)) { phy_id 1522 drivers/net/phy/phylink.c prtad = mdio_phy_id_prtad(phy_id); phy_id 1523 drivers/net/phy/phylink.c devad = mdio_phy_id_devad(phy_id); phy_id 1546 drivers/net/phy/phylink.c prtad = phy_id; phy_id 1549 drivers/net/phy/phylink.c prtad = phy_id; phy_id 1556 drivers/net/phy/phylink.c static int phylink_mii_read(struct phylink *pl, unsigned int phy_id, phy_id 1564 drivers/net/phy/phylink.c if (phy_id == 0) { phy_id 1574 drivers/net/phy/phylink.c if (phy_id == 0) { phy_id 1587 drivers/net/phy/phylink.c static int phylink_mii_write(struct phylink *pl, unsigned int phy_id, phy_id 1633 drivers/net/phy/phylink.c mii->phy_id = pl->phydev->mdio.addr; phy_id 1637 drivers/net/phy/phylink.c ret = phylink_phy_read(pl, mii->phy_id, mii->reg_num); phy_id 1645 drivers/net/phy/phylink.c ret = phylink_phy_write(pl, mii->phy_id, mii->reg_num, phy_id 1656 drivers/net/phy/phylink.c mii->phy_id = 0; phy_id 1660 drivers/net/phy/phylink.c ret = phylink_mii_read(pl, mii->phy_id, mii->reg_num); phy_id 1668 drivers/net/phy/phylink.c ret = phylink_mii_write(pl, mii->phy_id, mii->reg_num, phy_id 110 drivers/net/phy/qsemi.c .phy_id = 0x00181440, phy_id 436 drivers/net/phy/realtek.c return phydev->phy_id == RTL_GENERIC_PHYID && phy_id 442 drivers/net/phy/realtek.c return phydev->phy_id == RTL_GENERIC_PHYID && phy_id 175 drivers/net/phy/rockchip.c .phy_id = INTERNAL_EPHY_ID, phy_id 213 drivers/net/phy/smsc.c .phy_id = 0x0007c0a0, /* OUI=0x00800f, Model#=0x0a */ phy_id 232 drivers/net/phy/smsc.c .phy_id = 0x0007c0b0, /* OUI=0x00800f, Model#=0x0b */ phy_id 256 drivers/net/phy/smsc.c .phy_id = 0x0007c0c0, /* OUI=0x00800f, Model#=0x0c */ phy_id 281 drivers/net/phy/smsc.c .phy_id = 0x0007c0d0, /* OUI=0x00800f, Model#=0x0d */ phy_id 299 drivers/net/phy/smsc.c .phy_id = 0x0007c0f0, /* OUI=0x00800f, Model#=0x0f */ phy_id 325 drivers/net/phy/smsc.c .phy_id = 0x0007c110, phy_id 81 drivers/net/phy/ste10Xp.c .phy_id = STE101P_PHY_ID, phy_id 91 drivers/net/phy/ste10Xp.c .phy_id = STE100P_PHY_ID, phy_id 77 drivers/net/phy/teranetics.c .phy_id = PHY_ID_TN2020, phy_id 87 drivers/net/phy/uPD60620.c .phy_id = UPD60620_PHY_ID, phy_id 293 drivers/net/phy/vitesse.c (phydev->drv->phy_id == PHY_ID_VSC8234 || phy_id 294 drivers/net/phy/vitesse.c phydev->drv->phy_id == PHY_ID_VSC8244 || phy_id 295 drivers/net/phy/vitesse.c phydev->drv->phy_id == PHY_ID_VSC8572 || phy_id 296 drivers/net/phy/vitesse.c phydev->drv->phy_id == PHY_ID_VSC8601) ? phy_id 387 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC8234, phy_id 396 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC8244, phy_id 405 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC8572, phy_id 414 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC8601, phy_id 422 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC7385, phy_id 431 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC7388, phy_id 440 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC7395, phy_id 449 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC7398, phy_id 458 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC8662, phy_id 468 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC8221, phy_id 477 drivers/net/phy/vitesse.c .phy_id = PHY_ID_VSC8211, phy_id 71 drivers/net/sungem_phy.c static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) phy_id 76 drivers/net/sungem_phy.c val = __sungem_phy_read(phy, phy_id, MII_BMCR); phy_id 79 drivers/net/sungem_phy.c __sungem_phy_write(phy, phy_id, MII_BMCR, val); phy_id 84 drivers/net/sungem_phy.c val = __sungem_phy_read(phy, phy_id, MII_BMCR); phy_id 90 drivers/net/sungem_phy.c __sungem_phy_write(phy, phy_id, MII_BMCR, val & ~BMCR_ISOLATE); phy_id 900 drivers/net/sungem_phy.c .phy_id = 0x00406210, phy_id 919 drivers/net/sungem_phy.c .phy_id = 0x004061e0, phy_id 937 drivers/net/sungem_phy.c .phy_id = 0x0143bc30, phy_id 956 drivers/net/sungem_phy.c .phy_id = 0x00206040, phy_id 975 drivers/net/sungem_phy.c .phy_id = 0x00206050, phy_id 994 drivers/net/sungem_phy.c .phy_id = 0x00206070, phy_id 1014 drivers/net/sungem_phy.c .phy_id = 0x002060e0, phy_id 1033 drivers/net/sungem_phy.c .phy_id = 0x002062e0, phy_id 1052 drivers/net/sungem_phy.c .phy_id = 0x002060c0, phy_id 1071 drivers/net/sungem_phy.c .phy_id = 0x002060d0, phy_id 1101 drivers/net/sungem_phy.c .phy_id = 0x01410c20, phy_id 1109 drivers/net/sungem_phy.c .phy_id = 0x01410c60, phy_id 1117 drivers/net/sungem_phy.c .phy_id = 0x01410cc0, phy_id 1134 drivers/net/sungem_phy.c .phy_id = 0x00000000, phy_id 1182 drivers/net/sungem_phy.c if ((id & def->phy_id_mask) == def->phy_id) phy_id 223 drivers/net/usb/asix.h int asix_mdio_read(struct net_device *netdev, int phy_id, int loc); phy_id 224 drivers/net/usb/asix.h void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val); phy_id 226 drivers/net/usb/asix.h int asix_mdio_read_nopm(struct net_device *netdev, int phy_id, int loc); phy_id 227 drivers/net/usb/asix.h void asix_mdio_write_nopm(struct net_device *netdev, int phy_id, int loc, phy_id 444 drivers/net/usb/asix_common.c int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) phy_id 466 drivers/net/usb/asix_common.c asix_read_cmd(dev, AX_CMD_READ_MII_REG, phy_id, phy_id 472 drivers/net/usb/asix_common.c phy_id, loc, le16_to_cpu(res)); phy_id 477 drivers/net/usb/asix_common.c void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) phy_id 486 drivers/net/usb/asix_common.c phy_id, loc, val); phy_id 502 drivers/net/usb/asix_common.c asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, phy_id 508 drivers/net/usb/asix_common.c int asix_mdio_read_nopm(struct net_device *netdev, int phy_id, int loc) phy_id 530 drivers/net/usb/asix_common.c asix_read_cmd(dev, AX_CMD_READ_MII_REG, phy_id, phy_id 536 drivers/net/usb/asix_common.c phy_id, loc, le16_to_cpu(res)); phy_id 542 drivers/net/usb/asix_common.c asix_mdio_write_nopm(struct net_device *netdev, int phy_id, int loc, int val) phy_id 551 drivers/net/usb/asix_common.c phy_id, loc, val); phy_id 567 drivers/net/usb/asix_common.c asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, phy_id 73 drivers/net/usb/asix_devices.c u32 phy_id; phy_id 78 drivers/net/usb/asix_devices.c phy_reg = asix_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID1); phy_id 89 drivers/net/usb/asix_devices.c phy_id = (phy_reg & 0xffff) << 16; phy_id 91 drivers/net/usb/asix_devices.c phy_reg = asix_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID2); phy_id 95 drivers/net/usb/asix_devices.c phy_id |= (phy_reg & 0xffff); phy_id 97 drivers/net/usb/asix_devices.c return phy_id; phy_id 208 drivers/net/usb/asix_devices.c asix_mdio_write(dev->net, dev->mii.phy_id, MII_BMCR, reset_bits); phy_id 215 drivers/net/usb/asix_devices.c if (asix_mdio_read(dev->net, dev->mii.phy_id, MII_BMCR) phy_id 223 drivers/net/usb/asix_devices.c dev->mii.phy_id); phy_id 265 drivers/net/usb/asix_devices.c dev->mii.phy_id = asix_get_phy_addr(dev); phy_id 273 drivers/net/usb/asix_devices.c asix_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, phy_id 359 drivers/net/usb/asix_devices.c embd_phy = ((dev->mii.phy_id & 0x1f) == 0x10 ? 1 : 0); phy_id 394 drivers/net/usb/asix_devices.c if (in_pm && (!asix_mdio_read_nopm(dev->net, dev->mii.phy_id, phy_id 454 drivers/net/usb/asix_devices.c embd_phy = ((dev->mii.phy_id & 0x1f) == 0x10 ? 1 : 0); phy_id 486 drivers/net/usb/asix_devices.c if (in_pm && (!asix_mdio_read_nopm(dev->net, dev->mii.phy_id, phy_id 507 drivers/net/usb/asix_devices.c phy14h = asix_mdio_read_nopm(dev->net, dev->mii.phy_id, phy_id 509 drivers/net/usb/asix_devices.c phy15h = asix_mdio_read_nopm(dev->net, dev->mii.phy_id, phy_id 511 drivers/net/usb/asix_devices.c phy16h = asix_mdio_read_nopm(dev->net, dev->mii.phy_id, phy_id 520 drivers/net/usb/asix_devices.c asix_mdio_write_nopm(dev->net, dev->mii.phy_id, phy_id 524 drivers/net/usb/asix_devices.c asix_mdio_write_nopm(dev->net, dev->mii.phy_id, phy_id 528 drivers/net/usb/asix_devices.c asix_mdio_write_nopm(dev->net, dev->mii.phy_id, phy_id 605 drivers/net/usb/asix_devices.c asix_mdio_read_nopm(dev->net, dev->mii.phy_id, MII_BMCR); phy_id 609 drivers/net/usb/asix_devices.c asix_mdio_read_nopm(dev->net, dev->mii.phy_id, MII_ADVERTISE); phy_id 629 drivers/net/usb/asix_devices.c asix_mdio_write_nopm(dev->net, dev->mii.phy_id, MII_ADVERTISE, phy_id 636 drivers/net/usb/asix_devices.c asix_mdio_write_nopm(dev->net, dev->mii.phy_id, MII_BMCR, phy_id 720 drivers/net/usb/asix_devices.c dev->mii.phy_id = asix_get_phy_addr(dev); phy_id 796 drivers/net/usb/asix_devices.c reg = asix_mdio_read(dev->net, dev->mii.phy_id, MII_MARVELL_STATUS); phy_id 799 drivers/net/usb/asix_devices.c asix_mdio_write(dev->net, dev->mii.phy_id, MII_MARVELL_CTRL, phy_id 803 drivers/net/usb/asix_devices.c reg = asix_mdio_read(dev->net, dev->mii.phy_id, phy_id 809 drivers/net/usb/asix_devices.c asix_mdio_write(dev->net, dev->mii.phy_id, phy_id 812 drivers/net/usb/asix_devices.c reg = asix_mdio_read(dev->net, dev->mii.phy_id, phy_id 827 drivers/net/usb/asix_devices.c asix_mdio_write (dev->net, dev->mii.phy_id, 0x1f, 0x0005); phy_id 828 drivers/net/usb/asix_devices.c asix_mdio_write (dev->net, dev->mii.phy_id, 0x0c, 0); phy_id 829 drivers/net/usb/asix_devices.c asix_mdio_write (dev->net, dev->mii.phy_id, 0x01, phy_id 830 drivers/net/usb/asix_devices.c asix_mdio_read (dev->net, dev->mii.phy_id, 0x01) | 0x0080); phy_id 831 drivers/net/usb/asix_devices.c asix_mdio_write (dev->net, dev->mii.phy_id, 0x1f, 0); phy_id 834 drivers/net/usb/asix_devices.c asix_mdio_write (dev->net, dev->mii.phy_id, 0x1f, 0x0002); phy_id 835 drivers/net/usb/asix_devices.c asix_mdio_write (dev->net, dev->mii.phy_id, 0x1a, 0x00cb); phy_id 836 drivers/net/usb/asix_devices.c asix_mdio_write (dev->net, dev->mii.phy_id, 0x1f, 0); phy_id 844 drivers/net/usb/asix_devices.c u16 reg = asix_mdio_read(dev->net, dev->mii.phy_id, MARVELL_LED_MANUAL); phy_id 863 drivers/net/usb/asix_devices.c asix_mdio_write(dev->net, dev->mii.phy_id, MARVELL_LED_MANUAL, reg); phy_id 932 drivers/net/usb/asix_devices.c asix_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, phy_id 934 drivers/net/usb/asix_devices.c asix_mdio_write(dev->net, dev->mii.phy_id, MII_CTRL1000, phy_id 1084 drivers/net/usb/asix_devices.c dev->mii.phy_id = asix_get_phy_addr(dev); phy_id 29 drivers/net/usb/ax88172a.c static int asix_mdio_bus_read(struct mii_bus *bus, int phy_id, int regnum) phy_id 31 drivers/net/usb/ax88172a.c return asix_mdio_read(((struct usbnet *)bus->priv)->net, phy_id, phy_id 35 drivers/net/usb/ax88172a.c static int asix_mdio_bus_write(struct mii_bus *bus, int phy_id, int regnum, phy_id 38 drivers/net/usb/ax88172a.c asix_mdio_write(((struct usbnet *)bus->priv)->net, phy_id, regnum, val); phy_id 352 drivers/net/usb/ax88179_178a.c static int ax88179_mdio_read(struct net_device *netdev, int phy_id, int loc) phy_id 357 drivers/net/usb/ax88179_178a.c ax88179_read_cmd(dev, AX_ACCESS_PHY, phy_id, (__u16)loc, 2, &res); phy_id 361 drivers/net/usb/ax88179_178a.c static void ax88179_mdio_write(struct net_device *netdev, int phy_id, int loc, phy_id 367 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_PHY, phy_id, (__u16)loc, 2, &res); phy_id 1271 drivers/net/usb/ax88179_178a.c dev->mii.phy_id = 0x03; phy_id 179 drivers/net/usb/ch9200.c static int ch9200_mdio_read(struct net_device *netdev, int phy_id, int loc) phy_id 185 drivers/net/usb/ch9200.c phy_id, loc); phy_id 187 drivers/net/usb/ch9200.c if (phy_id != 0) phy_id 197 drivers/net/usb/ch9200.c int phy_id, int loc, int val) phy_id 203 drivers/net/usb/ch9200.c phy_id, loc); phy_id 205 drivers/net/usb/ch9200.c if (phy_id != 0) phy_id 219 drivers/net/usb/dm9601.c static int dm9601_mdio_read(struct net_device *netdev, int phy_id, int loc) phy_id 225 drivers/net/usb/dm9601.c if (phy_id) { phy_id 234 drivers/net/usb/dm9601.c phy_id, loc, le16_to_cpu(res)); phy_id 239 drivers/net/usb/dm9601.c static void dm9601_mdio_write(struct net_device *netdev, int phy_id, int loc, phy_id 245 drivers/net/usb/dm9601.c if (phy_id) { phy_id 251 drivers/net/usb/dm9601.c phy_id, loc, val); phy_id 427 drivers/net/usb/dm9601.c dm9601_mdio_write(dev->net, dev->mii.phy_id, MII_BMCR, BMCR_RESET); phy_id 428 drivers/net/usb/dm9601.c dm9601_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, phy_id 1726 drivers/net/usb/lan78xx.c static int lan78xx_mdiobus_read(struct mii_bus *bus, int phy_id, int idx) phy_id 1744 drivers/net/usb/lan78xx.c addr = mii_access(phy_id, idx, MII_READ); phy_id 1762 drivers/net/usb/lan78xx.c static int lan78xx_mdiobus_write(struct mii_bus *bus, int phy_id, int idx, phy_id 1784 drivers/net/usb/lan78xx.c addr = mii_access(phy_id, idx, MII_WRITE); phy_id 305 drivers/net/usb/mcs7830.c static int mcs7830_mdio_read(struct net_device *netdev, int phy_id, phy_id 312 drivers/net/usb/mcs7830.c static void mcs7830_mdio_write(struct net_device *netdev, int phy_id, phy_id 504 drivers/net/usb/mcs7830.c dev->mii.phy_id = *((u8 *) net->dev_addr + 1); phy_id 265 drivers/net/usb/pegasus.c static int mdio_read(struct net_device *dev, int phy_id, int loc) phy_id 270 drivers/net/usb/pegasus.c read_mii_word(pegasus, phy_id, loc, &res); phy_id 274 drivers/net/usb/pegasus.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int val) phy_id 279 drivers/net/usb/pegasus.c write_mii_word(pegasus, phy_id, loc, &data); phy_id 1205 drivers/net/usb/pegasus.c pegasus->mii.phy_id = pegasus->phy; phy_id 1166 drivers/net/usb/r8152.c static int read_mii_word(struct net_device *netdev, int phy_id, int reg) phy_id 1174 drivers/net/usb/r8152.c if (phy_id != R8152_PHY_ID) phy_id 1183 drivers/net/usb/r8152.c void write_mii_word(struct net_device *netdev, int phy_id, int reg, int val) phy_id 1190 drivers/net/usb/r8152.c if (phy_id != R8152_PHY_ID) phy_id 5408 drivers/net/usb/r8152.c data->phy_id = R8152_PHY_ID; /* Internal PHY */ phy_id 5749 drivers/net/usb/r8152.c tp->mii.phy_id = R8152_PHY_ID; phy_id 179 drivers/net/usb/smsc75xx.c static int __smsc75xx_mdio_read(struct net_device *netdev, int phy_id, int idx, phy_id 196 drivers/net/usb/smsc75xx.c phy_id &= dev->mii.phy_id_mask; phy_id 198 drivers/net/usb/smsc75xx.c addr = ((phy_id << MII_ACCESS_PHY_ADDR_SHIFT) & MII_ACCESS_PHY_ADDR) phy_id 226 drivers/net/usb/smsc75xx.c static void __smsc75xx_mdio_write(struct net_device *netdev, int phy_id, phy_id 250 drivers/net/usb/smsc75xx.c phy_id &= dev->mii.phy_id_mask; phy_id 252 drivers/net/usb/smsc75xx.c addr = ((phy_id << MII_ACCESS_PHY_ADDR_SHIFT) & MII_ACCESS_PHY_ADDR) phy_id 271 drivers/net/usb/smsc75xx.c static int smsc75xx_mdio_read_nopm(struct net_device *netdev, int phy_id, phy_id 274 drivers/net/usb/smsc75xx.c return __smsc75xx_mdio_read(netdev, phy_id, idx, 1); phy_id 277 drivers/net/usb/smsc75xx.c static void smsc75xx_mdio_write_nopm(struct net_device *netdev, int phy_id, phy_id 280 drivers/net/usb/smsc75xx.c __smsc75xx_mdio_write(netdev, phy_id, idx, regval, 1); phy_id 283 drivers/net/usb/smsc75xx.c static int smsc75xx_mdio_read(struct net_device *netdev, int phy_id, int idx) phy_id 285 drivers/net/usb/smsc75xx.c return __smsc75xx_mdio_read(netdev, phy_id, idx, 0); phy_id 288 drivers/net/usb/smsc75xx.c static void smsc75xx_mdio_write(struct net_device *netdev, int phy_id, int idx, phy_id 291 drivers/net/usb/smsc75xx.c __smsc75xx_mdio_write(netdev, phy_id, idx, regval, 0); phy_id 634 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write(dev->net, mii->phy_id, PHY_INT_SRC, phy_id 645 drivers/net/usb/smsc75xx.c lcladv = smsc75xx_mdio_read(dev->net, mii->phy_id, MII_ADVERTISE); phy_id 646 drivers/net/usb/smsc75xx.c rmtadv = smsc75xx_mdio_read(dev->net, mii->phy_id, MII_LPA); phy_id 828 drivers/net/usb/smsc75xx.c dev->mii.phy_id = SMSC75XX_INTERNAL_PHY_ID; phy_id 831 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write(dev->net, dev->mii.phy_id, MII_BMCR, BMCR_RESET); phy_id 835 drivers/net/usb/smsc75xx.c bmcr = smsc75xx_mdio_read(dev->net, dev->mii.phy_id, MII_BMCR); phy_id 851 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, phy_id 854 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write(dev->net, dev->mii.phy_id, MII_CTRL1000, phy_id 858 drivers/net/usb/smsc75xx.c ret = smsc75xx_mdio_read(dev->net, dev->mii.phy_id, PHY_INT_SRC); phy_id 864 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write(dev->net, dev->mii.phy_id, PHY_INT_SRC, 0xffff); phy_id 866 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write(dev->net, dev->mii.phy_id, PHY_INT_MASK, phy_id 993 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write(dev->net, mii->phy_id, MII_BMCR, 0x4040); phy_id 1706 drivers/net/usb/smsc75xx.c ret = smsc75xx_mdio_read_nopm(dev->net, mii->phy_id, PHY_INT_SRC); phy_id 1713 drivers/net/usb/smsc75xx.c ret = smsc75xx_mdio_read_nopm(dev->net, mii->phy_id, PHY_INT_MASK); phy_id 1721 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write_nopm(dev->net, mii->phy_id, PHY_INT_MASK, ret); phy_id 1732 drivers/net/usb/smsc75xx.c ret = smsc75xx_mdio_read_nopm(dev->net, mii->phy_id, MII_BMSR); phy_id 1738 drivers/net/usb/smsc75xx.c ret = smsc75xx_mdio_read_nopm(dev->net, mii->phy_id, MII_BMSR); phy_id 1868 drivers/net/usb/smsc75xx.c ret = smsc75xx_mdio_read_nopm(dev->net, mii->phy_id, phy_id 1877 drivers/net/usb/smsc75xx.c smsc75xx_mdio_write_nopm(dev->net, mii->phy_id, phy_id 176 drivers/net/usb/smsc95xx.c static int __smsc95xx_mdio_read(struct net_device *netdev, int phy_id, int idx, phy_id 193 drivers/net/usb/smsc95xx.c phy_id &= dev->mii.phy_id_mask; phy_id 195 drivers/net/usb/smsc95xx.c addr = (phy_id << 11) | (idx << 6) | MII_READ_ | MII_BUSY_; phy_id 221 drivers/net/usb/smsc95xx.c static void __smsc95xx_mdio_write(struct net_device *netdev, int phy_id, phy_id 245 drivers/net/usb/smsc95xx.c phy_id &= dev->mii.phy_id_mask; phy_id 247 drivers/net/usb/smsc95xx.c addr = (phy_id << 11) | (idx << 6) | MII_WRITE_ | MII_BUSY_; phy_id 264 drivers/net/usb/smsc95xx.c static int smsc95xx_mdio_read_nopm(struct net_device *netdev, int phy_id, phy_id 267 drivers/net/usb/smsc95xx.c return __smsc95xx_mdio_read(netdev, phy_id, idx, 1); phy_id 270 drivers/net/usb/smsc95xx.c static void smsc95xx_mdio_write_nopm(struct net_device *netdev, int phy_id, phy_id 273 drivers/net/usb/smsc95xx.c __smsc95xx_mdio_write(netdev, phy_id, idx, regval, 1); phy_id 276 drivers/net/usb/smsc95xx.c static int smsc95xx_mdio_read(struct net_device *netdev, int phy_id, int idx) phy_id 278 drivers/net/usb/smsc95xx.c return __smsc95xx_mdio_read(netdev, phy_id, idx, 0); phy_id 281 drivers/net/usb/smsc95xx.c static void smsc95xx_mdio_write(struct net_device *netdev, int phy_id, int idx, phy_id 284 drivers/net/usb/smsc95xx.c __smsc95xx_mdio_write(netdev, phy_id, idx, regval, 0); phy_id 561 drivers/net/usb/smsc95xx.c ret = smsc95xx_mdio_read(dev->net, mii->phy_id, PHY_INT_SRC); phy_id 571 drivers/net/usb/smsc95xx.c lcladv = smsc95xx_mdio_read(dev->net, mii->phy_id, MII_ADVERTISE); phy_id 572 drivers/net/usb/smsc95xx.c rmtadv = smsc95xx_mdio_read(dev->net, mii->phy_id, MII_LPA); phy_id 644 drivers/net/usb/smsc95xx.c ret = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, MII_BMSR); phy_id 781 drivers/net/usb/smsc95xx.c buf = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, SPECIAL_CTRL_STS); phy_id 807 drivers/net/usb/smsc95xx.c buf = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, phy_id 810 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write(dev->net, dev->mii.phy_id, phy_id 815 drivers/net/usb/smsc95xx.c buf = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, phy_id 820 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write(dev->net, dev->mii.phy_id, phy_id 823 drivers/net/usb/smsc95xx.c buf = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, phy_id 829 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write(dev->net, dev->mii.phy_id, phy_id 832 drivers/net/usb/smsc95xx.c buf = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, phy_id 838 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write(dev->net, dev->mii.phy_id, phy_id 985 drivers/net/usb/smsc95xx.c dev->mii.phy_id = SMSC95XX_INTERNAL_PHY_ID; phy_id 988 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write(dev->net, dev->mii.phy_id, MII_BMCR, BMCR_RESET); phy_id 992 drivers/net/usb/smsc95xx.c bmcr = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, MII_BMCR); phy_id 1001 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, phy_id 1006 drivers/net/usb/smsc95xx.c ret = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, PHY_INT_SRC); phy_id 1012 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write(dev->net, dev->mii.phy_id, PHY_INT_MASK, phy_id 1349 drivers/net/usb/smsc95xx.c ret = smsc95xx_mdio_read_nopm(dev->net, mii->phy_id, PHY_INT_SRC); phy_id 1354 drivers/net/usb/smsc95xx.c ret = smsc95xx_mdio_read_nopm(dev->net, mii->phy_id, PHY_INT_MASK); phy_id 1360 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write_nopm(dev->net, mii->phy_id, PHY_INT_MASK, ret); phy_id 1371 drivers/net/usb/smsc95xx.c ret = smsc95xx_mdio_read_nopm(dev->net, mii->phy_id, MII_BMSR); phy_id 1375 drivers/net/usb/smsc95xx.c ret = smsc95xx_mdio_read_nopm(dev->net, mii->phy_id, MII_BMSR); phy_id 1432 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write_nopm(dev->net, mii->phy_id, PHY_EDPD_CONFIG, phy_id 1436 drivers/net/usb/smsc95xx.c ret = smsc95xx_mdio_read_nopm(dev->net, mii->phy_id, PHY_MODE_CTRL_STS); phy_id 1442 drivers/net/usb/smsc95xx.c smsc95xx_mdio_write_nopm(dev->net, mii->phy_id, PHY_MODE_CTRL_STS, ret); phy_id 176 drivers/net/usb/sr9700.c static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) phy_id 182 drivers/net/usb/sr9700.c if (phy_id) { phy_id 202 drivers/net/usb/sr9700.c phy_id, loc, res); phy_id 207 drivers/net/usb/sr9700.c static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, phy_id 213 drivers/net/usb/sr9700.c if (phy_id) { phy_id 219 drivers/net/usb/sr9700.c phy_id, loc, val); phy_id 369 drivers/net/usb/sr9700.c sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET); phy_id 370 drivers/net/usb/sr9700.c sr_mdio_write(netdev, mii->phy_id, MII_ADVERTISE, ADVERTISE_ALL | phy_id 335 drivers/net/usb/sr9800.c static int sr_mdio_read(struct net_device *net, int phy_id, int loc) phy_id 342 drivers/net/usb/sr9800.c sr_read_cmd(dev, SR_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, &res); phy_id 348 drivers/net/usb/sr9800.c phy_id, loc, le16_to_cpu(res)); phy_id 354 drivers/net/usb/sr9800.c sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) phy_id 361 drivers/net/usb/sr9800.c phy_id, loc, val); phy_id 364 drivers/net/usb/sr9800.c sr_write_cmd(dev, SR_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res); phy_id 373 drivers/net/usb/sr9800.c u32 phy_id; phy_id 378 drivers/net/usb/sr9800.c phy_reg = sr_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID1); phy_id 387 drivers/net/usb/sr9800.c phy_id = (phy_reg & 0xffff) << 16; phy_id 389 drivers/net/usb/sr9800.c phy_reg = sr_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID2); phy_id 393 drivers/net/usb/sr9800.c phy_id |= (phy_reg & 0xffff); phy_id 395 drivers/net/usb/sr9800.c return phy_id; phy_id 563 drivers/net/usb/sr9800.c sr_mdio_write(dev->net, dev->mii.phy_id, MII_BMCR, BMCR_RESET); phy_id 564 drivers/net/usb/sr9800.c sr_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, phy_id 771 drivers/net/usb/sr9800.c dev->mii.phy_id = sr_get_phy_addr(dev); phy_id 776 drivers/net/usb/sr9800.c embd_phy = ((dev->mii.phy_id & 0x1f) == 0x10 ? 1 : 0); phy_id 149 drivers/net/wireless/intel/iwlwifi/mvm/quota.c int i, phy_id = -1, beacon_int = 0; phy_id 158 drivers/net/wireless/intel/iwlwifi/mvm/quota.c phy_id = mvmvif->phy_ctxt->id; phy_id 169 drivers/net/wireless/intel/iwlwifi/mvm/quota.c if (id != phy_id) phy_id 48 drivers/nfc/fdp/i2c.c static int fdp_nci_i2c_enable(void *phy_id) phy_id 50 drivers/nfc/fdp/i2c.c struct fdp_i2c_phy *phy = phy_id; phy_id 58 drivers/nfc/fdp/i2c.c static void fdp_nci_i2c_disable(void *phy_id) phy_id 60 drivers/nfc/fdp/i2c.c struct fdp_i2c_phy *phy = phy_id; phy_id 89 drivers/nfc/fdp/i2c.c static int fdp_nci_i2c_write(void *phy_id, struct sk_buff *skb) phy_id 91 drivers/nfc/fdp/i2c.c struct fdp_i2c_phy *phy = phy_id; phy_id 197 drivers/nfc/fdp/i2c.c static irqreturn_t fdp_nci_i2c_irq_thread_fn(int irq, void *phy_id) phy_id 199 drivers/nfc/fdp/i2c.c struct fdp_i2c_phy *phy = phy_id; phy_id 251 drivers/nfc/mei_phy.c static int nfc_mei_phy_write(void *phy_id, struct sk_buff *skb) phy_id 253 drivers/nfc/mei_phy.c struct nfc_mei_phy *phy = phy_id; phy_id 318 drivers/nfc/mei_phy.c static int nfc_mei_phy_enable(void *phy_id) phy_id 321 drivers/nfc/mei_phy.c struct nfc_mei_phy *phy = phy_id; phy_id 362 drivers/nfc/mei_phy.c static void nfc_mei_phy_disable(void *phy_id) phy_id 364 drivers/nfc/mei_phy.c struct nfc_mei_phy *phy = phy_id; phy_id 93 drivers/nfc/microread/i2c.c static int microread_i2c_enable(void *phy_id) phy_id 98 drivers/nfc/microread/i2c.c static void microread_i2c_disable(void *phy_id) phy_id 103 drivers/nfc/microread/i2c.c static int microread_i2c_write(void *phy_id, struct sk_buff *skb) phy_id 106 drivers/nfc/microread/i2c.c struct microread_i2c_phy *phy = phy_id; phy_id 198 drivers/nfc/microread/i2c.c static irqreturn_t microread_i2c_irq_thread_fn(int irq, void *phy_id) phy_id 200 drivers/nfc/microread/i2c.c struct microread_i2c_phy *phy = phy_id; phy_id 156 drivers/nfc/microread/microread.c void *phy_id; phy_id 169 drivers/nfc/microread/microread.c return info->phy_ops->enable(info->phy_id); phy_id 176 drivers/nfc/microread/microread.c info->phy_ops->disable(info->phy_id); phy_id 222 drivers/nfc/microread/microread.c return info->phy_ops->write(info->phy_id, skb); phy_id 645 drivers/nfc/microread/microread.c int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, phy_id 662 drivers/nfc/microread/microread.c info->phy_id = phy_id; phy_id 13 drivers/nfc/microread/microread.h int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, phy_id 43 drivers/nfc/nxp-nci/core.c r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_NCI); phy_id 60 drivers/nfc/nxp-nci/core.c r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); phy_id 83 drivers/nfc/nxp-nci/core.c r = info->phy_ops->write(info->phy_id, skb); phy_id 98 drivers/nfc/nxp-nci/core.c int nxp_nci_probe(void *phy_id, struct device *pdev, phy_id 112 drivers/nfc/nxp-nci/core.c info->phy_id = phy_id; phy_id 121 drivers/nfc/nxp-nci/core.c r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); phy_id 163 drivers/nfc/nxp-nci/core.c info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); phy_id 58 drivers/nfc/nxp-nci/firmware.c r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_COLD); phy_id 121 drivers/nfc/nxp-nci/firmware.c r = info->phy_ops->write(info->phy_id, skb); phy_id 224 drivers/nfc/nxp-nci/firmware.c r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_FW); phy_id 45 drivers/nfc/nxp-nci/i2c.c static int nxp_nci_i2c_set_mode(void *phy_id, phy_id 48 drivers/nfc/nxp-nci/i2c.c struct nxp_nci_i2c_phy *phy = (struct nxp_nci_i2c_phy *) phy_id; phy_id 60 drivers/nfc/nxp-nci/i2c.c static int nxp_nci_i2c_write(void *phy_id, struct sk_buff *skb) phy_id 63 drivers/nfc/nxp-nci/i2c.c struct nxp_nci_i2c_phy *phy = phy_id; phy_id 182 drivers/nfc/nxp-nci/i2c.c static irqreturn_t nxp_nci_i2c_irq_thread_fn(int irq, void *phy_id) phy_id 184 drivers/nfc/nxp-nci/i2c.c struct nxp_nci_i2c_phy *phy = phy_id; phy_id 54 drivers/nfc/nxp-nci/nxp-nci.h void *phy_id; phy_id 72 drivers/nfc/nxp-nci/nxp-nci.h int nxp_nci_probe(void *phy_id, struct device *pdev, phy_id 240 drivers/nfc/pn544/i2c.c static int pn544_hci_i2c_enable(void *phy_id) phy_id 242 drivers/nfc/pn544/i2c.c struct pn544_i2c_phy *phy = phy_id; phy_id 253 drivers/nfc/pn544/i2c.c static void pn544_hci_i2c_disable(void *phy_id) phy_id 255 drivers/nfc/pn544/i2c.c struct pn544_i2c_phy *phy = phy_id; phy_id 295 drivers/nfc/pn544/i2c.c static int pn544_hci_i2c_write(void *phy_id, struct sk_buff *skb) phy_id 298 drivers/nfc/pn544/i2c.c struct pn544_i2c_phy *phy = phy_id; phy_id 482 drivers/nfc/pn544/i2c.c static irqreturn_t pn544_hci_i2c_irq_thread_fn(int irq, void *phy_id) phy_id 484 drivers/nfc/pn544/i2c.c struct pn544_i2c_phy *phy = phy_id; phy_id 526 drivers/nfc/pn544/i2c.c static int pn544_hci_i2c_fw_download(void *phy_id, const char *firmware_name, phy_id 529 drivers/nfc/pn544/i2c.c struct pn544_i2c_phy *phy = phy_id; phy_id 112 drivers/nfc/pn544/pn544.c void *phy_id; phy_id 139 drivers/nfc/pn544/pn544.c r = info->phy_ops->enable(info->phy_id); phy_id 158 drivers/nfc/pn544/pn544.c info->phy_ops->disable(info->phy_id); phy_id 330 drivers/nfc/pn544/pn544.c return info->phy_ops->write(info->phy_id, skb); phy_id 779 drivers/nfc/pn544/pn544.c return info->fw_download(info->phy_id, firmware_name, hdev->sw_romlib); phy_id 904 drivers/nfc/pn544/pn544.c int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, phy_id 920 drivers/nfc/pn544/pn544.c info->phy_id = phy_id; phy_id 19 drivers/nfc/pn544/pn544.h int pn544_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, phy_id 138 drivers/nfc/s3fwrn5/core.c int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev, phy_id 148 drivers/nfc/s3fwrn5/core.c info->phy_id = phy_id; phy_id 38 drivers/nfc/s3fwrn5/i2c.c static void s3fwrn5_i2c_set_wake(void *phy_id, bool wake) phy_id 40 drivers/nfc/s3fwrn5/i2c.c struct s3fwrn5_i2c_phy *phy = phy_id; phy_id 48 drivers/nfc/s3fwrn5/i2c.c static void s3fwrn5_i2c_set_mode(void *phy_id, enum s3fwrn5_mode mode) phy_id 50 drivers/nfc/s3fwrn5/i2c.c struct s3fwrn5_i2c_phy *phy = phy_id; phy_id 76 drivers/nfc/s3fwrn5/i2c.c static enum s3fwrn5_mode s3fwrn5_i2c_get_mode(void *phy_id) phy_id 78 drivers/nfc/s3fwrn5/i2c.c struct s3fwrn5_i2c_phy *phy = phy_id; phy_id 90 drivers/nfc/s3fwrn5/i2c.c static int s3fwrn5_i2c_write(void *phy_id, struct sk_buff *skb) phy_id 92 drivers/nfc/s3fwrn5/i2c.c struct s3fwrn5_i2c_phy *phy = phy_id; phy_id 164 drivers/nfc/s3fwrn5/i2c.c static irqreturn_t s3fwrn5_i2c_irq_thread_fn(int irq, void *phy_id) phy_id 166 drivers/nfc/s3fwrn5/i2c.c struct s3fwrn5_i2c_phy *phy = phy_id; phy_id 33 drivers/nfc/s3fwrn5/s3fwrn5.h void *phy_id; phy_id 50 drivers/nfc/s3fwrn5/s3fwrn5.h info->phy_ops->set_mode(info->phy_id, mode); phy_id 60 drivers/nfc/s3fwrn5/s3fwrn5.h return info->phy_ops->get_mode(info->phy_id); phy_id 68 drivers/nfc/s3fwrn5/s3fwrn5.h info->phy_ops->set_wake(info->phy_id, wake); phy_id 78 drivers/nfc/s3fwrn5/s3fwrn5.h return info->phy_ops->write(info->phy_id, skb); phy_id 81 drivers/nfc/s3fwrn5/s3fwrn5.h int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev, phy_id 43 drivers/nfc/st-nci/i2c.c static int st_nci_i2c_enable(void *phy_id) phy_id 45 drivers/nfc/st-nci/i2c.c struct st_nci_i2c_phy *phy = phy_id; phy_id 60 drivers/nfc/st-nci/i2c.c static void st_nci_i2c_disable(void *phy_id) phy_id 62 drivers/nfc/st-nci/i2c.c struct st_nci_i2c_phy *phy = phy_id; phy_id 73 drivers/nfc/st-nci/i2c.c static int st_nci_i2c_write(void *phy_id, struct sk_buff *skb) phy_id 76 drivers/nfc/st-nci/i2c.c struct st_nci_i2c_phy *phy = phy_id; phy_id 157 drivers/nfc/st-nci/i2c.c static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id) phy_id 159 drivers/nfc/st-nci/i2c.c struct st_nci_i2c_phy *phy = phy_id; phy_id 49 drivers/nfc/st-nci/ndlc.c ndlc->ops->enable(ndlc->phy_id); phy_id 63 drivers/nfc/st-nci/ndlc.c ndlc->ops->enable(ndlc->phy_id); phy_id 69 drivers/nfc/st-nci/ndlc.c ndlc->ops->disable(ndlc->phy_id); phy_id 101 drivers/nfc/st-nci/ndlc.c r = ndlc->ops->write(ndlc->phy_id, skb); phy_id 256 drivers/nfc/st-nci/ndlc.c int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev, phy_id 267 drivers/nfc/st-nci/ndlc.c ndlc->phy_id = phy_id; phy_id 20 drivers/nfc/st-nci/ndlc.h void *phy_id; phy_id 48 drivers/nfc/st-nci/ndlc.h int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev, phy_id 44 drivers/nfc/st-nci/spi.c static int st_nci_spi_enable(void *phy_id) phy_id 46 drivers/nfc/st-nci/spi.c struct st_nci_spi_phy *phy = phy_id; phy_id 61 drivers/nfc/st-nci/spi.c static void st_nci_spi_disable(void *phy_id) phy_id 63 drivers/nfc/st-nci/spi.c struct st_nci_spi_phy *phy = phy_id; phy_id 74 drivers/nfc/st-nci/spi.c static int st_nci_spi_write(void *phy_id, struct sk_buff *skb) phy_id 77 drivers/nfc/st-nci/spi.c struct st_nci_spi_phy *phy = phy_id; phy_id 172 drivers/nfc/st-nci/spi.c static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id) phy_id 174 drivers/nfc/st-nci/spi.c struct st_nci_spi_phy *phy = phy_id; phy_id 218 drivers/nfc/st21nfca/core.c r = info->phy_ops->enable(info->phy_id); phy_id 237 drivers/nfc/st21nfca/core.c info->phy_ops->disable(info->phy_id); phy_id 312 drivers/nfc/st21nfca/core.c return info->phy_ops->write(info->phy_id, skb); phy_id 939 drivers/nfc/st21nfca/core.c int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, phy_id 956 drivers/nfc/st21nfca/core.c info->phy_id = phy_id; phy_id 134 drivers/nfc/st21nfca/i2c.c static int st21nfca_hci_i2c_enable(void *phy_id) phy_id 136 drivers/nfc/st21nfca/i2c.c struct st21nfca_i2c_phy *phy = phy_id; phy_id 147 drivers/nfc/st21nfca/i2c.c static void st21nfca_hci_i2c_disable(void *phy_id) phy_id 149 drivers/nfc/st21nfca/i2c.c struct st21nfca_i2c_phy *phy = phy_id; phy_id 184 drivers/nfc/st21nfca/i2c.c static int st21nfca_hci_i2c_write(void *phy_id, struct sk_buff *skb) phy_id 187 drivers/nfc/st21nfca/i2c.c struct st21nfca_i2c_phy *phy = phy_id; phy_id 423 drivers/nfc/st21nfca/i2c.c static irqreturn_t st21nfca_hci_irq_thread_fn(int irq, void *phy_id) phy_id 425 drivers/nfc/st21nfca/i2c.c struct st21nfca_i2c_phy *phy = phy_id; phy_id 148 drivers/nfc/st21nfca/st21nfca.h void *phy_id; phy_id 166 drivers/nfc/st21nfca/st21nfca.h int st21nfca_hci_probe(void *phy_id, struct nfc_phy_ops *phy_ops, phy_id 30 drivers/of/of_mdio.c static int of_get_phy_id(struct device_node *device, u32 *phy_id) phy_id 38 drivers/of/of_mdio.c *phy_id = ((upper & 0xFFFF) << 16) | (lower & 0xFFFF); phy_id 51 drivers/of/of_mdio.c u32 phy_id; phy_id 56 drivers/of/of_mdio.c if (!is_c45 && !of_get_phy_id(child, &phy_id)) phy_id 57 drivers/of/of_mdio.c phy = phy_device_create(mdio, addr, phy_id, 0, NULL); phy_id 167 drivers/of/of_mdio.c u32 phy_id; phy_id 169 drivers/of/of_mdio.c if (of_get_phy_id(child, &phy_id) != -EINVAL) phy_id 196 drivers/phy/marvell/phy-berlin-sata.c u32 phy_id; phy_id 234 drivers/phy/marvell/phy-berlin-sata.c if (of_property_read_u32(child, "reg", &phy_id)) { phy_id 241 drivers/phy/marvell/phy-berlin-sata.c if (phy_id >= ARRAY_SIZE(phy_berlin_power_down_bits)) { phy_id 255 drivers/phy/marvell/phy-berlin-sata.c dev_err(dev, "failed to create PHY %d\n", phy_id); phy_id 261 drivers/phy/marvell/phy-berlin-sata.c phy_desc->power_bit = phy_berlin_power_down_bits[phy_id]; phy_id 262 drivers/phy/marvell/phy-berlin-sata.c phy_desc->index = phy_id; phy_id 203 drivers/phy/ti/phy-gmii-sel.c int phy_id = args->args[0]; phy_id 212 drivers/phy/ti/phy-gmii-sel.c if (phy_id > priv->soc_data->num_ports) phy_id 214 drivers/phy/ti/phy-gmii-sel.c if (phy_id != priv->if_phys[phy_id - 1].id) phy_id 217 drivers/phy/ti/phy-gmii-sel.c phy_id--; phy_id 219 drivers/phy/ti/phy-gmii-sel.c priv->if_phys[phy_id].rmii_clock_external = args->args[1]; phy_id 221 drivers/phy/ti/phy-gmii-sel.c priv->if_phys[phy_id].id, args->args[1]); phy_id 223 drivers/phy/ti/phy-gmii-sel.c return priv->if_phys[phy_id].if_phy; phy_id 4302 drivers/s390/net/qeth_core_main.c static int qeth_mdio_read(struct net_device *dev, int phy_id, int regnum) phy_id 5878 drivers/s390/net/qeth_core_main.c mii_data->phy_id = 0; phy_id 5882 drivers/s390/net/qeth_core_main.c if (mii_data->phy_id != 0) phy_id 5886 drivers/s390/net/qeth_core_main.c mii_data->phy_id, mii_data->reg_num); phy_id 66 drivers/scsi/aic94xx/aic94xx_hwi.c phy->identify_frame->phy_id = phy->sas_phy.id; phy_id 1261 drivers/scsi/aic94xx/aic94xx_hwi.c void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op) phy_id 1263 drivers/scsi/aic94xx/aic94xx_hwi.c if (phy_id < ASD_MAX_PHYS) { phy_id 1264 drivers/scsi/aic94xx/aic94xx_hwi.c u32 v = asd_read_reg_dword(asd_ha, LmCONTROL(phy_id)); phy_id 1269 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_dword(asd_ha, LmCONTROL(phy_id), v); phy_id 1282 drivers/scsi/aic94xx/aic94xx_hwi.c void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op) phy_id 1284 drivers/scsi/aic94xx/aic94xx_hwi.c if (phy_id < ASD_MAX_PHYS) { phy_id 1289 drivers/scsi/aic94xx/aic94xx_hwi.c v |= (1 << phy_id); phy_id 1291 drivers/scsi/aic94xx/aic94xx_hwi.c v &= ~(1 << phy_id); phy_id 1296 drivers/scsi/aic94xx/aic94xx_hwi.c v |= (1 << phy_id); phy_id 1298 drivers/scsi/aic94xx/aic94xx_hwi.c v &= ~(1 << phy_id); phy_id 1305 drivers/scsi/aic94xx/aic94xx_hwi.c static int asd_enable_phy(struct asd_ha_struct *asd_ha, int phy_id) phy_id 1307 drivers/scsi/aic94xx/aic94xx_hwi.c struct asd_phy *phy = &asd_ha->phys[phy_id]; phy_id 1309 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_byte(asd_ha, LmSEQ_OOB_REG(phy_id, INT_ENABLE_2), 0); phy_id 1310 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_byte(asd_ha, LmSEQ_OOB_REG(phy_id, HOT_PLUG_DELAY), phy_id 1315 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_byte(asd_ha, LmSEQ_OOB_REG(phy_id, PHY_CONTROL_0), phy_id 1317 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_byte(asd_ha, LmSEQ_OOB_REG(phy_id, PHY_CONTROL_1), phy_id 1319 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_byte(asd_ha, LmSEQ_OOB_REG(phy_id, PHY_CONTROL_2), phy_id 1321 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_byte(asd_ha, LmSEQ_OOB_REG(phy_id, PHY_CONTROL_3), phy_id 1324 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_dword(asd_ha, LmSEQ_TEN_MS_COMINIT_TIMEOUT(phy_id), phy_id 1327 drivers/scsi/aic94xx/aic94xx_hwi.c asd_write_reg_addr(asd_ha, LmSEQ_TX_ID_ADDR_FRAME(phy_id), phy_id 1330 drivers/scsi/aic94xx/aic94xx_hwi.c asd_control_led(asd_ha, phy_id, 1); phy_id 371 drivers/scsi/aic94xx/aic94xx_hwi.h void asd_build_control_phy(struct asd_ascb *ascb, int phy_id, u8 subfunc); phy_id 372 drivers/scsi/aic94xx/aic94xx_hwi.h void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op); phy_id 373 drivers/scsi/aic94xx/aic94xx_hwi.h void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op); phy_id 1381 drivers/scsi/aic94xx/aic94xx_reg_def.h #define LmSEQ_OOB_REG(phy_id, reg) LmSEQ_PHY_REG(5, (phy_id), (reg)) phy_id 383 drivers/scsi/aic94xx/aic94xx_sas.h u8 phy_id; phy_id 430 drivers/scsi/aic94xx/aic94xx_sas.h u8 phy_id; phy_id 528 drivers/scsi/aic94xx/aic94xx_sas.h u8 phy_id; phy_id 72 drivers/scsi/aic94xx/aic94xx_scb.c int phy_id = dl->status_block[0] & DL_PHY_MASK; phy_id 73 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_phy *phy = &asd_ha->phys[phy_id]; phy_id 81 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("phy%d: device unplugged\n", phy_id); phy_id 82 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 0); phy_id 88 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 1); phy_id 91 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, phy->sas_phy.linkrate, phy->sas_phy.iproto); phy_id 96 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 1); phy_id 101 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("phy%d error while OOB: oob status:0x%x\n", phy_id, phy_id 103 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 0); phy_id 219 drivers/scsi/aic94xx/aic94xx_scb.c int edb_id, int phy_id) phy_id 224 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_phy *phy = &ascb->ha->phys[phy_id]; phy_id 242 drivers/scsi/aic94xx/aic94xx_scb.c int phy_id) phy_id 246 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; phy_id 247 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_phy *phy = &asd_ha->phys[phy_id]; phy_id 253 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("phy%d: Receive ID timer expired\n", phy_id); phy_id 256 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("phy%d: Loss of signal\n", phy_id); phy_id 259 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("phy%d: Loss of dword sync\n", phy_id); phy_id 262 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("phy%d: Receive FIS timeout\n", phy_id); phy_id 266 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, lr_error); phy_id 270 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 0); phy_id 284 drivers/scsi/aic94xx/aic94xx_scb.c phy_id); phy_id 285 drivers/scsi/aic94xx/aic94xx_scb.c asd_build_control_phy(cp, phy_id, ENABLE_PHY); phy_id 295 drivers/scsi/aic94xx/aic94xx_scb.c int phy_id) phy_id 299 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; phy_id 301 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_phy *phy = &asd_ha->phys[phy_id]; phy_id 314 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, cont); phy_id 322 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("phy%d: unknown BREAK\n", phy_id); phy_id 327 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, reg, cont); phy_id 335 drivers/scsi/aic94xx/aic94xx_scb.c phy_id); phy_id 344 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, reg, cont); phy_id 404 drivers/scsi/aic94xx/aic94xx_scb.c int phy_id = sb_opcode & DL_PHY_MASK; phy_id 405 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; phy_id 406 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_phy *phy = &asd_ha->phys[phy_id]; phy_id 412 drivers/scsi/aic94xx/aic94xx_scb.c sb_opcode, phy_id); phy_id 546 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("%s: phy%d: BYTES_DMAED\n", __func__, phy_id); phy_id 547 drivers/scsi/aic94xx/aic94xx_scb.c asd_bytes_dmaed_tasklet(ascb, dl, edb, phy_id); phy_id 551 drivers/scsi/aic94xx/aic94xx_scb.c phy_id); phy_id 552 drivers/scsi/aic94xx/aic94xx_scb.c asd_primitive_rcvd_tasklet(ascb, dl, phy_id); phy_id 555 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("%s: phy%d: PHY_EVENT\n", __func__, phy_id); phy_id 560 drivers/scsi/aic94xx/aic94xx_scb.c phy_id); phy_id 561 drivers/scsi/aic94xx/aic94xx_scb.c asd_link_reset_err_tasklet(ascb, dl, phy_id); phy_id 565 drivers/scsi/aic94xx/aic94xx_scb.c __func__, phy_id); phy_id 566 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 0); phy_id 574 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, sb_opcode); phy_id 578 drivers/scsi/aic94xx/aic94xx_scb.c sb_opcode, phy_id); phy_id 630 drivers/scsi/aic94xx/aic94xx_scb.c u8 phy_id = control_phy->phy_id; phy_id 631 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_phy *phy = &ascb->ha->phys[phy_id]; phy_id 640 drivers/scsi/aic94xx/aic94xx_scb.c __func__, phy_id, status); phy_id 646 drivers/scsi/aic94xx/aic94xx_scb.c asd_ha->hw_prof.enabled_phys &= ~(1 << phy_id); phy_id 647 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 0); phy_id 648 drivers/scsi/aic94xx/aic94xx_scb.c asd_control_led(asd_ha, phy_id, 0); phy_id 649 drivers/scsi/aic94xx/aic94xx_scb.c ASD_DPRINTK("%s: disable phy%d\n", __func__, phy_id); phy_id 653 drivers/scsi/aic94xx/aic94xx_scb.c asd_control_led(asd_ha, phy_id, 1); phy_id 655 drivers/scsi/aic94xx/aic94xx_scb.c asd_ha->hw_prof.enabled_phys |= (1 << phy_id); phy_id 657 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 1); phy_id 659 drivers/scsi/aic94xx/aic94xx_scb.c __func__, phy_id,phy->sas_phy.linkrate, phy_id 662 drivers/scsi/aic94xx/aic94xx_scb.c asd_ha->hw_prof.enabled_phys |= (1 << phy_id); phy_id 663 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 1); phy_id 665 drivers/scsi/aic94xx/aic94xx_scb.c phy_id); phy_id 667 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 0); phy_id 669 drivers/scsi/aic94xx/aic94xx_scb.c __func__, phy_id, oob_status); phy_id 672 drivers/scsi/aic94xx/aic94xx_scb.c asd_ha->hw_prof.enabled_phys |= (1 << phy_id); phy_id 673 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 1); phy_id 675 drivers/scsi/aic94xx/aic94xx_scb.c __func__, phy_id); phy_id 677 drivers/scsi/aic94xx/aic94xx_scb.c asd_ha->hw_prof.enabled_phys |= (1 << phy_id); phy_id 678 drivers/scsi/aic94xx/aic94xx_scb.c asd_turn_led(asd_ha, phy_id, 0); phy_id 681 drivers/scsi/aic94xx/aic94xx_scb.c __func__, phy_id, oob_status); phy_id 688 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, control_phy->sub_func); phy_id 693 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, control_phy->sub_func); phy_id 762 drivers/scsi/aic94xx/aic94xx_scb.c void asd_build_control_phy(struct asd_ascb *ascb, int phy_id, u8 subfunc) phy_id 764 drivers/scsi/aic94xx/aic94xx_scb.c struct asd_phy *phy = &ascb->ha->phys[phy_id]; phy_id 769 drivers/scsi/aic94xx/aic94xx_scb.c control_phy->phy_id = (u8) phy_id; phy_id 817 drivers/scsi/aic94xx/aic94xx_scb.c u8 phy_id = link_adm->phy_id; phy_id 821 drivers/scsi/aic94xx/aic94xx_scb.c "0x%x\n", phy_id, link_adm->sub_func, opcode); phy_id 824 drivers/scsi/aic94xx/aic94xx_scb.c phy_id, link_adm->sub_func, opcode); phy_id 829 drivers/scsi/aic94xx/aic94xx_scb.c void asd_build_initiate_link_adm_task(struct asd_ascb *ascb, int phy_id, phy_id 837 drivers/scsi/aic94xx/aic94xx_scb.c link_adm->phy_id = phy_id; phy_id 417 drivers/scsi/aic94xx/aic94xx_sds.c u8 phy_id; phy_id 773 drivers/scsi/aic94xx/aic94xx_sds.c dflt_phy_param.phy_desc[i].phy_id = i; phy_id 373 drivers/scsi/esas2r/atioctl.h u8 phy_id; phy_id 390 drivers/scsi/esas2r/atioctl.h u8 phy_id; phy_id 412 drivers/scsi/esas2r/atioctl.h u8 phy_id; phy_id 436 drivers/scsi/esas2r/atioctl.h u8 phy_id; phy_id 470 drivers/scsi/esas2r/atioctl.h u8 phy_id; phy_id 494 drivers/scsi/esas2r/atioctl.h u8 phy_id; phy_id 617 drivers/scsi/esas2r/atioctl.h u8 phy_id; phy_id 947 drivers/scsi/esas2r/atioctl.h u8 phy_id[ATTO_SDI_MAX_PHYS_WIDE_PORT]; /* IDs of parent exp/adapt */ phy_id 1199 drivers/scsi/esas2r/atioctl.h u8 phy_id; phy_id 209 drivers/scsi/hisi_sas/hisi_sas.h int phy_id; phy_id 1474 drivers/scsi/hisi_sas/hisi_sas_main.c tmf_task.phy_id = sas_phy->id; phy_id 473 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c identify_frame.phy_id = phy_no; phy_id 906 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c identify_frame.phy_id = phy_no; phy_id 2507 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c dw0 |= (1 << tmf->phy_id) << CMD_HDR_PHY_ID_OFF; phy_id 729 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c identify_frame.phy_id = phy_no; phy_id 2947 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c int phy_id = hisi_hba->debugfs_bist_phy_no; phy_id 2950 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_enable(hisi_hba, phy_id, 0); phy_id 2953 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c reg_val = hisi_sas_phy_read32(hisi_hba, phy_id, SERDES_CFG); phy_id 2955 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, SERDES_CFG, reg_val); phy_id 2961 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c int phy_id = hisi_hba->debugfs_bist_phy_no; phy_id 2964 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c reg_val = hisi_sas_phy_read32(hisi_hba, phy_id, SAS_PHY_BIST_CTRL); phy_id 2967 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, SAS_PHY_BIST_CTRL, reg_val); phy_id 2970 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c reg_val = hisi_sas_phy_read32(hisi_hba, phy_id, SERDES_CFG); phy_id 2972 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, SERDES_CFG, reg_val); phy_id 2975 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c reg_val = hisi_sas_phy_read32(hisi_hba, phy_id, PROG_PHY_LINK_RATE); phy_id 2979 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, PROG_PHY_LINK_RATE, reg_val); phy_id 2982 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_enable(hisi_hba, phy_id, 1); phy_id 2991 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c u32 phy_id = hisi_hba->debugfs_bist_phy_no; phy_id 2997 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c linkrate, phy_id, code_mode, path_mode); phy_id 3004 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c reg_val = hisi_sas_phy_read32(hisi_hba, phy_id, phy_id 3008 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, phy_id 3012 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c reg_val = hisi_sas_phy_read32(hisi_hba, phy_id, phy_id 3022 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, phy_id 3026 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, phy_id 3029 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, phy_id 3035 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_write32(hisi_hba, phy_id, phy_id 3040 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_read32(hisi_hba, phy_id, SAS_BIST_ERR_CNT); phy_id 3044 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c phy_id, SAS_BIST_ERR_CNT); phy_id 1929 drivers/scsi/isci/host.c u32 phy_id; phy_id 1983 drivers/scsi/isci/host.c for (phy_id = 0; phy_id < SCI_MAX_PHYS; phy_id++) { phy_id 1984 drivers/scsi/isci/host.c struct scu_afe_transceiver __iomem *xcvr = &afe->scu_afe_xcvr[phy_id]; phy_id 1985 drivers/scsi/isci/host.c const struct sci_phy_oem_params *oem_phy = &oem->phys[phy_id]; phy_id 1987 drivers/scsi/isci/host.c is_long_cable(phy_id, cable_selection_mask); phy_id 1989 drivers/scsi/isci/host.c is_medium_cable(phy_id, cable_selection_mask); phy_id 128 drivers/scsi/isci/sas.h u8 phy_id; /* byte 9 */ phy_id 146 drivers/scsi/isci/sas.h u8 phy_id; /* byte 9 */ phy_id 169 drivers/scsi/isci/sas.h u8 phy_id; /* byte 9 */ phy_id 267 drivers/scsi/libsas/sas_ata.c res = sas_get_report_phy_sata(dev->parent, phy->phy_id, phy_id 272 drivers/scsi/libsas/sas_ata.c phy->phy_id, res); phy_id 25 drivers/scsi/libsas/sas_expander.c static int sas_configure_phy(struct domain_device *dev, int phy_id, phy_id 195 drivers/scsi/libsas/sas_expander.c static void sas_set_ex_phy(struct domain_device *dev, int phy_id, void *rsp) phy_id 204 drivers/scsi/libsas/sas_expander.c struct ex_phy *phy = &ex->ex_phy[phy_id]; phy_id 212 drivers/scsi/libsas/sas_expander.c phy->phy = sas_phy_alloc(&rphy->dev, phy_id); phy_id 240 drivers/scsi/libsas/sas_expander.c phy->phy_id = phy_id; phy_id 249 drivers/scsi/libsas/sas_expander.c phy->phy_id = phy_id; phy_id 276 drivers/scsi/libsas/sas_expander.c phy->phy->identify.phy_identifier = phy_id; phy_id 339 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy->phy_id, phy_id 345 drivers/scsi/libsas/sas_expander.c struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) phy_id 347 drivers/scsi/libsas/sas_expander.c struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy_id]; phy_id 577 drivers/scsi/libsas/sas_expander.c int sas_smp_phy_control(struct domain_device *dev, int phy_id, phy_id 596 drivers/scsi/libsas/sas_expander.c pc_req[9] = phy_id; phy_id 606 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id, res); phy_id 609 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id, pc_resp[2]); phy_id 617 drivers/scsi/libsas/sas_expander.c static void sas_ex_disable_phy(struct domain_device *dev, int phy_id) phy_id 620 drivers/scsi/libsas/sas_expander.c struct ex_phy *phy = &ex->ex_phy[phy_id]; phy_id 622 drivers/scsi/libsas/sas_expander.c sas_smp_phy_control(dev, phy_id, PHY_FUNC_DISABLE, NULL); phy_id 703 drivers/scsi/libsas/sas_expander.c int sas_get_report_phy_sata(struct domain_device *dev, int phy_id, phy_id 714 drivers/scsi/libsas/sas_expander.c rps_req[9] = phy_id; phy_id 779 drivers/scsi/libsas/sas_expander.c struct domain_device *parent, int phy_id) phy_id 782 drivers/scsi/libsas/sas_expander.c struct ex_phy *phy = &parent_ex->ex_phy[phy_id]; phy_id 801 drivers/scsi/libsas/sas_expander.c phy->port = sas_port_alloc(&parent->rphy->dev, phy_id); phy_id 827 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), phy_id); phy_id 828 drivers/scsi/libsas/sas_expander.c ret = sas_smp_phy_control(parent, phy_id, phy_id 832 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), phy_id, ret); phy_id 836 drivers/scsi/libsas/sas_expander.c SAS_ADDR(child->sas_addr), phy_id); phy_id 850 drivers/scsi/libsas/sas_expander.c rphy->identify.phy_identifier = phy_id; phy_id 861 drivers/scsi/libsas/sas_expander.c SAS_ADDR(parent->sas_addr), phy_id, res); phy_id 877 drivers/scsi/libsas/sas_expander.c rphy->identify.phy_identifier = phy_id; phy_id 886 drivers/scsi/libsas/sas_expander.c SAS_ADDR(parent->sas_addr), phy_id, res); phy_id 892 drivers/scsi/libsas/sas_expander.c phy_id); phy_id 914 drivers/scsi/libsas/sas_expander.c static bool sas_ex_join_wide_port(struct domain_device *parent, int phy_id) phy_id 916 drivers/scsi/libsas/sas_expander.c struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id]; phy_id 938 drivers/scsi/libsas/sas_expander.c struct domain_device *parent, int phy_id) phy_id 941 drivers/scsi/libsas/sas_expander.c struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id]; phy_id 950 drivers/scsi/libsas/sas_expander.c SAS_ADDR(parent->sas_addr), phy_id, phy_id 959 drivers/scsi/libsas/sas_expander.c phy->port = sas_port_alloc(&parent->rphy->dev, phy_id); phy_id 1016 drivers/scsi/libsas/sas_expander.c static int sas_ex_discover_dev(struct domain_device *dev, int phy_id) phy_id 1019 drivers/scsi/libsas/sas_expander.c struct ex_phy *ex_phy = &ex->ex_phy[phy_id]; phy_id 1025 drivers/scsi/libsas/sas_expander.c if (!sas_smp_phy_control(dev, phy_id, PHY_FUNC_LINK_RESET, NULL)) phy_id 1026 drivers/scsi/libsas/sas_expander.c res = sas_ex_phy_discover(dev, phy_id); phy_id 1034 drivers/scsi/libsas/sas_expander.c sas_add_parent_port(dev, phy_id); phy_id 1039 drivers/scsi/libsas/sas_expander.c sas_add_parent_port(dev, phy_id); phy_id 1041 drivers/scsi/libsas/sas_expander.c sas_configure_phy(dev, phy_id, dev->port->sas_addr, 1); phy_id 1064 drivers/scsi/libsas/sas_expander.c phy_id); phy_id 1076 drivers/scsi/libsas/sas_expander.c if (sas_ex_join_wide_port(dev, phy_id)) { phy_id 1078 drivers/scsi/libsas/sas_expander.c phy_id, SAS_ADDR(ex_phy->attached_sas_addr)); phy_id 1085 drivers/scsi/libsas/sas_expander.c child = sas_ex_discover_end_dev(dev, phy_id); phy_id 1093 drivers/scsi/libsas/sas_expander.c phy_id); phy_id 1094 drivers/scsi/libsas/sas_expander.c sas_ex_disable_phy(dev, phy_id); phy_id 1101 drivers/scsi/libsas/sas_expander.c child = sas_ex_discover_expander(dev, phy_id); phy_id 1109 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id); phy_id 1260 drivers/scsi/libsas/sas_expander.c parent_phy->phy_id, phy_id 1264 drivers/scsi/libsas/sas_expander.c child_phy->phy_id, phy_id 1281 drivers/scsi/libsas/sas_expander.c parent_phy->phy_id, phy_id 1283 drivers/scsi/libsas/sas_expander.c child_phy->phy_id, phy_id 1304 drivers/scsi/libsas/sas_expander.c parent_phy->phy_id, phy_id 1306 drivers/scsi/libsas/sas_expander.c child_phy->phy_id); phy_id 1386 drivers/scsi/libsas/sas_expander.c static int sas_configure_present(struct domain_device *dev, int phy_id, phy_id 1391 drivers/scsi/libsas/sas_expander.c struct ex_phy *phy = &ex->ex_phy[phy_id]; phy_id 1409 drivers/scsi/libsas/sas_expander.c rri_req[9] = phy_id; phy_id 1420 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id, i); phy_id 1424 drivers/scsi/libsas/sas_expander.c __func__, SAS_ADDR(dev->sas_addr), phy_id, phy_id 1459 drivers/scsi/libsas/sas_expander.c static int sas_configure_set(struct domain_device *dev, int phy_id, phy_id 1478 drivers/scsi/libsas/sas_expander.c cri_req[9] = phy_id; phy_id 1490 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id, index); phy_id 1498 drivers/scsi/libsas/sas_expander.c static int sas_configure_phy(struct domain_device *dev, int phy_id, phy_id 1505 drivers/scsi/libsas/sas_expander.c res = sas_configure_present(dev, phy_id, sas_addr, &index, &present); phy_id 1509 drivers/scsi/libsas/sas_expander.c return sas_configure_set(dev, phy_id, sas_addr, index,include); phy_id 1676 drivers/scsi/libsas/sas_expander.c int phy_id, struct smp_resp *disc_resp) phy_id 1686 drivers/scsi/libsas/sas_expander.c disc_req[9] = phy_id; phy_id 1702 drivers/scsi/libsas/sas_expander.c int phy_id, int *pcc) phy_id 1711 drivers/scsi/libsas/sas_expander.c res = sas_get_phy_discover(dev, phy_id, disc_resp); phy_id 1719 drivers/scsi/libsas/sas_expander.c static int sas_get_phy_attached_dev(struct domain_device *dev, int phy_id, phy_id 1731 drivers/scsi/libsas/sas_expander.c res = sas_get_phy_discover(dev, phy_id, disc_resp); phy_id 1743 drivers/scsi/libsas/sas_expander.c static int sas_find_bcast_phy(struct domain_device *dev, int *phy_id, phy_id 1768 drivers/scsi/libsas/sas_expander.c *phy_id = i; phy_id 1828 drivers/scsi/libsas/sas_expander.c int phy_id = -1; phy_id 1840 drivers/scsi/libsas/sas_expander.c res = sas_find_bcast_phy(dev, &phy_id, 0, false); phy_id 1841 drivers/scsi/libsas/sas_expander.c if (phy_id != -1) { phy_id 1845 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id); phy_id 1878 drivers/scsi/libsas/sas_expander.c int phy_id, bool last) phy_id 1881 drivers/scsi/libsas/sas_expander.c struct ex_phy *phy = &ex_dev->ex_phy[phy_id]; phy_id 1950 drivers/scsi/libsas/sas_expander.c static int sas_discover_new(struct domain_device *dev, int phy_id) phy_id 1952 drivers/scsi/libsas/sas_expander.c struct ex_phy *ex_phy = &dev->ex_dev.ex_phy[phy_id]; phy_id 1957 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id); phy_id 1958 drivers/scsi/libsas/sas_expander.c res = sas_ex_phy_discover(dev, phy_id); phy_id 1962 drivers/scsi/libsas/sas_expander.c if (sas_ex_join_wide_port(dev, phy_id)) phy_id 1965 drivers/scsi/libsas/sas_expander.c res = sas_ex_discover_devices(dev, phy_id); phy_id 1994 drivers/scsi/libsas/sas_expander.c static int sas_rediscover_dev(struct domain_device *dev, int phy_id, phy_id 1998 drivers/scsi/libsas/sas_expander.c struct ex_phy *phy = &ex->ex_phy[phy_id]; phy_id 2008 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id, msg); phy_id 2011 drivers/scsi/libsas/sas_expander.c res = sas_get_phy_attached_dev(dev, phy_id, sas_addr, &type); phy_id 2015 drivers/scsi/libsas/sas_expander.c sas_unregister_devs_sas_addr(dev, phy_id, last); phy_id 2019 drivers/scsi/libsas/sas_expander.c sas_unregister_devs_sas_addr(dev, phy_id, last); phy_id 2031 drivers/scsi/libsas/sas_expander.c sas_unregister_devs_sas_addr(dev, phy_id, last); phy_id 2036 drivers/scsi/libsas/sas_expander.c sas_ex_phy_discover(dev, phy_id); phy_id 2040 drivers/scsi/libsas/sas_expander.c struct domain_device *ata_dev = sas_ex_to_ata(dev, phy_id); phy_id 2043 drivers/scsi/libsas/sas_expander.c sas_ex_phy_discover(dev, phy_id); phy_id 2048 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id, action); phy_id 2054 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id, phy_id 2056 drivers/scsi/libsas/sas_expander.c sas_unregister_devs_sas_addr(dev, phy_id, last); phy_id 2058 drivers/scsi/libsas/sas_expander.c return sas_discover_new(dev, phy_id); phy_id 2075 drivers/scsi/libsas/sas_expander.c static int sas_rediscover(struct domain_device *dev, const int phy_id) phy_id 2078 drivers/scsi/libsas/sas_expander.c struct ex_phy *changed_phy = &ex->ex_phy[phy_id]; phy_id 2084 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id); phy_id 2090 drivers/scsi/libsas/sas_expander.c if (i == phy_id) phy_id 2098 drivers/scsi/libsas/sas_expander.c res = sas_rediscover_dev(dev, phy_id, last, i); phy_id 2100 drivers/scsi/libsas/sas_expander.c res = sas_discover_new(dev, phy_id); phy_id 2121 drivers/scsi/libsas/sas_expander.c int i = 0, phy_id; phy_id 2124 drivers/scsi/libsas/sas_expander.c phy_id = -1; phy_id 2125 drivers/scsi/libsas/sas_expander.c res = sas_find_bcast_phy(dev, &phy_id, i, true); phy_id 2126 drivers/scsi/libsas/sas_expander.c if (phy_id == -1) phy_id 2128 drivers/scsi/libsas/sas_expander.c res = sas_rediscover(dev, phy_id); phy_id 2129 drivers/scsi/libsas/sas_expander.c i = phy_id + 1; phy_id 20 drivers/scsi/libsas/sas_host_smp.c u8 phy_id) phy_id 25 drivers/scsi/libsas/sas_host_smp.c if (phy_id >= sas_ha->num_phys) { phy_id 31 drivers/scsi/libsas/sas_host_smp.c phy = sas_ha->sas_phy[phy_id]->phy; phy_id 32 drivers/scsi/libsas/sas_host_smp.c resp_data[9] = phy_id; phy_id 35 drivers/scsi/libsas/sas_host_smp.c memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, phy_id 42 drivers/scsi/libsas/sas_host_smp.c if (!sas_ha->sas_phy[phy_id]->port || phy_id 43 drivers/scsi/libsas/sas_host_smp.c !sas_ha->sas_phy[phy_id]->port->port_dev) phy_id 46 drivers/scsi/libsas/sas_host_smp.c rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; phy_id 138 drivers/scsi/libsas/sas_host_smp.c u8 phy_id) phy_id 144 drivers/scsi/libsas/sas_host_smp.c if (phy_id >= sas_ha->num_phys) { phy_id 151 drivers/scsi/libsas/sas_host_smp.c if (!sas_ha->sas_phy[phy_id]->port) phy_id 154 drivers/scsi/libsas/sas_host_smp.c rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; phy_id 156 drivers/scsi/libsas/sas_host_smp.c sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd; phy_id 161 drivers/scsi/libsas/sas_host_smp.c resp_data[9] = phy_id; phy_id 162 drivers/scsi/libsas/sas_host_smp.c memcpy(resp_data + 16, sas_ha->sas_phy[phy_id]->attached_sas_addr, phy_id 172 drivers/scsi/libsas/sas_host_smp.c &sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd[i]; phy_id 180 drivers/scsi/libsas/sas_host_smp.c static void sas_phy_control(struct sas_ha_struct *sas_ha, u8 phy_id, phy_id 189 drivers/scsi/libsas/sas_host_smp.c if (phy_id >= sas_ha->num_phys) { phy_id 194 drivers/scsi/libsas/sas_host_smp.c asd_phy = sas_ha->sas_phy[phy_id]; phy_id 76 drivers/scsi/libsas/sas_internal.h int sas_smp_phy_control(struct domain_device *dev, int phy_id, phy_id 83 drivers/scsi/libsas/sas_internal.h struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id); phy_id 85 drivers/scsi/libsas/sas_internal.h int sas_get_report_phy_sata(struct domain_device *dev, int phy_id, phy_id 158 drivers/scsi/libsas/sas_internal.h static inline void sas_add_parent_port(struct domain_device *dev, int phy_id) phy_id 161 drivers/scsi/libsas/sas_internal.h struct ex_phy *ex_phy = &ex->ex_phy[phy_id]; phy_id 164 drivers/scsi/libsas/sas_internal.h ex->parent_port = sas_port_alloc(&dev->rphy->dev, phy_id); phy_id 744 drivers/scsi/mpt3sas/mpt3sas_base.h u8 phy_id; phy_id 5607 drivers/scsi/mpt3sas/mpt3sas_scsih.c ioc->sas_hba.phy[i].phy_id = i; phy_id 5762 drivers/scsi/mpt3sas/mpt3sas_scsih.c sas_expander->phy[i].phy_id = i; phy_id 472 drivers/scsi/mpt3sas/mpt3sas_transport.c (unsigned long long) sas_address, mpt3sas_phy->phy_id); phy_id 494 drivers/scsi/mpt3sas/mpt3sas_transport.c sas_address, mpt3sas_phy->phy_id); phy_id 686 drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_phy->phy_id); phy_id 807 drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_phy->phy_id); phy_id 833 drivers/scsi/mpt3sas/mpt3sas_transport.c int phy_index = mpt3sas_phy->phy_id; phy_id 855 drivers/scsi/mpt3sas/mpt3sas_transport.c phy->identify.phy_identifier = mpt3sas_phy->phy_id; phy_id 902 drivers/scsi/mpt3sas/mpt3sas_transport.c int phy_index = mpt3sas_phy->phy_id; phy_id 924 drivers/scsi/mpt3sas/mpt3sas_transport.c phy->identify.phy_identifier = mpt3sas_phy->phy_id; phy_id 28 drivers/scsi/mvsas/mv_64xx.c static void mvs_64xx_enable_xmt(struct mvs_info *mvi, int phy_id) phy_id 35 drivers/scsi/mvsas/mv_64xx.c tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT); phy_id 37 drivers/scsi/mvsas/mv_64xx.c tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT2); phy_id 67 drivers/scsi/mvsas/mv_64xx.c static void mvs_64xx_stp_reset(struct mvs_info *mvi, u32 phy_id) phy_id 73 drivers/scsi/mvsas/mv_64xx.c if (phy_id < MVS_SOC_PORTS) phy_id 82 drivers/scsi/mvsas/mv_64xx.c if (phy_id < MVS_SOC_PORTS) phy_id 83 drivers/scsi/mvsas/mv_64xx.c tmp |= (1U << phy_id) << PCTL_LINK_OFFS; phy_id 85 drivers/scsi/mvsas/mv_64xx.c tmp |= (1U << (phy_id - MVS_SOC_PORTS)) << PCTL_LINK_OFFS; phy_id 88 drivers/scsi/mvsas/mv_64xx.c if (phy_id < MVS_SOC_PORTS) { phy_id 104 drivers/scsi/mvsas/mv_64xx.c static void mvs_64xx_phy_reset(struct mvs_info *mvi, u32 phy_id, int hard) phy_id 107 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_port_irq_stat(mvi, phy_id); phy_id 109 drivers/scsi/mvsas/mv_64xx.c mvs_write_port_irq_stat(mvi, phy_id, tmp); phy_id 110 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); phy_id 115 drivers/scsi/mvsas/mv_64xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); phy_id 118 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); phy_id 194 drivers/scsi/mvsas/mv_64xx.c static void mvs_64xx_phy_disable(struct mvs_info *mvi, u32 phy_id) phy_id 200 drivers/scsi/mvsas/mv_64xx.c if (phy_id < 4) phy_id 204 drivers/scsi/mvsas/mv_64xx.c phy_id -= 4; phy_id 207 drivers/scsi/mvsas/mv_64xx.c tmp |= 1U << (PCTL_PHY_DSBL_OFFS + phy_id); phy_id 211 drivers/scsi/mvsas/mv_64xx.c tmp |= 1U << (PCTL_PHY_DSBL_OFFS + phy_id); phy_id 216 drivers/scsi/mvsas/mv_64xx.c static void mvs_64xx_phy_enable(struct mvs_info *mvi, u32 phy_id) phy_id 222 drivers/scsi/mvsas/mv_64xx.c if (phy_id < 4) phy_id 226 drivers/scsi/mvsas/mv_64xx.c phy_id -= 4; phy_id 229 drivers/scsi/mvsas/mv_64xx.c tmp &= ~(1U << (PCTL_PHY_DSBL_OFFS + phy_id)); phy_id 233 drivers/scsi/mvsas/mv_64xx.c tmp &= ~(1U << (PCTL_PHY_DSBL_OFFS + phy_id)); phy_id 621 drivers/scsi/mvsas/mv_64xx.c static void mvs_64xx_phy_set_link_rate(struct mvs_info *mvi, u32 phy_id, phy_id 627 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); phy_id 639 drivers/scsi/mvsas/mv_64xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); phy_id 640 drivers/scsi/mvsas/mv_64xx.c mvs_64xx_phy_reset(mvi, phy_id, MVS_HARD_RESET); phy_id 35 drivers/scsi/mvsas/mv_94xx.c static void set_phy_tuning(struct mvs_info *mvi, int phy_id, phy_id 80 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, setting_0); phy_id 81 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); phy_id 86 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); phy_id 89 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, setting_1); phy_id 90 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); phy_id 93 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); phy_id 97 drivers/scsi/mvsas/mv_94xx.c static void set_phy_ffe_tuning(struct mvs_info *mvi, int phy_id, phy_id 114 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, VSR_PHY_FFE_CONTROL); phy_id 115 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); phy_id 123 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); phy_id 129 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, VSR_REF_CLOCK_CRTL); phy_id 130 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); phy_id 135 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); phy_id 142 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, VSR_PHY_DFE_UPDATE_CRTL); phy_id 143 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); phy_id 148 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); phy_id 154 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, VSR_REF_CLOCK_CRTL); phy_id 155 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); phy_id 160 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); phy_id 164 drivers/scsi/mvsas/mv_94xx.c static void set_phy_rate(struct mvs_info *mvi, int phy_id, u8 rate) phy_id 167 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, VSR_PHY_MODE2); phy_id 168 drivers/scsi/mvsas/mv_94xx.c phy_cfg_tmp.v = mvs_read_port_vsr_data(mvi, phy_id); phy_id 200 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, phy_cfg.v); phy_id 203 drivers/scsi/mvsas/mv_94xx.c static void mvs_94xx_config_reg_from_hba(struct mvs_info *mvi, int phy_id) phy_id 206 drivers/scsi/mvsas/mv_94xx.c temp = (u32)(*(u32 *)&mvi->hba_info_param.phy_tuning[phy_id]); phy_id 208 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.phy_tuning[phy_id].trans_emp_amp = 0x6; phy_id 209 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.phy_tuning[phy_id].trans_amp = 0x1A; phy_id 210 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.phy_tuning[phy_id].trans_amp_adj = 0x3; phy_id 213 drivers/scsi/mvsas/mv_94xx.c temp = (u8)(*(u8 *)&mvi->hba_info_param.ffe_ctl[phy_id]); phy_id 218 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.ffe_ctl[phy_id].ffe_rss_sel = 0x7; phy_id 219 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.ffe_ctl[phy_id].ffe_cap_sel = 0x7; phy_id 225 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.ffe_ctl[phy_id].ffe_rss_sel = 0x7; phy_id 226 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.ffe_ctl[phy_id].ffe_cap_sel = 0xC; phy_id 231 drivers/scsi/mvsas/mv_94xx.c temp = (u8)(*(u8 *)&mvi->hba_info_param.phy_rate[phy_id]); phy_id 234 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.phy_rate[phy_id] = 0x2; phy_id 236 drivers/scsi/mvsas/mv_94xx.c set_phy_tuning(mvi, phy_id, phy_id 237 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.phy_tuning[phy_id]); phy_id 238 drivers/scsi/mvsas/mv_94xx.c set_phy_ffe_tuning(mvi, phy_id, phy_id 239 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.ffe_ctl[phy_id]); phy_id 240 drivers/scsi/mvsas/mv_94xx.c set_phy_rate(mvi, phy_id, phy_id 241 drivers/scsi/mvsas/mv_94xx.c mvi->hba_info_param.phy_rate[phy_id]); phy_id 244 drivers/scsi/mvsas/mv_94xx.c static void mvs_94xx_enable_xmt(struct mvs_info *mvi, int phy_id) phy_id 250 drivers/scsi/mvsas/mv_94xx.c tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT2); phy_id 254 drivers/scsi/mvsas/mv_94xx.c static void mvs_94xx_phy_reset(struct mvs_info *mvi, u32 phy_id, int hard) phy_id 259 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_cfg_addr(mvi, phy_id, PHYR_SATA_CTL); phy_id 260 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_cfg_data(mvi, phy_id); phy_id 261 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_cfg_data(mvi, phy_id, tmp|0x20000000); phy_id 262 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_cfg_data(mvi, phy_id, tmp|0x100000); phy_id 265 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_irq_stat(mvi, phy_id); phy_id 267 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_irq_stat(mvi, phy_id, tmp); phy_id 269 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); phy_id 271 drivers/scsi/mvsas/mv_94xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); phy_id 273 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); phy_id 280 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); phy_id 282 drivers/scsi/mvsas/mv_94xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); phy_id 286 drivers/scsi/mvsas/mv_94xx.c static void mvs_94xx_phy_disable(struct mvs_info *mvi, u32 phy_id) phy_id 289 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, VSR_PHY_MODE2); phy_id 290 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); phy_id 291 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp | 0x00800000); phy_id 294 drivers/scsi/mvsas/mv_94xx.c static void mvs_94xx_phy_enable(struct mvs_info *mvi, u32 phy_id) phy_id 301 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, CMD_HOST_RD_DATA); phy_id 302 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, 0x8300ffc1); phy_id 305 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, CMD_APP_MEM_CTL); phy_id 306 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, 0x08001006); phy_id 307 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, CMD_HOST_RD_DATA); phy_id 308 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, 0x0000705f); phy_id 311 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_addr(mvi, phy_id, VSR_PHY_MODE2); phy_id 312 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); phy_id 314 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp & 0xfd7fffff); phy_id 855 drivers/scsi/mvsas/mv_94xx.c att_dev_info |= (u32)id->phy_id<<24; phy_id 894 drivers/scsi/mvsas/mv_94xx.c static void mvs_94xx_phy_set_link_rate(struct mvs_info *mvi, u32 phy_id, phy_id 900 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); phy_id 907 drivers/scsi/mvsas/mv_94xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); phy_id 908 drivers/scsi/mvsas/mv_94xx.c mvs_94xx_phy_reset(mvi, phy_id, PHY_RST_HARD); phy_id 74 drivers/scsi/mvsas/mv_init.c static void mvs_phy_init(struct mvs_info *mvi, int phy_id) phy_id 76 drivers/scsi/mvsas/mv_init.c struct mvs_phy *phy = &mvi->phy[phy_id]; phy_id 82 drivers/scsi/mvsas/mv_init.c sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; phy_id 91 drivers/scsi/mvsas/mv_init.c sas_phy->id = phy_id; phy_id 166 drivers/scsi/mvsas/mv_sas.c int rc = 0, phy_id = sas_phy->id; phy_id 181 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->phy_set_link_rate(mvi, phy_id, funcdata); phy_id 185 drivers/scsi/mvsas/mv_sas.c tmp = MVS_CHIP_DISP->read_phy_ctl(mvi, phy_id); phy_id 188 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_HARD_RESET); phy_id 192 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->phy_enable(mvi, phy_id); phy_id 193 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_SOFT_RESET); phy_id 197 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->phy_disable(mvi, phy_id); phy_id 1197 drivers/scsi/mvsas/mv_sas.c int phy_id; phy_id 1200 drivers/scsi/mvsas/mv_sas.c for (phy_id = 0; phy_id < phy_num; phy_id++) { phy_id 1201 drivers/scsi/mvsas/mv_sas.c phy = &parent_dev->ex_dev.ex_phy[phy_id]; phy_id 1204 drivers/scsi/mvsas/mv_sas.c mvi_device->attached_phy = phy_id; phy_id 1209 drivers/scsi/mvsas/mv_sas.c if (phy_id == phy_num) { phy_id 134 drivers/scsi/mvsas/mv_sas.h void (*phy_set_link_rate)(struct mvs_info *mvi, u32 phy_id, phy_id 137 drivers/scsi/mvsas/mv_sas.h void (*phy_disable)(struct mvs_info *mvi, u32 phy_id); phy_id 138 drivers/scsi/mvsas/mv_sas.h void (*phy_enable)(struct mvs_info *mvi, u32 phy_id); phy_id 139 drivers/scsi/mvsas/mv_sas.h void (*phy_reset)(struct mvs_info *mvi, u32 phy_id, int hard); phy_id 140 drivers/scsi/mvsas/mv_sas.h void (*stp_reset)(struct mvs_info *mvi, u32 phy_id); phy_id 3211 drivers/scsi/pm8001/pm8001_hwi.c u32 phy_id = le32_to_cpu(pPayload->phyop_phyid) & ID_BITS; phy_id 3217 drivers/scsi/pm8001/pm8001_hwi.c phy_id, phy_op)); phy_id 3221 drivers/scsi/pm8001/pm8001_hwi.c phy_id, phy_op)); phy_id 3222 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->phy[phy_id].reset_success = true; phy_id 3224 drivers/scsi/pm8001/pm8001_hwi.c if (pm8001_ha->phy[phy_id].enable_completion) { phy_id 3225 drivers/scsi/pm8001/pm8001_hwi.c complete(pm8001_ha->phy[phy_id].enable_completion); phy_id 3226 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->phy[phy_id].enable_completion = NULL; phy_id 3379 drivers/scsi/pm8001/pm8001_hwi.c u8 phy_id = phy_id 3385 drivers/scsi/pm8001/pm8001_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 3392 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id)); phy_id 3401 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_phy_ctl_req(pm8001_ha, phy_id, phy_id 3440 drivers/scsi/pm8001/pm8001_hwi.c pm8001_bytes_dmaed(pm8001_ha, phy_id); phy_id 3458 drivers/scsi/pm8001/pm8001_hwi.c u8 phy_id = phy_id 3464 drivers/scsi/pm8001/pm8001_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 3468 drivers/scsi/pm8001/pm8001_hwi.c " phy id = %d\n", port_id, phy_id)); phy_id 3485 drivers/scsi/pm8001/pm8001_hwi.c pm8001_bytes_dmaed(pm8001_ha, phy_id); phy_id 3501 drivers/scsi/pm8001/pm8001_hwi.c u8 phy_id = phy_id 3506 drivers/scsi/pm8001/pm8001_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 3522 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id, 0, 0); phy_id 3540 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id, 0, 0); phy_id 3799 drivers/scsi/pm8001/pm8001_hwi.c u8 phy_id = phy_id 3806 drivers/scsi/pm8001/pm8001_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 3807 drivers/scsi/pm8001/pm8001_hwi.c struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; phy_id 3865 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id, 1, 0); phy_id 3890 drivers/scsi/pm8001/pm8001_hwi.c HW_EVENT_LINK_ERR_INVALID_DWORD, port_id, phy_id, 0, 0); phy_id 3900 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id, 0, 0); phy_id 3910 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id, 0, 0); phy_id 3920 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id, 0, 0); phy_id 3942 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id, 0, 0); phy_id 3961 drivers/scsi/pm8001/pm8001_hwi.c port_id, phy_id, 0, 0); phy_id 4475 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_phy_start_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id) phy_id 4493 drivers/scsi/pm8001/pm8001_hwi.c LINKRATE_30 | LINKRATE_60 | phy_id); phy_id 4498 drivers/scsi/pm8001/pm8001_hwi.c payload.sas_identify.phy_id = phy_id; phy_id 4510 drivers/scsi/pm8001/pm8001_hwi.c u8 phy_id) phy_id 4520 drivers/scsi/pm8001/pm8001_hwi.c payload.phy_id = cpu_to_le32(phy_id); phy_id 4535 drivers/scsi/pm8001/pm8001_hwi.c u32 linkrate, phy_id; phy_id 4564 drivers/scsi/pm8001/pm8001_hwi.c phy_id = parent_dev->ex_dev.ex_phy->phy_id; phy_id 4566 drivers/scsi/pm8001/pm8001_hwi.c phy_id = pm8001_dev->attached_phy; phy_id 4572 drivers/scsi/pm8001/pm8001_hwi.c ((phy_id & 0x0F) << 4)); phy_id 167 drivers/scsi/pm8001/pm8001_hwi.h __le32 phy_id; phy_id 119 drivers/scsi/pm8001/pm8001_init.c static void pm8001_phy_init(struct pm8001_hba_info *pm8001_ha, int phy_id) phy_id 121 drivers/scsi/pm8001/pm8001_init.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 125 drivers/scsi/pm8001/pm8001_init.c sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; phy_id 133 drivers/scsi/pm8001/pm8001_init.c sas_phy->id = phy_id; phy_id 157 drivers/scsi/pm8001/pm8001_sas.c int rc = 0, phy_id = sas_phy->id; phy_id 165 drivers/scsi/pm8001/pm8001_sas.c phy = &pm8001_ha->phy[phy_id]; phy_id 166 drivers/scsi/pm8001/pm8001_sas.c pm8001_ha->phy[phy_id].enable_completion = &completion; phy_id 171 drivers/scsi/pm8001/pm8001_sas.c pm8001_ha->phy[phy_id].minimum_linkrate = phy_id 175 drivers/scsi/pm8001/pm8001_sas.c pm8001_ha->phy[phy_id].maximum_linkrate = phy_id 178 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { phy_id 179 drivers/scsi/pm8001/pm8001_sas.c PM8001_CHIP_DISP->phy_start_req(pm8001_ha, phy_id); phy_id 182 drivers/scsi/pm8001/pm8001_sas.c PM8001_CHIP_DISP->phy_ctl_req(pm8001_ha, phy_id, phy_id 186 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { phy_id 187 drivers/scsi/pm8001/pm8001_sas.c PM8001_CHIP_DISP->phy_start_req(pm8001_ha, phy_id); phy_id 190 drivers/scsi/pm8001/pm8001_sas.c PM8001_CHIP_DISP->phy_ctl_req(pm8001_ha, phy_id, phy_id 194 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { phy_id 195 drivers/scsi/pm8001/pm8001_sas.c PM8001_CHIP_DISP->phy_start_req(pm8001_ha, phy_id); phy_id 198 drivers/scsi/pm8001/pm8001_sas.c PM8001_CHIP_DISP->phy_ctl_req(pm8001_ha, phy_id, phy_id 202 drivers/scsi/pm8001/pm8001_sas.c PM8001_CHIP_DISP->phy_ctl_req(pm8001_ha, phy_id, phy_id 207 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == phy_id 216 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == phy_id 225 drivers/scsi/pm8001/pm8001_sas.c PM8001_CHIP_DISP->phy_stop_req(pm8001_ha, phy_id); phy_id 231 drivers/scsi/pm8001/pm8001_sas.c (phy_id < 4) ? 0x30000 : 0x40000)) { phy_id 240 drivers/scsi/pm8001/pm8001_sas.c + 0x1034 + (0x4000 * (phy_id & 3))); phy_id 638 drivers/scsi/pm8001/pm8001_sas.c int phy_id; phy_id 640 drivers/scsi/pm8001/pm8001_sas.c for (phy_id = 0; phy_id < parent_dev->ex_dev.num_phys; phy_id 641 drivers/scsi/pm8001/pm8001_sas.c phy_id++) { phy_id 642 drivers/scsi/pm8001/pm8001_sas.c phy = &parent_dev->ex_dev.ex_phy[phy_id]; phy_id 645 drivers/scsi/pm8001/pm8001_sas.c pm8001_device->attached_phy = phy_id; phy_id 649 drivers/scsi/pm8001/pm8001_sas.c if (phy_id == parent_dev->ex_dev.num_phys) { phy_id 1197 drivers/scsi/pm8001/pm8001_sas.c u32 phy_id; phy_id 1204 drivers/scsi/pm8001/pm8001_sas.c phy_id = pm8001_dev->attached_phy; phy_id 1234 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_phy *phy = pm8001_ha->phy + phy_id; phy_id 1247 drivers/scsi/pm8001/pm8001_sas.c ret = PM8001_CHIP_DISP->phy_ctl_req(pm8001_ha, phy_id, phy_id 210 drivers/scsi/pm8001/pm8001_sas.h int (*phy_start_req)(struct pm8001_hba_info *pm8001_ha, u8 phy_id); phy_id 211 drivers/scsi/pm8001/pm8001_sas.h int (*phy_stop_req)(struct pm8001_hba_info *pm8001_ha, u8 phy_id); phy_id 216 drivers/scsi/pm8001/pm8001_sas.h u32 phy_id, u32 phy_op); phy_id 2889 drivers/scsi/pm8001/pm80xx_hwi.c u8 phy_id = (u8)((phyid_npip_portstate & 0xFF0000) >> 16); phy_id 2894 drivers/scsi/pm8001/pm80xx_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 2899 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_phy_ctl_req(pm8001_ha, phy_id, phy_id 2903 drivers/scsi/pm8001/pm80xx_hwi.c port->wide_port_phymap |= (1U << phy_id); phy_id 2927 drivers/scsi/pm8001/pm80xx_hwi.c u8 phy_id = phy_id 2933 drivers/scsi/pm8001/pm80xx_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 2937 drivers/scsi/pm8001/pm80xx_hwi.c port->wide_port_phymap |= (1U << phy_id); phy_id 2942 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, link_rate, portstate, deviceType)); phy_id 2951 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_phy_ctl_req(pm8001_ha, phy_id, phy_id 2990 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_bytes_dmaed(pm8001_ha, phy_id); phy_id 3009 drivers/scsi/pm8001/pm80xx_hwi.c u8 phy_id = phy_id 3016 drivers/scsi/pm8001/pm80xx_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 3020 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, link_rate, portstate)); phy_id 3038 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_bytes_dmaed(pm8001_ha, phy_id); phy_id 3056 drivers/scsi/pm8001/pm80xx_hwi.c u8 phy_id = phy_id 3061 drivers/scsi/pm8001/pm80xx_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 3078 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3100 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3125 drivers/scsi/pm8001/pm80xx_hwi.c u32 phy_id = phy_id 3127 drivers/scsi/pm8001/pm80xx_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 3131 drivers/scsi/pm8001/pm80xx_hwi.c status, phy_id)); phy_id 3186 drivers/scsi/pm8001/pm80xx_hwi.c u8 phy_id = phy_id 3193 drivers/scsi/pm8001/pm80xx_hwi.c struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; phy_id 3195 drivers/scsi/pm8001/pm80xx_hwi.c struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; phy_id 3198 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, eventType, status)); phy_id 3242 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 1, 0); phy_id 3267 drivers/scsi/pm8001/pm80xx_hwi.c HW_EVENT_LINK_ERR_INVALID_DWORD, port_id, phy_id, 0, 0); phy_id 3274 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3281 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3288 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3307 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3326 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3335 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3339 drivers/scsi/pm8001/pm80xx_hwi.c if (pm8001_ha->phy[phy_id].reset_completion) { phy_id 3340 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->phy[phy_id].port_reset_status = phy_id 3342 drivers/scsi/pm8001/pm80xx_hwi.c complete(pm8001_ha->phy[phy_id].reset_completion); phy_id 3343 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->phy[phy_id].reset_completion = NULL; phy_id 3351 drivers/scsi/pm8001/pm80xx_hwi.c port_id, phy_id, 0, 0); phy_id 3369 drivers/scsi/pm8001/pm80xx_hwi.c if (pm8001_ha->phy[phy_id].reset_completion) { phy_id 3370 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->phy[phy_id].port_reset_status = phy_id 3372 drivers/scsi/pm8001/pm80xx_hwi.c complete(pm8001_ha->phy[phy_id].reset_completion); phy_id 3373 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->phy[phy_id].reset_completion = NULL; phy_id 4457 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_phy_start_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id) phy_id 4469 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_printk("PHY START REQ for phy_id %d\n", phy_id)); phy_id 4480 drivers/scsi/pm8001/pm80xx_hwi.c LINKRATE_30 | LINKRATE_60 | phy_id); phy_id 4485 drivers/scsi/pm8001/pm80xx_hwi.c phy_id); phy_id 4499 drivers/scsi/pm8001/pm80xx_hwi.c &pm8001_ha->phy[phy_id].dev_sas_addr, SAS_ADDR_SIZE); phy_id 4500 drivers/scsi/pm8001/pm80xx_hwi.c payload.sas_identify.phy_id = phy_id; phy_id 4512 drivers/scsi/pm8001/pm80xx_hwi.c u8 phy_id) phy_id 4522 drivers/scsi/pm8001/pm80xx_hwi.c payload.phy_id = cpu_to_le32(phy_id); phy_id 4537 drivers/scsi/pm8001/pm80xx_hwi.c u32 linkrate, phy_id; phy_id 4567 drivers/scsi/pm8001/pm80xx_hwi.c phy_id = parent_dev->ex_dev.ex_phy->phy_id; phy_id 4569 drivers/scsi/pm8001/pm80xx_hwi.c phy_id = pm8001_dev->attached_phy; phy_id 4578 drivers/scsi/pm8001/pm80xx_hwi.c ((phy_id & 0xFF) << 8)); phy_id 277 drivers/scsi/pm8001/pm80xx_hwi.h u8 phy_id; phy_id 324 drivers/scsi/pm8001/pm80xx_hwi.h u8 phy_id; phy_id 362 drivers/scsi/pm8001/pm80xx_hwi.h __le32 phy_id; phy_id 35 include/linux/davinci_emac.h const char *phy_id; phy_id 91 include/linux/mdio.h static inline bool mdio_phy_id_is_c45(int phy_id) phy_id 93 include/linux/mdio.h return (phy_id & MDIO_PHY_ID_C45) && !(phy_id & ~MDIO_PHY_ID_C45_MASK); phy_id 96 include/linux/mdio.h static inline __u16 mdio_phy_id_prtad(int phy_id) phy_id 98 include/linux/mdio.h return (phy_id & MDIO_PHY_ID_PRTAD) >> 5; phy_id 101 include/linux/mdio.h static inline __u16 mdio_phy_id_devad(int phy_id) phy_id 103 include/linux/mdio.h return phy_id & MDIO_PHY_ID_DEVAD; phy_id 19 include/linux/mii.h int phy_id; phy_id 29 include/linux/mii.h int (*mdio_read) (struct net_device *dev, int phy_id, int location); phy_id 30 include/linux/mii.h void (*mdio_write) (struct net_device *dev, int phy_id, int location, int val); phy_id 610 include/linux/mod_devicetable.h __u32 phy_id; phy_id 367 include/linux/phy.h u32 phy_id; phy_id 472 include/linux/phy.h u32 phy_id; phy_id 641 include/linux/phy.h #define PHY_ID_MATCH_EXACT(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 0) phy_id 642 include/linux/phy.h #define PHY_ID_MATCH_MODEL(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 4) phy_id 643 include/linux/phy.h #define PHY_ID_MATCH_VENDOR(id) .phy_id = (id), .phy_id_mask = GENMASK(31, 10) phy_id 999 include/linux/phy.h struct phy_device *phy_device_create(struct mii_bus *bus, int addr, u32 phy_id, phy_id 18 include/linux/phy_fixed.h extern int fixed_phy_add(unsigned int irq, int phy_id, phy_id 34 include/linux/phy_fixed.h static inline int fixed_phy_add(unsigned int irq, int phy_id, phy_id 7 include/linux/platform_data/eth-ep93xx.h unsigned char phy_id; phy_id 22 include/linux/sungem_phy.h u32 phy_id; /* Concatenated ID1 << 16 | ID2 */ phy_id 15 include/net/ethoc.h s8 phy_id; phy_id 93 include/scsi/libsas.h int phy_id; phy_id 285 include/scsi/sas.h u8 phy_id; phy_id 394 include/scsi/sas.h u8 phy_id; phy_id 443 include/scsi/sas.h u8 phy_id; phy_id 516 include/scsi/sas.h u8 phy_id; phy_id 625 include/scsi/sas.h u8 phy_id; phy_id 674 include/scsi/sas.h u8 phy_id; phy_id 160 include/uapi/linux/mii.h __u16 phy_id; phy_id 158 scripts/mod/devicetable-offsets.c DEVID_FIELD(mdio_device_id, phy_id); phy_id 998 scripts/mod/file2alias.c DEF_FIELD(symval, mdio_device_id, phy_id); phy_id 1006 scripts/mod/file2alias.c else if ((phy_id >> (31-i)) & 1) phy_id 779 tools/firewire/nosy-dump.c printf("link-on packet, phy_id=%02x", pp->link_on.phy_id); phy_id 785 tools/firewire/nosy-dump.c pp->ext_self_id.phy_id, pp->ext_self_id.sequence); phy_id 791 tools/firewire/nosy-dump.c pp->self_id.phy_id, phy_id 19 tools/firewire/nosy-dump.h uint32_t phy_id:6; phy_id 45 tools/firewire/nosy-dump.h uint32_t phy_id:6; phy_id 63 tools/firewire/nosy-dump.h uint32_t phy_id:6;