Lines Matching defs:interfaces
646 * use when they pass the range of supported interfaces and MAC capabilities.
709 const unsigned long *interfaces)
718 if (test_bit(intf, interfaces)) {
739 const unsigned long *interfaces = pl->config->supported_interfaces;
742 return phylink_validate_mask(pl, supported, state, interfaces);
744 if (!test_bit(state->interface, interfaces))
3147 DECLARE_PHY_INTERFACE_MASK(interfaces);
3152 phylink_dbg(pl, "optical SFP: interfaces=[mac=%*pbl, sfp=%*pbl]\n",
3158 /* Find the union of the supported interfaces by the PCS/MAC and
3161 phy_interface_and(interfaces, pl->config->supported_interfaces,
3163 if (phy_interface_empty(interfaces)) {
3175 /* For all the interfaces that are supported, reduce the sfp_support
3178 ret = phylink_validate_mask(pl, pl->sfp_support, &config, interfaces);
3185 interface = phylink_choose_sfp_interface(pl, interfaces);
3308 /* Set the PHY's host supported interfaces */