Lines Matching refs:c45_ids
325 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); in phy_bus_match()
336 if (!(phydev->c45_ids.devices_in_package & (1 << i))) in phy_bus_match()
340 (phydev->c45_ids.device_ids[i] & in phy_bus_match()
353 struct phy_c45_device_ids *c45_ids) in phy_device_create() argument
386 if (c45_ids) in phy_device_create()
387 dev->c45_ids = *c45_ids; in phy_device_create()
460 struct phy_c45_device_ids *c45_ids) { in get_phy_c45_ids() argument
463 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids()
464 u32 *devs = &c45_ids->devices_in_package; in get_phy_c45_ids()
495 if (!(c45_ids->devices_in_package & (1 << i))) in get_phy_c45_ids()
502 c45_ids->device_ids[i] = (phy_reg & 0xffff) << 16; in get_phy_c45_ids()
508 c45_ids->device_ids[i] |= (phy_reg & 0xffff); in get_phy_c45_ids()
531 bool is_c45, struct phy_c45_device_ids *c45_ids) in get_phy_id() argument
536 return get_phy_c45_ids(bus, addr, phy_id, c45_ids); in get_phy_id()
567 struct phy_c45_device_ids c45_ids = {0}; in get_phy_device() local
571 r = get_phy_id(bus, addr, &phy_id, is_c45, &c45_ids); in get_phy_device()
579 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device()