tp_features       332 drivers/platform/x86/thinkpad_acpi.c } tp_features;
tp_features      2086 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.hotkey_wlsw)
tp_features      2187 drivers/platform/x86/thinkpad_acpi.c 	switch (tp_features.hotkey_tablet) {
tp_features      2217 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_mask) {
tp_features      2262 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_mask) {
tp_features      2331 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.hotkey) {
tp_features      2374 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_tablet &&
tp_features      2573 drivers/platform/x86/thinkpad_acpi.c 				&& !tp_features.bright_unkfw)
tp_features      2985 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_wlsw)
tp_features      3007 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_tablet)
tp_features      3178 drivers/platform/x86/thinkpad_acpi.c 	if (((tp_features.hotkey_mask &&
tp_features      3236 drivers/platform/x86/thinkpad_acpi.c 			tp_features.hotkey_tablet = TP_HOTKEY_TABLET_USES_GMMS;
tp_features      3240 drivers/platform/x86/thinkpad_acpi.c 		tp_features.hotkey_tablet = TP_HOTKEY_TABLET_USES_MHKG;
tp_features      3245 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.hotkey_tablet)
tp_features      3499 drivers/platform/x86/thinkpad_acpi.c 	tp_features.hotkey = hkey_handle != NULL;
tp_features      3503 drivers/platform/x86/thinkpad_acpi.c 		str_supported(tp_features.hotkey));
tp_features      3505 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.hotkey)
tp_features      3549 drivers/platform/x86/thinkpad_acpi.c 				tp_features.hotkey_mask = 1;
tp_features      3566 drivers/platform/x86/thinkpad_acpi.c 				tp_features.hotkey_mask = 1;
tp_features      3576 drivers/platform/x86/thinkpad_acpi.c 					tp_features.has_adaptive_kbd = true;
tp_features      3584 drivers/platform/x86/thinkpad_acpi.c 				tp_features.has_adaptive_kbd = false;
tp_features      3599 drivers/platform/x86/thinkpad_acpi.c 		str_supported(tp_features.hotkey_mask));
tp_features      3602 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.hotkey_mask && !hotkey_all_mask &&
tp_features      3607 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_mask) {
tp_features      3622 drivers/platform/x86/thinkpad_acpi.c 		tp_features.hotkey_wlsw = 1;
tp_features      3629 drivers/platform/x86/thinkpad_acpi.c 		tp_features.hotkey_wlsw = 1;
tp_features      3634 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_wlsw)
tp_features      3678 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_wlsw) {
tp_features      3683 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.hotkey_tablet) {
tp_features      4190 drivers/platform/x86/thinkpad_acpi.c 			if (tp_features.hotkey_wlsw &&
tp_features      4224 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.has_adaptive_kbd) {
tp_features      4247 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.has_adaptive_kbd) {
tp_features      4260 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.hotkey) {
tp_features      4300 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.hotkey)
tp_features      4566 drivers/platform/x86/thinkpad_acpi.c 	tp_features.bluetooth = !have_bt_fwbug() && hkey_handle &&
tp_features      4571 drivers/platform/x86/thinkpad_acpi.c 		str_supported(tp_features.bluetooth),
tp_features      4576 drivers/platform/x86/thinkpad_acpi.c 		tp_features.bluetooth = 1;
tp_features      4580 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.bluetooth &&
tp_features      4583 drivers/platform/x86/thinkpad_acpi.c 		tp_features.bluetooth = 0;
tp_features      4588 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.bluetooth)
tp_features      4753 drivers/platform/x86/thinkpad_acpi.c 	tp_features.wan = hkey_handle &&
tp_features      4758 drivers/platform/x86/thinkpad_acpi.c 		str_supported(tp_features.wan),
tp_features      4763 drivers/platform/x86/thinkpad_acpi.c 		tp_features.wan = 1;
tp_features      4767 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.wan &&
tp_features      4770 drivers/platform/x86/thinkpad_acpi.c 		tp_features.wan = 0;
tp_features      4775 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.wan)
tp_features      4893 drivers/platform/x86/thinkpad_acpi.c 	tp_features.uwb = hkey_handle &&
tp_features      4898 drivers/platform/x86/thinkpad_acpi.c 		str_supported(tp_features.uwb),
tp_features      4903 drivers/platform/x86/thinkpad_acpi.c 		tp_features.uwb = 1;
tp_features      4907 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.uwb &&
tp_features      4910 drivers/platform/x86/thinkpad_acpi.c 		tp_features.uwb = 0;
tp_features      4915 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.uwb)
tp_features      5415 drivers/platform/x86/thinkpad_acpi.c 		tp_features.kbdlight = 0;
tp_features      5421 drivers/platform/x86/thinkpad_acpi.c 	tp_features.kbdlight = 1;
tp_features      5426 drivers/platform/x86/thinkpad_acpi.c 		tp_features.kbdlight = 0;
tp_features      5437 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.kbdlight)
tp_features      5459 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.kbdlight) {
tp_features      5478 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.kbdlight)
tp_features      5502 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.kbdlight)
tp_features      5512 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.kbdlight)
tp_features      5538 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.light_status) {
tp_features      5551 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.light) {
tp_features      5600 drivers/platform/x86/thinkpad_acpi.c 	tp_features.light = (cmos_handle || lght_handle) && !ledb_handle;
tp_features      5602 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.light)
tp_features      5605 drivers/platform/x86/thinkpad_acpi.c 		tp_features.light_status =
tp_features      5609 drivers/platform/x86/thinkpad_acpi.c 		str_supported(tp_features.light),
tp_features      5610 drivers/platform/x86/thinkpad_acpi.c 		str_supported(tp_features.light_status));
tp_features      5612 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.light)
tp_features      5619 drivers/platform/x86/thinkpad_acpi.c 		tp_features.light = 0;
tp_features      5620 drivers/platform/x86/thinkpad_acpi.c 		tp_features.light_status = 0;
tp_features      5637 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.light) {
tp_features      5639 drivers/platform/x86/thinkpad_acpi.c 	} else if (!tp_features.light_status) {
tp_features      5658 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.light)
tp_features      6207 drivers/platform/x86/thinkpad_acpi.c 	tp_features.beep_needs_two_args = !!(quirks & TPACPI_BEEP_Q1);
tp_features      6238 drivers/platform/x86/thinkpad_acpi.c 		if (tp_features.beep_needs_two_args) {
tp_features      6897 drivers/platform/x86/thinkpad_acpi.c 	tp_features.bright_acpimode = (bcl_levels > 0);
tp_features      6961 drivers/platform/x86/thinkpad_acpi.c 		tp_features.bright_unkfw = 1;
tp_features      6983 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.bright_unkfw)
tp_features      7000 drivers/platform/x86/thinkpad_acpi.c 	} else if (tp_features.bright_acpimode && brightness_enable > 1) {
tp_features      7280 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.mixer_no_level_control)
tp_features      7456 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.mixer_no_level_control)
tp_features      7651 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.mixer_no_level_control) {
tp_features      7752 drivers/platform/x86/thinkpad_acpi.c 			tp_features.mixer_no_level_control = 1;
tp_features      7754 drivers/platform/x86/thinkpad_acpi.c 			tp_features.mixer_no_level_control = 0;
tp_features      7759 drivers/platform/x86/thinkpad_acpi.c 		tp_features.mixer_no_level_control = 0;
tp_features      7762 drivers/platform/x86/thinkpad_acpi.c 		tp_features.mixer_no_level_control = 1;
tp_features      7788 drivers/platform/x86/thinkpad_acpi.c 			str_supported(!tp_features.mixer_no_level_control));
tp_features      7822 drivers/platform/x86/thinkpad_acpi.c 		if (tp_features.mixer_no_level_control)
tp_features      7833 drivers/platform/x86/thinkpad_acpi.c 			if (!tp_features.mixer_no_level_control) {
tp_features      7873 drivers/platform/x86/thinkpad_acpi.c 		if (!tp_features.mixer_no_level_control) {
tp_features      7900 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.mixer_no_level_control) {
tp_features      8143 drivers/platform/x86/thinkpad_acpi.c 		tp_features.fan_ctrl_status_undef = 1;
tp_features      8149 drivers/platform/x86/thinkpad_acpi.c 	if (unlikely(tp_features.fan_ctrl_status_undef)) {
tp_features      8154 drivers/platform/x86/thinkpad_acpi.c 			tp_features.fan_ctrl_status_undef = 0;
tp_features      8166 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.second_fan) {
tp_features      8183 drivers/platform/x86/thinkpad_acpi.c 	if (!tp_features.second_fan)
tp_features      8352 drivers/platform/x86/thinkpad_acpi.c 			tp_features.fan_ctrl_status_undef = 0;
tp_features      8412 drivers/platform/x86/thinkpad_acpi.c 			tp_features.fan_ctrl_status_undef = 0;
tp_features      8464 drivers/platform/x86/thinkpad_acpi.c 			tp_features.fan_ctrl_status_undef = 0;
tp_features      8790 drivers/platform/x86/thinkpad_acpi.c 	tp_features.fan_ctrl_status_undef = 0;
tp_features      8791 drivers/platform/x86/thinkpad_acpi.c 	tp_features.second_fan = 0;
tp_features      8815 drivers/platform/x86/thinkpad_acpi.c 				tp_features.second_fan = 1;
tp_features      8872 drivers/platform/x86/thinkpad_acpi.c 		if (tp_features.second_fan) {
tp_features      8924 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.fan_ctrl_status_undef)
tp_features      8935 drivers/platform/x86/thinkpad_acpi.c 	tp_features.fan_ctrl_status_undef = 0;
tp_features      9504 drivers/platform/x86/thinkpad_acpi.c 	    tp_features.battery_force_primary)
tp_features      9696 drivers/platform/x86/thinkpad_acpi.c 	tp_features.battery_force_primary = tpacpi_check_quirks(
tp_features      9844 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.kbdlight && hkey_event == TP_HKEY_EV_KBD_LIGHT) {
tp_features      10435 drivers/platform/x86/thinkpad_acpi.c 		if (tp_features.input_device_registered)
tp_features      10450 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.sensors_pdrv_attrs_registered)
tp_features      10452 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.platform_drv_attrs_registered)
tp_features      10455 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.sensors_pdrv_registered)
tp_features      10458 drivers/platform/x86/thinkpad_acpi.c 	if (tp_features.platform_drv_registered)
tp_features      10521 drivers/platform/x86/thinkpad_acpi.c 	tp_features.platform_drv_registered = 1;
tp_features      10529 drivers/platform/x86/thinkpad_acpi.c 	tp_features.sensors_pdrv_registered = 1;
tp_features      10533 drivers/platform/x86/thinkpad_acpi.c 		tp_features.platform_drv_attrs_registered = 1;
tp_features      10542 drivers/platform/x86/thinkpad_acpi.c 	tp_features.sensors_pdrv_attrs_registered = 1;
tp_features      10565 drivers/platform/x86/thinkpad_acpi.c 	tp_features.sensors_pdev_attrs_registered = 1;
tp_features      10614 drivers/platform/x86/thinkpad_acpi.c 		tp_features.input_device_registered = 1;