Lines Matching +full:3 +full:- +full:c45
6 * Copyright (C) 2011 - 2012 Cavium, Inc.
25 * broadcom,c45-reg-init property stored in the of_node for the phydev.
27 * broadcom,c45-reg-init = <devid reg mask value>,...;
31 * devid: which sub-device to use.
33 * mask: if non-zero, ANDed with existing register value.
43 if (!phydev->mdio.dev.of_node) in bcm87xx_of_reg_init()
46 paddr = of_get_property(phydev->mdio.dev.of_node, in bcm87xx_of_reg_init()
47 "broadcom,c45-reg-init", &len); in bcm87xx_of_reg_init()
55 while (paddr + 3 < paddr_end) { in bcm87xx_of_reg_init()
89 phydev->supported = SUPPORTED_10000baseR_FEC; in bcm87xx_config_init()
90 phydev->advertising = ADVERTISED_10000baseR_FEC; in bcm87xx_config_init()
91 phydev->state = PHY_NOLINK; in bcm87xx_config_init()
92 phydev->autoneg = AUTONEG_DISABLE; in bcm87xx_config_init()
101 return -EINVAL; in bcm87xx_config_aneg()
131 phydev->speed = 10000; in bcm87xx_read_status()
132 phydev->link = 1; in bcm87xx_read_status()
133 phydev->duplex = 1; in bcm87xx_read_status()
137 phydev->link = 0; in bcm87xx_read_status()
150 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in bcm87xx_config_intr()
183 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8706; in bcm8706_match_phy_device()
188 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8727; in bcm8727_match_phy_device()