Home
last modified time | relevance | path

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

123

/linux-2.6.39/drivers/staging/iio/meter/
Dade7854-i2c.c25 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg_8()
31 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg_8()
44 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg_16()
51 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg_16()
64 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg_24()
72 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg_24()
85 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg_32()
94 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg_32()
107 mutex_lock(&st->buf_lock); in ade7854_i2c_read_reg_8()
121 mutex_unlock(&st->buf_lock); in ade7854_i2c_read_reg_8()
[all …]
Dade7854-spi.c31 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_8()
40 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_8()
59 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_16()
69 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_16()
88 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_24()
99 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_24()
118 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg_32()
130 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg_32()
155 mutex_lock(&st->buf_lock); in ade7854_spi_read_reg_8()
173 mutex_unlock(&st->buf_lock); in ade7854_spi_read_reg_8()
[all …]
Dade7758_core.c34 mutex_lock(&st->buf_lock); in ade7758_spi_write_reg_8()
39 mutex_unlock(&st->buf_lock); in ade7758_spi_write_reg_8()
60 mutex_lock(&st->buf_lock); in ade7758_spi_write_reg_16()
68 mutex_unlock(&st->buf_lock); in ade7758_spi_write_reg_16()
89 mutex_lock(&st->buf_lock); in ade7758_spi_write_reg_24()
98 mutex_unlock(&st->buf_lock); in ade7758_spi_write_reg_24()
120 mutex_lock(&st->buf_lock); in ade7758_spi_read_reg_8()
135 mutex_unlock(&st->buf_lock); in ade7758_spi_read_reg_8()
156 mutex_lock(&st->buf_lock); in ade7758_spi_read_reg_16()
172 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()
479 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()
533 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()
558 mutex_init(&st->buf_lock); in ade7754_probe()
Dade7759.h54 struct mutex buf_lock; member
Dade7758_ring.c95 mutex_lock(&st->buf_lock); in ade7758_spi_read_burst()
112 mutex_unlock(&st->buf_lock); in ade7758_spi_read_burst()
Dade7753.h73 struct mutex buf_lock; member
/linux-2.6.39/drivers/staging/iio/gyro/
Dadis16080_core.c44 struct mutex buf_lock; member
56 mutex_lock(&st->buf_lock); in adis16080_spi_write()
61 mutex_unlock(&st->buf_lock); in adis16080_spi_write()
73 mutex_lock(&st->buf_lock); in adis16080_spi_read()
79 mutex_unlock(&st->buf_lock); in adis16080_spi_read()
141 mutex_init(&st->buf_lock); in adis16080_probe()
Dadis16060_core.c40 struct mutex buf_lock; member
54 mutex_lock(&st->buf_lock); in adis16060_spi_write()
57 mutex_unlock(&st->buf_lock); in adis16060_spi_write()
69 mutex_lock(&st->buf_lock); in adis16060_spi_read()
82 mutex_unlock(&st->buf_lock); in adis16060_spi_read()
148 mutex_init(&st->buf_lock); in adis16060_r_probe()
Dadis16130_core.c53 struct mutex buf_lock; member
64 mutex_lock(&st->buf_lock); in adis16130_spi_write()
69 mutex_unlock(&st->buf_lock); in adis16130_spi_write()
81 mutex_lock(&st->buf_lock); in adis16130_spi_read()
98 mutex_unlock(&st->buf_lock); in adis16130_spi_read()
192 mutex_init(&st->buf_lock); in adis16130_probe()
Dadis16260_core.c47 mutex_lock(&st->buf_lock); in adis16260_spi_write_reg_8()
52 mutex_unlock(&st->buf_lock); in adis16260_spi_write_reg_8()
88 mutex_lock(&st->buf_lock); in adis16260_spi_write_reg_16()
98 mutex_unlock(&st->buf_lock); in adis16260_spi_write_reg_16()
134 mutex_lock(&st->buf_lock); in adis16260_spi_read_reg_16()
151 mutex_unlock(&st->buf_lock); in adis16260_spi_read_reg_16()
597 mutex_init(&st->buf_lock); in adis16260_probe()
/linux-2.6.39/drivers/staging/iio/accel/
Dkxsd9.c65 struct mutex buf_lock; member
90 mutex_lock(&st->buf_lock); in kxsd9_read_scale()
115 mutex_unlock(&st->buf_lock); in kxsd9_read_scale()
164 mutex_lock(&st->buf_lock); in kxsd9_write_scale()
179 mutex_unlock(&st->buf_lock); in kxsd9_write_scale()
209 mutex_lock(&st->buf_lock); in kxsd9_read_accel()
220 mutex_unlock(&st->buf_lock); in kxsd9_read_accel()
331 mutex_init(&st->buf_lock); in kxsd9_probe()
Dadis16220_core.c44 mutex_lock(&st->buf_lock); in adis16220_spi_write_reg_8()
49 mutex_unlock(&st->buf_lock); in adis16220_spi_write_reg_8()
85 mutex_lock(&st->buf_lock); in adis16220_spi_write_reg_16()
95 mutex_unlock(&st->buf_lock); in adis16220_spi_write_reg_16()
131 mutex_lock(&st->buf_lock); in adis16220_spi_read_reg_16()
148 mutex_unlock(&st->buf_lock); in adis16220_spi_read_reg_16()
393 mutex_lock(&st->buf_lock); in adis16220_capture_buffer_read()
407 mutex_unlock(&st->buf_lock); in adis16220_capture_buffer_read()
413 mutex_unlock(&st->buf_lock); in adis16220_capture_buffer_read()
573 mutex_init(&st->buf_lock); in adis16220_probe()
Dadis16203_core.c48 mutex_lock(&st->buf_lock); in adis16203_spi_write_reg_8()
53 mutex_unlock(&st->buf_lock); in adis16203_spi_write_reg_8()
87 mutex_lock(&st->buf_lock); in adis16203_spi_write_reg_16()
97 mutex_unlock(&st->buf_lock); in adis16203_spi_write_reg_16()
133 mutex_lock(&st->buf_lock); in adis16203_spi_read_reg_16()
149 mutex_unlock(&st->buf_lock); in adis16203_spi_read_reg_16()
449 mutex_init(&st->buf_lock); in adis16203_probe()
Dadis16204_core.c47 mutex_lock(&st->buf_lock); in adis16204_spi_write_reg_8()
52 mutex_unlock(&st->buf_lock); in adis16204_spi_write_reg_8()
86 mutex_lock(&st->buf_lock); in adis16204_spi_write_reg_16()
96 mutex_unlock(&st->buf_lock); in adis16204_spi_write_reg_16()
132 mutex_lock(&st->buf_lock); in adis16204_spi_read_reg_16()
148 mutex_unlock(&st->buf_lock); in adis16204_spi_read_reg_16()
494 mutex_init(&st->buf_lock); in adis16204_probe()
Dadis16209_core.c49 mutex_lock(&st->buf_lock); in adis16209_spi_write_reg_8()
54 mutex_unlock(&st->buf_lock); in adis16209_spi_write_reg_8()
90 mutex_lock(&st->buf_lock); in adis16209_spi_write_reg_16()
100 mutex_unlock(&st->buf_lock); in adis16209_spi_write_reg_16()
136 mutex_lock(&st->buf_lock); in adis16209_spi_read_reg_16()
153 mutex_unlock(&st->buf_lock); in adis16209_spi_read_reg_16()
489 mutex_init(&st->buf_lock); in adis16209_probe()
Dadis16240_core.c47 mutex_lock(&st->buf_lock); in adis16240_spi_write_reg_8()
52 mutex_unlock(&st->buf_lock); in adis16240_spi_write_reg_8()
88 mutex_lock(&st->buf_lock); in adis16240_spi_write_reg_16()
98 mutex_unlock(&st->buf_lock); in adis16240_spi_write_reg_16()
134 mutex_lock(&st->buf_lock); in adis16240_spi_read_reg_16()
153 mutex_unlock(&st->buf_lock); in adis16240_spi_read_reg_16()
486 mutex_init(&st->buf_lock); in adis16240_probe()
Dadis16201_core.c48 mutex_lock(&st->buf_lock); in adis16201_spi_write_reg_8()
53 mutex_unlock(&st->buf_lock); in adis16201_spi_write_reg_8()
87 mutex_lock(&st->buf_lock); in adis16201_spi_write_reg_16()
97 mutex_unlock(&st->buf_lock); in adis16201_spi_write_reg_16()
133 mutex_lock(&st->buf_lock); in adis16201_spi_read_reg_16()
149 mutex_unlock(&st->buf_lock); in adis16201_spi_read_reg_16()
540 mutex_init(&st->buf_lock); in adis16201_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()
100 mutex_lock(&st->buf_lock); in lis3l02dq_spi_write_reg_8()
107 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_write_reg_8()
142 mutex_lock(&st->buf_lock); in lis3l02dq_spi_write_reg_s16()
152 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_write_reg_s16()
190 mutex_lock(&st->buf_lock); in lis3l02dq_spi_read_reg_s16()
207 mutex_unlock(&st->buf_lock); in lis3l02dq_spi_read_reg_s16()
806 mutex_init(&st->buf_lock); in lis3l02dq_probe()
/linux-2.6.39/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()
/linux-2.6.39/drivers/staging/iio/imu/
Dadis16300_core.c49 mutex_lock(&st->buf_lock); in adis16300_spi_write_reg_8()
54 mutex_unlock(&st->buf_lock); in adis16300_spi_write_reg_8()
90 mutex_lock(&st->buf_lock); in adis16300_spi_write_reg_16()
100 mutex_unlock(&st->buf_lock); in adis16300_spi_write_reg_16()
136 mutex_lock(&st->buf_lock); in adis16300_spi_read_reg_16()
155 mutex_unlock(&st->buf_lock); in adis16300_spi_read_reg_16()
629 mutex_init(&st->buf_lock); in adis16300_probe()
Dadis16400_core.c62 mutex_lock(&st->buf_lock); in adis16400_spi_write_reg_8()
67 mutex_unlock(&st->buf_lock); in adis16400_spi_write_reg_8()
100 mutex_lock(&st->buf_lock); in adis16400_spi_write_reg_16()
110 mutex_unlock(&st->buf_lock); in adis16400_spi_write_reg_16()
143 mutex_lock(&st->buf_lock); in adis16400_spi_read_reg_16()
162 mutex_unlock(&st->buf_lock); in adis16400_spi_read_reg_16()
623 mutex_init(&st->buf_lock); in adis16400_probe()
Dadis16350_core.c48 mutex_lock(&st->buf_lock); in adis16350_spi_write_reg_8()
53 mutex_unlock(&st->buf_lock); in adis16350_spi_write_reg_8()
89 mutex_lock(&st->buf_lock); in adis16350_spi_write_reg_16()
99 mutex_unlock(&st->buf_lock); in adis16350_spi_write_reg_16()
135 mutex_lock(&st->buf_lock); in adis16350_spi_read_reg_16()
154 mutex_unlock(&st->buf_lock); in adis16350_spi_read_reg_16()
618 mutex_init(&st->buf_lock); in adis16350_probe()

123