/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 | 32 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_8() 41 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_8() 60 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_16() 70 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_16() 89 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_24() 100 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_24() 119 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_32() 131 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_32() 156 mutex_lock(&st->buf_lock); in ade7854_spi_read_reg_8() 174 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() 61 mutex_lock(&st->buf_lock); in ade7758_spi_write_reg_16() 69 mutex_unlock(&st->buf_lock); in ade7758_spi_write_reg_16() 90 mutex_lock(&st->buf_lock); in ade7758_spi_write_reg_24() 99 mutex_unlock(&st->buf_lock); in ade7758_spi_write_reg_24() 127 mutex_lock(&st->buf_lock); in ade7758_spi_read_reg_8() 143 mutex_unlock(&st->buf_lock); in ade7758_spi_read_reg_8() 171 mutex_lock(&st->buf_lock); in ade7758_spi_read_reg_16() 189 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() 119 mutex_lock(&st->buf_lock); in ade7759_spi_read_reg_40() 135 mutex_unlock(&st->buf_lock); in ade7759_spi_read_reg_40() 476 mutex_init(&st->buf_lock); in ade7759_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() 122 mutex_lock(&st->buf_lock); in ade7753_spi_read_reg_24() 137 mutex_unlock(&st->buf_lock); in ade7753_spi_read_reg_24() 530 mutex_init(&st->buf_lock); in ade7753_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() 119 mutex_lock(&st->buf_lock); in ade7754_spi_read_reg_24() 136 mutex_unlock(&st->buf_lock); in ade7754_spi_read_reg_24() 553 mutex_init(&st->buf_lock); in ade7754_probe()
|
/drivers/staging/iio/gyro/ |
D | adis16080_core.c | 40 struct mutex buf_lock; member 51 mutex_lock(&st->buf_lock); in adis16080_spi_write() 56 mutex_unlock(&st->buf_lock); in adis16080_spi_write() 67 mutex_lock(&st->buf_lock); in adis16080_spi_read() 73 mutex_unlock(&st->buf_lock); in adis16080_spi_read() 155 mutex_init(&st->buf_lock); in adis16080_probe()
|
D | adxrs450_core.c | 40 mutex_lock(&st->buf_lock); in adxrs450_spi_read_reg_16() 65 mutex_unlock(&st->buf_lock); in adxrs450_spi_read_reg_16() 83 mutex_lock(&st->buf_lock); in adxrs450_spi_write_reg_16() 97 mutex_unlock(&st->buf_lock); in adxrs450_spi_write_reg_16() 111 mutex_lock(&st->buf_lock); in adxrs450_spi_sensor_data() 132 mutex_unlock(&st->buf_lock); in adxrs450_spi_sensor_data() 153 mutex_lock(&st->buf_lock); in adxrs450_spi_initial() 171 mutex_unlock(&st->buf_lock); in adxrs450_spi_initial() 378 mutex_init(&st->buf_lock); in adxrs450_probe()
|
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() 160 mutex_init(&st->buf_lock); in adis16060_r_probe()
|
D | adis16130_core.c | 48 struct mutex buf_lock; member 63 mutex_lock(&st->buf_lock); in adis16130_spi_read() 75 mutex_unlock(&st->buf_lock); in adis16130_spi_read() 133 mutex_init(&st->buf_lock); in adis16130_probe()
|
D | adis16260_core.c | 44 mutex_lock(&st->buf_lock); in adis16260_spi_write_reg_8() 49 mutex_unlock(&st->buf_lock); in adis16260_spi_write_reg_8() 83 mutex_lock(&st->buf_lock); in adis16260_spi_write_reg_16() 93 mutex_unlock(&st->buf_lock); in adis16260_spi_write_reg_16() 127 mutex_lock(&st->buf_lock); in adis16260_spi_read_reg_16() 144 mutex_unlock(&st->buf_lock); in adis16260_spi_read_reg_16() 596 mutex_init(&st->buf_lock); in adis16260_probe()
|
/drivers/staging/iio/accel/ |
D | adis16220_core.c | 38 mutex_lock(&st->buf_lock); in adis16220_spi_write_reg_8() 43 mutex_unlock(&st->buf_lock); in adis16220_spi_write_reg_8() 77 mutex_lock(&st->buf_lock); in adis16220_spi_write_reg_16() 87 mutex_unlock(&st->buf_lock); in adis16220_spi_write_reg_16() 122 mutex_lock(&st->buf_lock); in adis16220_spi_read_reg_16() 139 mutex_unlock(&st->buf_lock); in adis16220_spi_read_reg_16() 365 mutex_lock(&st->buf_lock); in adis16220_capture_buffer_read() 379 mutex_unlock(&st->buf_lock); in adis16220_capture_buffer_read() 385 mutex_unlock(&st->buf_lock); in adis16220_capture_buffer_read() 643 mutex_init(&st->buf_lock); in adis16220_probe()
|
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() 113 mutex_lock(&st->buf_lock); in kxsd9_read() 238 mutex_init(&st->buf_lock); in kxsd9_probe()
|
D | adis16203_core.c | 39 mutex_lock(&st->buf_lock); in adis16203_spi_write_reg_8() 44 mutex_unlock(&st->buf_lock); in adis16203_spi_write_reg_8() 76 mutex_lock(&st->buf_lock); in adis16203_spi_write_reg_16() 86 mutex_unlock(&st->buf_lock); in adis16203_spi_write_reg_16() 120 mutex_lock(&st->buf_lock); in adis16203_spi_read_reg_16() 136 mutex_unlock(&st->buf_lock); in adis16203_spi_read_reg_16() 435 mutex_init(&st->buf_lock); in adis16203_probe()
|
D | adis16201_core.c | 47 mutex_lock(&st->buf_lock); in adis16201_spi_write_reg_8() 52 mutex_unlock(&st->buf_lock); in adis16201_spi_write_reg_8() 84 mutex_lock(&st->buf_lock); in adis16201_spi_write_reg_16() 94 mutex_unlock(&st->buf_lock); in adis16201_spi_write_reg_16() 128 mutex_lock(&st->buf_lock); in adis16201_spi_read_reg_16() 144 mutex_unlock(&st->buf_lock); in adis16201_spi_read_reg_16() 480 mutex_init(&st->buf_lock); in adis16201_probe()
|
D | adis16209_core.c | 40 mutex_lock(&st->buf_lock); in adis16209_spi_write_reg_8() 45 mutex_unlock(&st->buf_lock); in adis16209_spi_write_reg_8() 79 mutex_lock(&st->buf_lock); in adis16209_spi_write_reg_16() 89 mutex_unlock(&st->buf_lock); in adis16209_spi_write_reg_16() 123 mutex_lock(&st->buf_lock); in adis16209_spi_read_reg_16() 140 mutex_unlock(&st->buf_lock); in adis16209_spi_read_reg_16() 483 mutex_init(&st->buf_lock); in adis16209_probe()
|
D | lis3l02dq_core.c | 64 mutex_lock(&st->buf_lock); in lis3l02dq_spi_read_reg_8() 72 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_read_reg_8() 90 mutex_lock(&st->buf_lock); in lis3l02dq_spi_write_reg_8() 94 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_write_reg_8() 125 mutex_lock(&st->buf_lock); in lis3l02dq_spi_write_reg_s16() 135 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_write_reg_s16() 163 mutex_lock(&st->buf_lock); in lis3l02dq_read_reg_s16() 181 mutex_unlock(&st->buf_lock); in lis3l02dq_read_reg_s16() 679 mutex_init(&st->buf_lock); in lis3l02dq_probe()
|
D | adis16240_core.c | 45 mutex_lock(&st->buf_lock); in adis16240_spi_write_reg_8() 50 mutex_unlock(&st->buf_lock); in adis16240_spi_write_reg_8() 84 mutex_lock(&st->buf_lock); in adis16240_spi_write_reg_16() 94 mutex_unlock(&st->buf_lock); in adis16240_spi_write_reg_16() 129 mutex_lock(&st->buf_lock); in adis16240_spi_read_reg_16() 148 mutex_unlock(&st->buf_lock); in adis16240_spi_read_reg_16() 536 mutex_init(&st->buf_lock); in adis16240_probe()
|
D | adis16204_core.c | 42 mutex_lock(&st->buf_lock); in adis16204_spi_write_reg_8() 47 mutex_unlock(&st->buf_lock); in adis16204_spi_write_reg_8() 80 mutex_lock(&st->buf_lock); in adis16204_spi_write_reg_16() 90 mutex_unlock(&st->buf_lock); in adis16204_spi_write_reg_16() 124 mutex_lock(&st->buf_lock); in adis16204_spi_read_reg_16() 140 mutex_unlock(&st->buf_lock); in adis16204_spi_read_reg_16() 510 mutex_init(&st->buf_lock); in adis16204_probe()
|
D | adis16209_ring.c | 27 mutex_lock(&st->buf_lock); in adis16209_read_ring_data() 50 mutex_unlock(&st->buf_lock); in adis16209_read_ring_data()
|
D | adis16204_ring.c | 27 mutex_lock(&st->buf_lock); in adis16204_read_ring_data() 50 mutex_unlock(&st->buf_lock); in adis16204_read_ring_data()
|
D | adis16201_ring.c | 27 mutex_lock(&st->buf_lock); in adis16201_read_ring_data() 52 mutex_unlock(&st->buf_lock); in adis16201_read_ring_data()
|
D | adis16240_ring.c | 27 mutex_lock(&st->buf_lock); in adis16240_read_ring_data() 50 mutex_unlock(&st->buf_lock); in adis16240_read_ring_data()
|
/drivers/tty/hvc/ |
D | hvc_vio.c | 74 spinlock_t buf_lock; member 93 spin_lock_irqsave(&pv->buf_lock, flags); in hvterm_raw_get_chars() 119 spin_unlock_irqrestore(&pv->buf_lock, flags); in hvterm_raw_get_chars() 281 spin_lock_init(&pv->buf_lock); in hvc_vio_probe() 416 spin_lock_init(&hvterm_priv0.buf_lock); in hvc_vio_init_early() 458 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar() 471 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar_hvsi()
|
/drivers/spi/ |
D | spidev.c | 83 struct mutex buf_lock; member 174 mutex_lock(&spidev->buf_lock); in spidev_read() 185 mutex_unlock(&spidev->buf_lock); in spidev_read() 205 mutex_lock(&spidev->buf_lock); in spidev_write() 211 mutex_unlock(&spidev->buf_lock); in spidev_write() 352 mutex_lock(&spidev->buf_lock); in spidev_ioctl() 470 mutex_unlock(&spidev->buf_lock); in spidev_ioctl() 588 mutex_init(&spidev->buf_lock); in spidev_probe()
|