Searched refs:newkey (Results 1 – 2 of 2) sorted by relevance
/drivers/hwmon/ |
D | applesmc.c | 843 char newkey[5]; in applesmc_show_fan_speed() local 846 scnprintf(newkey, sizeof(newkey), fan_speed_fmt[to_option(attr)], in applesmc_show_fan_speed() 849 ret = applesmc_read_key(newkey, buffer, 2); in applesmc_show_fan_speed() 863 char newkey[5]; in applesmc_store_fan_speed() local 869 scnprintf(newkey, sizeof(newkey), fan_speed_fmt[to_option(attr)], in applesmc_store_fan_speed() 874 ret = applesmc_write_key(newkey, buffer, 2); in applesmc_store_fan_speed() 936 char newkey[5]; in applesmc_show_fan_position() local 939 scnprintf(newkey, sizeof(newkey), FAN_ID_FMT, to_index(attr)); in applesmc_show_fan_position() 941 ret = applesmc_read_key(newkey, buffer, 16); in applesmc_show_fan_position() 1059 unsigned long newkey; in applesmc_key_at_index_store() local [all …]
|
/drivers/nvdimm/ |
D | security.c | 281 struct key *key, *newkey; in security_update() local 302 NVDIMM_NEW_KEY, &newkey); in security_update() 310 key_serial(key), key_serial(newkey), in security_update() 314 nvdimm_put_key(newkey); in security_update() 501 unsigned int key, newkey; in nvdimm_security_store() local 518 rc = kstrtouint(nkeystr, 0, &newkey); in nvdimm_security_store() 529 dev_dbg(dev, "%s %u %u\n", ops[i].name, key, newkey); in nvdimm_security_store() 530 rc = security_update(nvdimm, key, newkey, i == OP_UPDATE in nvdimm_security_store()
|