Home
last modified time | relevance | path

Searched refs:mlock (Results 1 – 25 of 69) sorted by relevance

123

/drivers/staging/iio/cdc/
Dad7152.c118 mutex_lock(&indio_dev->mlock); in ad7152_start_calib()
121 mutex_unlock(&indio_dev->mlock); in ad7152_start_calib()
129 mutex_unlock(&indio_dev->mlock); in ad7152_start_calib()
134 mutex_unlock(&indio_dev->mlock); in ad7152_start_calib()
200 mutex_lock(&indio_dev->mlock); in ad7152_store_filter_rate_setup()
204 mutex_unlock(&indio_dev->mlock); in ad7152_store_filter_rate_setup()
209 mutex_unlock(&indio_dev->mlock); in ad7152_store_filter_rate_setup()
259 mutex_lock(&indio_dev->mlock); in ad7152_write_raw()
317 mutex_unlock(&indio_dev->mlock); in ad7152_write_raw()
329 mutex_lock(&indio_dev->mlock); in ad7152_read_raw()
[all …]
Dad7746.c295 mutex_lock(&indio_dev->mlock); in ad7746_start_calib()
299 mutex_unlock(&indio_dev->mlock); in ad7746_start_calib()
307 mutex_unlock(&indio_dev->mlock); in ad7746_start_calib()
312 mutex_unlock(&indio_dev->mlock); in ad7746_start_calib()
390 mutex_lock(&indio_dev->mlock); in ad7746_store_cap_filter_rate_setup()
393 mutex_unlock(&indio_dev->mlock); in ad7746_store_cap_filter_rate_setup()
430 mutex_lock(&indio_dev->mlock); in ad7746_store_vt_filter_rate_setup()
433 mutex_unlock(&indio_dev->mlock); in ad7746_store_vt_filter_rate_setup()
477 mutex_lock(&indio_dev->mlock); in ad7746_write_raw()
555 mutex_unlock(&indio_dev->mlock); in ad7746_write_raw()
[all …]
/drivers/staging/iio/accel/
Dadis16240_core.c61 mutex_lock(&indio_dev->mlock); in adis16240_read_12bit_signed()
63 mutex_unlock(&indio_dev->mlock); in adis16240_read_12bit_signed()
125 mutex_lock(&indio_dev->mlock); in adis16240_read_raw()
129 mutex_unlock(&indio_dev->mlock); in adis16240_read_raw()
135 mutex_unlock(&indio_dev->mlock); in adis16240_read_raw()
139 mutex_lock(&indio_dev->mlock); in adis16240_read_raw()
143 mutex_unlock(&indio_dev->mlock); in adis16240_read_raw()
149 mutex_unlock(&indio_dev->mlock); in adis16240_read_raw()
Dadis16203_core.c86 mutex_lock(&indio_dev->mlock); in adis16203_read_raw()
90 mutex_unlock(&indio_dev->mlock); in adis16203_read_raw()
96 mutex_unlock(&indio_dev->mlock); in adis16203_read_raw()
Dadis16209_core.c117 mutex_lock(&indio_dev->mlock); in adis16209_read_raw()
121 mutex_unlock(&indio_dev->mlock); in adis16209_read_raw()
127 mutex_unlock(&indio_dev->mlock); in adis16209_read_raw()
Dadis16201_core.c88 mutex_lock(&indio_dev->mlock); in adis16201_read_raw()
92 mutex_unlock(&indio_dev->mlock); in adis16201_read_raw()
98 mutex_unlock(&indio_dev->mlock); in adis16201_read_raw()
/drivers/iio/dac/
Dad5592r-base.c171 mutex_lock(&iio_dev->mlock); in ad5592r_reset()
174 mutex_unlock(&iio_dev->mlock); in ad5592r_reset()
252 mutex_lock(&iio_dev->mlock); in ad5592r_set_channel_modes()
290 mutex_unlock(&iio_dev->mlock); in ad5592r_set_channel_modes()
319 mutex_lock(&iio_dev->mlock); in ad5592r_write_raw()
323 mutex_unlock(&iio_dev->mlock); in ad5592r_write_raw()
338 mutex_lock(&iio_dev->mlock); in ad5592r_write_raw()
343 mutex_unlock(&iio_dev->mlock); in ad5592r_write_raw()
365 mutex_unlock(&iio_dev->mlock); in ad5592r_write_raw()
387 mutex_lock(&iio_dev->mlock); in ad5592r_read_raw()
[all …]
Dad5421.c148 mutex_lock(&indio_dev->mlock); in ad5421_write()
150 mutex_unlock(&indio_dev->mlock); in ad5421_write()
170 mutex_lock(&indio_dev->mlock); in ad5421_read()
178 mutex_unlock(&indio_dev->mlock); in ad5421_read()
189 mutex_lock(&indio_dev->mlock); in ad5421_update_ctrl()
196 mutex_unlock(&indio_dev->mlock); in ad5421_update_ctrl()
404 mutex_lock(&indio_dev->mlock); in ad5421_write_event_config()
409 mutex_unlock(&indio_dev->mlock); in ad5421_write_event_config()
Dvf610_dac.c76 mutex_lock(&indio_dev->mlock); in vf610_set_conversion_mode()
84 mutex_unlock(&indio_dev->mlock); in vf610_set_conversion_mode()
159 mutex_lock(&indio_dev->mlock); in vf610_write_raw()
161 mutex_unlock(&indio_dev->mlock); in vf610_write_raw()
Dad5360.c210 mutex_lock(&indio_dev->mlock); in ad5360_write()
212 mutex_unlock(&indio_dev->mlock); in ad5360_write()
233 mutex_lock(&indio_dev->mlock); in ad5360_read()
244 mutex_unlock(&indio_dev->mlock); in ad5360_read()
265 mutex_lock(&indio_dev->mlock); in ad5360_update_ctrl()
273 mutex_unlock(&indio_dev->mlock); in ad5360_update_ctrl()
Dad7303.c83 mutex_lock(&indio_dev->mlock); in ad7303_write_dac_powerdown()
94 mutex_unlock(&indio_dev->mlock); in ad7303_write_dac_powerdown()
148 mutex_lock(&indio_dev->mlock); in ad7303_write_raw()
152 mutex_unlock(&indio_dev->mlock); in ad7303_write_raw()
Dad5755.c180 mutex_lock(&indio_dev->mlock); in ad5755_write()
182 mutex_unlock(&indio_dev->mlock); in ad5755_write()
192 mutex_lock(&indio_dev->mlock); in ad5755_write_ctrl()
194 mutex_unlock(&indio_dev->mlock); in ad5755_write_ctrl()
215 mutex_lock(&indio_dev->mlock); in ad5755_read()
224 mutex_unlock(&indio_dev->mlock); in ad5755_read()
250 mutex_lock(&indio_dev->mlock); in ad5755_set_channel_pwr_down()
270 mutex_unlock(&indio_dev->mlock); in ad5755_set_channel_pwr_down()
Dad5449.c91 mutex_lock(&indio_dev->mlock); in ad5449_write()
94 mutex_unlock(&indio_dev->mlock); in ad5449_write()
116 mutex_lock(&indio_dev->mlock); in ad5449_read()
127 mutex_unlock(&indio_dev->mlock); in ad5449_read()
Dad5764.c130 mutex_lock(&indio_dev->mlock); in ad5764_write()
134 mutex_unlock(&indio_dev->mlock); in ad5764_write()
155 mutex_lock(&indio_dev->mlock); in ad5764_read()
163 mutex_unlock(&indio_dev->mlock); in ad5764_read()
/drivers/staging/iio/impedance-analyzer/
Dad5933.c309 mutex_lock(&indio_dev->mlock); in ad5933_show_frequency()
311 mutex_unlock(&indio_dev->mlock); in ad5933_show_frequency()
341 mutex_lock(&indio_dev->mlock); in ad5933_store_frequency()
343 mutex_unlock(&indio_dev->mlock); in ad5933_store_frequency()
367 mutex_lock(&indio_dev->mlock); in ad5933_show()
396 mutex_unlock(&indio_dev->mlock); in ad5933_show()
418 mutex_lock(&indio_dev->mlock); in ad5933_store()
468 mutex_unlock(&indio_dev->mlock); in ad5933_store()
535 mutex_lock(&indio_dev->mlock); in ad5933_read_raw()
552 mutex_unlock(&indio_dev->mlock); in ad5933_read_raw()
[all …]
/drivers/iio/amplifiers/
Dad8366.c62 mutex_lock(&indio_dev->mlock); in ad8366_read_raw()
77 mutex_unlock(&indio_dev->mlock); in ad8366_read_raw()
103 mutex_lock(&indio_dev->mlock); in ad8366_write_raw()
112 mutex_unlock(&indio_dev->mlock); in ad8366_write_raw()
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_i2c.c34 mutex_lock(&indio_dev->mlock); in inv_mpu6050_select_bypass()
50 mutex_unlock(&indio_dev->mlock); in inv_mpu6050_select_bypass()
60 mutex_lock(&indio_dev->mlock); in inv_mpu6050_deselect_bypass()
67 mutex_unlock(&indio_dev->mlock); in inv_mpu6050_deselect_bypass()
Dinv_mpu_ring.c131 mutex_lock(&indio_dev->mlock); in inv_mpu6050_read_fifo()
181 mutex_unlock(&indio_dev->mlock); in inv_mpu6050_read_fifo()
189 mutex_unlock(&indio_dev->mlock); in inv_mpu6050_read_fifo()
/drivers/iio/imu/
Dadis16400_core.c338 mutex_lock(&indio_dev->mlock); in adis16400_write_raw()
341 mutex_unlock(&indio_dev->mlock); in adis16400_write_raw()
348 mutex_lock(&indio_dev->mlock); in adis16400_write_raw()
353 mutex_unlock(&indio_dev->mlock); in adis16400_write_raw()
359 mutex_unlock(&indio_dev->mlock); in adis16400_write_raw()
367 mutex_lock(&indio_dev->mlock); in adis16400_write_raw()
369 mutex_unlock(&indio_dev->mlock); in adis16400_write_raw()
423 mutex_lock(&indio_dev->mlock); in adis16400_read_raw()
426 mutex_unlock(&indio_dev->mlock); in adis16400_read_raw()
437 mutex_lock(&indio_dev->mlock); in adis16400_read_raw()
[all …]
/drivers/staging/iio/adc/
Dad7280a.c413 mutex_lock(&indio_dev->mlock); in ad7280_store_balance_sw()
421 mutex_unlock(&indio_dev->mlock); in ad7280_store_balance_sw()
436 mutex_lock(&indio_dev->mlock); in ad7280_show_balance_timer()
439 mutex_unlock(&indio_dev->mlock); in ad7280_show_balance_timer()
469 mutex_lock(&indio_dev->mlock); in ad7280_store_balance_timer()
473 mutex_unlock(&indio_dev->mlock); in ad7280_store_balance_timer()
658 mutex_lock(&indio_dev->mlock); in ad7280_write_channel_config()
677 mutex_unlock(&indio_dev->mlock); in ad7280_write_channel_config()
795 mutex_lock(&indio_dev->mlock); in ad7280_read_raw()
801 mutex_unlock(&indio_dev->mlock); in ad7280_read_raw()
/drivers/iio/frequency/
Dad9523.c513 mutex_lock(&indio_dev->mlock); in ad9523_store()
524 mutex_unlock(&indio_dev->mlock); in ad9523_store()
537 mutex_lock(&indio_dev->mlock); in ad9523_show()
543 mutex_unlock(&indio_dev->mlock); in ad9523_show()
626 mutex_lock(&indio_dev->mlock); in ad9523_read_raw()
628 mutex_unlock(&indio_dev->mlock); in ad9523_read_raw()
662 mutex_lock(&indio_dev->mlock); in ad9523_write_raw()
708 mutex_unlock(&indio_dev->mlock); in ad9523_write_raw()
718 mutex_lock(&indio_dev->mlock); in ad9523_reg_access()
731 mutex_unlock(&indio_dev->mlock); in ad9523_reg_access()
/drivers/iio/adc/
Dvf610_adc.c480 mutex_lock(&indio_dev->mlock); in vf610_set_conversion_mode()
484 mutex_unlock(&indio_dev->mlock); in vf610_set_conversion_mode()
648 mutex_lock(&indio_dev->mlock); in vf610_read_raw()
650 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
661 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
665 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
684 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
688 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
/drivers/lightnvm/
Dsysblk.c413 mutex_lock(&dev->mlock); in nvm_get_sysblock()
443 mutex_unlock(&dev->mlock); in nvm_get_sysblock()
473 mutex_lock(&dev->mlock); in nvm_update_sysblock()
542 mutex_unlock(&dev->mlock); in nvm_update_sysblock()
571 mutex_lock(&dev->mlock); in nvm_init_sysblock()
583 mutex_unlock(&dev->mlock); in nvm_init_sysblock()
733 mutex_lock(&dev->mlock); in nvm_dev_factory()
737 mutex_unlock(&dev->mlock); in nvm_dev_factory()
/drivers/staging/iio/gyro/
Dadis16060_core.c90 mutex_lock(&indio_dev->mlock); in adis16060_read_raw()
99 mutex_unlock(&indio_dev->mlock); in adis16060_read_raw()
115 mutex_unlock(&indio_dev->mlock); in adis16060_read_raw()
/drivers/iio/
Dindustrialio-buffer.c364 mutex_lock(&indio_dev->mlock); in iio_scan_el_store()
383 mutex_unlock(&indio_dev->mlock); in iio_scan_el_store()
410 mutex_lock(&indio_dev->mlock); in iio_scan_el_ts_store()
417 mutex_unlock(&indio_dev->mlock); in iio_scan_el_ts_store()
501 mutex_lock(&indio_dev->mlock); in iio_buffer_write_length()
513 mutex_unlock(&indio_dev->mlock); in iio_buffer_write_length()
932 mutex_lock(&indio_dev->mlock); in iio_update_buffers()
953 mutex_unlock(&indio_dev->mlock); in iio_update_buffers()
980 mutex_lock(&indio_dev->mlock); in iio_buffer_store_enable()
996 mutex_unlock(&indio_dev->mlock); in iio_buffer_store_enable()
[all …]

123