Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/powertop/common/
H A Dbattery.c57 static uint_t kstat_batt_idx; variable
72 kstat_batt_idx = 1; in pt_battery_mod_lookup()
75 kstat_batt_idx = 2; in pt_battery_mod_lookup()
77 kstat_batt_idx = 0; in pt_battery_mod_lookup()
102 if (kstat_batt_idx > 0) { in pt_battery_print()
128 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
151 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
178 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
200 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
224 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()