Lines Matching refs:lid_init_state
182 static long lid_init_state = -1; variable
217 if (lid_init_state != ACPI_BUTTON_LID_INIT_IGNORE || in acpi_lid_notify_state()
256 if (lid_init_state == ACPI_BUTTON_LID_INIT_IGNORE) { in acpi_lid_notify_state()
406 switch (lid_init_state) { in acpi_lid_initialize_state()
530 lid_init_state == ACPI_BUTTON_LID_INIT_DISABLED) in acpi_button_add()
688 lid_init_state = i; in param_set_lid_init_state()
698 if (i == lid_init_state) in param_get_lid_init_state()
708 module_param_call(lid_init_state,
711 MODULE_PARM_DESC(lid_init_state, "Behavior for reporting LID initial state");
717 if (lid_init_state == -1) { in acpi_button_register_driver()
720 lid_init_state = (long)dmi_id->driver_data; in acpi_button_register_driver()
722 lid_init_state = ACPI_BUTTON_LID_INIT_METHOD; in acpi_button_register_driver()