Home
last modified time | relevance | path

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

/drivers/platform/x86/
Dapple-gmux.c51 struct mutex index_lock; member
166 mutex_lock(&gmux_data->index_lock); in gmux_index_read8()
171 mutex_unlock(&gmux_data->index_lock); in gmux_index_read8()
179 mutex_lock(&gmux_data->index_lock); in gmux_index_write8()
184 mutex_unlock(&gmux_data->index_lock); in gmux_index_write8()
191 mutex_lock(&gmux_data->index_lock); in gmux_index_read32()
196 mutex_unlock(&gmux_data->index_lock); in gmux_index_read32()
207 mutex_lock(&gmux_data->index_lock); in gmux_index_write32()
217 mutex_unlock(&gmux_data->index_lock); in gmux_index_write32()
654 mutex_init(&gmux_data->index_lock); in gmux_probe()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c812 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_for_each_entry()
815 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_for_each_entry()
854 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_get_entry()
858 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_get_entry()
875 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_index_inc()
890 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_index_inc()
1076 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00queue_reset()
1084 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00queue_reset()
1220 spin_lock_init(&queue->index_lock); in rt2x00queue_init()
Drt2x00queue.h460 spinlock_t index_lock; member
Drt2x00debug.c321 spin_lock_irqsave(&queue->index_lock, irqflags); in rt2x00debug_read_queue_stats()
330 spin_unlock_irqrestore(&queue->index_lock, irqflags); in rt2x00debug_read_queue_stats()