Lines Matching refs:c45_ids

550 	const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids);  in phy_bus_match()
561 if (phydev->c45_ids.device_ids[i] == 0xffffffff) in phy_bus_match()
564 if (phy_id_compare(phydev->c45_ids.device_ids[i], in phy_bus_match()
657 struct phy_c45_device_ids *c45_ids) in phy_device_create() argument
693 if (c45_ids) in phy_device_create()
694 dev->c45_ids = *c45_ids; in phy_device_create()
716 if (is_c45 && c45_ids) { in phy_device_create()
717 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create()
721 if (c45_ids->device_ids[i] == 0xffffffff) in phy_device_create()
725 c45_ids->device_ids[i]); in phy_device_create()
807 struct phy_c45_device_ids *c45_ids) in get_phy_c45_ids() argument
809 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids()
876 c45_ids->device_ids[i] = phy_reg << 16; in get_phy_c45_ids()
881 c45_ids->device_ids[i] |= phy_reg; in get_phy_c45_ids()
884 c45_ids->devices_in_package = devs_in_pkg; in get_phy_c45_ids()
886 c45_ids->mmds_present = devs_in_pkg & ~BIT(0); in get_phy_c45_ids()
973 struct phy_c45_device_ids c45_ids; in get_phy_device() local
977 c45_ids.devices_in_package = 0; in get_phy_device()
978 c45_ids.mmds_present = 0; in get_phy_device()
979 memset(c45_ids.device_ids, 0xff, sizeof(c45_ids.device_ids)); in get_phy_device()
982 r = get_phy_c45_ids(bus, addr, &c45_ids); in get_phy_device()
995 r = get_phy_c45_ids(bus, addr, &c45_ids); in get_phy_device()
998 true, &c45_ids); in get_phy_device()
1001 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device()
1076 &phydev->c45_ids); in phy_get_c45_ids()