Home
last modified time | relevance | path

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

/linux-5.19.10/arch/mips/loongson2ef/lemote-2f/
Dpm.c113 int lid_status; in wakeup_loongson() local
115 lid_status = ec_read(REG_LID_DETECT); in wakeup_loongson()
117 if (lid_status == BIT_LID_DETECT_ON) { in wakeup_loongson()
/linux-5.19.10/arch/powerpc/kernel/
Drtas-proc.c492 const char * lid_status[] = { " ", "Open", "Closed" }; in ppc_rtas_process_sensor() local
538 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()