Home
last modified time | relevance | path

Searched refs:write_ec_cmd (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A Dideapad-laptop.c432 err = write_ec_cmd(priv->adev->handle, VPCCMD_W_CAMERA, state); in camera_power_store()
507 err = write_ec_cmd(priv->adev->handle, VPCCMD_W_FAN, state); in fan_mode_store()
581 err = write_ec_cmd(priv->adev->handle, VPCCMD_W_TOUCHPAD, state); in touchpad_store()
978 return write_ec_cmd(priv->priv->adev->handle, opcode, !blocked); in ideapad_rfk_set()
1008 write_ec_cmd(priv->adev->handle, ideapad_rfk_data[dev].opcode, 1); in ideapad_register_rfkill()
1218 err = write_ec_cmd(priv->adev->handle, VPCCMD_W_BL, in ideapad_backlight_update_status()
1223 err = write_ec_cmd(priv->adev->handle, VPCCMD_W_BL_POWER, in ideapad_backlight_update_status()
1837 write_ec_cmd(priv->adev->handle, VPCCMD_W_RF, 1); in ideapad_acpi_add()
H A Dideapad-laptop.h120 static inline int write_ec_cmd(acpi_handle handle, unsigned long cmd, unsigned long data) in write_ec_cmd() function
H A Dlenovo-ymc.c75 err = write_ec_cmd(priv->ec_acpi_dev->handle, VPCCMD_W_YMC, 1); in lenovo_ymc_trigger_ec()