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