Lines Matching refs:c45_ids

462 	const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids);  in phy_bus_match()
473 if (phydev->c45_ids.device_ids[i] == 0xffffffff) in phy_bus_match()
477 (phydev->c45_ids.device_ids[i] & in phy_bus_match()
570 struct phy_c45_device_ids *c45_ids) in phy_device_create() argument
604 if (c45_ids) in phy_device_create()
605 dev->c45_ids = *c45_ids; in phy_device_create()
626 if (is_c45 && c45_ids) { in phy_device_create()
627 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create()
631 if (c45_ids->device_ids[i] == 0xffffffff) in phy_device_create()
635 c45_ids->device_ids[i]); in phy_device_create()
717 struct phy_c45_device_ids *c45_ids) in get_phy_c45_ids() argument
719 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids()
782 c45_ids->device_ids[i] = phy_reg << 16; in get_phy_c45_ids()
787 c45_ids->device_ids[i] |= phy_reg; in get_phy_c45_ids()
790 c45_ids->devices_in_package = devs_in_pkg; in get_phy_c45_ids()
792 c45_ids->mmds_present = devs_in_pkg & ~BIT(0); in get_phy_c45_ids()
879 struct phy_c45_device_ids c45_ids; in get_phy_device() local
883 c45_ids.devices_in_package = 0; in get_phy_device()
884 c45_ids.mmds_present = 0; in get_phy_device()
885 memset(c45_ids.device_ids, 0xff, sizeof(c45_ids.device_ids)); in get_phy_device()
888 r = get_phy_c45_ids(bus, addr, &c45_ids); in get_phy_device()
901 r = get_phy_c45_ids(bus, addr, &c45_ids); in get_phy_device()
904 true, &c45_ids); in get_phy_device()
907 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device()
981 &phydev->c45_ids); in phy_get_c45_ids()