Lines Matching refs:c45_ids
480 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); in phy_bus_match()
491 if (!(phydev->c45_ids.devices_in_package & (1 << i))) in phy_bus_match()
495 (phydev->c45_ids.device_ids[i] & in phy_bus_match()
577 struct phy_c45_device_ids *c45_ids) in phy_device_create() argument
610 if (c45_ids) in phy_device_create()
611 dev->c45_ids = *c45_ids; in phy_device_create()
630 if (is_c45 && c45_ids) { in phy_device_create()
631 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create()
635 if (!(c45_ids->devices_in_package & (1 << i))) in phy_device_create()
639 c45_ids->device_ids[i]); in phy_device_create()
706 struct phy_c45_device_ids *c45_ids) { in get_phy_c45_ids() argument
709 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids()
710 u32 *devs = &c45_ids->devices_in_package; in get_phy_c45_ids()
741 if (!(c45_ids->devices_in_package & (1 << i))) in get_phy_c45_ids()
748 c45_ids->device_ids[i] = phy_reg << 16; in get_phy_c45_ids()
754 c45_ids->device_ids[i] |= phy_reg; in get_phy_c45_ids()
777 bool is_c45, struct phy_c45_device_ids *c45_ids) in get_phy_id() argument
782 return get_phy_c45_ids(bus, addr, phy_id, c45_ids); in get_phy_id()
815 struct phy_c45_device_ids c45_ids = {0}; in get_phy_device() local
819 r = get_phy_id(bus, addr, &phy_id, is_c45, &c45_ids); in get_phy_device()
827 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device()