Lines Matching refs:sfp_bus
499 struct sfp_bus;
521 void (*attach)(void *priv, struct sfp_bus *bus);
522 void (*detach)(void *priv, struct sfp_bus *bus);
534 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
536 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id);
537 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
539 phy_interface_t sfp_select_interface(struct sfp_bus *bus,
542 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo);
543 int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee,
545 void sfp_upstream_start(struct sfp_bus *bus);
546 void sfp_upstream_stop(struct sfp_bus *bus);
547 void sfp_bus_put(struct sfp_bus *bus);
548 struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode);
549 int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream,
551 void sfp_bus_del_upstream(struct sfp_bus *bus);
553 static inline int sfp_parse_port(struct sfp_bus *bus, in sfp_parse_port()
560 static inline bool sfp_may_have_phy(struct sfp_bus *bus, in sfp_may_have_phy()
566 static inline void sfp_parse_support(struct sfp_bus *bus, in sfp_parse_support()
572 static inline phy_interface_t sfp_select_interface(struct sfp_bus *bus, in sfp_select_interface()
578 static inline int sfp_get_module_info(struct sfp_bus *bus, in sfp_get_module_info()
584 static inline int sfp_get_module_eeprom(struct sfp_bus *bus, in sfp_get_module_eeprom()
590 static inline void sfp_upstream_start(struct sfp_bus *bus) in sfp_upstream_start()
594 static inline void sfp_upstream_stop(struct sfp_bus *bus) in sfp_upstream_stop()
598 static inline void sfp_bus_put(struct sfp_bus *bus) in sfp_bus_put()
602 static inline struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode) in sfp_bus_find_fwnode()
607 static inline int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, in sfp_bus_add_upstream()
613 static inline void sfp_bus_del_upstream(struct sfp_bus *bus) in sfp_bus_del_upstream()