Lines Matching defs:key
122 char key[5]; /* four-letter key code */ member
221 static int send_argument(const char *key) in send_argument()
231 static int read_smc(u8 cmd, const char *key, u8 *buffer, u8 len) in read_smc()
269 static int write_smc(u8 cmd, const char *key, const u8 *buffer, u8 len) in write_smc()
343 u8 key[4], info[6]; in applesmc_get_entry_by_index() local
375 static int applesmc_get_lower_bound(unsigned int *lo, const char *key) in applesmc_get_lower_bound()
397 static int applesmc_get_upper_bound(unsigned int *hi, const char *key) in applesmc_get_upper_bound()
419 static const struct applesmc_entry *applesmc_get_entry_by_key(const char *key) in applesmc_get_entry_by_key()
436 static int applesmc_read_key(const char *key, u8 *buffer, u8 len) in applesmc_read_key()
447 static int applesmc_write_key(const char *key, const u8 *buffer, u8 len) in applesmc_write_key()
458 static int applesmc_has_key(const char *key, bool *value) in applesmc_has_key()
473 static int applesmc_read_s16(const char *key, s16 *value) in applesmc_read_s16()
784 const char *key = smcreg.index[to_index(devattr)]; in applesmc_show_sensor_label() local
793 const char *key = smcreg.index[to_index(devattr)]; in applesmc_show_temperature() local