Lines Matching refs:bus
544 void (*attach)(void *priv, struct sfp_bus *bus);
545 void (*detach)(void *priv, struct sfp_bus *bus);
557 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
559 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id);
560 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
562 phy_interface_t sfp_select_interface(struct sfp_bus *bus,
565 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo);
566 int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee,
568 int sfp_get_module_eeprom_by_page(struct sfp_bus *bus,
571 void sfp_upstream_start(struct sfp_bus *bus);
572 void sfp_upstream_stop(struct sfp_bus *bus);
573 void sfp_upstream_set_signal_rate(struct sfp_bus *bus, unsigned int rate_kbd);
574 void sfp_bus_put(struct sfp_bus *bus);
576 int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream,
578 void sfp_bus_del_upstream(struct sfp_bus *bus);
579 const char *sfp_get_name(struct sfp_bus *bus);
581 static inline int sfp_parse_port(struct sfp_bus *bus, in sfp_parse_port() argument
588 static inline bool sfp_may_have_phy(struct sfp_bus *bus, in sfp_may_have_phy() argument
594 static inline void sfp_parse_support(struct sfp_bus *bus, in sfp_parse_support() argument
601 static inline phy_interface_t sfp_select_interface(struct sfp_bus *bus, in sfp_select_interface() argument
607 static inline int sfp_get_module_info(struct sfp_bus *bus, in sfp_get_module_info() argument
613 static inline int sfp_get_module_eeprom(struct sfp_bus *bus, in sfp_get_module_eeprom() argument
619 static inline int sfp_get_module_eeprom_by_page(struct sfp_bus *bus, in sfp_get_module_eeprom_by_page() argument
626 static inline void sfp_upstream_start(struct sfp_bus *bus) in sfp_upstream_start() argument
630 static inline void sfp_upstream_stop(struct sfp_bus *bus) in sfp_upstream_stop() argument
634 static inline void sfp_upstream_set_signal_rate(struct sfp_bus *bus, in sfp_upstream_set_signal_rate() argument
639 static inline void sfp_bus_put(struct sfp_bus *bus) in sfp_bus_put() argument
649 static inline int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, in sfp_bus_add_upstream() argument
655 static inline void sfp_bus_del_upstream(struct sfp_bus *bus) in sfp_bus_del_upstream() argument
659 static inline const char *sfp_get_name(struct sfp_bus *bus) in sfp_get_name() argument