Lines Matching full:upstream
34 void *upstream; member
463 ops->link_down(bus->upstream); in sfp_register_bus()
465 ret = ops->connect_phy(bus->upstream, bus->phydev); in sfp_register_bus()
474 bus->upstream_ops->attach(bus->upstream, bus); in sfp_register_bus()
483 bus->upstream_ops->detach(bus->upstream, bus); in sfp_unregister_bus()
488 ops->disconnect_phy(bus->upstream); in sfp_unregister_bus()
564 bus->upstream = NULL; in sfp_upstream_clear()
583 * - an error from the upstream's connect_phy() method.
610 * @upstream: the upstream private data
611 * @ops: the upstream's &struct sfp_upstream_ops
613 * Add upstream driver for the SFP bus, and if the bus is complete, register
625 * - an error from the upstream's connect_phy() method.
627 int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, in sfp_bus_add_upstream() argument
639 bus->upstream = upstream; in sfp_bus_add_upstream()
661 * Delete a previously registered upstream connection for the SFP
685 ret = ops->connect_phy(bus->upstream, phydev); in sfp_add_phy()
699 ops->disconnect_phy(bus->upstream); in sfp_remove_phy()
709 ops->link_up(bus->upstream); in sfp_link_up()
718 ops->link_down(bus->upstream); in sfp_link_down()
730 ret = ops->module_insert(bus->upstream, id); in sfp_module_insert()
741 ops->module_remove(bus->upstream); in sfp_module_remove()
753 ret = ops->module_start(bus->upstream); in sfp_module_start()
764 ops->module_stop(bus->upstream); in sfp_module_stop()