Lines Matching defs:sfp

11 #include "sfp.h"
20 * struct sfp_bus - internal representation of a sfp bus
30 struct sfp *sfp;
130 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
205 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
232 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
381 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
424 struct sfp_bus *sfp, *new, *found = NULL;
430 list_for_each_entry(sfp, &sfp_buses, node) {
431 if (sfp->fwnode == fwnode) {
432 kref_get(&sfp->kref);
433 found = sfp;
491 bus->socket_ops->attach(bus->sfp);
493 bus->socket_ops->start(bus->sfp);
505 bus->socket_ops->stop(bus->sfp);
506 bus->socket_ops->detach(bus->sfp);
515 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
519 * the sfp bus specified by @bus.
525 return bus->socket_ops->module_info(bus->sfp, modinfo);
531 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
543 return bus->socket_ops->module_eeprom(bus->sfp, ee, data);
549 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
559 bus->socket_ops->start(bus->sfp);
566 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
576 bus->socket_ops->stop(bus->sfp);
611 ret = fwnode_property_get_reference_args(fwnode, "sfp", NULL,
666 if (bus->sfp) {
683 * sfp_bus_del_upstream() - Delete a sfp bus
684 * @bus: a pointer to the &struct sfp_bus structure for the sfp module
693 if (bus->sfp)
796 bus->sfp = NULL;
800 struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp,
809 bus->sfp = sfp;