/drivers/gpu/host1x/hw/ |
D | opcodes.h | 138 static inline u32 host1x_opcode_acquire_mlock(unsigned mlock) in host1x_opcode_acquire_mlock() argument 140 return (14 << 28) | (0 << 24) | mlock; in host1x_opcode_acquire_mlock() 143 static inline u32 host1x_opcode_release_mlock(unsigned mlock) in host1x_opcode_release_mlock() argument 145 return (14 << 28) | (1 << 24) | mlock; in host1x_opcode_release_mlock()
|
/drivers/gpio/ |
D | gpio-aggregator.c | 244 struct mutex mlock; /* protects tmp[] if can_sleep */ member 319 mutex_lock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 321 mutex_unlock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 366 mutex_lock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 368 mutex_unlock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 456 mutex_init(&fwd->mlock); in gpiochip_fwd_create()
|
/drivers/iio/adc/ |
D | vf610_adc.c | 470 mutex_lock(&indio_dev->mlock); in vf610_set_conversion_mode() 474 mutex_unlock(&indio_dev->mlock); in vf610_set_conversion_mode() 638 mutex_lock(&indio_dev->mlock); in vf610_read_raw() 640 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 651 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 655 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 674 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 678 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 | 97 mutex_lock(&indio_dev->mlock); in rockchip_saradc_read_raw() 102 mutex_unlock(&indio_dev->mlock); in rockchip_saradc_read_raw() 107 mutex_unlock(&indio_dev->mlock); in rockchip_saradc_read_raw() 273 mutex_lock(&i_dev->mlock); in rockchip_saradc_trigger_handler() 290 mutex_unlock(&i_dev->mlock); in rockchip_saradc_trigger_handler()
|
D | ad799x.c | 354 mutex_lock(&indio_dev->mlock); in ad799x_write_frequency() 376 mutex_unlock(&indio_dev->mlock); in ad799x_write_frequency() 457 mutex_lock(&indio_dev->mlock); in ad799x_write_event_value() 461 mutex_unlock(&indio_dev->mlock); in ad799x_write_event_value() 476 mutex_lock(&indio_dev->mlock); in ad799x_read_event_value() 479 mutex_unlock(&indio_dev->mlock); in ad799x_read_event_value()
|
D | imx7d_adc.c | 296 mutex_lock(&indio_dev->mlock); in imx7d_adc_read_raw() 306 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw() 310 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw() 315 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 | sc27xx_adc.c | 667 mutex_lock(&indio_dev->mlock); in sc27xx_adc_read_raw() 669 mutex_unlock(&indio_dev->mlock); in sc27xx_adc_read_raw() 678 mutex_lock(&indio_dev->mlock); in sc27xx_adc_read_raw() 681 mutex_unlock(&indio_dev->mlock); in sc27xx_adc_read_raw()
|
/drivers/soc/apple/ |
D | apple-pmgr-pwrstate.c | 120 mutex_lock(&ps->genpd.mlock); in apple_pmgr_reset_assert() 132 mutex_unlock(&ps->genpd.mlock); in apple_pmgr_reset_assert() 141 mutex_lock(&ps->genpd.mlock); in apple_pmgr_reset_deassert() 150 mutex_unlock(&ps->genpd.mlock); in apple_pmgr_reset_deassert()
|
/drivers/iio/ |
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() 441 mutex_lock(&indio_dev->mlock); in current_trigger_store() 443 mutex_unlock(&indio_dev->mlock); in current_trigger_store() 447 mutex_unlock(&indio_dev->mlock); in current_trigger_store() 450 mutex_unlock(&indio_dev->mlock); in current_trigger_store()
|
D | industrialio-buffer.c | 519 mutex_lock(&indio_dev->mlock); in iio_scan_el_store() 538 mutex_unlock(&indio_dev->mlock); in iio_scan_el_store() 567 mutex_lock(&indio_dev->mlock); in iio_scan_el_ts_store() 574 mutex_unlock(&indio_dev->mlock); in iio_scan_el_ts_store() 659 mutex_lock(&indio_dev->mlock); in length_store() 671 mutex_unlock(&indio_dev->mlock); in length_store() 1262 mutex_lock(&indio_dev->mlock); in iio_update_buffers() 1283 mutex_unlock(&indio_dev->mlock); in iio_update_buffers() 1309 mutex_lock(&indio_dev->mlock); in enable_store() 1323 mutex_unlock(&indio_dev->mlock); in enable_store() [all …]
|
D | industrialio-core.c | 288 ret = mutex_lock_interruptible(&indio_dev->mlock); in iio_device_set_clock() 293 mutex_unlock(&indio_dev->mlock); in iio_device_set_clock() 297 mutex_unlock(&indio_dev->mlock); in iio_device_set_clock() 1680 mutex_init(&indio_dev->mlock); in iio_device_alloc() 1702 lockdep_set_class(&indio_dev->mlock, &iio_dev_opaque->mlock_key); in iio_device_alloc() 2065 mutex_lock(&indio_dev->mlock); in iio_device_claim_direct_mode() 2068 mutex_unlock(&indio_dev->mlock); in iio_device_claim_direct_mode() 2086 mutex_unlock(&indio_dev->mlock); in iio_device_release_direct_mode() 2103 mutex_lock(&indio_dev->mlock); in iio_device_claim_buffer_mode() 2108 mutex_unlock(&indio_dev->mlock); in iio_device_claim_buffer_mode() [all …]
|
D | TODO | 10 - Replace iio_dev->mlock by either a local lock or use
|
/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 | 122 mutex_lock(&ts->mlock); in tsc2007_soft_irq() 124 mutex_unlock(&ts->mlock); in tsc2007_soft_irq() 340 mutex_init(&ts->mlock); in tsc2007_probe()
|
D | tsc2007.h | 83 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()
|
/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-prng.c | 120 mutex_lock(&ss->mlock); in sun8i_ss_prng_generate() 152 mutex_unlock(&ss->mlock); in sun8i_ss_prng_generate()
|
D | sun8i-ss.h | 162 struct mutex mlock; member
|
/drivers/media/platform/renesas/ |
D | renesas-ceu.c | 200 struct mutex mlock; member 1103 mutex_lock(&ceudev->mlock); in ceu_open() 1106 mutex_unlock(&ceudev->mlock); in ceu_open() 1117 mutex_lock(&ceudev->mlock); in ceu_release() 1120 mutex_unlock(&ceudev->mlock); in ceu_release() 1417 q->lock = &ceudev->mlock; in ceu_notify_complete() 1446 vdev->lock = &ceudev->mlock; in ceu_notify_complete() 1644 mutex_init(&ceudev->mlock); in ceu_probe()
|
/drivers/media/platform/intel/ |
D | pxa_camera.c | 682 struct mutex mlock; member 1525 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() 2061 mutex_lock(&pcdev->mlock); in pxa_camera_sensor_bound() 2064 vdev->lock = &pcdev->mlock; in pxa_camera_sensor_bound() 2120 mutex_unlock(&pcdev->mlock); in pxa_camera_sensor_bound() 2130 mutex_lock(&pcdev->mlock); in pxa_camera_sensor_unbind() [all …]
|
/drivers/iio/health/ |
D | max30100.c | 390 mutex_lock(&indio_dev->mlock); in max30100_read_raw() 401 mutex_unlock(&indio_dev->mlock); in max30100_read_raw()
|
D | max30102.c | 480 mutex_lock(&indio_dev->mlock); in max30102_read_raw() 485 mutex_unlock(&indio_dev->mlock); in max30102_read_raw()
|