Lines Matching refs:sfp
30 struct sfp *sfp; member
424 struct sfp_bus *sfp, *new, *found = NULL; in sfp_bus_get() local
430 list_for_each_entry(sfp, &sfp_buses, node) { in sfp_bus_get()
431 if (sfp->fwnode == fwnode) { in sfp_bus_get()
432 kref_get(&sfp->kref); in sfp_bus_get()
433 found = sfp; in sfp_bus_get()
491 bus->socket_ops->attach(bus->sfp); in sfp_register_bus()
493 bus->socket_ops->start(bus->sfp); in sfp_register_bus()
505 bus->socket_ops->stop(bus->sfp); in sfp_unregister_bus()
506 bus->socket_ops->detach(bus->sfp); in sfp_unregister_bus()
525 return bus->socket_ops->module_info(bus->sfp, modinfo); in sfp_get_module_info()
543 return bus->socket_ops->module_eeprom(bus->sfp, ee, data); in sfp_get_module_eeprom()
559 bus->socket_ops->start(bus->sfp); in sfp_upstream_start()
576 bus->socket_ops->stop(bus->sfp); in sfp_upstream_stop()
666 if (bus->sfp) { in sfp_bus_add_upstream()
693 if (bus->sfp) in sfp_bus_del_upstream()
796 bus->sfp = NULL; in sfp_socket_clear()
800 struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp, in sfp_register_socket() argument
809 bus->sfp = sfp; in sfp_register_socket()