H A D | sfp.c | 229 struct sfp { struct 344 static void sfp_fixup_long_startup(struct sfp *sfp) argument 349 sfp_fixup_ignore_los(struct sfp *sfp) argument 358 sfp_fixup_ignore_tx_fault(struct sfp *sfp) argument 363 sfp_fixup_nokia(struct sfp *sfp) argument 370 sfp_fixup_10gbaset_30m(struct sfp *sfp) argument 376 sfp_fixup_rollball(struct sfp *sfp) argument 388 sfp_fixup_fs_2_5gt(struct sfp *sfp) argument 399 sfp_fixup_fs_10gt(struct sfp *sfp) argument 405 sfp_fixup_halny_gsfp(struct sfp *sfp) argument 414 sfp_fixup_rollball_cc(struct sfp *sfp) argument 566 sfp_gpio_get_state(struct sfp *sfp) argument 582 sff_gpio_get_state(struct sfp *sfp) argument 587 sfp_gpio_set_state(struct sfp *sfp, unsigned int state) argument 623 sfp_i2c_read(struct sfp *sfp, bool a2, u8 dev_addr, void *buf, size_t len) argument 663 sfp_i2c_write(struct sfp *sfp, bool a2, u8 dev_addr, void *buf, size_t len) argument 690 sfp_i2c_configure(struct sfp *sfp, struct i2c_adapter *i2c) argument 702 sfp_i2c_mdiobus_create(struct sfp *sfp) argument 725 sfp_i2c_mdiobus_destroy(struct sfp *sfp) argument 732 sfp_read(struct sfp *sfp, bool a2, u8 addr, void *buf, size_t len) argument 737 sfp_write(struct sfp *sfp, bool a2, u8 addr, void *buf, size_t len) argument 742 sfp_modify_u8(struct sfp *sfp, bool a2, u8 addr, u8 mask, u8 val) argument 758 sfp_soft_get_state(struct sfp *sfp) argument 781 sfp_soft_set_state(struct sfp *sfp, unsigned int state, unsigned int soft) argument 810 sfp_soft_start_poll(struct sfp *sfp) argument 835 sfp_soft_stop_poll(struct sfp *sfp) argument 845 sfp_get_state(struct sfp *sfp) argument 860 sfp_set_state(struct sfp *sfp, unsigned int state) argument 871 sfp_mod_state(struct sfp *sfp, unsigned int mask, unsigned int set) argument 895 const struct sfp *sfp = data; local 988 sfp_hwmon_read_sensor(struct sfp *sfp, int reg, long *value) argument 1007 sfp_hwmon_calibrate(struct sfp *sfp, unsigned int slope, int offset, long *value) argument 1014 sfp_hwmon_calibrate_temp(struct sfp *sfp, long *value) argument 1025 sfp_hwmon_calibrate_vcc(struct sfp *sfp, long *value) argument 1033 sfp_hwmon_calibrate_bias(struct sfp *sfp, long *value) argument 1041 sfp_hwmon_calibrate_tx_power(struct sfp *sfp, long *value) argument 1049 sfp_hwmon_read_temp(struct sfp *sfp, int reg, long *value) argument 1062 sfp_hwmon_read_vcc(struct sfp *sfp, int reg, long *value) argument 1075 sfp_hwmon_read_bias(struct sfp *sfp, int reg, long *value) argument 1088 sfp_hwmon_read_tx_power(struct sfp *sfp, int reg, long *value) argument 1101 sfp_hwmon_read_rx_power(struct sfp *sfp, int reg, long *value) argument 1114 sfp_hwmon_temp(struct sfp *sfp, u32 attr, long *value) argument 1180 sfp_hwmon_vcc(struct sfp *sfp, u32 attr, long *value) argument 1247 sfp_hwmon_bias(struct sfp *sfp, u32 attr, long *value) argument 1314 sfp_hwmon_tx_power(struct sfp *sfp, u32 attr, long *value) argument 1381 sfp_hwmon_rx_power(struct sfp *sfp, u32 attr, long *value) argument 1451 struct sfp *sfp = dev_get_drvdata(dev); local 1582 struct sfp *sfp = container_of(work, struct sfp, hwmon_probe.work); local 1626 sfp_hwmon_insert(struct sfp *sfp) argument 1636 sfp_hwmon_remove(struct sfp *sfp) argument 1646 sfp_hwmon_init(struct sfp *sfp) argument 1653 sfp_hwmon_exit(struct sfp *sfp) argument 1658 sfp_hwmon_insert(struct sfp *sfp) argument 1663 sfp_hwmon_remove(struct sfp *sfp) argument 1667 sfp_hwmon_init(struct sfp *sfp) argument 1672 sfp_hwmon_exit(struct sfp *sfp) argument 1678 sfp_module_tx_disable(struct sfp *sfp) argument 1685 sfp_module_tx_enable(struct sfp *sfp) argument 1695 struct sfp *sfp = s->private; local 1723 sfp_debugfs_init(struct sfp *sfp) argument 1731 sfp_debugfs_exit(struct sfp *sfp) argument 1736 sfp_debugfs_init(struct sfp *sfp) argument 1740 sfp_debugfs_exit(struct sfp *sfp) argument 1745 sfp_module_tx_fault_reset(struct sfp *sfp) argument 1762 sfp_sm_set_timer(struct sfp *sfp, unsigned int timeout) argument 1771 sfp_sm_next(struct sfp *sfp, unsigned int state, unsigned int timeout) argument 1778 sfp_sm_mod_next(struct sfp *sfp, unsigned int state, unsigned int timeout) argument 1785 sfp_sm_phy_detach(struct sfp *sfp) argument 1793 sfp_sm_probe_phy(struct sfp *sfp, int addr, bool is_c45) argument 1830 sfp_sm_link_up(struct sfp *sfp) argument 1836 sfp_sm_link_down(struct sfp *sfp) argument 1841 sfp_sm_link_check_los(struct sfp *sfp) argument 1863 sfp_los_event_active(struct sfp *sfp, unsigned int event) argument 1873 sfp_los_event_inactive(struct sfp *sfp, unsigned int event) argument 1883 sfp_sm_fault(struct sfp *sfp, unsigned int next_state, bool warn) argument 1897 sfp_sm_add_mdio_bus(struct sfp *sfp) argument 1916 sfp_sm_probe_for_phy(struct sfp *sfp) argument 1940 sfp_module_parse_power(struct sfp *sfp) argument 2006 sfp_sm_mod_hpower(struct sfp *sfp, bool enable) argument 2027 sfp_module_parse_rate_select(struct sfp *sfp) argument 2127 sfp_id_needs_byte_io(struct sfp *sfp, void *buf, size_t len) argument 2142 sfp_cotsworks_fixup_check(struct sfp *sfp, struct sfp_eeprom_id *id) argument 2178 sfp_module_parse_sff8472(struct sfp *sfp) argument 2190 sfp_sm_mod_probe(struct sfp *sfp, bool report) argument 2383 sfp_sm_mod_remove(struct sfp *sfp) argument 2399 sfp_sm_device(struct sfp *sfp, unsigned int event) argument 2426 sfp_sm_module(struct sfp *sfp, unsigned int event) argument 2543 sfp_sm_main(struct sfp *sfp, unsigned int event) argument 2717 __sfp_sm_event(struct sfp *sfp, unsigned int event) argument 2735 sfp_sm_event(struct sfp *sfp, unsigned int event) argument 2742 sfp_attach(struct sfp *sfp) argument 2747 sfp_detach(struct sfp *sfp) argument 2752 sfp_start(struct sfp *sfp) argument 2757 sfp_stop(struct sfp *sfp) argument 2762 sfp_set_signal_rate(struct sfp *sfp, unsigned int rate_kbd) argument 2776 sfp_module_info(struct sfp *sfp, struct ethtool_modinfo *modinfo) argument 2791 sfp_module_eeprom(struct sfp *sfp, struct ethtool_eeprom *ee, u8 *data) argument 2828 sfp_module_eeprom_by_page(struct sfp *sfp, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack) argument 2868 struct sfp *sfp = container_of(work, struct sfp, timeout.work); local 2875 sfp_check_state(struct sfp *sfp) argument 2912 struct sfp *sfp = data; local 2921 struct sfp *sfp = container_of(work, struct sfp, poll.work); local 2934 struct sfp *sfp; local 2955 struct sfp *sfp = data; local 2970 sfp_i2c_get(struct sfp *sfp) argument 3000 struct sfp *sfp; local 3122 struct sfp *sfp = platform_get_drvdata(pdev); local 3134 struct sfp *sfp = platform_get_drvdata(pdev); local [all...] |