Lines Matching defs:c45_ids
436 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids);
440 if (phydev->c45_ids.device_ids[i] == 0xffffffff)
443 if (phy_id_compare(phydev->c45_ids.device_ids[i],
532 (unsigned long)phydev->c45_ids.device_ids[n]); \
612 if (i >= ARRAY_SIZE(phydev->c45_ids.device_ids) ||
613 phydev->c45_ids.device_ids[i] == 0xffffffff)
660 struct phy_c45_device_ids *c45_ids)
696 if (c45_ids)
697 dev->c45_ids = *c45_ids;
726 if (is_c45 && c45_ids) {
727 const int num_ids = ARRAY_SIZE(c45_ids->device_ids);
731 if (c45_ids->device_ids[i] == 0xffffffff)
735 c45_ids->device_ids[i]);
807 * @c45_ids: where to store the c45 ID information.
811 * and identifiers in @c45_ids.
817 struct phy_c45_device_ids *c45_ids)
819 const int num_ids = ARRAY_SIZE(c45_ids->device_ids);
886 c45_ids->device_ids[i] = phy_reg << 16;
891 c45_ids->device_ids[i] |= phy_reg;
894 c45_ids->devices_in_package = devs_in_pkg;
896 c45_ids->mmds_present = devs_in_pkg & ~BIT(0);
983 struct phy_c45_device_ids c45_ids;
987 c45_ids.devices_in_package = 0;
988 c45_ids.mmds_present = 0;
989 memset(c45_ids.device_ids, 0xff, sizeof(c45_ids.device_ids));
992 r = get_phy_c45_ids(bus, addr, &c45_ids);
1005 r = get_phy_c45_ids(bus, addr, &c45_ids);
1008 true, &c45_ids);
1011 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids);
1086 &phydev->c45_ids);