Lines Matching full:upstream
28 void *upstream; member
465 ops->link_down(bus->upstream); in sfp_register_bus()
467 ret = ops->connect_phy(bus->upstream, bus->phydev); in sfp_register_bus()
476 bus->upstream_ops->attach(bus->upstream, bus); in sfp_register_bus()
485 bus->upstream_ops->detach(bus->upstream, bus); in sfp_unregister_bus()
490 ops->disconnect_phy(bus->upstream, bus->phydev); in sfp_unregister_bus()
586 bus->upstream = NULL; in sfp_upstream_clear()
625 * - an error from the upstream's connect_phy() method.
657 * @upstream: the upstream private data
658 * @ops: the upstream's &struct sfp_upstream_ops
660 * Add upstream driver for the SFP bus, and if the bus is complete, register
672 * - an error from the upstream's connect_phy() method.
674 int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, in sfp_bus_add_upstream() argument
686 bus->upstream = upstream; in sfp_bus_add_upstream()
708 * Delete a previously registered upstream connection for the SFP
754 ret = ops->connect_phy(bus->upstream, phydev); in sfp_add_phy()
768 ops->disconnect_phy(bus->upstream, bus->phydev); in sfp_remove_phy()
778 ops->link_up(bus->upstream); in sfp_link_up()
787 ops->link_down(bus->upstream); in sfp_link_down()
800 ret = ops->module_insert(bus->upstream, id); in sfp_module_insert()
811 ops->module_remove(bus->upstream); in sfp_module_remove()
823 ret = ops->module_start(bus->upstream); in sfp_module_start()
834 ops->module_stop(bus->upstream); in sfp_module_stop()