Searched refs:read_from_ec (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/platform/x86/ |
| H A D | oxpec.c | 289 static int read_from_ec(u8 reg, int size, long *val) in read_from_ec() function 383 ret = read_from_ec(reg, 1, &raw_val); in tt_toggle_store() 429 retval = read_from_ec(reg, 1, &val); in tt_toggle_show() 496 ret = read_from_ec(reg, 1, &val); in tt_led_show() 531 ret = read_from_ec(OXP_X1_CHARGE_LIMIT_REG, 1, &raw_val); in oxp_psy_ext_get_prop() 539 ret = read_from_ec(OXP_X1_CHARGE_INHIBIT_REG, 1, &raw_val); in oxp_psy_ext_get_prop() 675 return read_from_ec(ORANGEPI_SENSOR_PWM_ENABLE_REG, 1, val); in oxp_pwm_read() 685 return read_from_ec(OXP_SENSOR_PWM_ENABLE_REG, 1, val); in oxp_pwm_read() 710 return read_from_ec(ORANGEPI_SENSOR_FAN_REG, 2, val); in oxp_pwm_fan_speed() 714 return read_from_ec(OXP_2_SENSOR_FAN_REG, 2, val); in oxp_pwm_fan_speed() [all …]
|