Lines Matching refs:lid_init_state
164 static long lid_init_state = -1; variable
199 if (lid_init_state != ACPI_BUTTON_LID_INIT_IGNORE || in acpi_lid_notify_state()
238 if (lid_init_state == ACPI_BUTTON_LID_INIT_IGNORE) { in acpi_lid_notify_state()
388 switch (lid_init_state) { in acpi_lid_initialize_state()
490 lid_init_state == ACPI_BUTTON_LID_INIT_DISABLED) in acpi_button_add()
602 lid_init_state = i; in param_set_lid_init_state()
612 if (i == lid_init_state) in param_get_lid_init_state()
622 module_param_call(lid_init_state,
625 MODULE_PARM_DESC(lid_init_state, "Behavior for reporting LID initial state");
631 if (lid_init_state == -1) { in acpi_button_register_driver()
634 lid_init_state = (long)dmi_id->driver_data; in acpi_button_register_driver()
636 lid_init_state = ACPI_BUTTON_LID_INIT_METHOD; in acpi_button_register_driver()