Lines Matching refs:c45_ids
328 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); in phy_bus_match()
339 if (!(phydev->c45_ids.devices_in_package & (1 << i))) in phy_bus_match()
343 (phydev->c45_ids.device_ids[i] & in phy_bus_match()
405 struct phy_c45_device_ids *c45_ids) in phy_device_create() argument
437 if (c45_ids) in phy_device_create()
438 dev->c45_ids = *c45_ids; in phy_device_create()
511 struct phy_c45_device_ids *c45_ids) { in get_phy_c45_ids() argument
514 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids()
515 u32 *devs = &c45_ids->devices_in_package; in get_phy_c45_ids()
546 if (!(c45_ids->devices_in_package & (1 << i))) in get_phy_c45_ids()
553 c45_ids->device_ids[i] = (phy_reg & 0xffff) << 16; in get_phy_c45_ids()
559 c45_ids->device_ids[i] |= (phy_reg & 0xffff); in get_phy_c45_ids()
582 bool is_c45, struct phy_c45_device_ids *c45_ids) in get_phy_id() argument
587 return get_phy_c45_ids(bus, addr, phy_id, c45_ids); in get_phy_id()
627 struct phy_c45_device_ids c45_ids = {0}; in get_phy_device() local
631 r = get_phy_id(bus, addr, &phy_id, is_c45, &c45_ids); in get_phy_device()
639 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device()