Lines Matching +full:3 +full:- +full:c45
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2011 - 2012 Cavium, Inc.
22 * broadcom,c45-reg-init property stored in the of_node for the phydev.
24 * broadcom,c45-reg-init = <devid reg mask value>,...;
28 * devid: which sub-device to use.
30 * mask: if non-zero, ANDed with existing register value.
40 if (!phydev->mdio.dev.of_node) in bcm87xx_of_reg_init()
43 paddr = of_get_property(phydev->mdio.dev.of_node, in bcm87xx_of_reg_init()
44 "broadcom,c45-reg-init", &len); in bcm87xx_of_reg_init()
52 while (paddr + 3 < paddr_end) { in bcm87xx_of_reg_init()
86 phydev->supported); in bcm87xx_get_features()
97 return -EINVAL; in bcm87xx_config_aneg()
130 phydev->speed = 10000; in bcm87xx_read_status()
131 phydev->link = 1; in bcm87xx_read_status()
132 phydev->duplex = 1; in bcm87xx_read_status()
136 phydev->link = 0; in bcm87xx_read_status()
149 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in bcm87xx_config_intr()
190 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8706; in bcm8706_match_phy_device()
195 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8727; in bcm8727_match_phy_device()