Searched refs:power_lock (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/drivers/media/i2c/
H A Das3645a.c108 * @power_lock: Protects power_count
122 struct mutex power_lock; member in struct:as3645a
545 mutex_lock(&flash->power_lock); as3645a_set_power()
557 mutex_unlock(&flash->power_lock); as3645a_set_power()
836 mutex_init(&flash->power_lock); as3645a_probe()
855 mutex_destroy(&flash->power_lock); as3645a_remove()
H A Dadp1653.c346 mutex_lock(&flash->power_lock); adp1653_set_power()
362 mutex_unlock(&flash->power_lock); adp1653_set_power()
505 mutex_init(&flash->power_lock); adp1653_probe()
H A Dmt9t001.c125 struct mutex power_lock; /* lock to protect power_count */ member in struct:mt9t001
735 mutex_lock(&mt9t001->power_lock); mt9t001_set_power()
751 mutex_unlock(&mt9t001->power_lock); mt9t001_set_power()
867 mutex_init(&mt9t001->power_lock); mt9t001_probe()
H A Dmt9p031.c128 struct mutex power_lock; /* lock to protect power_count */ member in struct:mt9p031
890 mutex_lock(&mt9p031->power_lock); mt9p031_set_power()
906 mutex_unlock(&mt9p031->power_lock); mt9p031_set_power()
1072 mutex_init(&mt9p031->power_lock); mt9p031_probe()
1149 mutex_destroy(&mt9p031->power_lock); mt9p031_probe()
1163 mutex_destroy(&mt9p031->power_lock); mt9p031_remove()
H A Dmt9v032.c249 struct mutex power_lock; member in struct:mt9v032
739 mutex_lock(&mt9v032->power_lock); mt9v032_set_power()
755 mutex_unlock(&mt9v032->power_lock); mt9v032_set_power()
957 mutex_init(&mt9v032->power_lock); mt9v032_probe()
/linux-4.4.14/drivers/tty/serial/
H A Difx6x60.h96 spinlock_t power_lock; member in struct:ifx_spi_device
H A Difx6x60.c148 spin_lock_irqsave(&ifx_dev->power_lock, flags); ifx_spi_power_state_set()
158 spin_unlock_irqrestore(&ifx_dev->power_lock, flags); ifx_spi_power_state_set()
173 spin_lock_irqsave(&ifx_dev->power_lock, flags); ifx_spi_power_state_clear()
181 spin_unlock_irqrestore(&ifx_dev->power_lock, flags); ifx_spi_power_state_clear()
1027 spin_lock_init(&ifx_dev->power_lock); ifx_spi_spi_probe()
/linux-4.4.14/include/media/
H A Dadp1653.h123 struct mutex power_lock; member in struct:adp1653_flash
/linux-4.4.14/include/sound/
H A Dcore.h140 struct mutex power_lock; /* power lock */ member in struct:snd_card
155 mutex_lock(&card->power_lock); snd_power_lock()
160 mutex_unlock(&card->power_lock); snd_power_unlock()
/linux-4.4.14/drivers/media/i2c/soc_camera/
H A Dmt9m111.c213 struct mutex power_lock; /* lock to protect power_count */ member in struct:mt9m111
808 mutex_lock(&mt9m111->power_lock); mt9m111_s_power()
827 mutex_unlock(&mt9m111->power_lock); mt9m111_s_power()
993 mutex_init(&mt9m111->power_lock); mt9m111_probe()
/linux-4.4.14/sound/core/
H A Dinit.c257 mutex_init(&card->power_lock); snd_card_new()

Completed in 382 milliseconds