Searched refs:index_lock (Results 1 – 4 of 4) sorted by relevance
/drivers/platform/x86/ |
D | apple-gmux.c | 55 struct mutex index_lock; member 170 mutex_lock(&gmux_data->index_lock); in gmux_index_read8() 175 mutex_unlock(&gmux_data->index_lock); in gmux_index_read8() 183 mutex_lock(&gmux_data->index_lock); in gmux_index_write8() 188 mutex_unlock(&gmux_data->index_lock); in gmux_index_write8() 195 mutex_lock(&gmux_data->index_lock); in gmux_index_read32() 200 mutex_unlock(&gmux_data->index_lock); in gmux_index_read32() 211 mutex_lock(&gmux_data->index_lock); in gmux_index_write32() 221 mutex_unlock(&gmux_data->index_lock); in gmux_index_write32() 657 mutex_init(&gmux_data->index_lock); in gmux_probe()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00queue.c | 813 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_for_each_entry() 816 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_for_each_entry() 855 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_get_entry() 859 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_get_entry() 876 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_index_inc() 891 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_index_inc() 1074 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_reset() 1082 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_reset() 1218 spin_lock_init(&queue->index_lock); in rt2x00queue_init()
|
D | rt2x00queue.h | 468 spinlock_t index_lock; member
|
D | rt2x00debug.c | 349 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00debug_read_queue_stats() 358 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00debug_read_queue_stats()
|