Lines Matching refs:phy_id
125 int phy_id; member
141 int phy_id; member
150 int phy_id, int reg) in bcm6368_mdio_read() argument
157 (phy_id << MII_SC_PHYID_SHIFT) | in bcm6368_mdio_read()
170 int phy_id, int reg, u16 data) in bcm6368_mdio_write() argument
177 (phy_id << MII_SC_PHYID_SHIFT) | in bcm6368_mdio_write()
239 port->phy_id, MII_BMSR); in bcm6368_eth_adjust_link()
262 port->phy_id, MII_ADVERTISE); in bcm6368_eth_adjust_link()
264 lpa = bcm6368_mdio_read(priv, external_phy, port->phy_id, in bcm6368_eth_adjust_link()
278 port->phy_id, MII_CTRL1000); in bcm6368_eth_adjust_link()
281 port->phy_id, MII_STAT1000); in bcm6368_eth_adjust_link()
457 static bool bcm6368_phy_is_external(struct bcm6368_eth_priv *priv, int phy_id) in bcm6368_phy_is_external() argument
464 if (priv->used_ports[i].phy_id == phy_id) in bcm6368_phy_is_external()
590 int phy_id; in bcm6368_eth_probe() local
608 phy_id = ofnode_read_u32_default(node, "brcm,phy-id", -1); in bcm6368_eth_probe()
612 priv->used_ports[p].phy_id = phy_id; in bcm6368_eth_probe()