Lines Matching refs:flash_mutex
21 struct mutex flash_mutex; /* protects flash_busy and serializes flash read/read */ member
259 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()
421 mutex_destroy(&pmci->flash_mutex); in m10bmc_pmci_probe()
430 mutex_destroy(&pmci->flash_mutex); in m10bmc_pmci_remove()