Lines Matching refs:acpi_evalf

588 static int acpi_evalf(acpi_handle handle,  in acpi_evalf()  function
674 if (!acpi_evalf(ecrd_handle, &v, NULL, "dd", i)) in acpi_ec_read()
688 if (!acpi_evalf(ecwr_handle, NULL, NULL, "vdd", i, v)) in acpi_ec_write()
703 if (!acpi_evalf(cmos_handle, NULL, NULL, "vd", cmos_cmd)) in issue_thinkpad_cmos_command()
1010 if (acpi_evalf(hkey_handle, NULL, "PWMS", "qvd", 0)) in tpacpi_disable_brightness_delay()
1946 if (!acpi_evalf(hkey_handle, &status, "WLSW", "d")) in hotkey_get_wlsw()
2040 if (!acpi_evalf(hkey_handle, &s, "MHKG", "d")) in hotkey_get_tablet_mode()
2046 if (!acpi_evalf(hkey_handle, &s, "GMMS", "dd", 0)) in hotkey_get_tablet_mode()
2071 if (!acpi_evalf(hkey_handle, &m, "DHKN", "d")) in hotkey_mask_get()
2115 if (!acpi_evalf(hkey_handle, in hotkey_mask_set()
2207 if (!acpi_evalf(hkey_handle, status, "DHKC", "d")) in hotkey_status_get()
2215 if (!acpi_evalf(hkey_handle, NULL, "MHKC", "vd", enable ? 1 : 0)) in hotkey_status_set()
3107 if (acpi_evalf(hkey_handle, &res, "GMMS", "qdd", 0)) { in hotkey_init_tablet_mode()
3122 } else if (acpi_evalf(hkey_handle, &res, "MHKG", "qd")) { in hotkey_init_tablet_mode()
3399 if (acpi_evalf(hkey_handle, &hkeyv, "MHKV", "qd")) { in hotkey_init()
3412 if (!acpi_evalf(hkey_handle, &hotkey_all_mask, in hotkey_init()
3429 if (!acpi_evalf(hkey_handle, &hotkey_all_mask, in hotkey_init()
3443 if (acpi_evalf(hkey_handle, &hotkey_adaptive_all_mask, in hotkey_init()
3494 if (acpi_evalf(hkey_handle, &status, "WLSW", "qd")) { in hotkey_init()
3626 if (!acpi_evalf(hkey_handle, &mode, "GTRW", "dd", 0)) { in adaptive_keyboard_get_mode()
3640 if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", new_mode)) { in adaptive_keyboard_set_mode()
3971 acpi_evalf(hkey_handle, NULL, "GMKS", "v"); in hotkey_notify_6xxx()
4015 if (!acpi_evalf(hkey_handle, &hkey, "MHKP", "d")) { in hotkey_notify()
4109 if (!acpi_evalf(hkey_handle, &adaptive_keyboard_prev_mode, in hotkey_suspend()
4135 if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", in hotkey_resume()
4283 if (!acpi_evalf(hkey_handle, &status, "GBDC", "d")) in bluetooth_get_status()
4310 if (!acpi_evalf(hkey_handle, NULL, "SBDC", "vd", status)) in bluetooth_set_status()
4361 if (!acpi_evalf(NULL, NULL, "\\BLTH", "vd", in bluetooth_shutdown()
4463 acpi_evalf(hkey_handle, &status, "GBDC", "qd"); in bluetooth_init()
4538 if (!acpi_evalf(hkey_handle, &status, "GWAN", "d")) in wan_get_status()
4565 if (!acpi_evalf(hkey_handle, NULL, "SWAN", "vd", status)) in wan_set_status()
4617 if (!acpi_evalf(NULL, NULL, "\\WGSV", "vd", in wan_shutdown()
4642 acpi_evalf(hkey_handle, &status, "GWAN", "qd"); in wan_init()
4715 if (!acpi_evalf(hkey_handle, &status, "GUWB", "d")) in uwb_get_status()
4741 if (!acpi_evalf(hkey_handle, NULL, "SUWB", "vd", status)) in uwb_set_status()
4770 acpi_evalf(hkey_handle, &status, "GUWB", "qd"); in uwb_init()
4862 if (vid2_handle && acpi_evalf(NULL, &ivga, "\\IVGA", "d") && ivga) in video_init()
4870 acpi_evalf(vid_handle, &video_orig_autosw, "SWIT", "qd")) in video_init()
4874 acpi_evalf(vid_handle, &video_orig_autosw, "^VADL", "qd")) in video_init()
4903 if (!acpi_evalf(NULL, &i, "\\_SB.PHS", "dd", in video_outputsw_get()
4909 if (!acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4913 if (!acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4919 if (!acpi_evalf(NULL, NULL, "\\VUPS", "vd", 1) || in video_outputsw_get()
4920 !acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4925 if (!acpi_evalf(NULL, NULL, "\\VUPS", "vd", 0) || in video_outputsw_get()
4926 !acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4930 if (!acpi_evalf(NULL, &i, "\\VCDD", "d")) in video_outputsw_get()
4949 res = acpi_evalf(NULL, NULL, in video_outputsw_set()
4962 res = acpi_evalf(vid_handle, NULL, in video_outputsw_set()
4970 res = acpi_evalf(NULL, NULL, "\\VUPS", "vd", 0x80) && in video_outputsw_set()
4971 acpi_evalf(NULL, NULL, "\\VSDS", "vdd", status, 1); in video_outputsw_set()
4986 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
4991 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
5003 if (!acpi_evalf(vid_handle, NULL, "_DOS", "vd", (enable) ? 1 : 0)) in video_autosw_set()
5021 res = acpi_evalf(ec_handle, NULL, "_Q16", "v"); in video_outputsw_cycle()
5028 res = acpi_evalf(vid_handle, NULL, "VSWT", "v"); in video_outputsw_cycle()
5045 return acpi_evalf(ec_handle, NULL, "_Q17", "v") ? in video_expand_toggle()
5048 return acpi_evalf(vid_handle, NULL, "VEXP", "v") ? in video_expand_toggle()
5051 return acpi_evalf(NULL, NULL, "\\VEXP", "v") ? in video_expand_toggle()
5184 if (!acpi_evalf(hkey_handle, NULL, "MLCS", "dd", level)) in kbdlight_set_level()
5201 if (!acpi_evalf(hkey_handle, &status, "MLCG", "dd", 0)) in kbdlight_get_level()
5222 if (!acpi_evalf(hkey_handle, &status, "MLCG", "qdd", 0)) { in kbdlight_is_supported()
5409 if (!acpi_evalf(ec_handle, &status, "KBLT", "d")) in light_get_status()
5423 rc = acpi_evalf(cmos_handle, NULL, NULL, "vd", in light_set_status()
5428 rc = acpi_evalf(lght_handle, NULL, NULL, "vd", in light_set_status()
5477 acpi_evalf(ec_handle, NULL, "KBLT", "qv"); in light_init()
5701 if (!acpi_evalf(ec_handle, in led_get_status()
5734 if (!acpi_evalf(led_handle, NULL, NULL, "vdd", in led_set_status()
5758 if (!acpi_evalf(led_handle, NULL, NULL, "vdd", in led_set_status()
6102 if (!acpi_evalf(beep_handle, NULL, NULL, "vdd", in beep_write()
6106 if (!acpi_evalf(beep_handle, NULL, NULL, "vd", in beep_write()
6181 if (!acpi_evalf(ec_handle, NULL, "UPDT", "v")) in thermal_get_sensor()
6183 if (!acpi_evalf(ec_handle, &t, tmpi, "d")) in thermal_get_sensor()
6193 if (!acpi_evalf(ec_handle, &t, tmpi, "d")) in thermal_get_sensor()
6385 acpi_tmp7 = acpi_evalf(ec_handle, NULL, "TMP7", "qv"); in thermal_init()
6440 acpi_evalf(ec_handle, NULL, "UPDT", "qv")) { in thermal_init()
7322 if (!acpi_evalf(ec_handle, &software_mute_orig_mode, in volume_set_software_mute()
7331 if (!acpi_evalf(ec_handle, &result, "SAUM", "qdd", in volume_set_software_mute()
7360 if (!acpi_evalf(ec_handle, &r, "SAUM", "qdd", software_mute_orig_mode) in volume_exit_software_mute()
8127 if (unlikely(!acpi_evalf(gfan_handle, &res, NULL, "d"))) in fan_get_status()
8269 !acpi_evalf(sfan_handle, NULL, NULL, "vd", level)) { in fan_set_level()
8275 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", level)) in fan_set_level()
8380 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", s)) in fan_set_enable()
8422 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", 0x00)) in fan_set_disable()
8454 if (!acpi_evalf(fans_handle, NULL, NULL, "vddd", in fan_set_speed()
9232 if (!acpi_evalf(hkey_handle, &output, t->name, "dd", in mute_led_on_off()
9388 if (!acpi_evalf(hkey_handle, &response, method, "dd", param)) { in tpacpi_battery_acpi_eval()
9939 if (!acpi_evalf(lcdshadow_set_handle, &output, NULL, "dd", (int)state)) in lcdshadow_set_sw_state()
9950 if (!acpi_evalf(lcdshadow_get_handle, &output, NULL, "dd", 0)) in lcdshadow_get_hw_state()
9971 if (!acpi_evalf(lcdshadow_get_handle, &output, NULL, "dd", 0)) in tpacpi_lcdshadow_init()
10075 if (!acpi_evalf(dytc_handle, output, NULL, "dd", command)) in dytc_command()
10102 if (!acpi_evalf(psensor_handle, &output, NULL, "d")) in palmsensor_get()
10642 if (!acpi_evalf(sskl_handle, &output, NULL, "dd", command)) in set_keyboard_lang_command()
10658 if (!acpi_evalf(gskl_handle, &kbd_lang, NULL, "dd", 0x02000000)) in get_keyboard_lang()
10784 if (!acpi_evalf(dprc_handle, output, NULL, "dd", command)) in dprc_command()