Searched refs:lid_status (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/mips/loongson/lemote-2f/
H A Dpm.c117 int lid_status; wakeup_loongson() local
119 lid_status = ec_read(REG_LID_DETECT); wakeup_loongson()
121 if (lid_status == BIT_LID_DETECT_ON) { wakeup_loongson()
/linux-4.1.27/arch/powerpc/kernel/
H A Drtas-proc.c520 const char * lid_status[] = { " ", "Open", "Closed" }; ppc_rtas_process_sensor() local
566 num_states = sizeof(lid_status) / sizeof(char *); ppc_rtas_process_sensor()
568 seq_printf(m, "%s\t", lid_status[state]); ppc_rtas_process_sensor()

Completed in 114 milliseconds