Lines Matching refs:c45_ids

563 		const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids);  in genphy_match_phy_device()
567 if (phydev->c45_ids.device_ids[i] == 0xffffffff) in genphy_match_phy_device()
570 if (phy_id_compare(phydev->c45_ids.device_ids[i], in genphy_match_phy_device()
679 struct phy_c45_device_ids *c45_ids) in phy_device_create() argument
715 if (c45_ids) in phy_device_create()
716 dev->c45_ids = *c45_ids; in phy_device_create()
738 if (is_c45 && c45_ids) { in phy_device_create()
739 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create()
743 if (c45_ids->device_ids[i] == 0xffffffff) in phy_device_create()
747 c45_ids->device_ids[i]); in phy_device_create()
829 struct phy_c45_device_ids *c45_ids) in get_phy_c45_ids() argument
831 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids()
898 c45_ids->device_ids[i] = phy_reg << 16; in get_phy_c45_ids()
903 c45_ids->device_ids[i] |= phy_reg; in get_phy_c45_ids()
906 c45_ids->devices_in_package = devs_in_pkg; in get_phy_c45_ids()
908 c45_ids->mmds_present = devs_in_pkg & ~BIT(0); in get_phy_c45_ids()
995 struct phy_c45_device_ids c45_ids; in get_phy_device() local
999 c45_ids.devices_in_package = 0; in get_phy_device()
1000 c45_ids.mmds_present = 0; in get_phy_device()
1001 memset(c45_ids.device_ids, 0xff, sizeof(c45_ids.device_ids)); in get_phy_device()
1004 r = get_phy_c45_ids(bus, addr, &c45_ids); in get_phy_device()
1017 r = get_phy_c45_ids(bus, addr, &c45_ids); in get_phy_device()
1020 true, &c45_ids); in get_phy_device()
1023 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device()
1098 &phydev->c45_ids); in phy_get_c45_ids()