Home
last modified time | relevance | path

Searched refs:sfp_dev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/phy/
H A Dsfp-bus.c23 struct device *sfp_dev; member
88 dev_warn(bus->sfp_dev, "SFP: unknown connector id 0x%02x\n", in sfp_parse_port()
298 dev_warn(bus->sfp_dev, in sfp_parse_support()
390 dev_warn(bus->sfp_dev, "Unable to ascertain link mode\n"); in sfp_select_interface()
740 if (bus->sfp_dev) in sfp_get_name()
741 return dev_name(bus->sfp_dev); in sfp_get_name()
840 bus->sfp_dev = NULL; in sfp_socket_clear()
853 bus->sfp_dev = dev; in sfp_register_socket()
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c489 struct platform_device *sfp_dev; in txgbe_sfp_register() local
495 sfp_dev = platform_device_register_full(&info); in txgbe_sfp_register()
496 if (IS_ERR(sfp_dev)) in txgbe_sfp_register()
497 return PTR_ERR(sfp_dev); in txgbe_sfp_register()
499 txgbe->sfp_dev = sfp_dev; in txgbe_sfp_register()
630 platform_device_unregister(txgbe->sfp_dev); in txgbe_remove_phy()