Searched refs:lid_status (Results 1 – 2 of 2) sorted by relevance
117 int lid_status; in wakeup_loongson() local119 lid_status = ec_read(REG_LID_DETECT); in wakeup_loongson()121 if (lid_status == BIT_LID_DETECT_ON) { in wakeup_loongson()
522 const char * lid_status[] = { " ", "Open", "Closed" }; in ppc_rtas_process_sensor() local568 num_states = sizeof(lid_status) / sizeof(char *); in ppc_rtas_process_sensor()570 seq_printf(m, "%s\t", lid_status[state]); in ppc_rtas_process_sensor()