Lines Matching refs:phy_mask
741 uint phy_mask, int devad, in create_phy_by_mask() argument
747 while (phy_mask) { in create_phy_by_mask()
748 int addr = ffs(phy_mask) - 1; in create_phy_by_mask()
767 phy_mask &= ~(1 << addr); in create_phy_by_mask()
773 uint phy_mask, in search_for_existing_phy() argument
777 while (phy_mask) { in search_for_existing_phy()
778 int addr = ffs(phy_mask) - 1; in search_for_existing_phy()
784 phy_mask &= ~(1 << addr); in search_for_existing_phy()
790 uint phy_mask, in get_phy_device_by_mask() argument
807 phydev = search_for_existing_phy(bus, phy_mask, interface); in get_phy_device_by_mask()
812 phydev = create_phy_by_mask(bus, phy_mask, in get_phy_device_by_mask()
821 while (phy_mask) { in get_phy_device_by_mask()
822 int addr = ffs(phy_mask) - 1; in get_phy_device_by_mask()
825 phy_mask &= ~(1 << addr); in get_phy_device_by_mask()
913 struct phy_device *phy_find_by_mask(struct mii_dev *bus, uint phy_mask, in phy_find_by_mask() argument
924 return get_phy_device_by_mask(bus, phy_mask, interface); in phy_find_by_mask()