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 int sfp_get_module_eeprom_by_page(struct sfp_bus *bus,
548 void sfp_upstream_start(struct sfp_bus *bus);
549 void sfp_upstream_stop(struct sfp_bus *bus);
550 void sfp_bus_put(struct sfp_bus *bus);
551 struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode);
552 int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream,
554 void sfp_bus_del_upstream(struct sfp_bus *bus);
556 static inline int sfp_parse_port(struct sfp_bus *bus, in sfp_parse_port()
563 static inline bool sfp_may_have_phy(struct sfp_bus *bus, in sfp_may_have_phy()
569 static inline void sfp_parse_support(struct sfp_bus *bus, in sfp_parse_support()
575 static inline phy_interface_t sfp_select_interface(struct sfp_bus *bus, in sfp_select_interface()
581 static inline int sfp_get_module_info(struct sfp_bus *bus, in sfp_get_module_info()
587 static inline int sfp_get_module_eeprom(struct sfp_bus *bus, in sfp_get_module_eeprom()
593 static inline int sfp_get_module_eeprom_by_page(struct sfp_bus *bus, in sfp_get_module_eeprom_by_page()
600 static inline void sfp_upstream_start(struct sfp_bus *bus) in sfp_upstream_start()
604 static inline void sfp_upstream_stop(struct sfp_bus *bus) in sfp_upstream_stop()
608 static inline void sfp_bus_put(struct sfp_bus *bus) in sfp_bus_put()
612 static inline struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode) in sfp_bus_find_fwnode()
617 static inline int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, in sfp_bus_add_upstream()
623 static inline void sfp_bus_del_upstream(struct sfp_bus *bus) in sfp_bus_del_upstream()