sfp_bus 73 drivers/net/phy/phylink.c struct sfp_bus *sfp_bus; sfp_bus 585 drivers/net/phy/phylink.c pl->sfp_bus = sfp_register_upstream(ref.fwnode, pl, &sfp_phylink_ops); sfp_bus 586 drivers/net/phy/phylink.c if (!pl->sfp_bus) sfp_bus 687 drivers/net/phy/phylink.c if (pl->sfp_bus) sfp_bus 688 drivers/net/phy/phylink.c sfp_unregister_upstream(pl->sfp_bus); sfp_bus 1016 drivers/net/phy/phylink.c if (pl->sfp_bus) sfp_bus 1017 drivers/net/phy/phylink.c sfp_upstream_start(pl->sfp_bus); sfp_bus 1034 drivers/net/phy/phylink.c if (pl->sfp_bus) sfp_bus 1035 drivers/net/phy/phylink.c sfp_upstream_stop(pl->sfp_bus); sfp_bus 1682 drivers/net/phy/phylink.c static void phylink_sfp_attach(void *upstream, struct sfp_bus *bus) sfp_bus 1686 drivers/net/phy/phylink.c pl->netdev->sfp_bus = bus; sfp_bus 1689 drivers/net/phy/phylink.c static void phylink_sfp_detach(void *upstream, struct sfp_bus *bus) sfp_bus 1693 drivers/net/phy/phylink.c pl->netdev->sfp_bus = NULL; sfp_bus 1710 drivers/net/phy/phylink.c sfp_parse_support(pl->sfp_bus, id, support); sfp_bus 1711 drivers/net/phy/phylink.c port = sfp_parse_port(pl->sfp_bus, id, support); sfp_bus 1731 drivers/net/phy/phylink.c iface = sfp_select_interface(pl->sfp_bus, id, config.advertising); sfp_bus 47 drivers/net/phy/sfp-bus.c int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id, sfp_bus 117 drivers/net/phy/sfp-bus.c void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, sfp_bus 255 drivers/net/phy/sfp-bus.c phy_interface_t sfp_select_interface(struct sfp_bus *bus, sfp_bus 286 drivers/net/phy/sfp-bus.c static const struct sfp_upstream_ops *sfp_get_upstream_ops(struct sfp_bus *bus) sfp_bus 291 drivers/net/phy/sfp-bus.c static struct sfp_bus *sfp_bus_get(struct fwnode_handle *fwnode) sfp_bus 293 drivers/net/phy/sfp-bus.c struct sfp_bus *sfp, *new, *found = NULL; sfp_bus 324 drivers/net/phy/sfp-bus.c struct sfp_bus *bus = container_of(kref, struct sfp_bus, kref); sfp_bus 331 drivers/net/phy/sfp-bus.c static void sfp_bus_put(struct sfp_bus *bus) sfp_bus 336 drivers/net/phy/sfp-bus.c static int sfp_register_bus(struct sfp_bus *bus) sfp_bus 358 drivers/net/phy/sfp-bus.c static void sfp_unregister_bus(struct sfp_bus *bus) sfp_bus 383 drivers/net/phy/sfp-bus.c int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo) sfp_bus 400 drivers/net/phy/sfp-bus.c int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee, sfp_bus 416 drivers/net/phy/sfp-bus.c void sfp_upstream_start(struct sfp_bus *bus) sfp_bus 433 drivers/net/phy/sfp-bus.c void sfp_upstream_stop(struct sfp_bus *bus) sfp_bus 441 drivers/net/phy/sfp-bus.c static void sfp_upstream_clear(struct sfp_bus *bus) sfp_bus 459 drivers/net/phy/sfp-bus.c struct sfp_bus *sfp_register_upstream(struct fwnode_handle *fwnode, sfp_bus 463 drivers/net/phy/sfp-bus.c struct sfp_bus *bus = sfp_bus_get(fwnode); sfp_bus 495 drivers/net/phy/sfp-bus.c void sfp_unregister_upstream(struct sfp_bus *bus) sfp_bus 508 drivers/net/phy/sfp-bus.c int sfp_add_phy(struct sfp_bus *bus, struct phy_device *phydev) sfp_bus 523 drivers/net/phy/sfp-bus.c void sfp_remove_phy(struct sfp_bus *bus) sfp_bus 533 drivers/net/phy/sfp-bus.c void sfp_link_up(struct sfp_bus *bus) sfp_bus 542 drivers/net/phy/sfp-bus.c void sfp_link_down(struct sfp_bus *bus) sfp_bus 551 drivers/net/phy/sfp-bus.c int sfp_module_insert(struct sfp_bus *bus, const struct sfp_eeprom_id *id) sfp_bus 563 drivers/net/phy/sfp-bus.c void sfp_module_remove(struct sfp_bus *bus) sfp_bus 572 drivers/net/phy/sfp-bus.c static void sfp_socket_clear(struct sfp_bus *bus) sfp_bus 579 drivers/net/phy/sfp-bus.c struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp, sfp_bus 582 drivers/net/phy/sfp-bus.c struct sfp_bus *bus = sfp_bus_get(dev->fwnode); sfp_bus 608 drivers/net/phy/sfp-bus.c void sfp_unregister_socket(struct sfp_bus *bus) sfp_bus 177 drivers/net/phy/sfp.c struct sfp_bus *sfp_bus; sfp_bus 1258 drivers/net/phy/sfp.c sfp_remove_phy(sfp->sfp_bus); sfp_bus 1281 drivers/net/phy/sfp.c err = sfp_add_phy(sfp->sfp_bus, phy); sfp_bus 1295 drivers/net/phy/sfp.c sfp_link_up(sfp->sfp_bus); sfp_bus 1301 drivers/net/phy/sfp.c sfp_link_down(sfp->sfp_bus); sfp_bus 1524 drivers/net/phy/sfp.c ret = sfp_module_insert(sfp->sfp_bus, &sfp->id); sfp_bus 1533 drivers/net/phy/sfp.c sfp_module_remove(sfp->sfp_bus); sfp_bus 2002 drivers/net/phy/sfp.c sfp->sfp_bus = sfp_register_socket(sfp->dev, sfp, &sfp_module_ops); sfp_bus 2003 drivers/net/phy/sfp.c if (!sfp->sfp_bus) sfp_bus 2013 drivers/net/phy/sfp.c sfp_unregister_socket(sfp->sfp_bus); sfp_bus 19 drivers/net/phy/sfp.h int sfp_add_phy(struct sfp_bus *bus, struct phy_device *phydev); sfp_bus 20 drivers/net/phy/sfp.h void sfp_remove_phy(struct sfp_bus *bus); sfp_bus 21 drivers/net/phy/sfp.h void sfp_link_up(struct sfp_bus *bus); sfp_bus 22 drivers/net/phy/sfp.h void sfp_link_down(struct sfp_bus *bus); sfp_bus 23 drivers/net/phy/sfp.h int sfp_module_insert(struct sfp_bus *bus, const struct sfp_eeprom_id *id); sfp_bus 24 drivers/net/phy/sfp.h void sfp_module_remove(struct sfp_bus *bus); sfp_bus 25 drivers/net/phy/sfp.h int sfp_link_configure(struct sfp_bus *bus, const struct sfp_eeprom_id *id); sfp_bus 26 drivers/net/phy/sfp.h struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp, sfp_bus 28 drivers/net/phy/sfp.h void sfp_unregister_socket(struct sfp_bus *bus); sfp_bus 57 include/linux/netdevice.h struct sfp_bus; sfp_bus 2062 include/linux/netdevice.h struct sfp_bus *sfp_bus; sfp_bus 467 include/linux/sfp.h struct sfp_bus; sfp_bus 487 include/linux/sfp.h void (*attach)(void *priv, struct sfp_bus *bus); sfp_bus 488 include/linux/sfp.h void (*detach)(void *priv, struct sfp_bus *bus); sfp_bus 498 include/linux/sfp.h int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id, sfp_bus 500 include/linux/sfp.h void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, sfp_bus 502 include/linux/sfp.h phy_interface_t sfp_select_interface(struct sfp_bus *bus, sfp_bus 506 include/linux/sfp.h int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo); sfp_bus 507 include/linux/sfp.h int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee, sfp_bus 509 include/linux/sfp.h void sfp_upstream_start(struct sfp_bus *bus); sfp_bus 510 include/linux/sfp.h void sfp_upstream_stop(struct sfp_bus *bus); sfp_bus 511 include/linux/sfp.h struct sfp_bus *sfp_register_upstream(struct fwnode_handle *fwnode, sfp_bus 514 include/linux/sfp.h void sfp_unregister_upstream(struct sfp_bus *bus); sfp_bus 516 include/linux/sfp.h static inline int sfp_parse_port(struct sfp_bus *bus, sfp_bus 523 include/linux/sfp.h static inline void sfp_parse_support(struct sfp_bus *bus, sfp_bus 529 include/linux/sfp.h static inline phy_interface_t sfp_select_interface(struct sfp_bus *bus, sfp_bus 536 include/linux/sfp.h static inline int sfp_get_module_info(struct sfp_bus *bus, sfp_bus 542 include/linux/sfp.h static inline int sfp_get_module_eeprom(struct sfp_bus *bus, sfp_bus 548 include/linux/sfp.h static inline void sfp_upstream_start(struct sfp_bus *bus) sfp_bus 552 include/linux/sfp.h static inline void sfp_upstream_stop(struct sfp_bus *bus) sfp_bus 556 include/linux/sfp.h static inline struct sfp_bus *sfp_register_upstream( sfp_bus 560 include/linux/sfp.h return (struct sfp_bus *)-1; sfp_bus 563 include/linux/sfp.h static inline void sfp_unregister_upstream(struct sfp_bus *bus) sfp_bus 2199 net/core/ethtool.c if (dev->sfp_bus) sfp_bus 2200 net/core/ethtool.c return sfp_get_module_info(dev->sfp_bus, modinfo); sfp_bus 2236 net/core/ethtool.c if (dev->sfp_bus) sfp_bus 2237 net/core/ethtool.c return sfp_get_module_eeprom(dev->sfp_bus, ee, data);