/linux/sound/isa/msnd/ |
H A D | msnd_midi.c | 35 spinlock_t input_lock; member 86 spin_lock_irqsave(&mpu->input_lock, flags); in snd_msndmidi_input_trigger() 94 spin_unlock_irqrestore(&mpu->input_lock, flags); in snd_msndmidi_input_trigger() 106 spin_lock_irqsave(&mpu->input_lock, flags); in snd_msndmidi_input_read() 122 spin_unlock_irqrestore(&mpu->input_lock, flags); in snd_msndmidi_input_read() 157 spin_lock_init(&mpu->input_lock); in snd_msndmidi_new()
|
/linux/drivers/staging/media/atomisp/i2c/ |
H A D | atomisp-gc2235.c | 265 mutex_lock(&dev->input_lock); in gc2235_set_exposure() 267 mutex_unlock(&dev->input_lock); in gc2235_set_exposure() 551 mutex_lock(&dev->input_lock); in gc2235_set_fmt() 576 mutex_unlock(&dev->input_lock); in gc2235_set_fmt() 628 mutex_lock(&dev->input_lock); in gc2235_s_stream() 635 mutex_unlock(&dev->input_lock); in gc2235_s_stream() 652 mutex_lock(&dev->input_lock); in gc2235_s_config() 687 mutex_unlock(&dev->input_lock); in gc2235_s_config() 697 mutex_unlock(&dev->input_lock); in gc2235_s_config() 752 mutex_lock(&dev->input_lock); in gc2235_g_skip_frames() [all …]
|
H A D | atomisp-ov2722.c | 341 mutex_lock(&dev->input_lock); in ov2722_set_exposure() 343 mutex_unlock(&dev->input_lock); in ov2722_set_exposure() 469 mutex_lock(&dev->input_lock); in ov2722_init() 475 mutex_unlock(&dev->input_lock); in ov2722_init() 670 mutex_lock(&dev->input_lock); in ov2722_set_fmt() 705 mutex_unlock(&dev->input_lock); in ov2722_set_fmt() 765 mutex_lock(&dev->input_lock); in ov2722_s_stream() 771 mutex_unlock(&dev->input_lock); in ov2722_s_stream() 788 mutex_lock(&dev->input_lock); in ov2722_s_config() 888 mutex_lock(&dev->input_lock); in ov2722_g_skip_frames() [all …]
|
H A D | atomisp-gc0310.c | 83 struct mutex input_lock; member 442 mutex_lock(&dev->input_lock); in gc0310_s_stream() 489 mutex_unlock(&dev->input_lock); in gc0310_s_stream() 495 mutex_unlock(&dev->input_lock); in gc0310_s_stream() 579 hdl->lock = &dev->input_lock; in gc0310_init_controls() 602 mutex_destroy(&dev->input_lock); in gc0310_remove() 638 mutex_init(&dev->input_lock); in gc0310_probe()
|
H A D | gc2235.h | 150 struct mutex input_lock; member
|
H A D | ov2722.h | 197 struct mutex input_lock; member
|
H A D | mt9m114.h | 252 struct mutex input_lock; /* serialize sensor's ioctl */ member
|
H A D | atomisp-mt9m114.c | 1587 dev->ctrl_handler.lock = &dev->input_lock; in mt9m114_probe()
|
/linux/drivers/platform/x86/ |
H A D | quickstart.c | 42 struct mutex input_lock; /* Protects input sequence during notify */ member 81 mutex_lock(&data->input_lock); in quickstart_notify() 83 mutex_unlock(&data->input_lock); in quickstart_notify() 183 mutex_init(&data->input_lock); in quickstart_probe() 184 ret = devm_add_action_or_reset(&pdev->dev, quickstart_mutex_destroy, &data->input_lock); in quickstart_probe()
|
/linux/tools/thermal/tmon/ |
H A D | tmon.c | 48 pthread_mutex_t input_lock; variable 79 pthread_mutex_lock(&input_lock); in tmon_cleanup() 81 pthread_mutex_unlock(&input_lock); in tmon_cleanup() 82 pthread_mutex_destroy(&input_lock); in tmon_cleanup() 272 if (pthread_mutex_init(&input_lock, NULL) != 0) { in main() 283 pthread_mutex_destroy(&input_lock); in main()
|
H A D | tmon.h | 38 extern pthread_mutex_t input_lock;
|
H A D | tui.c | 483 pthread_mutex_lock(&input_lock); in handle_tui_events() 514 pthread_mutex_unlock(&input_lock); in handle_tui_events()
|
/linux/sound/drivers/mpu401/ |
H A D | mpu401_uart.c | 99 spin_lock_irqsave(&mpu->input_lock, flags); in _snd_mpu401_uart_interrupt() 104 spin_unlock_irqrestore(&mpu->input_lock, flags); in _snd_mpu401_uart_interrupt() 216 spin_lock_irqsave(&mpu->input_lock, flags); in snd_mpu401_uart_cmd() 247 spin_unlock_irqrestore(&mpu->input_lock, flags); in snd_mpu401_uart_cmd() 377 spin_lock_irqsave(&mpu->input_lock, flags); in snd_mpu401_uart_input_trigger() 379 spin_unlock_irqrestore(&mpu->input_lock, flags); in snd_mpu401_uart_input_trigger() 547 spin_lock_init(&mpu->input_lock); in snd_mpu401_uart_new()
|
/linux/sound/pci/ca0106/ |
H A D | ca_midi.c | 48 spin_lock(&midi->input_lock); in ca_midi_interrupt() 60 spin_unlock(&midi->input_lock); in ca_midi_interrupt() 80 spin_lock_irqsave(&midi->input_lock, flags); in ca_midi_cmd() 99 spin_unlock_irqrestore(&midi->input_lock, flags); in ca_midi_cmd() 287 spin_lock_init(&midi->input_lock); in ca_midi_init()
|
H A D | ca_midi.h | 26 spinlock_t input_lock; member
|
/linux/sound/pci/emu10k1/ |
H A D | emumpu401.c | 71 spin_lock(&midi->input_lock); in do_emu10k1_midi_interrupt() 81 spin_unlock(&midi->input_lock); in do_emu10k1_midi_interrupt() 109 spin_lock_irq(&midi->input_lock); in snd_emu10k1_midi_cmd() 128 spin_unlock_irq(&midi->input_lock); in snd_emu10k1_midi_cmd() 321 spin_lock_init(&midi->input_lock); in emu10k1_midi_init()
|
H A D | emu10k1x.c | 204 spinlock_t input_lock; member 1208 spin_lock(&midi->input_lock); in do_emu10k1x_midi_interrupt() 1218 spin_unlock(&midi->input_lock); in do_emu10k1x_midi_interrupt() 1243 spin_lock_irqsave(&midi->input_lock, flags); in snd_emu10k1x_midi_cmd() 1262 spin_unlock_irqrestore(&midi->input_lock, flags); in snd_emu10k1x_midi_cmd() 1462 spin_lock_init(&midi->input_lock); in emu10k1x_midi_init()
|
/linux/include/sound/ |
H A D | mpu401.h | 78 spinlock_t input_lock; member
|
H A D | emu10k1.h | 1624 spinlock_t input_lock; member
|