Lines Matching refs:acpi_evalf
544 static int acpi_evalf(acpi_handle handle, in acpi_evalf() function
630 if (!acpi_evalf(ecrd_handle, &v, NULL, "dd", i)) in acpi_ec_read()
644 if (!acpi_evalf(ecwr_handle, NULL, NULL, "vdd", i, v)) in acpi_ec_write()
659 if (!acpi_evalf(cmos_handle, NULL, NULL, "vd", cmos_cmd)) in issue_thinkpad_cmos_command()
1081 if (acpi_evalf(hkey_handle, NULL, "PWMS", "qvd", 0)) in tpacpi_disable_brightness_delay()
2074 if (!acpi_evalf(hkey_handle, &status, "WLSW", "d")) in hotkey_get_wlsw()
2084 if (!acpi_evalf(hkey_handle, &s, "MHKG", "d")) in hotkey_get_tablet_mode()
2104 if (!acpi_evalf(hkey_handle, &m, "DHKN", "d")) in hotkey_mask_get()
2148 if (!acpi_evalf(hkey_handle, in hotkey_mask_set()
2243 if (!acpi_evalf(hkey_handle, status, "DHKC", "d")) in hotkey_status_get()
2251 if (!acpi_evalf(hkey_handle, NULL, "MHKC", "vd", enable ? 1 : 0)) in hotkey_status_set()
3327 if (acpi_evalf(hkey_handle, &hkeyv, "MHKV", "qd")) { in hotkey_init()
3358 if (acpi_evalf(hkey_handle, &hkeyv, "MHKV", "qd")) { in hotkey_init()
3373 if (!acpi_evalf(hkey_handle, &hotkey_all_mask, in hotkey_init()
3417 if (acpi_evalf(hkey_handle, &status, "WLSW", "qd")) { in hotkey_init()
3428 if (!res && acpi_evalf(hkey_handle, &status, "MHKG", "qd")) { in hotkey_init()
3584 if (!acpi_evalf(hkey_handle, &mode, "GTRW", "dd", 0)) { in adaptive_keyboard_get_mode()
3598 if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", new_mode)) { in adaptive_keyboard_set_mode()
3890 if (!acpi_evalf(hkey_handle, &hkey, "MHKP", "d")) { in hotkey_notify()
3984 if (!acpi_evalf(hkey_handle, &adaptive_keyboard_prev_mode, in hotkey_suspend()
4008 if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", in hotkey_resume()
4159 if (!acpi_evalf(hkey_handle, &status, "GBDC", "d")) in bluetooth_get_status()
4187 if (!acpi_evalf(hkey_handle, NULL, "SBDC", "vd", status)) in bluetooth_set_status()
4231 if (!acpi_evalf(NULL, NULL, "\\BLTH", "vd", in bluetooth_shutdown()
4262 acpi_evalf(hkey_handle, &status, "GBDC", "qd"); in bluetooth_init()
4347 if (!acpi_evalf(hkey_handle, &status, "GWAN", "d")) in wan_get_status()
4375 if (!acpi_evalf(hkey_handle, NULL, "SWAN", "vd", status)) in wan_set_status()
4420 if (!acpi_evalf(NULL, NULL, "\\WGSV", "vd", in wan_shutdown()
4449 acpi_evalf(hkey_handle, &status, "GWAN", "qd"); in wan_init()
4533 if (!acpi_evalf(hkey_handle, &status, "GUWB", "d")) in uwb_get_status()
4560 if (!acpi_evalf(hkey_handle, NULL, "SUWB", "vd", status)) in uwb_set_status()
4589 acpi_evalf(hkey_handle, &status, "GUWB", "qd"); in uwb_init()
4681 if (vid2_handle && acpi_evalf(NULL, &ivga, "\\IVGA", "d") && ivga) in video_init()
4689 acpi_evalf(vid_handle, &video_orig_autosw, "SWIT", "qd")) in video_init()
4693 acpi_evalf(vid_handle, &video_orig_autosw, "^VADL", "qd")) in video_init()
4723 if (!acpi_evalf(NULL, &i, "\\_SB.PHS", "dd", in video_outputsw_get()
4729 if (!acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4733 if (!acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4739 if (!acpi_evalf(NULL, NULL, "\\VUPS", "vd", 1) || in video_outputsw_get()
4740 !acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4745 if (!acpi_evalf(NULL, NULL, "\\VUPS", "vd", 0) || in video_outputsw_get()
4746 !acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4750 if (!acpi_evalf(NULL, &i, "\\VCDD", "d")) in video_outputsw_get()
4769 res = acpi_evalf(NULL, NULL, in video_outputsw_set()
4782 res = acpi_evalf(vid_handle, NULL, in video_outputsw_set()
4790 res = acpi_evalf(NULL, NULL, "\\VUPS", "vd", 0x80) && in video_outputsw_set()
4791 acpi_evalf(NULL, NULL, "\\VSDS", "vdd", status, 1); in video_outputsw_set()
4806 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
4811 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
4823 if (!acpi_evalf(vid_handle, NULL, "_DOS", "vd", (enable) ? 1 : 0)) in video_autosw_set()
4841 res = acpi_evalf(ec_handle, NULL, "_Q16", "v"); in video_outputsw_cycle()
4848 res = acpi_evalf(vid_handle, NULL, "VSWT", "v"); in video_outputsw_cycle()
4865 return acpi_evalf(ec_handle, NULL, "_Q17", "v") ? in video_expand_toggle()
4868 return acpi_evalf(vid_handle, NULL, "VEXP", "v") ? in video_expand_toggle()
4871 return acpi_evalf(NULL, NULL, "\\VEXP", "v") ? in video_expand_toggle()
5000 if (!acpi_evalf(ec_handle, &status, "KBLT", "d")) in light_get_status()
5014 rc = acpi_evalf(cmos_handle, NULL, NULL, "vd", in light_set_status()
5019 rc = acpi_evalf(lght_handle, NULL, NULL, "vd", in light_set_status()
5082 acpi_evalf(ec_handle, NULL, "KBLT", "qv"); in light_init()
5303 if (!acpi_evalf(ec_handle, in led_get_status()
5336 if (!acpi_evalf(led_handle, NULL, NULL, "vdd", in led_set_status()
5360 if (!acpi_evalf(led_handle, NULL, NULL, "vdd", in led_set_status()
5735 if (!acpi_evalf(beep_handle, NULL, NULL, "vdd", in beep_write()
5739 if (!acpi_evalf(beep_handle, NULL, NULL, "vd", in beep_write()
5812 if (!acpi_evalf(ec_handle, NULL, "UPDT", "v")) in thermal_get_sensor()
5814 if (!acpi_evalf(ec_handle, &t, tmpi, "d")) in thermal_get_sensor()
5824 if (!acpi_evalf(ec_handle, &t, tmpi, "d")) in thermal_get_sensor()
5974 acpi_tmp7 = acpi_evalf(ec_handle, NULL, "TMP7", "qv"); in thermal_init()
6018 acpi_evalf(ec_handle, NULL, "UPDT", "qv")) { in thermal_init()
6941 if (!acpi_evalf(ec_handle, &software_mute_orig_mode, in volume_set_software_mute()
6950 if (!acpi_evalf(ec_handle, &result, "SAUM", "qdd", in volume_set_software_mute()
6979 if (!acpi_evalf(ec_handle, &r, "SAUM", "qdd", software_mute_orig_mode) in volume_exit_software_mute()
7736 if (unlikely(!acpi_evalf(gfan_handle, &res, NULL, "d"))) in fan_get_status()
7842 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", level)) in fan_set_level()
7940 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", s)) in fan_set_enable()
7982 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", 0x00)) in fan_set_disable()
8014 if (!acpi_evalf(fans_handle, NULL, NULL, "vddd", in fan_set_speed()
8748 if (!acpi_evalf(hkey_handle, &output, t->name, "dd", in mute_led_on_off()