Searched refs:read_smc (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/hwmon/ |
D | applesmc.c | 231 static int read_smc(u8 cmd, const char *key, u8 *buffer, u8 len) in read_smc() function 298 ret = read_smc(APPLESMC_READ_CMD, KEY_COUNT_KEY, (u8 *)&be, 4); in read_register_count() 321 ret = read_smc(APPLESMC_READ_CMD, entry->key, buf, len); in applesmc_read_entry() 355 ret = read_smc(APPLESMC_GET_KEY_BY_INDEX_CMD, (u8 *)&be, key, 4); in applesmc_get_entry_by_index() 358 ret = read_smc(APPLESMC_GET_KEY_TYPE_CMD, key, info, 6); in applesmc_get_entry_by_index()
|