Lines Matching refs:diag

265 	struct sfp_diag diag;  member
833 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_t_slope), in sfp_hwmon_calibrate_temp()
834 be16_to_cpu(sfp->diag.cal_t_offset), value); in sfp_hwmon_calibrate_temp()
844 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_v_slope), in sfp_hwmon_calibrate_vcc()
845 be16_to_cpu(sfp->diag.cal_v_offset), value); in sfp_hwmon_calibrate_vcc()
852 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txi_slope), in sfp_hwmon_calibrate_bias()
853 be16_to_cpu(sfp->diag.cal_txi_offset), value); in sfp_hwmon_calibrate_bias()
860 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txpwr_slope), in sfp_hwmon_calibrate_tx_power()
861 be16_to_cpu(sfp->diag.cal_txpwr_offset), value); in sfp_hwmon_calibrate_tx_power()
941 *value = be16_to_cpu(sfp->diag.temp_low_alarm); in sfp_hwmon_temp()
946 *value = be16_to_cpu(sfp->diag.temp_low_warn); in sfp_hwmon_temp()
950 *value = be16_to_cpu(sfp->diag.temp_high_warn); in sfp_hwmon_temp()
955 *value = be16_to_cpu(sfp->diag.temp_high_alarm); in sfp_hwmon_temp()
1007 *value = be16_to_cpu(sfp->diag.volt_low_alarm); in sfp_hwmon_vcc()
1012 *value = be16_to_cpu(sfp->diag.volt_low_warn); in sfp_hwmon_vcc()
1017 *value = be16_to_cpu(sfp->diag.volt_high_warn); in sfp_hwmon_vcc()
1022 *value = be16_to_cpu(sfp->diag.volt_high_alarm); in sfp_hwmon_vcc()
1074 *value = be16_to_cpu(sfp->diag.bias_low_alarm); in sfp_hwmon_bias()
1079 *value = be16_to_cpu(sfp->diag.bias_low_warn); in sfp_hwmon_bias()
1084 *value = be16_to_cpu(sfp->diag.bias_high_warn); in sfp_hwmon_bias()
1089 *value = be16_to_cpu(sfp->diag.bias_high_alarm); in sfp_hwmon_bias()
1141 *value = be16_to_cpu(sfp->diag.txpwr_low_alarm); in sfp_hwmon_tx_power()
1146 *value = be16_to_cpu(sfp->diag.txpwr_low_warn); in sfp_hwmon_tx_power()
1151 *value = be16_to_cpu(sfp->diag.txpwr_high_warn); in sfp_hwmon_tx_power()
1156 *value = be16_to_cpu(sfp->diag.txpwr_high_alarm); in sfp_hwmon_tx_power()
1208 *value = be16_to_cpu(sfp->diag.rxpwr_low_alarm); in sfp_hwmon_rx_power()
1213 *value = be16_to_cpu(sfp->diag.rxpwr_low_warn); in sfp_hwmon_rx_power()
1218 *value = be16_to_cpu(sfp->diag.rxpwr_high_warn); in sfp_hwmon_rx_power()
1223 *value = be16_to_cpu(sfp->diag.rxpwr_high_alarm); in sfp_hwmon_rx_power()
1416 err = sfp_read(sfp, true, 0, &sfp->diag, sizeof(sfp->diag)); in sfp_hwmon_probe()