Lines Matching refs:tp_features

348 } tp_features;  variable
2096 if (!tp_features.hotkey_wlsw) in hotkey_get_wlsw()
2197 switch (tp_features.hotkey_tablet) { in hotkey_get_tablet_mode()
2227 if (tp_features.hotkey_mask) { in hotkey_mask_get()
2272 if (tp_features.hotkey_mask) { in hotkey_mask_set()
2341 if (!tp_features.hotkey) { in tpacpi_hotkey_driver_mask_set()
2384 if (tp_features.hotkey_tablet && in tpacpi_input_send_tabletsw()
2583 && !tp_features.bright_unkfw) in hotkey_compare_and_issue_event()
2995 if (tp_features.hotkey_wlsw) in hotkey_radio_sw_notify_change()
3017 if (tp_features.hotkey_tablet) in hotkey_tablet_mode_notify_change()
3188 if (((tp_features.hotkey_mask && in hotkey_exit()
3246 tp_features.hotkey_tablet = TP_HOTKEY_TABLET_USES_GMMS; in hotkey_init_tablet_mode()
3250 tp_features.hotkey_tablet = TP_HOTKEY_TABLET_USES_MHKG; in hotkey_init_tablet_mode()
3255 if (!tp_features.hotkey_tablet) in hotkey_init_tablet_mode()
3509 tp_features.hotkey = hkey_handle != NULL; in hotkey_init()
3513 str_supported(tp_features.hotkey)); in hotkey_init()
3515 if (!tp_features.hotkey) in hotkey_init()
3559 tp_features.hotkey_mask = 1; in hotkey_init()
3576 tp_features.hotkey_mask = 1; in hotkey_init()
3586 tp_features.has_adaptive_kbd = true; in hotkey_init()
3594 tp_features.has_adaptive_kbd = false; in hotkey_init()
3609 str_supported(tp_features.hotkey_mask)); in hotkey_init()
3612 if (!tp_features.hotkey_mask && !hotkey_all_mask && in hotkey_init()
3617 if (tp_features.hotkey_mask) { in hotkey_init()
3632 tp_features.hotkey_wlsw = 1; in hotkey_init()
3639 tp_features.hotkey_wlsw = 1; in hotkey_init()
3644 if (tp_features.hotkey_wlsw) in hotkey_init()
3691 if (tp_features.hotkey_wlsw) { in hotkey_init()
3696 if (tp_features.hotkey_tablet) { in hotkey_init()
4203 if (tp_features.hotkey_wlsw && in hotkey_notify()
4237 if (tp_features.has_adaptive_kbd) { in hotkey_suspend()
4260 if (tp_features.has_adaptive_kbd) { in hotkey_resume()
4273 if (!tp_features.hotkey) { in hotkey_read()
4313 if (!tp_features.hotkey) in hotkey_write()
4511 tp_features.bluetooth = hkey_handle && in bluetooth_init()
4516 str_supported(tp_features.bluetooth), in bluetooth_init()
4521 tp_features.bluetooth = 1; in bluetooth_init()
4525 if (tp_features.bluetooth && in bluetooth_init()
4528 tp_features.bluetooth = 0; in bluetooth_init()
4533 if (!tp_features.bluetooth) in bluetooth_init()
4698 tp_features.wan = hkey_handle && in wan_init()
4703 str_supported(tp_features.wan), in wan_init()
4708 tp_features.wan = 1; in wan_init()
4712 if (tp_features.wan && in wan_init()
4715 tp_features.wan = 0; in wan_init()
4720 if (!tp_features.wan) in wan_init()
4838 tp_features.uwb = hkey_handle && in uwb_init()
4843 str_supported(tp_features.uwb), in uwb_init()
4848 tp_features.uwb = 1; in uwb_init()
4852 if (tp_features.uwb && in uwb_init()
4855 tp_features.uwb = 0; in uwb_init()
4860 if (!tp_features.uwb) in uwb_init()
5360 tp_features.kbdlight = 0; in kbdlight_init()
5366 tp_features.kbdlight = 1; in kbdlight_init()
5371 tp_features.kbdlight = 0; in kbdlight_init()
5382 if (tp_features.kbdlight) in kbdlight_exit()
5404 if (!tp_features.kbdlight) { in kbdlight_read()
5423 if (!tp_features.kbdlight) in kbdlight_write()
5447 if (!tp_features.kbdlight) in kbdlight_suspend()
5457 if (!tp_features.kbdlight) in kbdlight_resume()
5483 if (tp_features.light_status) { in light_get_status()
5496 if (tp_features.light) { in light_set_status()
5545 tp_features.light = (cmos_handle || lght_handle) && !ledb_handle; in light_init()
5547 if (tp_features.light) in light_init()
5550 tp_features.light_status = in light_init()
5554 str_supported(tp_features.light), in light_init()
5555 str_supported(tp_features.light_status)); in light_init()
5557 if (!tp_features.light) in light_init()
5564 tp_features.light = 0; in light_init()
5565 tp_features.light_status = 0; in light_init()
5582 if (!tp_features.light) { in light_read()
5584 } else if (!tp_features.light_status) { in light_read()
5603 if (!tp_features.light) in light_write()
6155 tp_features.beep_needs_two_args = !!(quirks & TPACPI_BEEP_Q1); in beep_init()
6186 if (tp_features.beep_needs_two_args) { in beep_write()
6845 tp_features.bright_acpimode = (bcl_levels > 0); in tpacpi_check_std_acpi_brightness_support()
6909 tp_features.bright_unkfw = 1; in tpacpi_detect_brightness_capabilities()
6931 if (tp_features.bright_unkfw) in brightness_init()
6948 } else if (tp_features.bright_acpimode && brightness_enable > 1) { in brightness_init()
7228 if (tp_features.mixer_no_level_control) in tpacpi_volume_checkpoint_nvram()
7404 if (tp_features.mixer_no_level_control) in volume_set_software_mute()
7599 if (!tp_features.mixer_no_level_control) { in volume_create_alsa_mixer()
7700 tp_features.mixer_no_level_control = 1; in volume_init()
7702 tp_features.mixer_no_level_control = 0; in volume_init()
7707 tp_features.mixer_no_level_control = 0; in volume_init()
7710 tp_features.mixer_no_level_control = 1; in volume_init()
7736 str_supported(!tp_features.mixer_no_level_control)); in volume_init()
7770 if (tp_features.mixer_no_level_control) in volume_read()
7781 if (!tp_features.mixer_no_level_control) { in volume_read()
7821 if (!tp_features.mixer_no_level_control) { in volume_write()
7848 if (tp_features.mixer_no_level_control) { in volume_write()
8091 tp_features.fan_ctrl_status_undef = 1; in fan_quirk1_setup()
8097 if (unlikely(tp_features.fan_ctrl_status_undef)) { in fan_quirk1_handle()
8102 tp_features.fan_ctrl_status_undef = 0; in fan_quirk1_handle()
8114 if (tp_features.second_fan) { in fan_select_fan1()
8131 if (!tp_features.second_fan) in fan_select_fan2()
8300 tp_features.fan_ctrl_status_undef = 0; in fan_set_level()
8360 tp_features.fan_ctrl_status_undef = 0; in fan_set_enable()
8412 tp_features.fan_ctrl_status_undef = 0; in fan_set_disable()
8760 tp_features.fan_ctrl_status_undef = 0; in fan_init()
8761 tp_features.second_fan = 0; in fan_init()
8785 tp_features.second_fan = 1; in fan_init()
8842 if (tp_features.second_fan) { in fan_init()
8894 if (tp_features.fan_ctrl_status_undef) in fan_suspend()
8905 tp_features.fan_ctrl_status_undef = 0; in fan_resume()
9436 tp_features.battery_force_primary) in tpacpi_battery_get_id()
9628 tp_features.battery_force_primary = tpacpi_check_quirks( in tpacpi_battery_init()
9675 if (tp_features.kbdlight && hkey_event == TP_HKEY_EV_KBD_LIGHT) { in tpacpi_driver_event()
10226 if (tp_features.input_device_registered) in thinkpad_acpi_module_exit()
10241 if (tp_features.sensors_pdrv_attrs_registered) in thinkpad_acpi_module_exit()
10243 if (tp_features.platform_drv_attrs_registered) in thinkpad_acpi_module_exit()
10246 if (tp_features.sensors_pdrv_registered) in thinkpad_acpi_module_exit()
10249 if (tp_features.platform_drv_registered) in thinkpad_acpi_module_exit()
10312 tp_features.platform_drv_registered = 1; in thinkpad_acpi_module_init()
10320 tp_features.sensors_pdrv_registered = 1; in thinkpad_acpi_module_init()
10324 tp_features.platform_drv_attrs_registered = 1; in thinkpad_acpi_module_init()
10333 tp_features.sensors_pdrv_attrs_registered = 1; in thinkpad_acpi_module_init()
10356 tp_features.sensors_pdev_attrs_registered = 1; in thinkpad_acpi_module_init()
10405 tp_features.input_device_registered = 1; in thinkpad_acpi_module_init()