Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_hwmon.c70 struct mutex hwmon_lock; member
167 mutex_lock(&hwmon->hwmon_lock); in xe_hwmon_power_max_read()
188 mutex_unlock(&hwmon->hwmon_lock); in xe_hwmon_power_max_read()
200 mutex_lock(&hwmon->hwmon_lock); in xe_hwmon_power_max_write()
219 mutex_unlock(&hwmon->hwmon_lock); in xe_hwmon_power_max_write()
292 mutex_lock(&hwmon->hwmon_lock); in xe_hwmon_power_max_interval_show()
296 mutex_unlock(&hwmon->hwmon_lock); in xe_hwmon_power_max_interval_show()
381 mutex_lock(&hwmon->hwmon_lock); in xe_hwmon_power_max_interval_store()
386 mutex_unlock(&hwmon->hwmon_lock); in xe_hwmon_power_max_interval_store()
471 mutex_lock(&hwmon->hwmon_lock); in xe_hwmon_power_curr_crit_read()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_hwmon.c68 struct mutex hwmon_lock; /* counter overflow logic and rmw */ member
84 mutex_lock(&hwmon->hwmon_lock); in hwm_locked_with_pm_intel_uncore_rmw()
88 mutex_unlock(&hwmon->hwmon_lock); in hwm_locked_with_pm_intel_uncore_rmw()
149 mutex_lock(&hwmon->hwmon_lock); in hwm_energy()
161 mutex_unlock(&hwmon->hwmon_lock); in hwm_energy()
419 mutex_lock(&hwmon->hwmon_lock); in hwm_power_max_write()
431 mutex_unlock(&hwmon->hwmon_lock); in hwm_power_max_write()
458 mutex_unlock(&hwmon->hwmon_lock); in hwm_power_max_write()
518 mutex_lock(&hwmon->hwmon_lock); in i915_hwmon_power_max_disable()
525 mutex_unlock(&hwmon->hwmon_lock); in i915_hwmon_power_max_disable()
[all …]
/linux-6.12.1/drivers/hwmon/
Dda9055-hwmon.c34 struct mutex hwmon_lock; member
146 mutex_lock(&hwmon->hwmon_lock); in da9055_auto_ch_show()
164 mutex_unlock(&hwmon->hwmon_lock); in da9055_auto_ch_show()
171 mutex_unlock(&hwmon->hwmon_lock); in da9055_auto_ch_show()
245 mutex_init(&hwmon->hwmon_lock); in da9055_hwmon_probe()
Dda9052-hwmon.c26 struct mutex hwmon_lock; member
90 mutex_lock(&hwmon->hwmon_lock); in da9052_vddout_show()
106 mutex_unlock(&hwmon->hwmon_lock); in da9052_vddout_show()
112 mutex_unlock(&hwmon->hwmon_lock); in da9052_vddout_show()
407 mutex_init(&hwmon->hwmon_lock); in da9052_hwmon_probe()