Home
last modified time | relevance | path

Searched refs:sfp_bus (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/phy/
H A Dsfp-bus.c16 struct sfp_bus { struct
36 const struct sfp_module_caps *sfp_get_module_caps(struct sfp_bus *bus) in sfp_get_module_caps() argument
42 static void sfp_module_parse_port(struct sfp_bus *bus, in sfp_module_parse_port()
100 static void sfp_module_parse_may_have_phy(struct sfp_bus *bus, in sfp_module_parse_may_have_phy()
122 static void sfp_module_parse_support(struct sfp_bus *bus, in sfp_module_parse_support()
318 static void sfp_init_module(struct sfp_bus *bus, in sfp_init_module()
340 phy_interface_t sfp_select_interface(struct sfp_bus *bus, in sfp_select_interface()
382 static const struct sfp_upstream_ops *sfp_get_upstream_ops(struct sfp_bus *bus) in sfp_get_upstream_ops()
387 static struct sfp_bus *sfp_bus_get(const struct fwnode_handle *fwnode) in sfp_bus_get()
389 struct sfp_bus *sfp, *new, *found = NULL; in sfp_bus_get()
[all …]
H A Dphy_link_topology.c55 pdn->parent_sfp_bus = pdn->upstream.netdev->sfp_bus; in phy_link_topo_add_phy()
60 pdn->parent_sfp_bus = pdn->upstream.phydev->sfp_bus; in phy_link_topo_add_phy()
H A Dsfp.c234 struct sfp_bus *sfp_bus; member
1913 sfp_remove_phy(sfp->sfp_bus); in sfp_sm_phy_detach()
1943 err = sfp_add_phy(sfp->sfp_bus, phy); in sfp_sm_probe_phy()
1958 sfp_link_up(sfp->sfp_bus); in sfp_sm_link_up()
1964 sfp_link_down(sfp->sfp_bus); in sfp_sm_link_down()
2512 sfp_module_remove(sfp->sfp_bus); in sfp_sm_mod_remove()
2624 err = sfp_module_insert(sfp->sfp_bus, &sfp->id, in sfp_sm_module()
2642 sfp_module_remove(sfp->sfp_bus); in sfp_sm_module()
2681 sfp_module_stop(sfp->sfp_bus); in sfp_sm_main()
2787 if (sfp_module_start(sfp->sfp_bus)) { in sfp_sm_main()
[all …]
H A Dphy_device.c1526 static void phy_sfp_attach(void *upstream, struct sfp_bus *bus) in phy_sfp_attach()
1531 phydev->attached_dev->sfp_bus = bus; in phy_sfp_attach()
1542 static void phy_sfp_detach(void *upstream, struct sfp_bus *bus) in phy_sfp_detach()
1547 phydev->attached_dev->sfp_bus = NULL; in phy_sfp_detach()
1566 caps = sfp_get_module_caps(phydev->sfp_bus); in phy_sfp_module_insert()
1574 iface = sfp_select_interface(phydev->sfp_bus, sfp_support); in phy_sfp_module_insert()
1709 struct sfp_bus *bus; in phy_sfp_probe()
1717 phydev->sfp_bus = bus; in phy_sfp_probe()
1723 if (!ret && phydev->sfp_bus) in phy_sfp_probe()
1810 dev->sfp_bus = phydev->sfp_bus; in phy_attach_direct()
[all …]
/linux/include/linux/
H A Dphy_link_topology.h19 struct sfp_bus;
34 struct sfp_bus *parent_sfp_bus;
H A Dnetdevice.h69 struct sfp_bus;
2471 struct sfp_bus *sfp_bus; member
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst165 struct sfp_bus* sfp_bus