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
405 struct sfp_bus *sfp, *new, *found = NULL;
411 list_for_each_entry(sfp, &sfp_buses, node) {
412 if (sfp->fwnode == fwnode) {
413 kref_get(&sfp->kref);
414 found = sfp;
472 bus->socket_ops->attach(bus->sfp);
474 bus->socket_ops->start(bus->sfp);
486 bus->socket_ops->stop(bus->sfp);
487 bus->socket_ops->detach(bus->sfp);
496 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
500 * the sfp bus specified by @bus.
506 return bus->socket_ops->module_info(bus->sfp, modinfo);
512 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
524 return bus->socket_ops->module_eeprom(bus->sfp, ee, data);
530 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
544 return bus->socket_ops->module_eeprom_by_page(bus->sfp, page, extack);
550 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
560 bus->socket_ops->start(bus->sfp);
567 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
577 bus->socket_ops->stop(bus->sfp);
590 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
604 bus->socket_ops->set_signal_rate(bus->sfp, rate_kbd);
632 ret = fwnode_property_get_reference_args(fwnode, "sfp", NULL,
687 if (bus->sfp) {
704 * sfp_bus_del_upstream() - Delete a sfp bus
705 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
714 if (bus->sfp)
818 bus->sfp = NULL;
822 struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp,
831 bus->sfp = sfp;