Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Drtas-proc.c538 int num_states = 0; in ppc_rtas_process_sensor() local
547 num_states = sizeof(key_switch) / sizeof(char *); in ppc_rtas_process_sensor()
548 if (state < num_states) { in ppc_rtas_process_sensor()
555 num_states = sizeof(enclosure_switch) / sizeof(char *); in ppc_rtas_process_sensor()
556 if (state < num_states) { in ppc_rtas_process_sensor()
568 num_states = sizeof(lid_status) / sizeof(char *); in ppc_rtas_process_sensor()
569 if (state < num_states) { in ppc_rtas_process_sensor()
576 num_states = sizeof(power_source) / sizeof(char *); in ppc_rtas_process_sensor()
577 if (state < num_states) { in ppc_rtas_process_sensor()
588 num_states = sizeof(battery_remaining) / sizeof(char *); in ppc_rtas_process_sensor()
[all …]