Home
last modified time | relevance | path

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

/linux-6.6.21/sound/isa/msnd/
Dmsnd_midi.c35 spinlock_t input_lock; member
90 spin_lock_irqsave(&mpu->input_lock, flags); in snd_msndmidi_input_trigger()
98 spin_unlock_irqrestore(&mpu->input_lock, flags); in snd_msndmidi_input_trigger()
110 spin_lock_irqsave(&mpu->input_lock, flags); in snd_msndmidi_input_read()
126 spin_unlock_irqrestore(&mpu->input_lock, flags); in snd_msndmidi_input_read()
161 spin_lock_init(&mpu->input_lock); in snd_msndmidi_new()
/linux-6.6.21/drivers/staging/media/atomisp/i2c/
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()
565 mutex_unlock(&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()
[all …]
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()
678 mutex_lock(&dev->input_lock); in ov2722_set_fmt()
716 mutex_unlock(&dev->input_lock); in ov2722_set_fmt()
776 mutex_lock(&dev->input_lock); in ov2722_s_stream()
782 mutex_unlock(&dev->input_lock); in ov2722_s_stream()
799 mutex_lock(&dev->input_lock); in ov2722_s_config()
834 mutex_unlock(&dev->input_lock); in ov2722_s_config()
[all …]
Datomisp-gc0310.c83 struct mutex input_lock; member
443 mutex_lock(&dev->input_lock); in gc0310_s_stream()
495 mutex_unlock(&dev->input_lock); in gc0310_s_stream()
502 mutex_unlock(&dev->input_lock); in gc0310_s_stream()
578 hdl->lock = &dev->input_lock; in gc0310_init_controls()
601 mutex_destroy(&dev->input_lock); in gc0310_remove()
637 mutex_init(&dev->input_lock); in gc0310_probe()
Dgc2235.h153 struct mutex input_lock; member
Dov2722.h197 struct mutex input_lock; member
Dmt9m114.h252 struct mutex input_lock; /* serialize sensor's ioctl */ member
Datomisp-mt9m114.c1579 dev->ctrl_handler.lock = &dev->input_lock; in mt9m114_probe()
/linux-6.6.21/tools/thermal/tmon/
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()
Dtmon.h38 extern pthread_mutex_t input_lock;
Dtui.c483 pthread_mutex_lock(&input_lock); in handle_tui_events()
514 pthread_mutex_unlock(&input_lock); in handle_tui_events()
/linux-6.6.21/sound/drivers/mpu401/
Dmpu401_uart.c98 spin_lock_irqsave(&mpu->input_lock, flags); in _snd_mpu401_uart_interrupt()
103 spin_unlock_irqrestore(&mpu->input_lock, flags); in _snd_mpu401_uart_interrupt()
215 spin_lock_irqsave(&mpu->input_lock, flags); in snd_mpu401_uart_cmd()
245 spin_unlock_irqrestore(&mpu->input_lock, flags); in snd_mpu401_uart_cmd()
374 spin_lock_irqsave(&mpu->input_lock, flags); in snd_mpu401_uart_input_trigger()
376 spin_unlock_irqrestore(&mpu->input_lock, flags); in snd_mpu401_uart_input_trigger()
544 spin_lock_init(&mpu->input_lock); in snd_mpu401_uart_new()
/linux-6.6.21/sound/pci/ca0106/
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()
Dca_midi.h26 spinlock_t input_lock; member
/linux-6.6.21/drivers/staging/media/atomisp/i2c/ov5693/
Datomisp-ov5693.c574 mutex_lock(&dev->input_lock); in ov5693_set_exposure()
576 mutex_unlock(&dev->input_lock); in ov5693_set_exposure()
1047 mutex_lock(&dev->input_lock); in ov5693_init()
1077 mutex_unlock(&dev->input_lock); in ov5693_init()
1371 mutex_lock(&dev->input_lock); in ov5693_set_fmt()
1385 mutex_unlock(&dev->input_lock); in ov5693_set_fmt()
1392 mutex_unlock(&dev->input_lock); in ov5693_set_fmt()
1408 mutex_unlock(&dev->input_lock); in ov5693_set_fmt()
1410 mutex_lock(&dev->input_lock); in ov5693_set_fmt()
1439 mutex_unlock(&dev->input_lock); in ov5693_set_fmt()
[all …]
Dov5693.h223 struct mutex input_lock; member
/linux-6.6.21/sound/pci/emu10k1/
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()
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-6.6.21/include/sound/
Dmpu401.h78 spinlock_t input_lock; member
Demu10k1.h1616 spinlock_t input_lock; member