Lines Matching defs:sfp

11 #include "sfp.h"
14 * struct sfp_bus - internal representation of a sfp bus
24 struct sfp *sfp;
37 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
112 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
139 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
351 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
406 struct sfp_bus *sfp, *new, *found = NULL;
412 list_for_each_entry(sfp, &sfp_buses, node) {
413 if (sfp->fwnode == fwnode) {
414 kref_get(&sfp->kref);
415 found = sfp;
473 bus->socket_ops->attach(bus->sfp);
475 bus->socket_ops->start(bus->sfp);
487 bus->socket_ops->stop(bus->sfp);
488 bus->socket_ops->detach(bus->sfp);
497 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
501 * the sfp bus specified by @bus.
507 return bus->socket_ops->module_info(bus->sfp, modinfo);
513 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
525 return bus->socket_ops->module_eeprom(bus->sfp, ee, data);
531 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
545 return bus->socket_ops->module_eeprom_by_page(bus->sfp, page, extack);
551 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
561 bus->socket_ops->start(bus->sfp);
568 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
578 bus->socket_ops->stop(bus->sfp);
591 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
605 bus->socket_ops->set_signal_rate(bus->sfp, rate_kbd);
633 ret = fwnode_property_get_reference_args(fwnode, "sfp", NULL,
688 if (bus->sfp) {
705 * sfp_bus_del_upstream() - Delete a sfp bus
706 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
715 if (bus->sfp)
819 bus->sfp = NULL;
823 struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp,
832 bus->sfp = sfp;