Searched refs:flash_mutex (Results 1 – 7 of 7) sorted by relevance
23 static DEFINE_MUTEX(flash_mutex);80 mutex_lock(&flash_mutex); in flash_llseek()94 mutex_unlock(&flash_mutex); in flash_llseek()97 mutex_unlock(&flash_mutex); in flash_llseek()125 mutex_lock(&flash_mutex); in flash_open()127 mutex_unlock(&flash_mutex); in flash_open()131 mutex_unlock(&flash_mutex); in flash_open()
21 struct mutex flash_mutex; /* protects flash_busy and serializes flash read/read */ member259 mutex_lock(&pmci->flash_mutex); in m10bmc_pmci_flash_read()275 mutex_unlock(&pmci->flash_mutex); in m10bmc_pmci_flash_read()286 mutex_lock(&pmci->flash_mutex); in m10bmc_pmci_flash_write()290 mutex_unlock(&pmci->flash_mutex); in m10bmc_pmci_flash_write()300 mutex_lock(&pmci->flash_mutex); in m10bmc_pmci_flash_lock()309 mutex_unlock(&pmci->flash_mutex); in m10bmc_pmci_flash_lock()317 mutex_lock(&pmci->flash_mutex); in m10bmc_pmci_flash_unlock()320 mutex_unlock(&pmci->flash_mutex); in m10bmc_pmci_flash_unlock()403 mutex_init(&pmci->flash_mutex); in m10bmc_pmci_probe()[all …]
42 static DEFINE_MUTEX(flash_mutex);98 mutex_lock(&flash_mutex); in flash_ioctl()116 mutex_unlock(&flash_mutex); in flash_ioctl()119 mutex_unlock(&flash_mutex); in flash_ioctl()276 mutex_lock(&flash_mutex); in flash_llseek()282 mutex_unlock(&flash_mutex); in flash_llseek()
291 mutex_lock(&f34->v5.flash_mutex); in rmi_f34_update_firmware()295 mutex_unlock(&f34->v5.flash_mutex); in rmi_f34_update_firmware()552 mutex_init(&f34->v5.flash_mutex); in rmi_f34_probe()
245 struct mutex flash_mutex; member
299 struct mutex flash_mutex; /* lock flash access */ member
2591 mutex_lock(&link->flash_mutex); in flashio()2659 mutex_unlock(&link->flash_mutex); in flashio()2662 mutex_unlock(&link->flash_mutex); in flashio()3359 mutex_init(&dev->link[0].flash_mutex); in ddb_init()