Lines Matching refs:spi_lock
867 rc = mutex_lock_interruptible(&nic_data->spi_lock); in falcon_mtd_read()
872 mutex_unlock(&nic_data->spi_lock); in falcon_mtd_read()
883 rc = mutex_lock_interruptible(&nic_data->spi_lock); in falcon_mtd_erase()
887 mutex_unlock(&nic_data->spi_lock); in falcon_mtd_erase()
899 rc = mutex_lock_interruptible(&nic_data->spi_lock); in falcon_mtd_write()
904 mutex_unlock(&nic_data->spi_lock); in falcon_mtd_write()
915 mutex_lock(&nic_data->spi_lock); in falcon_mtd_sync()
917 mutex_unlock(&nic_data->spi_lock); in falcon_mtd_sync()
1803 mutex_lock(&nic_data->spi_lock); in falcon_read_nvram()
1805 mutex_unlock(&nic_data->spi_lock); in falcon_read_nvram()
2063 mutex_lock(&nic_data->spi_lock); in falcon_reset_hw()
2065 mutex_unlock(&nic_data->spi_lock); in falcon_reset_hw()
2257 mutex_init(&nic_data->spi_lock); in falcon_probe_spi_devices()