Home
last modified time | relevance | path

Searched refs:ec_write (Results 1 – 13 of 13) sorted by relevance

/drivers/platform/x86/intel/
Doaktrail.c108 ec_write(OT_EC_DEVICE_STATE_ADDRESS, value); in oaktrail_rfkill_set()
220 ec_write(OT_EC_BL_BRIGHTNESS_ADDRESS, percent); in set_backlight_brightness()
221 ec_write(OT_EC_BL_CONTROL_ADDRESS, OT_EC_BL_CONTROL_ON_DATA); in set_backlight_brightness()
/drivers/platform/x86/
Dcompal-laptop.c266 ec_write(BACKLIGHT_LEVEL_ADDR, level); in set_backlight_level()
350 ec_write(WIRELESS_ADDR, value); in compal_rfkill_set()
382 ec_write(ADDR, state ? (old_val | MASK) : (old_val & ~MASK)); \
643 if (ec_write(BAT_CHARGE_LIMIT, level) < 0) in bat_set_property()
Dmsi-laptop.c227 result = ec_write(MSI_STANDARD_EC_COMMAND_ADDRESS, wdata); in set_device_state()
517 result = ec_write(MSI_STANDARD_EC_FAN_ADDRESS, enable); in store_auto_fan()
936 result = ec_write(MSI_STANDARD_EC_SCM_LOAD_ADDRESS, in msi_laptop_resume()
993 result = ec_write(MSI_STANDARD_EC_SCM_LOAD_ADDRESS, in load_scm_model_init()
Dacerhdf.c312 ec_write(ctrl_cfg.fanreg, cmd); in acerhdf_change_fanstate()
317 ec_write(mcmd.mreg, mcmd.moff); in acerhdf_change_fanstate()
Deeepc-laptop.c976 ec_write(EEEPC_EC_FAN_PWM, value); in eeepc_set_fan_pwm()
1013 ec_write(EEEPC_EC_FAN_CTRL, value); in eeepc_set_fan_ctrl()
Dthinkpad_acpi.c677 if (ec_write(i, v) < 0) in acpi_ec_write()
5881 rc = ec_write(TPACPI_LED_EC_HLMS, (1 << led)); in led_set_status()
5883 rc = ec_write(TPACPI_LED_EC_HLBL, in led_set_status()
5886 rc = ec_write(TPACPI_LED_EC_HLCL, in led_set_status()
8214 if (ec_write(fan_select_offset, val) < 0) in fan_select_fan1()
8231 if (ec_write(fan_select_offset, val) < 0) in fan_select_fan2()
Dwmi.c1299 result = ec_write(address, temp); in acpi_wmi_ec_space_handler()
Dacer-wmi.c878 return ec_write(0x83, value); in AMW0_set_u32()
Dsony-laptop.c3974 return ec_write(SONY_PIC_FAN0_STATUS, value); in sony_pic_set_fanspeed()
/drivers/acpi/
Dec_sys.c92 err = ec_write(*off, byte_write); in acpi_ec_write_io()
Dsbshc.c95 return ec_write(hc->offset + address, data); in smb_hc_write()
Dec.c894 int ec_write(u8 addr, u8 val) in ec_write() function
905 EXPORT_SYMBOL(ec_write);
/drivers/char/
Dsonypi.c514 return ec_write(addr, value); in sonypi_ec_write()