Lines Matching refs:sfp_bus

508 struct sfp_bus;
530 void (*attach)(void *priv, struct sfp_bus *bus);
531 void (*detach)(void *priv, struct sfp_bus *bus);
543 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
545 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id);
546 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
548 phy_interface_t sfp_select_interface(struct sfp_bus *bus,
551 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo);
552 int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee,
554 int sfp_get_module_eeprom_by_page(struct sfp_bus *bus,
557 void sfp_upstream_start(struct sfp_bus *bus);
558 void sfp_upstream_stop(struct sfp_bus *bus);
559 void sfp_bus_put(struct sfp_bus *bus);
560 struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode);
561 int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream,
563 void sfp_bus_del_upstream(struct sfp_bus *bus);
565 static inline int sfp_parse_port(struct sfp_bus *bus, in sfp_parse_port()
572 static inline bool sfp_may_have_phy(struct sfp_bus *bus, in sfp_may_have_phy()
578 static inline void sfp_parse_support(struct sfp_bus *bus, in sfp_parse_support()
585 static inline phy_interface_t sfp_select_interface(struct sfp_bus *bus, in sfp_select_interface()
591 static inline int sfp_get_module_info(struct sfp_bus *bus, in sfp_get_module_info()
597 static inline int sfp_get_module_eeprom(struct sfp_bus *bus, in sfp_get_module_eeprom()
603 static inline int sfp_get_module_eeprom_by_page(struct sfp_bus *bus, in sfp_get_module_eeprom_by_page()
610 static inline void sfp_upstream_start(struct sfp_bus *bus) in sfp_upstream_start()
614 static inline void sfp_upstream_stop(struct sfp_bus *bus) in sfp_upstream_stop()
618 static inline void sfp_bus_put(struct sfp_bus *bus) in sfp_bus_put()
622 static inline struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode) in sfp_bus_find_fwnode()
627 static inline int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, in sfp_bus_add_upstream()
633 static inline void sfp_bus_del_upstream(struct sfp_bus *bus) in sfp_bus_del_upstream()