Home
last modified time | relevance | path

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

/drivers/i2c/
Di2c-slave-eeprom.c31 spinlock_t buffer_lock; member
59 spin_lock(&eeprom->buffer_lock); in i2c_slave_eeprom_slave_cb()
61 spin_unlock(&eeprom->buffer_lock); in i2c_slave_eeprom_slave_cb()
71 spin_lock(&eeprom->buffer_lock); in i2c_slave_eeprom_slave_cb()
73 spin_unlock(&eeprom->buffer_lock); in i2c_slave_eeprom_slave_cb()
101 spin_lock_irqsave(&eeprom->buffer_lock, flags); in i2c_slave_eeprom_bin_read()
103 spin_unlock_irqrestore(&eeprom->buffer_lock, flags); in i2c_slave_eeprom_bin_read()
116 spin_lock_irqsave(&eeprom->buffer_lock, flags); in i2c_slave_eeprom_bin_write()
118 spin_unlock_irqrestore(&eeprom->buffer_lock, flags); in i2c_slave_eeprom_bin_write()
157 spin_lock_init(&eeprom->buffer_lock); in i2c_slave_eeprom_probe()
/drivers/input/
Devdev.c45 spinlock_t buffer_lock; /* protects access to buffer, head and tail */ member
170 spin_lock_irqsave(&client->buffer_lock, flags); in evdev_queue_syn_dropped()
172 spin_unlock_irqrestore(&client->buffer_lock, flags); in evdev_queue_syn_dropped()
202 spin_lock_irqsave(&client->buffer_lock, flags); in evdev_set_clk_type()
209 spin_unlock_irqrestore(&client->buffer_lock, flags); in evdev_set_clk_type()
265 spin_lock(&client->buffer_lock); in evdev_pass_values()
285 spin_unlock(&client->buffer_lock); in evdev_pass_values()
487 spin_lock_init(&client->buffer_lock); in evdev_open()
549 spin_lock_irq(&client->buffer_lock); in evdev_fetch_next_event()
557 spin_unlock_irq(&client->buffer_lock); in evdev_fetch_next_event()
[all …]
Djoydev.c62 spinlock_t buffer_lock; /* protects access to buffer, head and tail */ member
96 spin_lock(&client->buffer_lock); in joydev_pass_event()
107 spin_unlock(&client->buffer_lock); in joydev_pass_event()
268 spin_lock_init(&client->buffer_lock); in joydev_open()
294 spin_lock_irq(&client->buffer_lock); in joydev_generate_startup_event()
314 spin_unlock_irq(&client->buffer_lock); in joydev_generate_startup_event()
324 spin_lock_irq(&client->buffer_lock); in joydev_fetch_next_event()
332 spin_unlock_irq(&client->buffer_lock); in joydev_fetch_next_event()
362 spin_lock(&client->buffer_lock); in joydev_0x_read()
365 spin_unlock(&client->buffer_lock); in joydev_0x_read()
/drivers/net/wireless/marvell/libertas/
Dif_spi.c71 spinlock_t buffer_lock; member
896 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card_worker()
902 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card_worker()
910 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card_worker()
916 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card_worker()
963 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card()
965 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card()
969 spin_lock_irqsave(&card->buffer_lock, flags); in if_spi_host_to_card()
971 spin_unlock_irqrestore(&card->buffer_lock, flags); in if_spi_host_to_card()
1126 spin_lock_init(&card->buffer_lock); in if_spi_probe()