HomeSort by: relevance | last modified time | path
    Searched defs:battery (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/arch/hpcsh/dev/
psh3pwr.c 81 * Empirical range of battery values.
227 int battery, state; local
239 battery = psh3pwr_get_battery();
240 if (battery < PSH3PWR_BATTERY_CRITICAL)
242 else if (battery < PSH3PWR_BATTERY_LOW)
250 battery = psh3pwr_get_battery();
251 if (battery > PSH3PWR_BATTERY_FULL)
254 state = 100 * (battery - PSH3PWR_BATTERY_MIN) /
267 int battery; local
271 battery = adc_sample_channel(ADC_CHANNEL_BATTERY)
    [all...]
j6x0pwr.c 83 #define ADC_CHANNEL_BATTERY 3 /* main battery */
84 #define ADC_CHANNEL_BACKUP 4 /* backup battery - we don't report it */
88 * Empirical range of battery values.
292 int battery, state; local
307 battery = j6x0pwr_get_battery();
308 if (battery < J6X0PWR_BATTERY_CRITICAL)
310 else if (battery < J6X0PWR_BATTERY_LOW)
325 battery = j6x0pwr_get_battery();
326 if (battery > J6X0PWR_BATTERY_FULL)
329 state = 100 * (battery - J6X0PWR_BATTERY_MIN
344 int battery; local
    [all...]
  /src/sys/arch/ews4800mips/include/
sbd.h 59 uint32_t battery :8; member in struct:sbdinfo

Completed in 24 milliseconds