Home
last modified time | relevance | path

Searched refs:input_lock (Results 1 – 19 of 19) sorted by relevance

/linux/sound/isa/msnd/
H A Dmsnd_midi.c35 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 Datomisp-gc2235.c265 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 Datomisp-ov2722.c341 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 Datomisp-gc0310.c83 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 Dgc2235.h150 struct mutex input_lock; member
H A Dov2722.h197 struct mutex input_lock; member
H A Dmt9m114.h252 struct mutex input_lock; /* serialize sensor's ioctl */ member
H A Datomisp-mt9m114.c1587 dev->ctrl_handler.lock = &dev->input_lock; in mt9m114_probe()
/linux/drivers/platform/x86/
H A Dquickstart.c42 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 Dtmon.c48 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 Dtmon.h38 extern pthread_mutex_t input_lock;
H A Dtui.c483 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 Dmpu401_uart.c99 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 Dca_midi.c48 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 Dca_midi.h26 spinlock_t input_lock; member
/linux/sound/pci/emu10k1/
H A Demumpu401.c71 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 Demu10k1x.c204 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 Dmpu401.h78 spinlock_t input_lock; member
H A Demu10k1.h1624 spinlock_t input_lock; member