Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/hackrf/
H A Dhackrf.c122 spinlock_t buffer_list_lock; /* Protects buffer_list */ member
443 spin_lock_irqsave(&dev->buffer_list_lock, flags); in hackrf_get_next_buffer()
450 spin_unlock_irqrestore(&dev->buffer_list_lock, flags); in hackrf_get_next_buffer()
742 spin_lock_irqsave(&dev->buffer_list_lock, flags); in hackrf_return_all_buffers()
748 spin_unlock_irqrestore(&dev->buffer_list_lock, flags); in hackrf_return_all_buffers()
785 spin_lock_irqsave(&dev->buffer_list_lock, flags); in hackrf_buf_queue()
787 spin_unlock_irqrestore(&dev->buffer_list_lock, flags); in hackrf_buf_queue()
1360 spin_lock_init(&dev->buffer_list_lock); in hackrf_probe()