Home
last modified time | relevance | path

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

12

/drivers/iio/adc/
Dvf610_adc.c471 mutex_lock(&indio_dev->mlock); in vf610_set_conversion_mode()
475 mutex_unlock(&indio_dev->mlock); in vf610_set_conversion_mode()
639 mutex_lock(&indio_dev->mlock); in vf610_read_raw()
641 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
652 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
656 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
675 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
679 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
Dlpc32xx_adc.c67 mutex_lock(&indio_dev->mlock); in lpc32xx_read_raw()
70 mutex_unlock(&indio_dev->mlock); in lpc32xx_read_raw()
83 mutex_unlock(&indio_dev->mlock); in lpc32xx_read_raw()
Drockchip_saradc.c95 mutex_lock(&indio_dev->mlock); in rockchip_saradc_read_raw()
100 mutex_unlock(&indio_dev->mlock); in rockchip_saradc_read_raw()
105 mutex_unlock(&indio_dev->mlock); in rockchip_saradc_read_raw()
257 mutex_lock(&i_dev->mlock); in rockchip_saradc_trigger_handler()
274 mutex_unlock(&i_dev->mlock); in rockchip_saradc_trigger_handler()
Dspear_adc.c149 mutex_lock(&indio_dev->mlock); in spear_adc_read_raw()
162 mutex_unlock(&indio_dev->mlock); in spear_adc_read_raw()
190 mutex_lock(&indio_dev->mlock); in spear_adc_write_raw()
202 mutex_unlock(&indio_dev->mlock); in spear_adc_write_raw()
Dad799x.c356 mutex_lock(&indio_dev->mlock); in ad799x_write_frequency()
378 mutex_unlock(&indio_dev->mlock); in ad799x_write_frequency()
459 mutex_lock(&indio_dev->mlock); in ad799x_write_event_value()
463 mutex_unlock(&indio_dev->mlock); in ad799x_write_event_value()
478 mutex_lock(&indio_dev->mlock); in ad799x_read_event_value()
481 mutex_unlock(&indio_dev->mlock); in ad799x_read_event_value()
Dsc27xx_adc.c336 mutex_lock(&indio_dev->mlock); in sc27xx_adc_read_raw()
338 mutex_unlock(&indio_dev->mlock); in sc27xx_adc_read_raw()
347 mutex_lock(&indio_dev->mlock); in sc27xx_adc_read_raw()
350 mutex_unlock(&indio_dev->mlock); in sc27xx_adc_read_raw()
Dimx7d_adc.c295 mutex_lock(&indio_dev->mlock); in imx7d_adc_read_raw()
305 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw()
309 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw()
314 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw()
Dltc2497-core.c84 mutex_lock(&indio_dev->mlock); in ltc2497core_read_raw()
86 mutex_unlock(&indio_dev->mlock); in ltc2497core_read_raw()
Daxp288_adc.c164 mutex_lock(&indio_dev->mlock); in axp288_adc_read_raw()
181 mutex_unlock(&indio_dev->mlock); in axp288_adc_read_raw()
Dnpcm_adc.c138 mutex_lock(&indio_dev->mlock); in npcm_adc_read_raw()
140 mutex_unlock(&indio_dev->mlock); in npcm_adc_read_raw()
/drivers/gpio/
Dgpio-aggregator.c301 struct mutex mlock; /* protects tmp[] if can_sleep */ member
375 mutex_lock(&fwd->mlock); in gpio_fwd_get_multiple_locked()
377 mutex_unlock(&fwd->mlock); in gpio_fwd_get_multiple_locked()
426 mutex_lock(&fwd->mlock); in gpio_fwd_set_multiple_locked()
428 mutex_unlock(&fwd->mlock); in gpio_fwd_set_multiple_locked()
507 mutex_init(&fwd->mlock); in gpiochip_fwd_create()
/drivers/iio/
Dindustrialio-buffer.c388 mutex_lock(&indio_dev->mlock); in iio_scan_el_store()
407 mutex_unlock(&indio_dev->mlock); in iio_scan_el_store()
437 mutex_lock(&indio_dev->mlock); in iio_scan_el_ts_store()
444 mutex_unlock(&indio_dev->mlock); in iio_scan_el_ts_store()
528 mutex_lock(&indio_dev->mlock); in iio_buffer_write_length()
540 mutex_unlock(&indio_dev->mlock); in iio_buffer_write_length()
1123 mutex_lock(&indio_dev->mlock); in iio_update_buffers()
1144 mutex_unlock(&indio_dev->mlock); in iio_update_buffers()
1172 mutex_lock(&indio_dev->mlock); in iio_buffer_store_enable()
1186 mutex_unlock(&indio_dev->mlock); in iio_buffer_store_enable()
[all …]
Dindustrialio-trigger.c123 mutex_lock(&indio_dev->mlock); in iio_trigger_set_immutable()
128 mutex_unlock(&indio_dev->mlock); in iio_trigger_set_immutable()
408 mutex_lock(&indio_dev->mlock); in iio_trigger_write_current()
410 mutex_unlock(&indio_dev->mlock); in iio_trigger_write_current()
414 mutex_unlock(&indio_dev->mlock); in iio_trigger_write_current()
417 mutex_unlock(&indio_dev->mlock); in iio_trigger_write_current()
DTODO10 - Replace iio_dev->mlock by either a local lock or use
Dindustrialio-core.c221 ret = mutex_lock_interruptible(&indio_dev->mlock); in iio_device_set_clock()
226 mutex_unlock(&indio_dev->mlock); in iio_device_set_clock()
230 mutex_unlock(&indio_dev->mlock); in iio_device_set_clock()
1557 mutex_init(&dev->mlock); in iio_device_alloc()
1857 mutex_lock(&indio_dev->mlock); in iio_device_claim_direct_mode()
1860 mutex_unlock(&indio_dev->mlock); in iio_device_claim_direct_mode()
1878 mutex_unlock(&indio_dev->mlock); in iio_device_release_direct_mode()
/drivers/iio/common/st_sensors/
Dst_sensors_core.c561 mutex_lock(&indio_dev->mlock); in st_sensors_read_info_raw()
586 mutex_unlock(&indio_dev->mlock); in st_sensors_read_info_raw()
659 mutex_lock(&indio_dev->mlock); in st_sensors_sysfs_sampling_frequency_avail()
667 mutex_unlock(&indio_dev->mlock); in st_sensors_sysfs_sampling_frequency_avail()
681 mutex_lock(&indio_dev->mlock); in st_sensors_sysfs_scale_avail()
691 mutex_unlock(&indio_dev->mlock); in st_sensors_sysfs_scale_avail()
/drivers/lightnvm/
Dcore.c57 mutex_lock(&dev->mlock); in nvm_target_exists()
61 mutex_unlock(&dev->mlock); in nvm_target_exists()
65 mutex_unlock(&dev->mlock); in nvm_target_exists()
420 mutex_lock(&dev->mlock); in nvm_create_tgt()
422 mutex_unlock(&dev->mlock); in nvm_create_tgt()
483 mutex_lock(&dev->mlock); in nvm_remove_tgt()
486 mutex_unlock(&dev->mlock); in nvm_remove_tgt()
489 mutex_unlock(&dev->mlock); in nvm_remove_tgt()
1105 mutex_init(&dev->mlock); in nvm_core_init()
1213 mutex_lock(&dev->mlock); in nvm_unregister()
[all …]
/drivers/input/touchscreen/
Dtsc2007_iio.c52 mutex_lock(&tsc->mlock); in tsc2007_read_raw()
95 mutex_unlock(&tsc->mlock); in tsc2007_read_raw()
Dtsc2007_core.c121 mutex_lock(&ts->mlock); in tsc2007_soft_irq()
123 mutex_unlock(&ts->mlock); in tsc2007_soft_irq()
352 mutex_init(&ts->mlock); in tsc2007_probe()
Dtsc2007.h81 struct mutex mlock; member
/drivers/iio/gyro/
Ditg3200_core.c142 mutex_lock(&indio_dev->mlock); in itg3200_write_raw()
146 mutex_unlock(&indio_dev->mlock); in itg3200_write_raw()
155 mutex_unlock(&indio_dev->mlock); in itg3200_write_raw()
Dst_gyro_core.c401 mutex_lock(&indio_dev->mlock); in st_gyro_write_raw()
403 mutex_unlock(&indio_dev->mlock); in st_gyro_write_raw()
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-prng.c124 mutex_lock(&ss->mlock); in sun8i_ss_prng_generate()
156 mutex_unlock(&ss->mlock); in sun8i_ss_prng_generate()
/drivers/media/platform/
Dpxa_camera.c686 struct mutex mlock; member
1529 vq->lock = &pcdev->mlock; in pxa_camera_init_videobuf2()
1962 mutex_lock(&pcdev->mlock); in pxac_fops_camera_open()
1974 mutex_unlock(&pcdev->mlock); in pxac_fops_camera_open()
1984 mutex_lock(&pcdev->mlock); in pxac_fops_camera_release()
1993 mutex_unlock(&pcdev->mlock); in pxac_fops_camera_release()
2064 mutex_lock(&pcdev->mlock); in pxa_camera_sensor_bound()
2067 vdev->lock = &pcdev->mlock; in pxa_camera_sensor_bound()
2123 mutex_unlock(&pcdev->mlock); in pxa_camera_sensor_bound()
2133 mutex_lock(&pcdev->mlock); in pxa_camera_sensor_unbind()
[all …]
Drenesas-ceu.c200 struct mutex mlock; member
1100 mutex_lock(&ceudev->mlock); in ceu_open()
1103 mutex_unlock(&ceudev->mlock); in ceu_open()
1114 mutex_lock(&ceudev->mlock); in ceu_release()
1117 mutex_unlock(&ceudev->mlock); in ceu_release()
1414 q->lock = &ceudev->mlock; in ceu_notify_complete()
1443 vdev->lock = &ceudev->mlock; in ceu_notify_complete()
1652 mutex_init(&ceudev->mlock); in ceu_probe()

12