/linux-4.4.14/drivers/staging/iio/meter/ |
H A D | ade7854-i2c.c | 26 mutex_lock(&st->buf_lock); ade7854_i2c_write_reg_8() 32 mutex_unlock(&st->buf_lock); ade7854_i2c_write_reg_8() 45 mutex_lock(&st->buf_lock); ade7854_i2c_write_reg_16() 52 mutex_unlock(&st->buf_lock); ade7854_i2c_write_reg_16() 65 mutex_lock(&st->buf_lock); ade7854_i2c_write_reg_24() 73 mutex_unlock(&st->buf_lock); ade7854_i2c_write_reg_24() 86 mutex_lock(&st->buf_lock); ade7854_i2c_write_reg_32() 95 mutex_unlock(&st->buf_lock); ade7854_i2c_write_reg_32() 108 mutex_lock(&st->buf_lock); ade7854_i2c_read_reg_8() 122 mutex_unlock(&st->buf_lock); ade7854_i2c_read_reg_8() 134 mutex_lock(&st->buf_lock); ade7854_i2c_read_reg_16() 148 mutex_unlock(&st->buf_lock); ade7854_i2c_read_reg_16() 160 mutex_lock(&st->buf_lock); ade7854_i2c_read_reg_24() 174 mutex_unlock(&st->buf_lock); ade7854_i2c_read_reg_24() 186 mutex_lock(&st->buf_lock); ade7854_i2c_read_reg_32() 201 mutex_unlock(&st->buf_lock); ade7854_i2c_read_reg_32()
|
H A D | ade7854-spi.c | 31 mutex_lock(&st->buf_lock); ade7854_spi_write_reg_8() 38 mutex_unlock(&st->buf_lock); ade7854_spi_write_reg_8() 56 mutex_lock(&st->buf_lock); ade7854_spi_write_reg_16() 64 mutex_unlock(&st->buf_lock); ade7854_spi_write_reg_16() 82 mutex_lock(&st->buf_lock); ade7854_spi_write_reg_24() 91 mutex_unlock(&st->buf_lock); ade7854_spi_write_reg_24() 109 mutex_lock(&st->buf_lock); ade7854_spi_write_reg_32() 119 mutex_unlock(&st->buf_lock); ade7854_spi_write_reg_32() 143 mutex_lock(&st->buf_lock); ade7854_spi_read_reg_8() 158 mutex_unlock(&st->buf_lock); ade7854_spi_read_reg_8() 181 mutex_lock(&st->buf_lock); ade7854_spi_read_reg_16() 195 mutex_unlock(&st->buf_lock); ade7854_spi_read_reg_16() 218 mutex_lock(&st->buf_lock); ade7854_spi_read_reg_24() 233 mutex_unlock(&st->buf_lock); ade7854_spi_read_reg_24() 256 mutex_lock(&st->buf_lock); ade7854_spi_read_reg_32() 271 mutex_unlock(&st->buf_lock); ade7854_spi_read_reg_32()
|
H A D | ade7759.h | 42 * @buf_lock: mutex to protect tx and rx 48 struct mutex buf_lock; member in struct:ade7759_state
|
H A D | ade7753.h | 63 * @buf_lock: mutex to protect tx and rx 67 struct mutex buf_lock; member in struct:ade7753_state
|
H A D | ade7754.h | 79 * @buf_lock: mutex to protect tx and rx 85 struct mutex buf_lock; member in struct:ade7754_state
|
H A D | ade7758_core.c | 35 mutex_lock(&st->buf_lock); ade7758_spi_write_reg_8() 40 mutex_unlock(&st->buf_lock); ade7758_spi_write_reg_8() 60 mutex_lock(&st->buf_lock); ade7758_spi_write_reg_16() 66 mutex_unlock(&st->buf_lock); ade7758_spi_write_reg_16() 86 mutex_lock(&st->buf_lock); ade7758_spi_write_reg_24() 93 mutex_unlock(&st->buf_lock); ade7758_spi_write_reg_24() 120 mutex_lock(&st->buf_lock); ade7758_spi_read_reg_8() 133 mutex_unlock(&st->buf_lock); ade7758_spi_read_reg_8() 160 mutex_lock(&st->buf_lock); ade7758_spi_read_reg_16() 175 mutex_unlock(&st->buf_lock); ade7758_spi_read_reg_16() 201 mutex_lock(&st->buf_lock); ade7758_spi_read_reg_24() 216 mutex_unlock(&st->buf_lock); ade7758_spi_read_reg_24() 841 mutex_init(&st->buf_lock); ade7758_probe()
|
H A D | ade7753.c | 34 mutex_lock(&st->buf_lock); ade7753_spi_write_reg_8() 39 mutex_unlock(&st->buf_lock); ade7753_spi_write_reg_8() 52 mutex_lock(&st->buf_lock); ade7753_spi_write_reg_16() 57 mutex_unlock(&st->buf_lock); ade7753_spi_write_reg_16() 120 mutex_lock(&st->buf_lock); ade7753_spi_read_reg_24() 132 mutex_unlock(&st->buf_lock); ade7753_spi_read_reg_24() 508 mutex_init(&st->buf_lock); ade7753_probe()
|
H A D | ade7754.c | 34 mutex_lock(&st->buf_lock); ade7754_spi_write_reg_8() 39 mutex_unlock(&st->buf_lock); ade7754_spi_write_reg_8() 52 mutex_lock(&st->buf_lock); ade7754_spi_write_reg_16() 57 mutex_unlock(&st->buf_lock); ade7754_spi_write_reg_16() 117 mutex_lock(&st->buf_lock); ade7754_spi_read_reg_24() 132 mutex_unlock(&st->buf_lock); ade7754_spi_read_reg_24() 543 mutex_init(&st->buf_lock); ade7754_probe()
|
H A D | ade7759.c | 34 mutex_lock(&st->buf_lock); ade7759_spi_write_reg_8() 39 mutex_unlock(&st->buf_lock); ade7759_spi_write_reg_8() 52 mutex_lock(&st->buf_lock); ade7759_spi_write_reg_16() 57 mutex_unlock(&st->buf_lock); ade7759_spi_write_reg_16() 117 mutex_lock(&st->buf_lock); ade7759_spi_read_reg_40() 131 mutex_unlock(&st->buf_lock); ade7759_spi_read_reg_40() 465 mutex_init(&st->buf_lock); ade7759_probe()
|
H A D | ade7758.h | 114 * @buf_lock: mutex to protect tx and rx 121 struct mutex buf_lock; member in struct:ade7758_state
|
H A D | ade7854.h | 149 * @buf_lock: mutex to protect tx and rx 165 struct mutex buf_lock; member in struct:ade7854_state
|
H A D | ade7854.c | 545 mutex_init(&st->buf_lock); ade7854_probe()
|
/linux-4.4.14/drivers/iio/common/st_sensors/ |
H A D | st_sensors_spi.c | 47 mutex_lock(&tb->buf_lock); st_sensors_spi_read() 58 mutex_unlock(&tb->buf_lock); st_sensors_spi_read() 62 mutex_unlock(&tb->buf_lock); st_sensors_spi_read() 90 mutex_lock(&tb->buf_lock); st_sensors_spi_write_byte() 95 mutex_unlock(&tb->buf_lock); st_sensors_spi_write_byte()
|
/linux-4.4.14/drivers/iio/gyro/ |
H A D | adis16130.c | 37 * @buf_lock: mutex to protect tx and rx 42 struct mutex buf_lock; member in struct:adis16130_state 56 mutex_lock(&st->buf_lock); adis16130_spi_read() 64 mutex_unlock(&st->buf_lock); adis16130_spi_read() 156 mutex_init(&st->buf_lock); adis16130_probe()
|
H A D | adxrs450.c | 70 * @buf_lock: mutex to protect tx and rx 76 struct mutex buf_lock; member in struct:adxrs450_state 109 mutex_lock(&st->buf_lock); adxrs450_spi_read_reg_16() 126 mutex_unlock(&st->buf_lock); adxrs450_spi_read_reg_16() 145 mutex_lock(&st->buf_lock); adxrs450_spi_write_reg_16() 157 mutex_unlock(&st->buf_lock); adxrs450_spi_write_reg_16() 183 mutex_lock(&st->buf_lock); adxrs450_spi_sensor_data() 195 mutex_unlock(&st->buf_lock); adxrs450_spi_sensor_data() 217 mutex_lock(&st->buf_lock); adxrs450_spi_initial() 231 mutex_unlock(&st->buf_lock); adxrs450_spi_initial() 425 mutex_init(&st->buf_lock); adxrs450_probe()
|
H A D | st_gyro_core.c | 407 mutex_init(&gdata->tb.buf_lock); st_gyro_common_probe()
|
/linux-4.4.14/drivers/staging/iio/gyro/ |
H A D | adis16060_core.c | 31 * @buf_lock: mutex to protect tx and rx 36 struct mutex buf_lock; member in struct:adis16060_state 48 mutex_lock(&st->buf_lock); adis16060_spi_write() 51 mutex_unlock(&st->buf_lock); adis16060_spi_write() 61 mutex_lock(&st->buf_lock); adis16060_spi_read() 74 mutex_unlock(&st->buf_lock); adis16060_spi_read() 167 mutex_init(&st->buf_lock); adis16060_r_probe()
|
/linux-4.4.14/drivers/iio/accel/ |
H A D | kxsd9.c | 48 * @buf_lock: protect the rx and tx buffers. 54 struct mutex buf_lock; member in struct:kxsd9_state 82 mutex_lock(&st->buf_lock); kxsd9_write_scale() 91 mutex_unlock(&st->buf_lock); kxsd9_write_scale() 112 mutex_lock(&st->buf_lock); kxsd9_read() 117 mutex_unlock(&st->buf_lock); kxsd9_read() 235 mutex_init(&st->buf_lock); kxsd9_probe()
|
H A D | st_accel_core.c | 636 mutex_init(&adata->tb.buf_lock); st_accel_common_probe()
|
/linux-4.4.14/drivers/input/serio/ |
H A D | userio.c | 44 spinlock_t buf_lock; member in struct:userio_device 60 spin_lock_irqsave(&userio->buf_lock, flags); userio_device_write() 69 spin_unlock_irqrestore(&userio->buf_lock, flags); userio_device_write() 85 spin_lock_init(&userio->buf_lock); userio_char_open() 138 spin_lock_irqsave(&userio->buf_lock, flags); userio_char_read() 150 spin_unlock_irqrestore(&userio->buf_lock, flags); userio_char_read()
|
/linux-4.4.14/drivers/tty/hvc/ |
H A D | hvc_vio.c | 75 spinlock_t buf_lock; member in struct:hvterm_priv 94 spin_lock_irqsave(&pv->buf_lock, flags); hvterm_raw_get_chars() 120 spin_unlock_irqrestore(&pv->buf_lock, flags); hvterm_raw_get_chars() 345 spin_lock_init(&pv->buf_lock); hvc_vio_probe() 427 spin_lock_init(&hvterm_priv0.buf_lock); hvc_vio_init_early() 469 spin_lock_init(&hvterm_priv0.buf_lock); udbg_init_debug_lpar() 482 spin_lock_init(&hvterm_priv0.buf_lock); udbg_init_debug_lpar_hvsi()
|
/linux-4.4.14/drivers/staging/iio/accel/ |
H A D | lis3l02dq_core.c | 64 mutex_lock(&st->buf_lock); lis3l02dq_spi_read_reg_8() 70 mutex_unlock(&st->buf_lock); lis3l02dq_spi_read_reg_8() 88 mutex_lock(&st->buf_lock); lis3l02dq_spi_write_reg_8() 92 mutex_unlock(&st->buf_lock); lis3l02dq_spi_write_reg_8() 122 mutex_lock(&st->buf_lock); lis3l02dq_spi_write_reg_s16() 129 mutex_unlock(&st->buf_lock); lis3l02dq_spi_write_reg_s16() 155 mutex_lock(&st->buf_lock); lis3l02dq_read_reg_s16() 170 mutex_unlock(&st->buf_lock); lis3l02dq_read_reg_s16() 706 mutex_init(&st->buf_lock); lis3l02dq_probe()
|
H A D | adis16220.h | 130 * @buf_lock: mutex to protect tx and rx 135 struct mutex buf_lock; member in struct:adis16220_state
|
H A D | lis3l02dq.h | 153 * @buf_lock: mutex to protect tx and rx 160 struct mutex buf_lock; member in struct:lis3l02dq_state
|
H A D | adis16220_core.c | 139 mutex_lock(&st->buf_lock); adis16220_capture_buffer_read() 149 mutex_unlock(&st->buf_lock); adis16220_capture_buffer_read() 155 mutex_unlock(&st->buf_lock); adis16220_capture_buffer_read()
|
H A D | lis3l02dq_ring.c | 70 mutex_lock(&st->buf_lock); lis3l02dq_read_all() 106 mutex_unlock(&st->buf_lock); lis3l02dq_read_all()
|
/linux-4.4.14/fs/pstore/ |
H A D | platform.c | 293 is_locked = spin_trylock_irqsave(&psinfo->buf_lock, flags); pstore_dump() 299 spin_lock_irqsave(&psinfo->buf_lock, flags); pstore_dump() 355 spin_unlock_irqrestore(&psinfo->buf_lock, flags); pstore_dump() 357 spin_unlock_irqrestore(&psinfo->buf_lock, flags); pstore_dump() 390 if (!spin_trylock_irqsave(&psinfo->buf_lock, flags)) pstore_console_write() 393 spin_lock_irqsave(&psinfo->buf_lock, flags); pstore_console_write() 397 spin_unlock_irqrestore(&psinfo->buf_lock, flags); pstore_console_write()
|
H A D | ram.c | 535 spin_lock_init(&cxt->pstore.buf_lock); ramoops_probe()
|
/linux-4.4.14/drivers/spi/ |
H A D | spidev.c | 82 struct mutex buf_lock; member in struct:spidev_data 165 mutex_lock(&spidev->buf_lock); spidev_read() 176 mutex_unlock(&spidev->buf_lock); spidev_read() 196 mutex_lock(&spidev->buf_lock); spidev_write() 202 mutex_unlock(&spidev->buf_lock); spidev_write() 399 mutex_lock(&spidev->buf_lock); spidev_ioctl() 509 mutex_unlock(&spidev->buf_lock); spidev_ioctl() 542 mutex_lock(&spidev->buf_lock); spidev_compat_ioc_message() 564 mutex_unlock(&spidev->buf_lock); spidev_compat_ioc_message() 730 mutex_init(&spidev->buf_lock); spidev_probe()
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_bufs.c | 655 spin_lock(&dev->buf_lock); drm_legacy_addbufs_agp() 657 spin_unlock(&dev->buf_lock); drm_legacy_addbufs_agp() 661 spin_unlock(&dev->buf_lock); drm_legacy_addbufs_agp() 805 spin_lock(&dev->buf_lock); drm_legacy_addbufs_pci() 807 spin_unlock(&dev->buf_lock); drm_legacy_addbufs_pci() 811 spin_unlock(&dev->buf_lock); drm_legacy_addbufs_pci() 1016 spin_lock(&dev->buf_lock); drm_legacy_addbufs_sg() 1018 spin_unlock(&dev->buf_lock); drm_legacy_addbufs_sg() 1022 spin_unlock(&dev->buf_lock); drm_legacy_addbufs_sg() 1176 * Increments drm_device::buf_use while holding the drm_device::buf_lock 1197 spin_lock(&dev->buf_lock); drm_legacy_infobufs() 1199 spin_unlock(&dev->buf_lock); drm_legacy_infobufs() 1203 spin_unlock(&dev->buf_lock); drm_legacy_infobufs() 1381 spin_lock(&dev->buf_lock); drm_legacy_mapbufs() 1383 spin_unlock(&dev->buf_lock); drm_legacy_mapbufs() 1387 spin_unlock(&dev->buf_lock); drm_legacy_mapbufs()
|
H A D | drm_drv.c | 592 spin_lock_init(&dev->buf_lock); drm_dev_alloc()
|
/linux-4.4.14/include/linux/ |
H A D | pstore.h | 52 spinlock_t buf_lock; /* serialize access to 'buf' */ member in struct:pstore_info
|
/linux-4.4.14/include/linux/iio/common/ |
H A D | st_sensors.h | 138 * @buf_lock: Mutex to protect rx and tx buffers. 145 struct mutex buf_lock; member in struct:st_sensor_transfer_buffer
|
/linux-4.4.14/drivers/media/usb/stk1160/ |
H A D | stk1160-v4l.c | 702 spin_lock_irqsave(&dev->buf_lock, flags); buffer_queue() 726 spin_unlock_irqrestore(&dev->buf_lock, flags); buffer_queue() 768 spin_lock_irqsave(&dev->buf_lock, flags); stk1160_clear_queue() 787 spin_unlock_irqrestore(&dev->buf_lock, flags); stk1160_clear_queue()
|
H A D | stk1160.h | 161 spinlock_t buf_lock; member in struct:stk1160
|
H A D | stk1160-video.c | 83 spin_lock_irqsave(&dev->buf_lock, flags); stk1160_next_buffer() 89 spin_unlock_irqrestore(&dev->buf_lock, flags); stk1160_next_buffer()
|
H A D | stk1160-core.c | 332 spin_lock_init(&dev->buf_lock); stk1160_probe()
|
/linux-4.4.14/drivers/net/arcnet/ |
H A D | arcnet.c | 312 if (!atomic_dec_and_test(&lp->buf_lock)) { get_arcbuf() 315 lp->buf_lock.counter); get_arcbuf() 336 atomic_inc(&lp->buf_lock); get_arcbuf() 466 atomic_set(&lp->buf_lock, 1); arcnet_open()
|
H A D | arcdevice.h | 290 atomic_t buf_lock; member in struct:arcnet_local
|
/linux-4.4.14/drivers/iio/pressure/ |
H A D | st_pressure_core.c | 424 mutex_init(&press_data->tb.buf_lock); st_press_common_probe()
|
/linux-4.4.14/drivers/firmware/efi/ |
H A D | efi-pstore.c | 383 spin_lock_init(&efi_pstore_info.buf_lock); efivars_pstore_init()
|
/linux-4.4.14/drivers/iio/magnetometer/ |
H A D | st_magn_core.c | 584 mutex_init(&mdata->tb.buf_lock); st_magn_common_probe()
|
/linux-4.4.14/drivers/acpi/apei/ |
H A D | erst.c | 1193 spin_lock_init(&erst_info.buf_lock); erst_init()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | nvram_64.c | 581 spin_lock_init(&nvram_pstore_info.buf_lock); nvram_pstore_init()
|
/linux-4.4.14/include/drm/ |
H A D | drmP.h | 756 spinlock_t buf_lock; /**< For drm_device::buf_use and a few other things. */ member in struct:drm_device
|