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()
539 lid_init_state == ACPI_BUTTON_LID_INIT_DISABLED) in acpi_button_add()
698 lid_init_state = i; in param_set_lid_init_state()
708 if (i == lid_init_state) in param_get_lid_init_state()
718 module_param_call(lid_init_state,
721 MODULE_PARM_DESC(lid_init_state, "Behavior for reporting LID initial state");
727 if (lid_init_state == -1) { in acpi_button_register_driver()
730 lid_init_state = (long)dmi_id->driver_data; in acpi_button_register_driver()
732 lid_init_state = ACPI_BUTTON_LID_INIT_METHOD; in acpi_button_register_driver()