Home
last modified time | relevance | path

Searched refs:smcreg (Results 1 – 1 of 1) sorted by relevance

/drivers/hwmon/
Dapplesmc.c136 } smcreg = { variable
137 .mutex = __MUTEX_INITIALIZER(smcreg.mutex),
348 mutex_lock(&smcreg.mutex); in applesmc_read_entry()
350 mutex_unlock(&smcreg.mutex); in applesmc_read_entry()
362 mutex_lock(&smcreg.mutex); in applesmc_write_entry()
364 mutex_unlock(&smcreg.mutex); in applesmc_write_entry()
370 struct applesmc_entry *cache = &smcreg.cache[index]; in applesmc_get_entry_by_index()
378 mutex_lock(&smcreg.mutex); in applesmc_get_entry_by_index()
397 mutex_unlock(&smcreg.mutex); in applesmc_get_entry_by_index()
405 int begin = 0, end = smcreg.key_count; in applesmc_get_lower_bound()
[all …]