Searched refs:c45_ids (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/net/phy/
H A Dphy_device.c153 struct phy_c45_device_ids *c45_ids) phy_device_create()
176 if (c45_ids) phy_device_create()
177 dev->c45_ids = *c45_ids; phy_device_create()
244 * @c45_ids: where to store the c45 ID information.
247 * corresponding identifiers are stored in @c45_ids, zero is stored
253 struct phy_c45_device_ids *c45_ids) { get_phy_c45_ids()
256 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); get_phy_c45_ids()
257 u32 *devs = &c45_ids->devices_in_package; get_phy_c45_ids()
288 if (!(c45_ids->devices_in_package & (1 << i))) get_phy_c45_ids()
295 c45_ids->device_ids[i] = (phy_reg & 0xffff) << 16; get_phy_c45_ids()
301 c45_ids->device_ids[i] |= (phy_reg & 0xffff); get_phy_c45_ids()
313 * @c45_ids: where to store the c45 ID information.
324 bool is_c45, struct phy_c45_device_ids *c45_ids) get_phy_id()
329 return get_phy_c45_ids(bus, addr, phy_id, c45_ids); get_phy_id()
360 struct phy_c45_device_ids c45_ids = {0}; get_phy_device() local
364 r = get_phy_id(bus, addr, &phy_id, is_c45, &c45_ids); get_phy_device()
372 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); get_phy_device()
1122 u32 mmd_mask = phydev->c45_ids.devices_in_package; gen10g_read_status()
151 phy_device_create(struct mii_bus *bus, int addr, int phy_id, bool is_c45, struct phy_c45_device_ids *c45_ids) phy_device_create() argument
252 get_phy_c45_ids(struct mii_bus *bus, int addr, u32 *phy_id, struct phy_c45_device_ids *c45_ids) get_phy_c45_ids() argument
323 get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id, bool is_c45, struct phy_c45_device_ids *c45_ids) get_phy_id() argument
H A Dbcm87xx.c182 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8706; bcm8706_match_phy_device()
187 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8727; bcm8727_match_phy_device()
H A Dteranetics.c97 return phydev->c45_ids.device_ids[3] == PHY_ID_TN2020; teranetics_match_phy_device()
H A Dmdio_bus.c490 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); mdio_bus_match()
501 if (!(phydev->c45_ids.devices_in_package & (1 << i))) mdio_bus_match()
505 (phydev->c45_ids.device_ids[i] & mdio_bus_match()
/linux-4.4.14/include/linux/
H A Dphy.h335 * c45_ids: 802.3-c45 Device Identifers if is_c45.
374 struct phy_c45_device_ids c45_ids; member in struct:phy_device
747 struct phy_c45_device_ids *c45_ids);

Completed in 224 milliseconds