/drivers/staging/iio/meter/ |
D | ade7854-i2c.c | 26 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg_8() 32 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg_8() 45 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg_16() 52 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg_16() 65 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg_24() 73 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg_24() 86 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg_32() 95 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg_32() 108 mutex_lock(&st->buf_lock); in ade7854_i2c_read_reg_8() 122 mutex_unlock(&st->buf_lock); in ade7854_i2c_read_reg_8() [all …]
|
D | ade7854-spi.c | 31 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_8() 38 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_8() 56 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_16() 64 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_16() 82 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_24() 91 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_24() 109 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_32() 119 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_32() 143 mutex_lock(&st->buf_lock); in ade7854_spi_read_reg_8() 158 mutex_unlock(&st->buf_lock); in ade7854_spi_read_reg_8() [all …]
|
D | ade7758_core.c | 35 mutex_lock(&st->buf_lock); in ade7758_spi_write_reg_8() 40 mutex_unlock(&st->buf_lock); in ade7758_spi_write_reg_8() 60 mutex_lock(&st->buf_lock); in ade7758_spi_write_reg_16() 66 mutex_unlock(&st->buf_lock); in ade7758_spi_write_reg_16() 86 mutex_lock(&st->buf_lock); in ade7758_spi_write_reg_24() 93 mutex_unlock(&st->buf_lock); in ade7758_spi_write_reg_24() 120 mutex_lock(&st->buf_lock); in ade7758_spi_read_reg_8() 133 mutex_unlock(&st->buf_lock); in ade7758_spi_read_reg_8() 160 mutex_lock(&st->buf_lock); in ade7758_spi_read_reg_16() 175 mutex_unlock(&st->buf_lock); in ade7758_spi_read_reg_16() [all …]
|
D | ade7759.c | 34 mutex_lock(&st->buf_lock); in ade7759_spi_write_reg_8() 39 mutex_unlock(&st->buf_lock); in ade7759_spi_write_reg_8() 52 mutex_lock(&st->buf_lock); in ade7759_spi_write_reg_16() 57 mutex_unlock(&st->buf_lock); in ade7759_spi_write_reg_16() 117 mutex_lock(&st->buf_lock); in ade7759_spi_read_reg_40() 131 mutex_unlock(&st->buf_lock); in ade7759_spi_read_reg_40() 465 mutex_init(&st->buf_lock); in ade7759_probe()
|
D | ade7754.c | 34 mutex_lock(&st->buf_lock); in ade7754_spi_write_reg_8() 39 mutex_unlock(&st->buf_lock); in ade7754_spi_write_reg_8() 52 mutex_lock(&st->buf_lock); in ade7754_spi_write_reg_16() 57 mutex_unlock(&st->buf_lock); in ade7754_spi_write_reg_16() 117 mutex_lock(&st->buf_lock); in ade7754_spi_read_reg_24() 132 mutex_unlock(&st->buf_lock); in ade7754_spi_read_reg_24() 543 mutex_init(&st->buf_lock); in ade7754_probe()
|
D | ade7753.c | 34 mutex_lock(&st->buf_lock); in ade7753_spi_write_reg_8() 39 mutex_unlock(&st->buf_lock); in ade7753_spi_write_reg_8() 52 mutex_lock(&st->buf_lock); in ade7753_spi_write_reg_16() 57 mutex_unlock(&st->buf_lock); in ade7753_spi_write_reg_16() 120 mutex_lock(&st->buf_lock); in ade7753_spi_read_reg_24() 132 mutex_unlock(&st->buf_lock); in ade7753_spi_read_reg_24() 508 mutex_init(&st->buf_lock); in ade7753_probe()
|
D | ade7759.h | 48 struct mutex buf_lock; member
|
D | ade7753.h | 67 struct mutex buf_lock; member
|
D | ade7754.h | 85 struct mutex buf_lock; member
|
/drivers/iio/gyro/ |
D | adxrs450.c | 76 struct mutex buf_lock; member 109 mutex_lock(&st->buf_lock); in adxrs450_spi_read_reg_16() 126 mutex_unlock(&st->buf_lock); in adxrs450_spi_read_reg_16() 145 mutex_lock(&st->buf_lock); in adxrs450_spi_write_reg_16() 157 mutex_unlock(&st->buf_lock); in adxrs450_spi_write_reg_16() 183 mutex_lock(&st->buf_lock); in adxrs450_spi_sensor_data() 195 mutex_unlock(&st->buf_lock); in adxrs450_spi_sensor_data() 217 mutex_lock(&st->buf_lock); in adxrs450_spi_initial() 231 mutex_unlock(&st->buf_lock); in adxrs450_spi_initial() 425 mutex_init(&st->buf_lock); in adxrs450_probe()
|
D | adis16130.c | 42 struct mutex buf_lock; member 56 mutex_lock(&st->buf_lock); in adis16130_spi_read() 64 mutex_unlock(&st->buf_lock); in adis16130_spi_read() 156 mutex_init(&st->buf_lock); in adis16130_probe()
|
/drivers/iio/common/st_sensors/ |
D | st_sensors_spi.c | 47 mutex_lock(&tb->buf_lock); in st_sensors_spi_read() 58 mutex_unlock(&tb->buf_lock); in st_sensors_spi_read() 62 mutex_unlock(&tb->buf_lock); in st_sensors_spi_read() 90 mutex_lock(&tb->buf_lock); in st_sensors_spi_write_byte() 95 mutex_unlock(&tb->buf_lock); in st_sensors_spi_write_byte()
|
/drivers/staging/iio/gyro/ |
D | adis16060_core.c | 36 struct mutex buf_lock; member 48 mutex_lock(&st->buf_lock); in adis16060_spi_write() 51 mutex_unlock(&st->buf_lock); in adis16060_spi_write() 61 mutex_lock(&st->buf_lock); in adis16060_spi_read() 74 mutex_unlock(&st->buf_lock); in adis16060_spi_read() 167 mutex_init(&st->buf_lock); in adis16060_r_probe()
|
/drivers/iio/accel/ |
D | kxsd9.c | 54 struct mutex buf_lock; member 82 mutex_lock(&st->buf_lock); in kxsd9_write_scale() 91 mutex_unlock(&st->buf_lock); in kxsd9_write_scale() 112 mutex_lock(&st->buf_lock); in kxsd9_read() 117 mutex_unlock(&st->buf_lock); in kxsd9_read() 237 mutex_init(&st->buf_lock); in kxsd9_probe()
|
/drivers/input/serio/ |
D | userio.c | 44 spinlock_t buf_lock; member 60 spin_lock_irqsave(&userio->buf_lock, flags); in userio_device_write() 69 spin_unlock_irqrestore(&userio->buf_lock, flags); in userio_device_write() 85 spin_lock_init(&userio->buf_lock); in userio_char_open() 138 spin_lock_irqsave(&userio->buf_lock, flags); in userio_char_read() 150 spin_unlock_irqrestore(&userio->buf_lock, flags); in userio_char_read()
|
/drivers/tty/hvc/ |
D | hvc_vio.c | 75 spinlock_t buf_lock; member 94 spin_lock_irqsave(&pv->buf_lock, flags); in hvterm_raw_get_chars() 120 spin_unlock_irqrestore(&pv->buf_lock, flags); in hvterm_raw_get_chars() 359 spin_lock_init(&pv->buf_lock); in hvc_vio_probe() 441 spin_lock_init(&hvterm_priv0.buf_lock); in hvc_vio_init_early() 483 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar() 496 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar_hvsi()
|
/drivers/spi/ |
D | spidev.c | 82 struct mutex buf_lock; member 165 mutex_lock(&spidev->buf_lock); in spidev_read() 176 mutex_unlock(&spidev->buf_lock); in spidev_read() 196 mutex_lock(&spidev->buf_lock); in spidev_write() 202 mutex_unlock(&spidev->buf_lock); in spidev_write() 399 mutex_lock(&spidev->buf_lock); in spidev_ioctl() 509 mutex_unlock(&spidev->buf_lock); in spidev_ioctl() 542 mutex_lock(&spidev->buf_lock); in spidev_compat_ioc_message() 564 mutex_unlock(&spidev->buf_lock); in spidev_compat_ioc_message() 731 mutex_init(&spidev->buf_lock); in spidev_probe()
|
D | spi-dw.c | 186 spin_lock(&dws->buf_lock); in dw_writer() 199 spin_unlock(&dws->buf_lock); in dw_writer() 207 spin_lock(&dws->buf_lock); in dw_reader() 220 spin_unlock(&dws->buf_lock); in dw_reader() 301 spin_lock_irqsave(&dws->buf_lock, flags); in dw_spi_transfer_one() 307 spin_unlock_irqrestore(&dws->buf_lock, flags); in dw_spi_transfer_one() 499 spin_lock_init(&dws->buf_lock); in dw_spi_add_host()
|
/drivers/staging/iio/accel/ |
D | lis3l02dq_core.c | 64 mutex_lock(&st->buf_lock); in lis3l02dq_spi_read_reg_8() 70 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_read_reg_8() 88 mutex_lock(&st->buf_lock); in lis3l02dq_spi_write_reg_8() 92 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_write_reg_8() 122 mutex_lock(&st->buf_lock); in lis3l02dq_spi_write_reg_s16() 129 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_write_reg_s16() 155 mutex_lock(&st->buf_lock); in lis3l02dq_read_reg_s16() 170 mutex_unlock(&st->buf_lock); in lis3l02dq_read_reg_s16() 706 mutex_init(&st->buf_lock); in lis3l02dq_probe()
|
D | adis16220_core.c | 139 mutex_lock(&st->buf_lock); in adis16220_capture_buffer_read() 149 mutex_unlock(&st->buf_lock); in adis16220_capture_buffer_read() 155 mutex_unlock(&st->buf_lock); in adis16220_capture_buffer_read()
|
D | adis16220.h | 135 struct mutex buf_lock; member
|
D | lis3l02dq_ring.c | 70 mutex_lock(&st->buf_lock); in lis3l02dq_read_all() 106 mutex_unlock(&st->buf_lock); in lis3l02dq_read_all()
|
D | lis3l02dq.h | 160 struct mutex buf_lock; member
|
/drivers/gpu/drm/ |
D | drm_bufs.c | 657 spin_lock(&dev->buf_lock); in drm_legacy_addbufs_agp() 659 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_agp() 663 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_agp() 807 spin_lock(&dev->buf_lock); in drm_legacy_addbufs_pci() 809 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_pci() 813 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_pci() 1018 spin_lock(&dev->buf_lock); in drm_legacy_addbufs_sg() 1020 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_sg() 1024 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_sg() 1199 spin_lock(&dev->buf_lock); in drm_legacy_infobufs() [all …]
|
/drivers/media/usb/stk1160/ |
D | stk1160-v4l.c | 702 spin_lock_irqsave(&dev->buf_lock, flags); in buffer_queue() 726 spin_unlock_irqrestore(&dev->buf_lock, flags); in buffer_queue() 768 spin_lock_irqsave(&dev->buf_lock, flags); in stk1160_clear_queue() 787 spin_unlock_irqrestore(&dev->buf_lock, flags); in stk1160_clear_queue()
|