/drivers/iio/adc/ |
D | vf610_adc.c | 471 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()
|
D | lpc32xx_adc.c | 67 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()
|
D | rockchip_saradc.c | 95 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()
|
D | spear_adc.c | 149 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()
|
D | ad799x.c | 356 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()
|
D | sc27xx_adc.c | 336 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()
|
D | imx7d_adc.c | 295 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()
|
D | ltc2497-core.c | 84 mutex_lock(&indio_dev->mlock); in ltc2497core_read_raw() 86 mutex_unlock(&indio_dev->mlock); in ltc2497core_read_raw()
|
D | axp288_adc.c | 164 mutex_lock(&indio_dev->mlock); in axp288_adc_read_raw() 181 mutex_unlock(&indio_dev->mlock); in axp288_adc_read_raw()
|
D | npcm_adc.c | 138 mutex_lock(&indio_dev->mlock); in npcm_adc_read_raw() 140 mutex_unlock(&indio_dev->mlock); in npcm_adc_read_raw()
|
/drivers/gpio/ |
D | gpio-aggregator.c | 301 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/ |
D | industrialio-buffer.c | 388 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 …]
|
D | industrialio-trigger.c | 123 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()
|
D | TODO | 10 - Replace iio_dev->mlock by either a local lock or use
|
D | industrialio-core.c | 221 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/ |
D | st_sensors_core.c | 561 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/ |
D | core.c | 57 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/ |
D | tsc2007_iio.c | 52 mutex_lock(&tsc->mlock); in tsc2007_read_raw() 95 mutex_unlock(&tsc->mlock); in tsc2007_read_raw()
|
D | tsc2007_core.c | 121 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()
|
D | tsc2007.h | 81 struct mutex mlock; member
|
/drivers/iio/gyro/ |
D | itg3200_core.c | 142 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()
|
D | st_gyro_core.c | 401 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/ |
D | sun8i-ss-prng.c | 124 mutex_lock(&ss->mlock); in sun8i_ss_prng_generate() 156 mutex_unlock(&ss->mlock); in sun8i_ss_prng_generate()
|
/drivers/media/platform/ |
D | pxa_camera.c | 686 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 …]
|
D | renesas-ceu.c | 200 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()
|