Lines Matching refs:tp_features

323 } tp_features;  variable
2064 if (!tp_features.hotkey_wlsw) in hotkey_get_wlsw()
2100 if (tp_features.hotkey_mask) { in hotkey_mask_get()
2145 if (tp_features.hotkey_mask) { in hotkey_mask_set()
2217 if (!tp_features.hotkey) { in tpacpi_hotkey_driver_mask_set()
2260 if (tp_features.hotkey_tablet && in tpacpi_input_send_tabletsw()
2459 && !tp_features.bright_unkfw) in hotkey_compare_and_issue_event()
2865 if (tp_features.hotkey_wlsw) in hotkey_radio_sw_notify_change()
2887 if (tp_features.hotkey_tablet) in hotkey_tablet_mode_notify_change()
3057 if (((tp_features.hotkey_mask && in hotkey_exit()
3313 tp_features.hotkey = hkey_handle != NULL; in hotkey_init()
3317 str_supported(tp_features.hotkey)); in hotkey_init()
3319 if (!tp_features.hotkey) in hotkey_init()
3328 tp_features.has_adaptive_kbd = true; in hotkey_init()
3380 tp_features.hotkey_mask = 1; in hotkey_init()
3387 str_supported(tp_features.hotkey_mask)); in hotkey_init()
3390 if (!tp_features.hotkey_mask && !hotkey_all_mask && in hotkey_init()
3395 if (tp_features.hotkey_mask) { in hotkey_init()
3410 tp_features.hotkey_wlsw = 1; in hotkey_init()
3417 tp_features.hotkey_wlsw = 1; in hotkey_init()
3422 if (tp_features.hotkey_wlsw) in hotkey_init()
3428 tp_features.hotkey_tablet = 1; in hotkey_init()
3476 if (tp_features.hotkey_wlsw) { in hotkey_init()
3481 if (tp_features.hotkey_tablet) { in hotkey_init()
3948 if (tp_features.hotkey_wlsw && in hotkey_notify()
3982 if (tp_features.has_adaptive_kbd) { in hotkey_suspend()
4006 if (tp_features.has_adaptive_kbd) { in hotkey_resume()
4019 if (!tp_features.hotkey) { in hotkey_read()
4063 if (!tp_features.hotkey) in hotkey_write()
4260 tp_features.bluetooth = hkey_handle && in bluetooth_init()
4265 str_supported(tp_features.bluetooth), in bluetooth_init()
4270 tp_features.bluetooth = 1; in bluetooth_init()
4274 if (tp_features.bluetooth && in bluetooth_init()
4277 tp_features.bluetooth = 0; in bluetooth_init()
4282 if (!tp_features.bluetooth) in bluetooth_init()
4447 tp_features.wan = hkey_handle && in wan_init()
4452 str_supported(tp_features.wan), in wan_init()
4457 tp_features.wan = 1; in wan_init()
4461 if (tp_features.wan && in wan_init()
4464 tp_features.wan = 0; in wan_init()
4469 if (!tp_features.wan) in wan_init()
4587 tp_features.uwb = hkey_handle && in uwb_init()
4592 str_supported(tp_features.uwb), in uwb_init()
4597 tp_features.uwb = 1; in uwb_init()
4601 if (tp_features.uwb && in uwb_init()
4604 tp_features.uwb = 0; in uwb_init()
4609 if (!tp_features.uwb) in uwb_init()
4998 if (tp_features.light_status) { in light_get_status()
5011 if (tp_features.light) { in light_set_status()
5075 tp_features.light = (cmos_handle || lght_handle) && !ledb_handle; in light_init()
5077 if (tp_features.light) in light_init()
5080 tp_features.light_status = in light_init()
5084 str_supported(tp_features.light), in light_init()
5085 str_supported(tp_features.light_status)); in light_init()
5087 if (!tp_features.light) in light_init()
5094 tp_features.light = 0; in light_init()
5095 tp_features.light_status = 0; in light_init()
5113 if (!tp_features.light) { in light_read()
5115 } else if (!tp_features.light_status) { in light_read()
5134 if (!tp_features.light) in light_write()
5702 tp_features.beep_needs_two_args = !!(quirks & TPACPI_BEEP_Q1); in beep_init()
5733 if (tp_features.beep_needs_two_args) { in beep_write()
6395 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()