Searched refs:sfp_bus (Results 1 – 9 of 9) sorted by relevance
/drivers/net/phy/ |
D | sfp.h | 22 int sfp_add_phy(struct sfp_bus *bus, struct phy_device *phydev); 23 void sfp_remove_phy(struct sfp_bus *bus); 24 void sfp_link_up(struct sfp_bus *bus); 25 void sfp_link_down(struct sfp_bus *bus); 26 int sfp_module_insert(struct sfp_bus *bus, const struct sfp_eeprom_id *id); 27 void sfp_module_remove(struct sfp_bus *bus); 28 int sfp_module_start(struct sfp_bus *bus); 29 void sfp_module_stop(struct sfp_bus *bus); 30 int sfp_link_configure(struct sfp_bus *bus, const struct sfp_eeprom_id *id); 31 struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp, [all …]
|
D | sfp-bus.c | 22 struct sfp_bus { struct 142 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id, in sfp_parse_port() 211 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id) in sfp_may_have_phy() 239 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, in sfp_parse_support() 398 phy_interface_t sfp_select_interface(struct sfp_bus *bus, in sfp_select_interface() 439 static const struct sfp_upstream_ops *sfp_get_upstream_ops(struct sfp_bus *bus) in sfp_get_upstream_ops() 444 static struct sfp_bus *sfp_bus_get(struct fwnode_handle *fwnode) in sfp_bus_get() 446 struct sfp_bus *sfp, *new, *found = NULL; in sfp_bus_get() 477 struct sfp_bus *bus = container_of(kref, struct sfp_bus, kref); in sfp_bus_release() 491 void sfp_bus_put(struct sfp_bus *bus) in sfp_bus_put() [all …]
|
D | phylink.c | 78 struct sfp_bus *sfp_bus; member 801 struct sfp_bus *bus; in phylink_register_sfp() 814 pl->sfp_bus = bus; in phylink_register_sfp() 941 sfp_bus_del_upstream(pl->sfp_bus); in phylink_destroy() 1297 if (pl->sfp_bus) in phylink_start() 1298 sfp_upstream_start(pl->sfp_bus); in phylink_start() 1318 if (pl->sfp_bus) in phylink_stop() 1319 sfp_upstream_stop(pl->sfp_bus); in phylink_stop() 1641 if (pl->sfp_port && pl->sfp_bus) { in phylink_ethtool_ksettings_set() 1642 config.interface = sfp_select_interface(pl->sfp_bus, in phylink_ethtool_ksettings_set() [all …]
|
D | sfp.c | 226 struct sfp_bus *sfp_bus; member 1511 sfp_remove_phy(sfp->sfp_bus); in sfp_sm_phy_detach() 1537 err = sfp_add_phy(sfp->sfp_bus, phy); in sfp_sm_probe_phy() 1552 sfp_link_up(sfp->sfp_bus); in sfp_sm_link_up() 1558 sfp_link_down(sfp->sfp_bus); in sfp_sm_link_down() 1963 sfp_module_remove(sfp->sfp_bus); in sfp_sm_mod_remove() 2068 err = sfp_module_insert(sfp->sfp_bus, &sfp->id); in sfp_sm_module() 2085 sfp_module_remove(sfp->sfp_bus); in sfp_sm_module() 2124 sfp_module_stop(sfp->sfp_bus); in sfp_sm_main() 2213 if (sfp_module_start(sfp->sfp_bus)) { in sfp_sm_main() [all …]
|
D | phy_device.c | 1302 void phy_sfp_attach(void *upstream, struct sfp_bus *bus) in phy_sfp_attach() 1307 phydev->attached_dev->sfp_bus = bus; in phy_sfp_attach() 1319 void phy_sfp_detach(void *upstream, struct sfp_bus *bus) in phy_sfp_detach() 1324 phydev->attached_dev->sfp_bus = NULL; in phy_sfp_detach() 1337 struct sfp_bus *bus; in phy_sfp_probe() 1345 phydev->sfp_bus = bus; in phy_sfp_probe() 1431 dev->sfp_bus = phydev->sfp_bus; in phy_attach_direct() 1432 else if (dev->sfp_bus) in phy_attach_direct() 3116 sfp_bus_del_upstream(phydev->sfp_bus); in phy_remove() 3117 phydev->sfp_bus = NULL; in phy_remove()
|
D | marvell-88x2222.c | 423 if (phydev->sfp_bus && !priv->sfp_link) in mv2222_link_is_operational() 492 sfp_parse_support(phydev->sfp_bus, id, sfp_supported); in mv2222_sfp_insert() 493 sfp_interface = sfp_select_interface(phydev->sfp_bus, sfp_supported); in mv2222_sfp_insert()
|
D | phy.c | 1069 if (phydev->sfp_bus) in phy_stop() 1070 sfp_upstream_stop(phydev->sfp_bus); in phy_stop() 1107 if (phydev->sfp_bus) in phy_start() 1108 sfp_upstream_start(phydev->sfp_bus); in phy_start()
|
D | marvell10g.c | 399 sfp_parse_support(phydev->sfp_bus, id, support); in mv3310_sfp_insert() 400 iface = sfp_select_interface(phydev->sfp_bus, support); in mv3310_sfp_insert()
|
D | marvell.c | 2822 sfp_parse_support(phydev->sfp_bus, id, supported); in m88e1510_sfp_insert() 2823 interface = sfp_select_interface(phydev->sfp_bus, supported); in m88e1510_sfp_insert()
|