Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwmon/
Dapplesmc.c144 } smcreg = { variable
145 .mutex = __MUTEX_INITIALIZER(smcreg.mutex),
320 mutex_lock(&smcreg.mutex); in applesmc_read_entry()
322 mutex_unlock(&smcreg.mutex); in applesmc_read_entry()
334 mutex_lock(&smcreg.mutex); in applesmc_write_entry()
336 mutex_unlock(&smcreg.mutex); in applesmc_write_entry()
342 struct applesmc_entry *cache = &smcreg.cache[index]; in applesmc_get_entry_by_index()
350 mutex_lock(&smcreg.mutex); in applesmc_get_entry_by_index()
369 mutex_unlock(&smcreg.mutex); in applesmc_get_entry_by_index()
377 int begin = 0, end = smcreg.key_count; in applesmc_get_lower_bound()
[all …]