Lines Matching refs:phy_id
645 int phy_id = phydev->phy_id; in get_phy_driver() local
650 if ((drv->uid & drv->mask) == (phy_id & drv->mask)) in get_phy_driver()
659 u32 phy_id, bool is_c45, in phy_device_create() argument
688 dev->phy_id = phy_id; in phy_device_create()
699 if (addr >= 0 && addr < PHY_MAX_ADDR && phy_id != PHY_FIXED_ID) in phy_device_create()
714 int __weak get_phy_id(struct mii_dev *bus, int addr, int devad, u32 *phy_id) in get_phy_id() argument
727 *phy_id = (phy_reg & 0xffff) << 16; in get_phy_id()
735 *phy_id |= (phy_reg & 0xffff); in get_phy_id()
744 u32 phy_id = 0xffffffff; in create_phy_by_mask() local
749 int r = get_phy_id(bus, addr, devad, &phy_id); in create_phy_by_mask()
757 if (r == 0 && phy_id == 0) in create_phy_by_mask()
761 if (r == 0 && (phy_id & 0x1fffffff) != 0x1fffffff) { in create_phy_by_mask()
763 return phy_device_create(bus, addr, phy_id, is_c45, in create_phy_by_mask()