Home
last modified time | relevance | path

Searched refs:temp_mc (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/aq/
H A Daq_irq.c129 int temp_mc, limit_mc; in aq_thermal_report_shutdown() local
132 have_temp = hw->fw_ops->get_temp(hw, &temp_mc) == 0; in aq_thermal_report_shutdown()
135 aq_dev->thermal_temp_mc = temp_mc; in aq_thermal_report_shutdown()
143 limit_mc / 1000, temp_mc / 1000); in aq_thermal_report_shutdown()
147 temp_mc / 1000); in aq_thermal_report_shutdown()
158 int temp_mc; in aq_thermal_report_hot() local
174 if (hw->fw_ops->get_temp(hw, &temp_mc) == 0) in aq_thermal_report_hot()
176 "temp %d C\n", temp_mc / 1000); in aq_thermal_report_hot()
187 int temp_mc; in aq_thermal_poll() local
211 if (hw->fw_ops->get_temp(hw, &temp_mc) != 0 || in aq_thermal_poll()
[all …]
H A Daq_fw.h78 int (*get_temp)(struct aq_hw* hw, int* temp_mc);
H A Daq2_fw.c47 static int aq2_fw_get_temp(struct aq_hw *hw, int *temp_mc);
521 aq2_fw_get_temp(struct aq_hw *hw, int *temp_mc) in aq2_fw_get_temp() argument
538 *temp_mc = (int)(int8_t)((raw & in aq2_fw_get_temp()
H A Daq_main.c1423 int error, temp_mc, val; in aq_sysctl_temperature() local
1428 error = softc->hw.fw_ops->get_temp(&softc->hw, &temp_mc); in aq_sysctl_temperature()
1433 val = temp_mc / 100 + 2732; in aq_sysctl_temperature()
1468 int temp_mc; in aq_add_stats_sysctls() local
1487 softc->hw.fw_ops->get_temp(&softc->hw, &temp_mc) != ENOTSUP) in aq_add_stats_sysctls()
H A Daq_fw2x.c470 aq_fw2x_get_temp(struct aq_hw* hw, int* temp_mc) in aq_fw2x_get_temp() argument
500 *temp_mc = (int)(int16_t)(raw & 0xffff) * 1000 / 256; in aq_fw2x_get_temp()