Searched refs:phyid (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_mdio.c | 33 u8 phyid; member 42 static int hclge_mdio_write(struct mii_bus *bus, int phyid, int regnum, in hclge_mdio_write() argument 57 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_write() 58 HCLGE_MDIO_PHYID_S, (u32)phyid); in hclge_mdio_write() 81 static int hclge_mdio_read(struct mii_bus *bus, int phyid, int regnum) in hclge_mdio_read() argument 95 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_read() 96 HCLGE_MDIO_PHYID_S, (u32)phyid); in hclge_mdio_read()
|
| /linux/drivers/net/ethernet/8390/ |
| H A D | pcnet_cs.c | 888 u_int tmp, phyid; in mii_phy_probe() local 895 phyid = tmp << 16; in mii_phy_probe() 896 phyid |= mdio_read(mii_addr, i, MII_PHYID_REG2); in mii_phy_probe() 897 phyid &= MII_PHYID_REV_MASK; in mii_phy_probe() 898 netdev_dbg(dev, "MII at %d is 0x%08x\n", i, phyid); in mii_phy_probe() 899 if (phyid == AM79C9XX_HOME_PHY) { in mii_phy_probe() 901 } else if (phyid != AM79C9XX_ETH_PHY) { in mii_phy_probe()
|
| /linux/drivers/net/ethernet/socionext/ |
| H A D | sni_ave.c | 492 static int ave_mdiobus_read(struct mii_bus *bus, int phyid, int regnum) in ave_mdiobus_read() argument 502 writel((phyid << 8) | regnum, priv->base + AVE_MDIOAR); in ave_mdiobus_read() 513 phyid, regnum); in ave_mdiobus_read() 520 static int ave_mdiobus_write(struct mii_bus *bus, int phyid, int regnum, in ave_mdiobus_write() argument 531 writel((phyid << 8) | regnum, priv->base + AVE_MDIOAR); in ave_mdiobus_write() 545 phyid, regnum); in ave_mdiobus_write()
|
| /linux/drivers/net/usb/ |
| H A D | asix_devices.c | 1075 u32 phyid; in ax88178_reset() local 1121 phyid = asix_get_phyid(dev); in ax88178_reset() 1122 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in ax88178_reset()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn201/ |
| H A D | dcn201_resource.c | 393 #define link_regs(id, phyid)\ argument 396 UNIPHY_DCN2_REG_LIST(phyid) \
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx_reg_def.h | 46 #define LmBLKRST_COMBIST(phyid) (1 << (24 + phyid)) argument
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 4048 u32 phyid; in tg3_power_down_prepare() local 4086 phyid = phydev->drv->phy_id & phydev->drv->phy_id_mask; in tg3_power_down_prepare() 4087 if (phyid != PHY_ID_BCMAC131) { in tg3_power_down_prepare() 4088 phyid &= PHY_BCM_OUI_MASK; in tg3_power_down_prepare() 4089 if (phyid == PHY_BCM_OUI_1 || in tg3_power_down_prepare() 4090 phyid == PHY_BCM_OUI_2 || in tg3_power_down_prepare() 4091 phyid == PHY_BCM_OUI_3) in tg3_power_down_prepare()
|