Lines Matching defs:c45_ids
529 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids);
540 if (phydev->c45_ids.device_ids[i] == 0xffffffff)
543 if (phy_id_compare(phydev->c45_ids.device_ids[i],
636 struct phy_c45_device_ids *c45_ids)
671 if (c45_ids)
672 dev->c45_ids = *c45_ids;
694 if (is_c45 && c45_ids) {
695 const int num_ids = ARRAY_SIZE(c45_ids->device_ids);
699 if (c45_ids->device_ids[i] == 0xffffffff)
703 c45_ids->device_ids[i]);
775 * @c45_ids: where to store the c45 ID information.
779 * and identifiers in @c45_ids.
785 struct phy_c45_device_ids *c45_ids)
787 const int num_ids = ARRAY_SIZE(c45_ids->device_ids);
850 c45_ids->device_ids[i] = phy_reg << 16;
855 c45_ids->device_ids[i] |= phy_reg;
858 c45_ids->devices_in_package = devs_in_pkg;
860 c45_ids->mmds_present = devs_in_pkg & ~BIT(0);
947 struct phy_c45_device_ids c45_ids;
951 c45_ids.devices_in_package = 0;
952 c45_ids.mmds_present = 0;
953 memset(c45_ids.device_ids, 0xff, sizeof(c45_ids.device_ids));
956 r = get_phy_c45_ids(bus, addr, &c45_ids);
969 r = get_phy_c45_ids(bus, addr, &c45_ids);
972 true, &c45_ids);
975 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids);
1050 &phydev->c45_ids);