Lines Matching refs:sfp_bus
467 struct sfp_bus;
487 void (*attach)(void *priv, struct sfp_bus *bus);
488 void (*detach)(void *priv, struct sfp_bus *bus);
498 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
500 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
502 phy_interface_t sfp_select_interface(struct sfp_bus *bus,
506 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo);
507 int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee,
509 void sfp_upstream_start(struct sfp_bus *bus);
510 void sfp_upstream_stop(struct sfp_bus *bus);
511 struct sfp_bus *sfp_register_upstream(struct fwnode_handle *fwnode,
514 void sfp_unregister_upstream(struct sfp_bus *bus);
516 static inline int sfp_parse_port(struct sfp_bus *bus, in sfp_parse_port()
523 static inline void sfp_parse_support(struct sfp_bus *bus, in sfp_parse_support()
529 static inline phy_interface_t sfp_select_interface(struct sfp_bus *bus, in sfp_select_interface()
536 static inline int sfp_get_module_info(struct sfp_bus *bus, in sfp_get_module_info()
542 static inline int sfp_get_module_eeprom(struct sfp_bus *bus, in sfp_get_module_eeprom()
548 static inline void sfp_upstream_start(struct sfp_bus *bus) in sfp_upstream_start()
552 static inline void sfp_upstream_stop(struct sfp_bus *bus) in sfp_upstream_stop()
556 static inline struct sfp_bus *sfp_register_upstream( in sfp_register_upstream()
560 return (struct sfp_bus *)-1; in sfp_register_upstream()
563 static inline void sfp_unregister_upstream(struct sfp_bus *bus) in sfp_unregister_upstream()