Home
last modified time | relevance | path

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

12

/drivers/gpu/host1x/hw/
Dopcodes.h138 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/
Dgpio-aggregator.c244 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/
Dvf610_adc.c470 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()
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.c97 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()
Dad799x.c354 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()
Dimx7d_adc.c296 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()
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()
Dsc27xx_adc.c667 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/
Dapple-pmgr-pwrstate.c120 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/
Dindustrialio-trigger.c123 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()
Dindustrialio-buffer.c519 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 …]
Dindustrialio-core.c288 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 …]
DTODO10 - Replace iio_dev->mlock by either a local lock or use
/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.c122 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()
Dtsc2007.h83 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()
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-prng.c120 mutex_lock(&ss->mlock); in sun8i_ss_prng_generate()
152 mutex_unlock(&ss->mlock); in sun8i_ss_prng_generate()
Dsun8i-ss.h162 struct mutex mlock; member
/drivers/media/platform/renesas/
Drenesas-ceu.c200 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/
Dpxa_camera.c682 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/
Dmax30100.c390 mutex_lock(&indio_dev->mlock); in max30100_read_raw()
401 mutex_unlock(&indio_dev->mlock); in max30100_read_raw()
Dmax30102.c480 mutex_lock(&indio_dev->mlock); in max30102_read_raw()
485 mutex_unlock(&indio_dev->mlock); in max30102_read_raw()

12