Lines Matching full:upstream
28 void *upstream; member
464 ops->link_down(bus->upstream); in sfp_register_bus()
466 ret = ops->connect_phy(bus->upstream, bus->phydev); in sfp_register_bus()
475 bus->upstream_ops->attach(bus->upstream, bus); in sfp_register_bus()
484 bus->upstream_ops->detach(bus->upstream, bus); in sfp_unregister_bus()
489 ops->disconnect_phy(bus->upstream); in sfp_unregister_bus()
585 bus->upstream = NULL; in sfp_upstream_clear()
624 * - an error from the upstream's connect_phy() method.
656 * @upstream: the upstream private data
657 * @ops: the upstream's &struct sfp_upstream_ops
659 * Add upstream driver for the SFP bus, and if the bus is complete, register
671 * - an error from the upstream's connect_phy() method.
673 int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, in sfp_bus_add_upstream() argument
685 bus->upstream = upstream; in sfp_bus_add_upstream()
707 * Delete a previously registered upstream connection for the SFP
731 ret = ops->connect_phy(bus->upstream, phydev); in sfp_add_phy()
745 ops->disconnect_phy(bus->upstream); in sfp_remove_phy()
755 ops->link_up(bus->upstream); in sfp_link_up()
764 ops->link_down(bus->upstream); in sfp_link_down()
777 ret = ops->module_insert(bus->upstream, id); in sfp_module_insert()
788 ops->module_remove(bus->upstream); in sfp_module_remove()
800 ret = ops->module_start(bus->upstream); in sfp_module_start()
811 ops->module_stop(bus->upstream); in sfp_module_stop()