Lines Matching refs:acpi_evalf

543 static int acpi_evalf(acpi_handle handle,  in acpi_evalf()  function
629 if (!acpi_evalf(ecrd_handle, &v, NULL, "dd", i)) in acpi_ec_read()
643 if (!acpi_evalf(ecwr_handle, NULL, NULL, "vdd", i, v)) in acpi_ec_write()
658 if (!acpi_evalf(cmos_handle, NULL, NULL, "vd", cmos_cmd)) in issue_thinkpad_cmos_command()
1080 if (acpi_evalf(hkey_handle, NULL, "PWMS", "qvd", 0)) in tpacpi_disable_brightness_delay()
2073 if (!acpi_evalf(hkey_handle, &status, "WLSW", "d")) in hotkey_get_wlsw()
2083 if (!acpi_evalf(hkey_handle, &s, "MHKG", "d")) in hotkey_get_tablet_mode()
2103 if (!acpi_evalf(hkey_handle, &m, "DHKN", "d")) in hotkey_mask_get()
2147 if (!acpi_evalf(hkey_handle, in hotkey_mask_set()
2242 if (!acpi_evalf(hkey_handle, status, "DHKC", "d")) in hotkey_status_get()
2250 if (!acpi_evalf(hkey_handle, NULL, "MHKC", "vd", enable ? 1 : 0)) in hotkey_status_set()
3326 if (acpi_evalf(hkey_handle, &hkeyv, "MHKV", "qd")) { in hotkey_init()
3357 if (acpi_evalf(hkey_handle, &hkeyv, "MHKV", "qd")) { in hotkey_init()
3372 if (!acpi_evalf(hkey_handle, &hotkey_all_mask, in hotkey_init()
3416 if (acpi_evalf(hkey_handle, &status, "WLSW", "qd")) { in hotkey_init()
3427 if (!res && acpi_evalf(hkey_handle, &status, "MHKG", "qd")) { in hotkey_init()
3583 if (!acpi_evalf(hkey_handle, &mode, "GTRW", "dd", 0)) { in adaptive_keyboard_get_mode()
3597 if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", new_mode)) { in adaptive_keyboard_set_mode()
3889 if (!acpi_evalf(hkey_handle, &hkey, "MHKP", "d")) { in hotkey_notify()
3983 if (!acpi_evalf(hkey_handle, &adaptive_keyboard_prev_mode, in hotkey_suspend()
4007 if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", in hotkey_resume()
4158 if (!acpi_evalf(hkey_handle, &status, "GBDC", "d")) in bluetooth_get_status()
4186 if (!acpi_evalf(hkey_handle, NULL, "SBDC", "vd", status)) in bluetooth_set_status()
4230 if (!acpi_evalf(NULL, NULL, "\\BLTH", "vd", in bluetooth_shutdown()
4261 acpi_evalf(hkey_handle, &status, "GBDC", "qd"); in bluetooth_init()
4346 if (!acpi_evalf(hkey_handle, &status, "GWAN", "d")) in wan_get_status()
4374 if (!acpi_evalf(hkey_handle, NULL, "SWAN", "vd", status)) in wan_set_status()
4419 if (!acpi_evalf(NULL, NULL, "\\WGSV", "vd", in wan_shutdown()
4448 acpi_evalf(hkey_handle, &status, "GWAN", "qd"); in wan_init()
4532 if (!acpi_evalf(hkey_handle, &status, "GUWB", "d")) in uwb_get_status()
4559 if (!acpi_evalf(hkey_handle, NULL, "SUWB", "vd", status)) in uwb_set_status()
4588 acpi_evalf(hkey_handle, &status, "GUWB", "qd"); in uwb_init()
4680 if (vid2_handle && acpi_evalf(NULL, &ivga, "\\IVGA", "d") && ivga) in video_init()
4688 acpi_evalf(vid_handle, &video_orig_autosw, "SWIT", "qd")) in video_init()
4692 acpi_evalf(vid_handle, &video_orig_autosw, "^VADL", "qd")) in video_init()
4722 if (!acpi_evalf(NULL, &i, "\\_SB.PHS", "dd", in video_outputsw_get()
4728 if (!acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4732 if (!acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4738 if (!acpi_evalf(NULL, NULL, "\\VUPS", "vd", 1) || in video_outputsw_get()
4739 !acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4744 if (!acpi_evalf(NULL, NULL, "\\VUPS", "vd", 0) || in video_outputsw_get()
4745 !acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4749 if (!acpi_evalf(NULL, &i, "\\VCDD", "d")) in video_outputsw_get()
4768 res = acpi_evalf(NULL, NULL, in video_outputsw_set()
4781 res = acpi_evalf(vid_handle, NULL, in video_outputsw_set()
4789 res = acpi_evalf(NULL, NULL, "\\VUPS", "vd", 0x80) && in video_outputsw_set()
4790 acpi_evalf(NULL, NULL, "\\VSDS", "vdd", status, 1); in video_outputsw_set()
4805 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
4810 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
4822 if (!acpi_evalf(vid_handle, NULL, "_DOS", "vd", (enable) ? 1 : 0)) in video_autosw_set()
4840 res = acpi_evalf(ec_handle, NULL, "_Q16", "v"); in video_outputsw_cycle()
4847 res = acpi_evalf(vid_handle, NULL, "VSWT", "v"); in video_outputsw_cycle()
4864 return acpi_evalf(ec_handle, NULL, "_Q17", "v") ? in video_expand_toggle()
4867 return acpi_evalf(vid_handle, NULL, "VEXP", "v") ? in video_expand_toggle()
4870 return acpi_evalf(NULL, NULL, "\\VEXP", "v") ? in video_expand_toggle()
4999 if (!acpi_evalf(ec_handle, &status, "KBLT", "d")) in light_get_status()
5013 rc = acpi_evalf(cmos_handle, NULL, NULL, "vd", in light_set_status()
5018 rc = acpi_evalf(lght_handle, NULL, NULL, "vd", in light_set_status()
5081 acpi_evalf(ec_handle, NULL, "KBLT", "qv"); in light_init()
5302 if (!acpi_evalf(ec_handle, in led_get_status()
5335 if (!acpi_evalf(led_handle, NULL, NULL, "vdd", in led_set_status()
5359 if (!acpi_evalf(led_handle, NULL, NULL, "vdd", in led_set_status()
5734 if (!acpi_evalf(beep_handle, NULL, NULL, "vdd", in beep_write()
5738 if (!acpi_evalf(beep_handle, NULL, NULL, "vd", in beep_write()
5811 if (!acpi_evalf(ec_handle, NULL, "UPDT", "v")) in thermal_get_sensor()
5813 if (!acpi_evalf(ec_handle, &t, tmpi, "d")) in thermal_get_sensor()
5823 if (!acpi_evalf(ec_handle, &t, tmpi, "d")) in thermal_get_sensor()
5973 acpi_tmp7 = acpi_evalf(ec_handle, NULL, "TMP7", "qv"); in thermal_init()
6017 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()