Lines Matching refs:tp_features

324 } tp_features;  variable
2065 if (!tp_features.hotkey_wlsw) in hotkey_get_wlsw()
2101 if (tp_features.hotkey_mask) { in hotkey_mask_get()
2146 if (tp_features.hotkey_mask) { in hotkey_mask_set()
2218 if (!tp_features.hotkey) { in tpacpi_hotkey_driver_mask_set()
2261 if (tp_features.hotkey_tablet && in tpacpi_input_send_tabletsw()
2460 && !tp_features.bright_unkfw) in hotkey_compare_and_issue_event()
2866 if (tp_features.hotkey_wlsw) in hotkey_radio_sw_notify_change()
2888 if (tp_features.hotkey_tablet) in hotkey_tablet_mode_notify_change()
3058 if (((tp_features.hotkey_mask && in hotkey_exit()
3314 tp_features.hotkey = hkey_handle != NULL; in hotkey_init()
3318 str_supported(tp_features.hotkey)); in hotkey_init()
3320 if (!tp_features.hotkey) in hotkey_init()
3329 tp_features.has_adaptive_kbd = true; in hotkey_init()
3381 tp_features.hotkey_mask = 1; in hotkey_init()
3388 str_supported(tp_features.hotkey_mask)); in hotkey_init()
3391 if (!tp_features.hotkey_mask && !hotkey_all_mask && in hotkey_init()
3396 if (tp_features.hotkey_mask) { in hotkey_init()
3411 tp_features.hotkey_wlsw = 1; in hotkey_init()
3418 tp_features.hotkey_wlsw = 1; in hotkey_init()
3423 if (tp_features.hotkey_wlsw) in hotkey_init()
3429 tp_features.hotkey_tablet = 1; in hotkey_init()
3477 if (tp_features.hotkey_wlsw) { in hotkey_init()
3482 if (tp_features.hotkey_tablet) { in hotkey_init()
3949 if (tp_features.hotkey_wlsw && in hotkey_notify()
3983 if (tp_features.has_adaptive_kbd) { in hotkey_suspend()
4007 if (tp_features.has_adaptive_kbd) { in hotkey_resume()
4020 if (!tp_features.hotkey) { in hotkey_read()
4064 if (!tp_features.hotkey) in hotkey_write()
4261 tp_features.bluetooth = hkey_handle && in bluetooth_init()
4266 str_supported(tp_features.bluetooth), in bluetooth_init()
4271 tp_features.bluetooth = 1; in bluetooth_init()
4275 if (tp_features.bluetooth && in bluetooth_init()
4278 tp_features.bluetooth = 0; in bluetooth_init()
4283 if (!tp_features.bluetooth) in bluetooth_init()
4448 tp_features.wan = hkey_handle && in wan_init()
4453 str_supported(tp_features.wan), in wan_init()
4458 tp_features.wan = 1; in wan_init()
4462 if (tp_features.wan && in wan_init()
4465 tp_features.wan = 0; in wan_init()
4470 if (!tp_features.wan) in wan_init()
4588 tp_features.uwb = hkey_handle && in uwb_init()
4593 str_supported(tp_features.uwb), in uwb_init()
4598 tp_features.uwb = 1; in uwb_init()
4602 if (tp_features.uwb && in uwb_init()
4605 tp_features.uwb = 0; in uwb_init()
4610 if (!tp_features.uwb) in uwb_init()
4999 if (tp_features.light_status) { in light_get_status()
5012 if (tp_features.light) { in light_set_status()
5076 tp_features.light = (cmos_handle || lght_handle) && !ledb_handle; in light_init()
5078 if (tp_features.light) in light_init()
5081 tp_features.light_status = in light_init()
5085 str_supported(tp_features.light), in light_init()
5086 str_supported(tp_features.light_status)); in light_init()
5088 if (!tp_features.light) in light_init()
5095 tp_features.light = 0; in light_init()
5096 tp_features.light_status = 0; in light_init()
5114 if (!tp_features.light) { in light_read()
5116 } else if (!tp_features.light_status) { in light_read()
5135 if (!tp_features.light) in light_write()
5703 tp_features.beep_needs_two_args = !!(quirks & TPACPI_BEEP_Q1); in beep_init()
5734 if (tp_features.beep_needs_two_args) { in beep_write()
6396 tp_features.bright_acpimode = (bcl_levels > 0); in tpacpi_check_std_acpi_brightness_support()
6463 tp_features.bright_unkfw = 1; in tpacpi_detect_brightness_capabilities()
6484 if (tp_features.bright_unkfw) in brightness_init()
6505 } else if (tp_features.bright_acpimode && brightness_enable > 1) { in brightness_init()
6788 if (tp_features.mixer_no_level_control) in tpacpi_volume_checkpoint_nvram()
6964 if (tp_features.mixer_no_level_control) in volume_set_software_mute()
7159 if (!tp_features.mixer_no_level_control) { in volume_create_alsa_mixer()
7261 tp_features.mixer_no_level_control = 1; in volume_init()
7263 tp_features.mixer_no_level_control = 0; in volume_init()
7268 tp_features.mixer_no_level_control = 0; in volume_init()
7271 tp_features.mixer_no_level_control = 1; in volume_init()
7297 str_supported(!tp_features.mixer_no_level_control)); in volume_init()
7331 if (tp_features.mixer_no_level_control) in volume_read()
7342 if (!tp_features.mixer_no_level_control) { in volume_read()
7387 if (!tp_features.mixer_no_level_control) { in volume_write()
7414 if (tp_features.mixer_no_level_control) { in volume_write()
7658 tp_features.fan_ctrl_status_undef = 1; in fan_quirk1_setup()
7664 if (unlikely(tp_features.fan_ctrl_status_undef)) { in fan_quirk1_handle()
7669 tp_features.fan_ctrl_status_undef = 0; in fan_quirk1_handle()
7681 if (tp_features.second_fan) { in fan_select_fan1()
7698 if (!tp_features.second_fan) in fan_select_fan2()
7865 tp_features.fan_ctrl_status_undef = 0; in fan_set_level()
7925 tp_features.fan_ctrl_status_undef = 0; in fan_set_enable()
7977 tp_features.fan_ctrl_status_undef = 0; in fan_set_disable()
8320 tp_features.fan_ctrl_status_undef = 0; in fan_init()
8321 tp_features.second_fan = 0; in fan_init()
8345 tp_features.second_fan = 1; in fan_init()
8403 if (tp_features.second_fan) { in fan_init()
8455 if (tp_features.fan_ctrl_status_undef) in fan_suspend()
8466 tp_features.fan_ctrl_status_undef = 0; in fan_resume()
9385 if (tp_features.input_device_registered) in thinkpad_acpi_module_exit()
9395 if (tp_features.sensors_pdev_attrs_registered) in thinkpad_acpi_module_exit()
9402 if (tp_features.sensors_pdrv_attrs_registered) in thinkpad_acpi_module_exit()
9404 if (tp_features.platform_drv_attrs_registered) in thinkpad_acpi_module_exit()
9407 if (tp_features.sensors_pdrv_registered) in thinkpad_acpi_module_exit()
9410 if (tp_features.platform_drv_registered) in thinkpad_acpi_module_exit()
9473 tp_features.platform_drv_registered = 1; in thinkpad_acpi_module_init()
9481 tp_features.sensors_pdrv_registered = 1; in thinkpad_acpi_module_init()
9485 tp_features.platform_drv_attrs_registered = 1; in thinkpad_acpi_module_init()
9494 tp_features.sensors_pdrv_attrs_registered = 1; in thinkpad_acpi_module_init()
9523 tp_features.sensors_pdev_attrs_registered = 1; in thinkpad_acpi_module_init()
9570 tp_features.input_device_registered = 1; in thinkpad_acpi_module_init()