• Home
  • Raw
  • Download

Lines Matching refs:phy_addr

1099 	err = mii_read(np, np->phy_addr, MII_BMCR);  in link_status_mii()
1104 err = mii_read(np, np->phy_addr, MII_BMSR); in link_status_mii()
1109 err = mii_read(np, np->phy_addr, MII_ADVERTISE); in link_status_mii()
1114 err = mii_read(np, np->phy_addr, MII_LPA); in link_status_mii()
1120 err = mii_read(np, np->phy_addr, MII_ESTATUS); in link_status_mii()
1125 err = mii_read(np, np->phy_addr, MII_CTRL1000); in link_status_mii()
1130 err = mii_read(np, np->phy_addr, MII_STAT1000); in link_status_mii()
1221 err = mii_read(np, np->phy_addr, MII_BMSR); in link_status_1g_rgmii()
1229 err = mii_read(np, np->phy_addr, MII_ADVERTISE); in link_status_1g_rgmii()
1234 err = mii_read(np, np->phy_addr, MII_LPA); in link_status_1g_rgmii()
1239 err = mii_read(np, np->phy_addr, MII_ESTATUS); in link_status_1g_rgmii()
1278 err = mdio_read(np, np->phy_addr, in bcm8704_reset()
1283 err = mdio_write(np, np->phy_addr, BCM8704_PHYXS_DEV_ADDR, in bcm8704_reset()
1290 err = mdio_read(np, np->phy_addr, in bcm8704_reset()
1310 int err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, reg); in bcm8704_user_dev3_readback()
1313 err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, reg); in bcm8704_user_dev3_readback()
1324 err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, in bcm8706_init_user_dev3()
1331 err = mdio_write(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, in bcm8706_init_user_dev3()
1345 err = mdio_write(np, np->phy_addr, in bcm8704_init_user_dev3()
1359 err = mdio_write(np, np->phy_addr, in bcm8704_init_user_dev3()
1375 err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, in bcm8704_init_user_dev3()
1381 err = mdio_write(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, in bcm8704_init_user_dev3()
1395 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV2_ADDR, in mrvl88x2011_act_led()
1403 return mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV2_ADDR, in mrvl88x2011_act_led()
1411 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV2_ADDR, in mrvl88x2011_led_blink_rate()
1417 err = mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV2_ADDR, in mrvl88x2011_led_blink_rate()
1438 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV3_ADDR, in xcvr_init_10g_mrvl88x2011()
1445 err = mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV3_ADDR, in xcvr_init_10g_mrvl88x2011()
1450 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, in xcvr_init_10g_mrvl88x2011()
1460 err = mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, in xcvr_init_10g_mrvl88x2011()
1466 return mdio_write(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, in xcvr_init_10g_mrvl88x2011()
1477 err = mdio_read(np, np->phy_addr, BCM8704_PMA_PMD_DEV_ADDR, in xcvr_diag_bcm870x()
1483 err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, 0x20); in xcvr_diag_bcm870x()
1488 err = mdio_read(np, np->phy_addr, BCM8704_PHYXS_DEV_ADDR, in xcvr_diag_bcm870x()
1496 err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, in xcvr_diag_bcm870x()
1500 err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, in xcvr_diag_bcm870x()
1506 err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, in xcvr_diag_bcm870x()
1510 err = mdio_read(np, np->phy_addr, BCM8704_USER_DEV3_ADDR, in xcvr_diag_bcm870x()
1534 err = mdio_read(np, np->phy_addr, BCM8704_PCS_DEV_ADDR, in xcvr_10g_set_lb_bcm870x()
1544 err = mdio_write(np, np->phy_addr, BCM8704_PCS_DEV_ADDR, in xcvr_10g_set_lb_bcm870x()
1648 err = mii_write(np, np->phy_addr, MII_BMCR, BMCR_RESET); in mii_reset()
1655 err = mii_read(np, np->phy_addr, MII_BMCR); in mii_reset()
1684 err = mii_read(np, np->phy_addr, MII_BMSR); in xcvr_init_1g_rgmii()
1691 err = mii_read(np, np->phy_addr, MII_ESTATUS); in xcvr_init_1g_rgmii()
1698 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in xcvr_init_1g_rgmii()
1707 err = mii_write(np, np->phy_addr, MII_CTRL1000, ctrl1000); in xcvr_init_1g_rgmii()
1714 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in xcvr_init_1g_rgmii()
1718 err = mii_read(np, np->phy_addr, MII_BMCR); in xcvr_init_1g_rgmii()
1721 bmcr = mii_read(np, np->phy_addr, MII_BMCR); in xcvr_init_1g_rgmii()
1723 err = mii_read(np, np->phy_addr, MII_BMSR); in xcvr_init_1g_rgmii()
1740 err = mii_read(np, np->phy_addr, MII_BMSR); in mii_init_common()
1747 err = mii_read(np, np->phy_addr, MII_ESTATUS); in mii_init_common()
1754 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in mii_init_common()
1771 err = mii_write(np, np->phy_addr, BCM5464R_AUX_CTL, aux); in mii_init_common()
1792 err = mii_write(np, np->phy_addr, MII_ADVERTISE, adv); in mii_init_common()
1804 err = mii_write(np, np->phy_addr, in mii_init_common()
1843 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in mii_init_common()
1848 err = mii_read(np, np->phy_addr, MII_BMCR); in mii_init_common()
1853 err = mii_read(np, np->phy_addr, MII_BMSR); in mii_init_common()
1941 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, in link_status_10g_mrvl()
1947 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV1_ADDR, in link_status_10g_mrvl()
1955 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV3_ADDR, in link_status_10g_mrvl()
1960 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV3_ADDR, in link_status_10g_mrvl()
1968 err = mdio_read(np, np->phy_addr, MRVL88X2011_USER_DEV4_ADDR, in link_status_10g_mrvl()
1996 err = mdio_read(np, np->phy_addr, BCM8704_PMA_PMD_DEV_ADDR, in link_status_10g_bcm8706()
2005 err = mdio_read(np, np->phy_addr, BCM8704_PCS_DEV_ADDR, in link_status_10g_bcm8706()
2015 err = mdio_read(np, np->phy_addr, BCM8704_PHYXS_DEV_ADDR, in link_status_10g_bcm8706()
2048 err = mdio_read(np, np->phy_addr, BCM8704_PMA_PMD_DEV_ADDR, in link_status_10g_bcom()
2057 err = mdio_read(np, np->phy_addr, BCM8704_PCS_DEV_ADDR, in link_status_10g_bcom()
2066 err = mdio_read(np, np->phy_addr, BCM8704_PHYXS_DEV_ADDR, in link_status_10g_bcom()
2179 err = mdio_read(np, np->phy_addr, in link_status_10g_hotplug()
2597 np->phy_addr = tp->phy_addr_base + phy_addr_off; in niu_determine_phy_disposition()
6829 cmd->phy_address = np->phy_addr; in niu_get_settings()