Lines Matching refs:phy_mask
698 uint phy_mask, int devad, in create_phy_by_mask() argument
703 while (phy_mask) { in create_phy_by_mask()
704 int addr = ffs(phy_mask) - 1; in create_phy_by_mask()
709 phy_mask &= ~(1 << addr); in create_phy_by_mask()
715 uint phy_mask, in search_for_existing_phy() argument
719 while (phy_mask) { in search_for_existing_phy()
720 int addr = ffs(phy_mask) - 1; in search_for_existing_phy()
726 phy_mask &= ~(1 << addr); in search_for_existing_phy()
732 uint phy_mask, in get_phy_device_by_mask() argument
738 phydev = search_for_existing_phy(bus, phy_mask, interface); in get_phy_device_by_mask()
744 phydev = create_phy_by_mask(bus, phy_mask, in get_phy_device_by_mask()
753 while (phy_mask) { in get_phy_device_by_mask()
754 int addr = ffs(phy_mask) - 1; in get_phy_device_by_mask()
757 phy_mask &= ~(1 << addr); in get_phy_device_by_mask()
845 struct phy_device *phy_find_by_mask(struct mii_dev *bus, uint phy_mask, in phy_find_by_mask() argument
856 return get_phy_device_by_mask(bus, phy_mask, interface); in phy_find_by_mask()