Home
last modified time | relevance | path

Searched refs:fifo_lock (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/staging/most/
Dcore.c63 spinlock_t fifo_lock; member
135 spin_lock_irqsave(&c->fifo_lock, flags); in flush_channel_fifos()
138 spin_unlock_irqrestore(&c->fifo_lock, flags); in flush_channel_fifos()
140 spin_lock_irqsave(&c->fifo_lock, flags); in flush_channel_fifos()
142 spin_unlock_irqrestore(&c->fifo_lock, flags); in flush_channel_fifos()
144 spin_lock_irqsave(&c->fifo_lock, hf_flags); in flush_channel_fifos()
147 spin_unlock_irqrestore(&c->fifo_lock, hf_flags); in flush_channel_fifos()
149 spin_lock_irqsave(&c->fifo_lock, hf_flags); in flush_channel_fifos()
151 spin_unlock_irqrestore(&c->fifo_lock, hf_flags); in flush_channel_fifos()
166 spin_lock_irqsave(&c->fifo_lock, flags); in flush_trash_fifo()
[all …]
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Dcxio_resource.c48 spinlock_t *fifo_lock, in __cxio_init_resource_fifo() argument
56 spin_lock_init(fifo_lock); in __cxio_init_resource_fifo()
90 sizeof(u32), fifo_lock) != sizeof(u32)) in __cxio_init_resource_fifo()
95 static int cxio_init_resource_fifo(struct kfifo *fifo, spinlock_t * fifo_lock, in cxio_init_resource_fifo() argument
98 return (__cxio_init_resource_fifo(fifo, fifo_lock, nr, skip_low, in cxio_init_resource_fifo()
103 spinlock_t * fifo_lock, in cxio_init_resource_fifo_random() argument
107 return (__cxio_init_resource_fifo(fifo, fifo_lock, nr, skip_low, in cxio_init_resource_fifo_random()
/Linux-v4.19/drivers/misc/
Dhpilo.c70 spin_lock_irqsave(&hw->fifo_lock, flags); in fifo_enqueue()
78 spin_unlock_irqrestore(&hw->fifo_lock, flags); in fifo_enqueue()
90 spin_lock_irqsave(&hw->fifo_lock, flags); in fifo_dequeue()
101 spin_unlock_irqrestore(&hw->fifo_lock, flags); in fifo_dequeue()
113 spin_lock_irqsave(&hw->fifo_lock, flags); in fifo_check_recv()
117 spin_unlock_irqrestore(&hw->fifo_lock, flags); in fifo_check_recv()
796 spin_lock_init(&ilo_hw->fifo_lock); in ilo_probe()
Dhpilo.h59 spinlock_t fifo_lock; member
/Linux-v4.19/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c407 mutex_lock(&hw->fifo_lock); in st_lsm6dsx_flush_fifo()
412 mutex_unlock(&hw->fifo_lock); in st_lsm6dsx_flush_fifo()
480 mutex_lock(&hw->fifo_lock); in st_lsm6dsx_handler_thread()
482 mutex_unlock(&hw->fifo_lock); in st_lsm6dsx_handler_thread()
Dst_lsm6dsx.h151 struct mutex fifo_lock; member
Dst_lsm6dsx_core.c819 mutex_init(&hw->fifo_lock); in st_lsm6dsx_probe()
/Linux-v4.19/drivers/tty/serial/
Difx6x60.h60 spinlock_t fifo_lock; member
Difx6x60.c455 &ifx_dev->fifo_lock); in ifx_spi_prepare_tx_buffer()
497 spin_lock_irqsave(&ifx_dev->fifo_lock, flags); in ifx_spi_write()
500 spin_unlock_irqrestore(&ifx_dev->fifo_lock, flags); in ifx_spi_write()
820 spin_lock_init(&ifx_dev->fifo_lock); in ifx_spi_create_port()
821 lockdep_set_class_and_subclass(&ifx_dev->fifo_lock, in ifx_spi_create_port()
/Linux-v4.19/drivers/platform/x86/
Dfujitsu-laptop.c145 spinlock_t fifo_lock; member
802 spin_lock_init(&priv->fifo_lock); in acpi_fujitsu_laptop_add()
880 sizeof(scancode), &priv->fifo_lock); in acpi_fujitsu_laptop_press()
898 sizeof(scancode), &priv->fifo_lock); in acpi_fujitsu_laptop_release()
Dsony-laptop.c209 spinlock_t fifo_lock; member
371 spin_lock_irqsave(&sony_laptop_input.fifo_lock, flags); in do_sony_laptop_release_key()
384 spin_unlock_irqrestore(&sony_laptop_input.fifo_lock, flags); in do_sony_laptop_release_key()
446 &sony_laptop_input.fifo_lock); in sony_laptop_report_input_event()
465 spin_lock_init(&sony_laptop_input.fifo_lock); in sony_laptop_setup_input()
4062 spinlock_t fifo_lock; member
4086 spin_lock_irqsave(&sonypi_compat.fifo_lock, flags); in sonypi_misc_open()
4091 spin_unlock_irqrestore(&sonypi_compat.fifo_lock, flags); in sonypi_misc_open()
4113 &sonypi_compat.fifo_lock) == sizeof(c))) { in sonypi_misc_read()
4296 sizeof(event), &sonypi_compat.fifo_lock); in sonypi_compat_report_event()
[all …]
/Linux-v4.19/drivers/char/
Dsonypi.c490 spinlock_t fifo_lock; member
880 sizeof(event), &sonypi_device.fifo_lock); in sonypi_irq()
929 &sonypi_device.fifo_lock) == sizeof(c))) { in sonypi_misc_read()
1313 spin_lock_init(&sonypi_device.fifo_lock); in sonypi_probe()
/Linux-v4.19/drivers/rapidio/devices/
Drio_mport_cdev.c210 spinlock_t fifo_lock; member
1379 spin_lock(&priv->fifo_lock); in rio_mport_add_event()
1383 spin_unlock(&priv->fifo_lock); in rio_mport_add_event()
1904 spin_lock_init(&priv->fifo_lock); in mport_cdev_open()