Lines Matching full:upstream
34 void *upstream; member
483 ops->link_down(bus->upstream); in sfp_register_bus()
485 ret = ops->connect_phy(bus->upstream, bus->phydev); in sfp_register_bus()
494 bus->upstream_ops->attach(bus->upstream, bus); in sfp_register_bus()
503 bus->upstream_ops->detach(bus->upstream, bus); in sfp_unregister_bus()
508 ops->disconnect_phy(bus->upstream); in sfp_unregister_bus()
584 bus->upstream = NULL; in sfp_upstream_clear()
603 * - an error from the upstream's connect_phy() method.
635 * @upstream: the upstream private data
636 * @ops: the upstream's &struct sfp_upstream_ops
638 * Add upstream driver for the SFP bus, and if the bus is complete, register
650 * - an error from the upstream's connect_phy() method.
652 int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, in sfp_bus_add_upstream() argument
664 bus->upstream = upstream; in sfp_bus_add_upstream()
686 * Delete a previously registered upstream connection for the SFP
710 ret = ops->connect_phy(bus->upstream, phydev); in sfp_add_phy()
724 ops->disconnect_phy(bus->upstream); in sfp_remove_phy()
734 ops->link_up(bus->upstream); in sfp_link_up()
743 ops->link_down(bus->upstream); in sfp_link_down()
755 ret = ops->module_insert(bus->upstream, id); in sfp_module_insert()
766 ops->module_remove(bus->upstream); in sfp_module_remove()
778 ret = ops->module_start(bus->upstream); in sfp_module_start()
789 ops->module_stop(bus->upstream); in sfp_module_stop()