Searched refs:hwmon_lock (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Dda9052-hwmon.c29 struct mutex hwmon_lock; member in struct:da9052_hwmon
81 mutex_lock(&hwmon->hwmon_lock); da9052_read_vddout()
97 mutex_unlock(&hwmon->hwmon_lock); da9052_read_vddout()
103 mutex_unlock(&hwmon->hwmon_lock); da9052_read_vddout()
272 mutex_init(&hwmon->hwmon_lock); da9052_hwmon_probe()
H A Dda9055-hwmon.c39 struct mutex hwmon_lock; member in struct:da9055_hwmon
150 mutex_lock(&hwmon->hwmon_lock); da9055_read_auto_ch()
168 mutex_unlock(&hwmon->hwmon_lock); da9055_read_auto_ch()
175 mutex_unlock(&hwmon->hwmon_lock); da9055_read_auto_ch()
259 mutex_init(&hwmon->hwmon_lock); da9055_hwmon_probe()

Completed in 283 milliseconds