Home
last modified time | relevance | path

Searched refs:buf_lock (Results 1 – 25 of 49) sorted by relevance

12

/drivers/staging/iio/meter/
Dade7854-i2c.c26 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 …]
Dade7854-spi.c32 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 …]
Dade7758_core.c35 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 …]
Dade7759.c34 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()
Dade7753.c34 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()
Dade7754.c34 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/
Dadis16080_core.c40 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()
Dadxrs450_core.c40 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()
Dadis16060_core.c36 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()
Dadis16130_core.c48 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()
Dadis16260_core.c44 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/
Dadis16220_core.c38 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()
Dkxsd9.c54 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()
Dadis16203_core.c39 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()
Dadis16201_core.c47 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()
Dadis16209_core.c40 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()
Dlis3l02dq_core.c64 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()
Dadis16240_core.c45 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()
Dadis16204_core.c42 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()
Dadis16209_ring.c27 mutex_lock(&st->buf_lock); in adis16209_read_ring_data()
50 mutex_unlock(&st->buf_lock); in adis16209_read_ring_data()
Dadis16204_ring.c27 mutex_lock(&st->buf_lock); in adis16204_read_ring_data()
50 mutex_unlock(&st->buf_lock); in adis16204_read_ring_data()
Dadis16201_ring.c27 mutex_lock(&st->buf_lock); in adis16201_read_ring_data()
52 mutex_unlock(&st->buf_lock); in adis16201_read_ring_data()
Dadis16240_ring.c27 mutex_lock(&st->buf_lock); in adis16240_read_ring_data()
50 mutex_unlock(&st->buf_lock); in adis16240_read_ring_data()
/drivers/tty/hvc/
Dhvc_vio.c74 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/
Dspidev.c83 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()

12