Searched refs:applesmc_read_key (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/hwmon/ |
D | applesmc.c | 436 static int applesmc_read_key(const char *key, u8 *buffer, u8 len) in applesmc_read_key() function 478 ret = applesmc_read_key(key, buffer, 2); in applesmc_read_s16() 498 if (!applesmc_read_key(MOTION_SENSOR_KEY, buffer, 2) && in applesmc_device_init() 565 ret = applesmc_read_key(FANS_COUNT, tmp, 1); in applesmc_init_smcreg_try() 762 ret = applesmc_read_key(LIGHT_SENSOR_LEFT_KEY, buffer, data_length); in applesmc_light_show() 771 ret = applesmc_read_key(LIGHT_SENSOR_RIGHT_KEY, buffer, data_length); in applesmc_light_show() 819 ret = applesmc_read_key(newkey, buffer, 2); in applesmc_show_fan_speed() 860 ret = applesmc_read_key(FANS_MANUAL, buffer, 2); in applesmc_show_fan_manual() 881 ret = applesmc_read_key(FANS_MANUAL, buffer, 2); in applesmc_store_fan_manual() 912 ret = applesmc_read_key(newkey, buffer, 16); in applesmc_show_fan_position() [all …]
|