Symbol: thermometer
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4150
int thermometer = (pBase->miscConfiguration >> 1) & 0x3;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4152
return --thermometer;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4158
int thermometer = ar9003_hw_get_thermometer(ah);
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4159
u8 therm_on = (thermometer < 0) ? 0 : 1;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4170
therm_on = thermometer == 0;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4174
therm_on = thermometer == 1;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4179
therm_on = thermometer == 2;
tools/thermal/thermometer/thermometer.c
258
struct thermometer *thermometer)
tools/thermal/thermometer/thermometer.c
272
tz = realloc(thermometer->tz, sizeof(*thermometer->tz) * (thermometer->nr_tz + 1));
tools/thermal/thermometer/thermometer.c
278
thermometer->tz = tz;
tools/thermal/thermometer/thermometer.c
279
thermometer->tz[thermometer->nr_tz].fd_temp = fd;
tools/thermal/thermometer/thermometer.c
280
thermometer->tz[thermometer->nr_tz].name = strdup(name);
tools/thermal/thermometer/thermometer.c
281
thermometer->tz[thermometer->nr_tz].polling = polling;
tools/thermal/thermometer/thermometer.c
282
thermometer->nr_tz++;
tools/thermal/thermometer/thermometer.c
290
struct thermometer *thermometer)
tools/thermal/thermometer/thermometer.c
333
tz_regex->polling, thermometer))
tools/thermal/thermometer/thermometer.c
356
static int thermometer_start(struct thermometer *thermometer,
tools/thermal/thermometer/thermometer.c
364
INFO("Capturing %d thermal zone(s) temperature...\n", thermometer->nr_tz);
tools/thermal/thermometer/thermometer.c
371
for (i = 0; i < thermometer->nr_tz; i++) {
tools/thermal/thermometer/thermometer.c
374
thermometer->tz[i].name, options->postfix);
tools/thermal/thermometer/thermometer.c
387
fprintf(f, "timestamp(ms) %s(°mC)\n", thermometer->tz[i].name);
tools/thermal/thermometer/thermometer.c
389
thermometer->tz[i].file_out = f;
tools/thermal/thermometer/thermometer.c
391
DEBUG("Created '%s' file for thermal zone '%s'\n", path, thermometer->tz[i].name);
tools/thermal/thermometer/thermometer.c
396
thermometer->tz[i].fd_timer = timerfd_create(CLOCK_MONOTONIC, 0);
tools/thermal/thermometer/thermometer.c
397
if (thermometer->tz[i].fd_timer < 0) {
tools/thermal/thermometer/thermometer.c
399
thermometer->tz[i].name);
tools/thermal/thermometer/thermometer.c
404
thermometer->tz[i].name, thermometer->tz[i].polling);
tools/thermal/thermometer/thermometer.c
407
msec_to_timespec(thermometer->tz[i].polling);
tools/thermal/thermometer/thermometer.c
409
if (timerfd_settime(thermometer->tz[i].fd_timer, 0,
tools/thermal/thermometer/thermometer.c
413
if (mainloop_add(thermometer->tz[i].fd_timer,
tools/thermal/thermometer/thermometer.c
415
&thermometer->tz[i]))
tools/thermal/thermometer/thermometer.c
521
static int thermometer_stop(struct thermometer *thermometer)
tools/thermal/thermometer/thermometer.c
527
for (i = 0; i < thermometer->nr_tz; i++)
tools/thermal/thermometer/thermometer.c
528
fclose(thermometer->tz[i].file_out);
tools/thermal/thermometer/thermometer.c
541
struct thermometer thermometer = { 0 };
tools/thermal/thermometer/thermometer.c
557
if (thermometer_init(&config, &thermometer))
tools/thermal/thermometer/thermometer.c
560
if (thermometer_start(&thermometer, &options))
tools/thermal/thermometer/thermometer.c
569
if (thermometer_stop(&thermometer))