/linux-6.1.9/drivers/misc/c2port/ |
D | c2port-duramar2150.c | 23 static DEFINE_MUTEX(update_lock); 33 mutex_lock(&update_lock); in duramar2150_c2port_access() 45 mutex_unlock(&update_lock); in duramar2150_c2port_access() 52 mutex_lock(&update_lock); in duramar2150_c2port_c2d_dir() 61 mutex_unlock(&update_lock); in duramar2150_c2port_c2d_dir() 73 mutex_lock(&update_lock); in duramar2150_c2port_c2d_set() 82 mutex_unlock(&update_lock); in duramar2150_c2port_c2d_set() 89 mutex_lock(&update_lock); in duramar2150_c2port_c2ck_set() 98 mutex_unlock(&update_lock); in duramar2150_c2port_c2ck_set()
|
/linux-6.1.9/drivers/cpufreq/ |
D | cpufreq_governor_attr_set.c | 31 mutex_lock(&attr_set->update_lock); in governor_store() 33 mutex_unlock(&attr_set->update_lock); in governor_store() 46 mutex_init(&attr_set->update_lock); in gov_attr_set_init() 54 mutex_lock(&attr_set->update_lock); in gov_attr_set_get() 57 mutex_unlock(&attr_set->update_lock); in gov_attr_set_get() 65 mutex_lock(&attr_set->update_lock); in gov_attr_set_put() 68 mutex_unlock(&attr_set->update_lock); in gov_attr_set_put() 72 mutex_destroy(&attr_set->update_lock); in gov_attr_set_put()
|
/linux-6.1.9/drivers/hwmon/ |
D | g762.c | 122 struct mutex update_lock; member 202 mutex_lock(&data->update_lock); in g762_update_client() 240 mutex_unlock(&data->update_lock); in g762_update_client() 279 mutex_lock(&data->update_lock); in do_set_pwm_mode() 295 mutex_unlock(&data->update_lock); in do_set_pwm_mode() 309 mutex_lock(&data->update_lock); in do_set_fan_div() 335 mutex_unlock(&data->update_lock); in do_set_fan_div() 349 mutex_lock(&data->update_lock); in do_set_fan_gear_mode() 371 mutex_unlock(&data->update_lock); in do_set_fan_gear_mode() 385 mutex_lock(&data->update_lock); in do_set_fan_pulses() [all …]
|
D | g760a.c | 37 struct mutex update_lock; member 87 mutex_lock(&data->update_lock); in g760a_update_client() 101 mutex_unlock(&data->update_lock); in g760a_update_client() 112 mutex_lock(&data->update_lock); in fan1_input_show() 115 mutex_unlock(&data->update_lock); in fan1_input_show() 148 mutex_lock(&data->update_lock); in pwm1_store() 151 mutex_unlock(&data->update_lock); in pwm1_store() 187 mutex_init(&data->update_lock); in g760a_probe()
|
D | adt7x10.c | 58 struct mutex update_lock; member 140 mutex_lock(&data->update_lock); in adt7x10_temp_read() 145 mutex_unlock(&data->update_lock); in adt7x10_temp_read() 150 mutex_unlock(&data->update_lock); in adt7x10_temp_read() 164 mutex_lock(&data->update_lock); in adt7x10_temp_write() 167 mutex_unlock(&data->update_lock); in adt7x10_temp_write() 175 mutex_lock(&data->update_lock); in adt7x10_hyst_read() 178 mutex_unlock(&data->update_lock); in adt7x10_hyst_read() 183 mutex_unlock(&data->update_lock); in adt7x10_hyst_read() 206 mutex_lock(&data->update_lock); in adt7x10_hyst_write() [all …]
|
D | asc7621.c | 79 struct mutex update_lock; member 183 mutex_lock(&data->update_lock); in store_u8() 186 mutex_unlock(&data->update_lock); in store_u8() 218 mutex_lock(&data->update_lock); in store_bitmask() 223 mutex_unlock(&data->update_lock); in store_bitmask() 239 mutex_lock(&data->update_lock); in show_fan16() 241 mutex_unlock(&data->update_lock); in show_fan16() 266 mutex_lock(&data->update_lock); in store_fan16() 271 mutex_unlock(&data->update_lock); in store_fan16() 301 mutex_lock(&data->update_lock); in show_in10() [all …]
|
D | sch5627.c | 76 struct mutex update_lock; member 94 mutex_lock(&data->update_lock); in sch5627_update_temp() 112 mutex_unlock(&data->update_lock); in sch5627_update_temp() 121 mutex_lock(&data->update_lock); in sch5627_update_fan() 137 mutex_unlock(&data->update_lock); in sch5627_update_fan() 146 mutex_lock(&data->update_lock); in sch5627_update_in() 170 mutex_unlock(&data->update_lock); in sch5627_update_in() 290 mutex_lock(&data->update_lock); in sch5627_read() 292 mutex_unlock(&data->update_lock); in sch5627_read() 358 mutex_lock(&data->update_lock); in sch5627_write() [all …]
|
D | w83l786ng.c | 115 struct mutex update_lock; member 157 mutex_lock(&data->update_lock); in w83l786ng_update_device() 216 mutex_unlock(&data->update_lock); in w83l786ng_update_device() 248 mutex_lock(&data->update_lock); \ 252 mutex_unlock(&data->update_lock); \ 304 mutex_lock(&data->update_lock); in store_fan_min() 308 mutex_unlock(&data->update_lock); in store_fan_min() 350 mutex_lock(&data->update_lock); in store_fan_div() 378 mutex_unlock(&data->update_lock); in store_fan_div() 433 mutex_lock(&data->update_lock); in store_temp() [all …]
|
D | tc654.c | 63 struct mutex update_lock; member 140 mutex_lock(&data->update_lock); in tc654_update_client() 183 mutex_unlock(&data->update_lock); in tc654_update_client() 240 mutex_lock(&data->update_lock); in fan_min_store() 246 mutex_unlock(&data->update_lock); in fan_min_store() 315 mutex_lock(&data->update_lock); in fan_pulses_store() 321 mutex_unlock(&data->update_lock); in fan_pulses_store() 350 mutex_lock(&data->update_lock); in pwm_mode_store() 359 mutex_unlock(&data->update_lock); in pwm_mode_store() 388 mutex_lock(&data->update_lock); in _set_pwm() [all …]
|
D | gl520sm.c | 66 struct mutex update_lock; member 115 mutex_lock(&data->update_lock); in gl520_update_device() 180 mutex_unlock(&data->update_lock); in gl520_update_device() 258 mutex_lock(&data->update_lock); in in_min_store() 274 mutex_unlock(&data->update_lock); in in_min_store() 297 mutex_lock(&data->update_lock); in in_max_store() 308 mutex_unlock(&data->update_lock); in in_max_store() 389 mutex_lock(&data->update_lock); in fan_min_store() 410 mutex_unlock(&data->update_lock); in fan_min_store() 448 mutex_lock(&data->update_lock); in fan_div_store() [all …]
|
D | vt8231.c | 148 struct mutex update_lock; member 185 mutex_lock(&data->update_lock); in vt8231_update_device() 242 mutex_unlock(&data->update_lock); in vt8231_update_device() 291 mutex_lock(&data->update_lock); in in_min_store() 294 mutex_unlock(&data->update_lock); in in_min_store() 311 mutex_lock(&data->update_lock); in in_max_store() 314 mutex_unlock(&data->update_lock); in in_max_store() 358 mutex_lock(&data->update_lock); in in5_min_store() 362 mutex_unlock(&data->update_lock); in in5_min_store() 378 mutex_lock(&data->update_lock); in in5_max_store() [all …]
|
D | adm1031.c | 66 struct mutex update_lock; member 114 mutex_lock(&data->update_lock); in adm1031_update_device() 193 mutex_unlock(&data->update_lock); in adm1031_update_device() 346 mutex_lock(&data->update_lock); in fan_auto_channel_store() 350 mutex_unlock(&data->update_lock); in fan_auto_channel_store() 377 mutex_unlock(&data->update_lock); in fan_auto_channel_store() 416 mutex_lock(&data->update_lock); in auto_temp_min_store() 420 mutex_unlock(&data->update_lock); in auto_temp_min_store() 446 mutex_lock(&data->update_lock); in auto_temp_max_store() 451 mutex_unlock(&data->update_lock); in auto_temp_max_store() [all …]
|
D | max6620.c | 133 struct mutex update_lock; member 167 mutex_lock(&data->update_lock); in max6620_update_device() 215 mutex_unlock(&data->update_lock); in max6620_update_device() 264 mutex_lock(&data->update_lock); in max6620_read() 274 mutex_unlock(&data->update_lock); in max6620_read() 280 mutex_unlock(&data->update_lock); in max6620_read() 286 mutex_unlock(&data->update_lock); in max6620_read() 337 mutex_lock(&data->update_lock); in max6620_write() 400 mutex_unlock(&data->update_lock); in max6620_write() 481 mutex_init(&data->update_lock); in max6620_probe()
|
D | emc2103.c | 58 struct mutex update_lock; member 140 mutex_lock(&data->update_lock); in emc2103_update_device() 169 mutex_unlock(&data->update_lock); in emc2103_update_device() 245 mutex_lock(&data->update_lock); in temp_min_store() 248 mutex_unlock(&data->update_lock); in temp_min_store() 267 mutex_lock(&data->update_lock); in temp_max_store() 270 mutex_unlock(&data->update_lock); in temp_max_store() 331 mutex_lock(&data->update_lock); in fan1_div_store() 337 mutex_unlock(&data->update_lock); in fan1_div_store() 356 mutex_unlock(&data->update_lock); in fan1_div_store() [all …]
|
D | f75375s.c | 87 struct mutex update_lock; /* protect register access */ member 182 mutex_lock(&data->update_lock); in f75375_update_device() 234 mutex_unlock(&data->update_lock); in f75375_update_device() 297 mutex_lock(&data->update_lock); in set_fan_min() 300 mutex_unlock(&data->update_lock); in set_fan_min() 322 mutex_lock(&data->update_lock); in set_fan_target() 325 mutex_unlock(&data->update_lock); in set_fan_target() 346 mutex_lock(&data->update_lock); in set_pwm() 349 mutex_unlock(&data->update_lock); in set_pwm() 438 mutex_lock(&data->update_lock); in set_pwm_enable() [all …]
|
D | lm92.c | 101 struct mutex update_lock; member 119 mutex_lock(&data->update_lock); in lm92_update_device() 132 mutex_unlock(&data->update_lock); in lm92_update_device() 161 mutex_lock(&data->update_lock); in temp_store() 164 mutex_unlock(&data->update_lock); in temp_store() 202 mutex_lock(&data->update_lock); in temp_hyst_store() 207 mutex_unlock(&data->update_lock); in temp_hyst_store() 306 mutex_init(&data->update_lock); in lm92_probe()
|
D | lm95234.c | 57 struct mutex update_lock; member 161 mutex_lock(&data->update_lock); in lm95234_update_device() 200 mutex_unlock(&data->update_lock); in lm95234_update_device() 263 mutex_lock(&data->update_lock); in type_store() 271 mutex_unlock(&data->update_lock); in type_store() 306 mutex_lock(&data->update_lock); in tcrit2_store() 309 mutex_unlock(&data->update_lock); in tcrit2_store() 355 mutex_lock(&data->update_lock); in tcrit1_store() 358 mutex_unlock(&data->update_lock); in tcrit1_store() 397 mutex_lock(&data->update_lock); in tcrit1_hyst_store() [all …]
|
D | lm93.c | 199 struct mutex update_lock; member 913 mutex_lock(&data->update_lock); in lm93_update_device() 923 mutex_unlock(&data->update_lock); in lm93_update_device() 1159 mutex_lock(&data->update_lock); in in_min_store() 1171 mutex_unlock(&data->update_lock); in in_min_store() 1224 mutex_lock(&data->update_lock); in in_max_store() 1236 mutex_unlock(&data->update_lock); in in_max_store() 1291 mutex_lock(&data->update_lock); in temp_min_store() 1294 mutex_unlock(&data->update_lock); in temp_min_store() 1324 mutex_lock(&data->update_lock); in temp_max_store() [all …]
|
D | lm78.c | 119 struct mutex update_lock; member 179 mutex_lock(&data->update_lock); in in_min_store() 182 mutex_unlock(&data->update_lock); in in_min_store() 199 mutex_lock(&data->update_lock); in in_max_store() 202 mutex_unlock(&data->update_lock); in in_max_store() 255 mutex_lock(&data->update_lock); in temp1_max_store() 258 mutex_unlock(&data->update_lock); in temp1_max_store() 281 mutex_lock(&data->update_lock); in temp1_max_hyst_store() 284 mutex_unlock(&data->update_lock); in temp1_max_hyst_store() 326 mutex_lock(&data->update_lock); in fan_min_store() [all …]
|
D | lm85.c | 296 struct mutex update_lock; member 374 mutex_lock(&data->update_lock); in lm85_update_device() 546 mutex_unlock(&data->update_lock); in lm85_update_device() 582 mutex_lock(&data->update_lock); in fan_min_store() 585 mutex_unlock(&data->update_lock); in fan_min_store() 704 mutex_lock(&data->update_lock); in pwm_store() 707 mutex_unlock(&data->update_lock); in pwm_store() 766 mutex_lock(&data->update_lock); in pwm_enable_store() 773 mutex_unlock(&data->update_lock); in pwm_enable_store() 807 mutex_lock(&data->update_lock); in pwm_freq_store() [all …]
|
D | adm1026.c | 261 struct mutex update_lock; member 326 mutex_lock(&data->update_lock); in adm1026_update_device() 463 mutex_unlock(&data->update_lock); in adm1026_update_device() 497 mutex_lock(&data->update_lock); in in_min_store() 500 mutex_unlock(&data->update_lock); in in_min_store() 525 mutex_lock(&data->update_lock); in in_max_store() 528 mutex_unlock(&data->update_lock); in in_max_store() 608 mutex_lock(&data->update_lock); in in16_min_store() 614 mutex_unlock(&data->update_lock); in in16_min_store() 637 mutex_lock(&data->update_lock); in in16_max_store() [all …]
|
D | amc6821.c | 143 struct mutex update_lock; member 172 mutex_lock(&data->update_lock); in amc6821_update_device() 263 mutex_unlock(&data->update_lock); in amc6821_update_device() 289 mutex_lock(&data->update_lock); in temp_store() 295 mutex_unlock(&data->update_lock); in temp_store() 363 mutex_lock(&data->update_lock); in pwm1_store() 366 mutex_unlock(&data->update_lock); in pwm1_store() 388 mutex_lock(&data->update_lock); in pwm1_enable_store() 420 mutex_unlock(&data->update_lock); in pwm1_enable_store() 513 mutex_lock(&data->update_lock); in temp_auto_point_temp_store() [all …]
|
D | ds620.c | 58 struct mutex update_lock; member 100 mutex_lock(&data->update_lock); in ds620_update_client() 124 mutex_unlock(&data->update_lock); in ds620_update_client() 158 mutex_lock(&data->update_lock); in temp_store() 162 mutex_unlock(&data->update_lock); in temp_store() 225 mutex_init(&data->update_lock); in ds620_probe()
|
D | ds1621.c | 111 struct mutex update_lock; member 191 mutex_lock(&data->update_lock); in ds1621_update_client() 219 mutex_unlock(&data->update_lock); in ds1621_update_client() 245 mutex_lock(&data->update_lock); in temp_store() 249 mutex_unlock(&data->update_lock); in temp_store() 294 mutex_lock(&data->update_lock); in update_interval_store() 301 mutex_unlock(&data->update_lock); in update_interval_store() 357 mutex_init(&data->update_lock); in ds1621_probe()
|
/linux-6.1.9/drivers/misc/ |
D | tsl2550.c | 34 struct mutex update_lock; member 194 mutex_lock(&data->update_lock); in tsl2550_store_power_state() 196 mutex_unlock(&data->update_lock); in tsl2550_store_power_state() 229 mutex_lock(&data->update_lock); in tsl2550_store_operating_mode() 231 mutex_unlock(&data->update_lock); in tsl2550_store_operating_mode() 279 mutex_lock(&data->update_lock); in tsl2550_show_lux1_input() 281 mutex_unlock(&data->update_lock); in tsl2550_show_lux1_input() 370 mutex_init(&data->update_lock); in tsl2550_probe()
|