/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()
|
/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()
|
/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 | 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 | 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 | tc654.c | 62 struct mutex update_lock; member 139 mutex_lock(&data->update_lock); in tc654_update_client() 182 mutex_unlock(&data->update_lock); in tc654_update_client() 239 mutex_lock(&data->update_lock); in fan_min_store() 245 mutex_unlock(&data->update_lock); in fan_min_store() 314 mutex_lock(&data->update_lock); in fan_pulses_store() 320 mutex_unlock(&data->update_lock); in fan_pulses_store() 349 mutex_lock(&data->update_lock); in pwm_mode_store() 358 mutex_unlock(&data->update_lock); in pwm_mode_store() 395 mutex_lock(&data->update_lock); in pwm_store() [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 | 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 | 146 struct mutex update_lock; member 225 mutex_lock(&data->update_lock); in in_min_store() 228 mutex_unlock(&data->update_lock); in in_min_store() 245 mutex_lock(&data->update_lock); in in_max_store() 248 mutex_unlock(&data->update_lock); in in_max_store() 292 mutex_lock(&data->update_lock); in in5_min_store() 296 mutex_unlock(&data->update_lock); in in5_min_store() 312 mutex_lock(&data->update_lock); in in5_max_store() 316 mutex_unlock(&data->update_lock); in in5_max_store() 374 mutex_lock(&data->update_lock); in temp1_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() 347 mutex_lock(&data->update_lock); in fan_auto_channel_store() 351 mutex_unlock(&data->update_lock); in fan_auto_channel_store() 378 mutex_unlock(&data->update_lock); in fan_auto_channel_store() 417 mutex_lock(&data->update_lock); in auto_temp_min_store() 421 mutex_unlock(&data->update_lock); in auto_temp_min_store() 447 mutex_lock(&data->update_lock); in auto_temp_max_store() 452 mutex_unlock(&data->update_lock); in auto_temp_max_store() [all …]
|
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | tmp401.c | 138 struct mutex update_lock; member 214 mutex_lock(&data->update_lock); in tmp401_update_device() 274 mutex_unlock(&data->update_lock); in tmp401_update_device() 302 mutex_lock(&data->update_lock); in temp_crit_hyst_show() 305 mutex_unlock(&data->update_lock); in temp_crit_hyst_show() 340 mutex_lock(&data->update_lock); in temp_store() 352 mutex_unlock(&data->update_lock); in temp_store() 377 mutex_lock(&data->update_lock); in temp_crit_hyst_store() 387 mutex_unlock(&data->update_lock); in temp_crit_hyst_store() 414 mutex_lock(&data->update_lock); in reset_temp_history_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 | w83627hf.c | 357 struct mutex update_lock; member 406 mutex_lock(&data->update_lock); in w83627hf_suspend() 409 mutex_unlock(&data->update_lock); in w83627hf_suspend() 420 mutex_lock(&data->update_lock); in w83627hf_resume() 452 mutex_unlock(&data->update_lock); in w83627hf_resume() 510 mutex_lock(&data->update_lock); in in_min_store() 513 mutex_unlock(&data->update_lock); in in_min_store() 529 mutex_lock(&data->update_lock); in in_max_store() 532 mutex_unlock(&data->update_lock); in in_max_store() 612 mutex_lock(&data->update_lock); in in0_min_store() [all …]
|
D | sis5595.c | 174 struct mutex update_lock; member 251 mutex_lock(&data->update_lock); in in_min_store() 254 mutex_unlock(&data->update_lock); in in_min_store() 271 mutex_lock(&data->update_lock); in in_max_store() 274 mutex_unlock(&data->update_lock); in in_max_store() 321 mutex_lock(&data->update_lock); in temp1_max_store() 324 mutex_unlock(&data->update_lock); in temp1_max_store() 347 mutex_lock(&data->update_lock); in temp1_max_hyst_store() 350 mutex_unlock(&data->update_lock); in temp1_max_hyst_store() 392 mutex_lock(&data->update_lock); in fan_min_store() [all …]
|
D | lm63.c | 140 struct mutex update_lock; member 230 mutex_lock(&data->update_lock); in lm63_update_device() 297 mutex_unlock(&data->update_lock); in lm63_update_device() 310 mutex_lock(&data->update_lock); in lm63_lut_looks_bad() 322 mutex_unlock(&data->update_lock); in lm63_lut_looks_bad() 351 mutex_lock(&data->update_lock); in set_fan() 357 mutex_unlock(&data->update_lock); in set_fan() 400 mutex_lock(&data->update_lock); in set_pwm1() 404 mutex_unlock(&data->update_lock); in set_pwm1() 437 mutex_lock(&data->update_lock); in pwm1_enable_store() [all …]
|
D | lm95245.c | 89 struct mutex update_lock; member 296 mutex_lock(&data->update_lock); in lm95245_write_temp() 300 mutex_unlock(&data->update_lock); in lm95245_write_temp() 309 mutex_unlock(&data->update_lock); in lm95245_write_temp() 314 mutex_lock(&data->update_lock); in lm95245_write_temp() 318 mutex_unlock(&data->update_lock); in lm95245_write_temp() 323 mutex_unlock(&data->update_lock); in lm95245_write_temp() 359 mutex_lock(&data->update_lock); in lm95245_write_chip() 361 mutex_unlock(&data->update_lock); in lm95245_write_chip() 565 mutex_init(&data->update_lock); in lm95245_probe()
|
/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()
|