Lines Matching defs:bus
30 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id, in sfp_parse_port()
82 phy_interface_t sfp_parse_interface(struct sfp_bus *bus, in sfp_parse_interface()
121 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, in sfp_parse_support()
215 static const struct sfp_upstream_ops *sfp_get_upstream_ops(struct sfp_bus *bus) in sfp_get_upstream_ops()
253 struct sfp_bus *bus = container_of(kref, struct sfp_bus, kref); in sfp_bus_release() local
260 static void sfp_bus_put(struct sfp_bus *bus) in sfp_bus_put()
265 static int sfp_register_bus(struct sfp_bus *bus) in sfp_register_bus()
286 static void sfp_unregister_bus(struct sfp_bus *bus) in sfp_unregister_bus()
301 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo) in sfp_get_module_info()
309 int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee, in sfp_get_module_eeprom()
318 void sfp_upstream_start(struct sfp_bus *bus) in sfp_upstream_start()
326 void sfp_upstream_stop(struct sfp_bus *bus) in sfp_upstream_stop()
338 struct sfp_bus *bus = sfp_bus_get(np); in sfp_register_upstream() local
361 void sfp_unregister_upstream(struct sfp_bus *bus) in sfp_unregister_upstream()
376 int sfp_add_phy(struct sfp_bus *bus, struct phy_device *phydev) in sfp_add_phy()
391 void sfp_remove_phy(struct sfp_bus *bus) in sfp_remove_phy()
402 void sfp_link_up(struct sfp_bus *bus) in sfp_link_up()
411 void sfp_link_down(struct sfp_bus *bus) in sfp_link_down()
420 int sfp_module_insert(struct sfp_bus *bus, const struct sfp_eeprom_id *id) in sfp_module_insert()
432 void sfp_module_remove(struct sfp_bus *bus) in sfp_module_remove()
444 struct sfp_bus *bus = sfp_bus_get(dev->of_node); in sfp_register_socket() local
467 void sfp_unregister_socket(struct sfp_bus *bus) in sfp_unregister_socket()