Searched refs:read_from_ec (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/platform/x86/ |
| H A D | oxpec.c | 303 static int read_from_ec(u8 reg, int size, long *val) in read_from_ec() function 397 ret = read_from_ec(reg, 1, &raw_val); in tt_toggle_store() 443 retval = read_from_ec(reg, 1, &val); in tt_toggle_show() 510 ret = read_from_ec(reg, 1, &val); in tt_led_show() 545 ret = read_from_ec(OXP_X1_CHARGE_LIMIT_REG, 1, &raw_val); in oxp_psy_ext_get_prop() 553 ret = read_from_ec(OXP_X1_CHARGE_INHIBIT_REG, 1, &raw_val); in oxp_psy_ext_get_prop() 689 return read_from_ec(ORANGEPI_SENSOR_PWM_ENABLE_REG, 1, val); in oxp_pwm_read() 699 return read_from_ec(OXP_SENSOR_PWM_ENABLE_REG, 1, val); in oxp_pwm_read() 724 return read_from_ec(ORANGEPI_SENSOR_FAN_REG, 2, val); in oxp_pwm_fan_speed() 728 return read_from_ec(OXP_2_SENSOR_FAN_REG, 2, val); in oxp_pwm_fan_speed() [all …]
|