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()
3106 if (acpi_evalf(hkey_handle, &res, "GMMS", "qdd", 0)) { in hotkey_init_tablet_mode()
3121 } else if (acpi_evalf(hkey_handle, &res, "MHKG", "qd")) { in hotkey_init_tablet_mode()
3398 if (acpi_evalf(hkey_handle, &hkeyv, "MHKV", "qd")) { in hotkey_init()
3411 if (!acpi_evalf(hkey_handle, &hotkey_all_mask, in hotkey_init()
3428 if (!acpi_evalf(hkey_handle, &hotkey_all_mask, in hotkey_init()
3442 if (acpi_evalf(hkey_handle, &hotkey_adaptive_all_mask, in hotkey_init()
3493 if (acpi_evalf(hkey_handle, &status, "WLSW", "qd")) { in hotkey_init()
3625 if (!acpi_evalf(hkey_handle, &mode, "GTRW", "dd", 0)) { in adaptive_keyboard_get_mode()
3639 if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", new_mode)) { in adaptive_keyboard_set_mode()
3970 acpi_evalf(hkey_handle, NULL, "GMKS", "v"); in hotkey_notify_6xxx()
4014 if (!acpi_evalf(hkey_handle, &hkey, "MHKP", "d")) { in hotkey_notify()
4108 if (!acpi_evalf(hkey_handle, &adaptive_keyboard_prev_mode, in hotkey_suspend()
4134 if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", in hotkey_resume()
4282 if (!acpi_evalf(hkey_handle, &status, "GBDC", "d")) in bluetooth_get_status()
4309 if (!acpi_evalf(hkey_handle, NULL, "SBDC", "vd", status)) in bluetooth_set_status()
4360 if (!acpi_evalf(NULL, NULL, "\\BLTH", "vd", in bluetooth_shutdown()
4462 acpi_evalf(hkey_handle, &status, "GBDC", "qd"); in bluetooth_init()
4537 if (!acpi_evalf(hkey_handle, &status, "GWAN", "d")) in wan_get_status()
4564 if (!acpi_evalf(hkey_handle, NULL, "SWAN", "vd", status)) in wan_set_status()
4616 if (!acpi_evalf(NULL, NULL, "\\WGSV", "vd", in wan_shutdown()
4641 acpi_evalf(hkey_handle, &status, "GWAN", "qd"); in wan_init()
4714 if (!acpi_evalf(hkey_handle, &status, "GUWB", "d")) in uwb_get_status()
4740 if (!acpi_evalf(hkey_handle, NULL, "SUWB", "vd", status)) in uwb_set_status()
4769 acpi_evalf(hkey_handle, &status, "GUWB", "qd"); in uwb_init()
4861 if (vid2_handle && acpi_evalf(NULL, &ivga, "\\IVGA", "d") && ivga) in video_init()
4869 acpi_evalf(vid_handle, &video_orig_autosw, "SWIT", "qd")) in video_init()
4873 acpi_evalf(vid_handle, &video_orig_autosw, "^VADL", "qd")) in video_init()
4902 if (!acpi_evalf(NULL, &i, "\\_SB.PHS", "dd", in video_outputsw_get()
4908 if (!acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4912 if (!acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4918 if (!acpi_evalf(NULL, NULL, "\\VUPS", "vd", 1) || in video_outputsw_get()
4919 !acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4924 if (!acpi_evalf(NULL, NULL, "\\VUPS", "vd", 0) || in video_outputsw_get()
4925 !acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4929 if (!acpi_evalf(NULL, &i, "\\VCDD", "d")) in video_outputsw_get()
4948 res = acpi_evalf(NULL, NULL, in video_outputsw_set()
4961 res = acpi_evalf(vid_handle, NULL, in video_outputsw_set()
4969 res = acpi_evalf(NULL, NULL, "\\VUPS", "vd", 0x80) && in video_outputsw_set()
4970 acpi_evalf(NULL, NULL, "\\VSDS", "vdd", status, 1); in video_outputsw_set()
4985 if (!acpi_evalf(vid_handle, &autosw, "SWIT", "d")) in video_autosw_get()
4990 if (!acpi_evalf(vid_handle, &autosw, "^VDEE", "d")) in video_autosw_get()
5002 if (!acpi_evalf(vid_handle, NULL, "_DOS", "vd", (enable) ? 1 : 0)) in video_autosw_set()
5020 res = acpi_evalf(ec_handle, NULL, "_Q16", "v"); in video_outputsw_cycle()
5027 res = acpi_evalf(vid_handle, NULL, "VSWT", "v"); in video_outputsw_cycle()
5044 return acpi_evalf(ec_handle, NULL, "_Q17", "v") ? in video_expand_toggle()
5047 return acpi_evalf(vid_handle, NULL, "VEXP", "v") ? in video_expand_toggle()
5050 return acpi_evalf(NULL, NULL, "\\VEXP", "v") ? in video_expand_toggle()
5183 if (!acpi_evalf(hkey_handle, NULL, "MLCS", "dd", level)) in kbdlight_set_level()
5200 if (!acpi_evalf(hkey_handle, &status, "MLCG", "dd", 0)) in kbdlight_get_level()
5221 if (!acpi_evalf(hkey_handle, &status, "MLCG", "qdd", 0)) { in kbdlight_is_supported()
5408 if (!acpi_evalf(ec_handle, &status, "KBLT", "d")) in light_get_status()
5422 rc = acpi_evalf(cmos_handle, NULL, NULL, "vd", in light_set_status()
5427 rc = acpi_evalf(lght_handle, NULL, NULL, "vd", in light_set_status()
5476 acpi_evalf(ec_handle, NULL, "KBLT", "qv"); in light_init()
5700 if (!acpi_evalf(ec_handle, in led_get_status()
5733 if (!acpi_evalf(led_handle, NULL, NULL, "vdd", in led_set_status()
5757 if (!acpi_evalf(led_handle, NULL, NULL, "vdd", in led_set_status()
6101 if (!acpi_evalf(beep_handle, NULL, NULL, "vdd", in beep_write()
6105 if (!acpi_evalf(beep_handle, NULL, NULL, "vd", in beep_write()
6180 if (!acpi_evalf(ec_handle, NULL, "UPDT", "v")) in thermal_get_sensor()
6182 if (!acpi_evalf(ec_handle, &t, tmpi, "d")) in thermal_get_sensor()
6192 if (!acpi_evalf(ec_handle, &t, tmpi, "d")) in thermal_get_sensor()
6384 acpi_tmp7 = acpi_evalf(ec_handle, NULL, "TMP7", "qv"); in thermal_init()
6439 acpi_evalf(ec_handle, NULL, "UPDT", "qv")) { in thermal_init()
7321 if (!acpi_evalf(ec_handle, &software_mute_orig_mode, in volume_set_software_mute()
7330 if (!acpi_evalf(ec_handle, &result, "SAUM", "qdd", in volume_set_software_mute()
7359 if (!acpi_evalf(ec_handle, &r, "SAUM", "qdd", software_mute_orig_mode) in volume_exit_software_mute()
8107 if (unlikely(!acpi_evalf(gfan_handle, &res, NULL, "d"))) in fan_get_status()
8219 !acpi_evalf(sfan_handle, NULL, NULL, "vd", level)) { in fan_set_level()
8225 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", level)) in fan_set_level()
8330 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", s)) in fan_set_enable()
8372 if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", 0x00)) in fan_set_disable()
8404 if (!acpi_evalf(fans_handle, NULL, NULL, "vddd", in fan_set_speed()
9159 if (!acpi_evalf(hkey_handle, &output, t->name, "dd", in mute_led_on_off()
9315 if (!acpi_evalf(hkey_handle, &response, method, "dd", param)) { in tpacpi_battery_acpi_eval()
9865 if (!acpi_evalf(lcdshadow_set_handle, &output, NULL, "dd", (int)state)) in lcdshadow_set_sw_state()
9876 if (!acpi_evalf(lcdshadow_get_handle, &output, NULL, "dd", 0)) in lcdshadow_get_hw_state()
9897 if (!acpi_evalf(lcdshadow_get_handle, &output, NULL, "dd", 0)) in tpacpi_lcdshadow_init()
10001 if (!acpi_evalf(dytc_handle, output, NULL, "dd", command)) in dytc_command()
10028 if (!acpi_evalf(psensor_handle, &output, NULL, "d")) in palmsensor_get()
10567 if (!acpi_evalf(sskl_handle, &output, NULL, "dd", command)) in set_keyboard_lang_command()
10583 if (!acpi_evalf(gskl_handle, &kbd_lang, NULL, "dd", 0x02000000)) in get_keyboard_lang()
10709 if (!acpi_evalf(dprc_handle, output, NULL, "dd", command)) in dprc_command()