Lines Matching refs:spi_lock
71 struct mutex spi_lock; member
110 mutex_lock(&spidev->spi_lock); in spidev_sync()
118 mutex_unlock(&spidev->spi_lock); in spidev_sync()
371 mutex_lock(&spidev->spi_lock); in spidev_ioctl()
374 mutex_unlock(&spidev->spi_lock); in spidev_ioctl()
520 mutex_unlock(&spidev->spi_lock); in spidev_ioctl()
542 mutex_lock(&spidev->spi_lock); in spidev_compat_ioc_message()
545 mutex_unlock(&spidev->spi_lock); in spidev_compat_ioc_message()
574 mutex_unlock(&spidev->spi_lock); in spidev_compat_ioc_message()
652 mutex_lock(&spidev->spi_lock); in spidev_release()
655 mutex_unlock(&spidev->spi_lock); in spidev_release()
792 mutex_init(&spidev->spi_lock); in spidev_probe()
837 mutex_lock(&spidev->spi_lock); in spidev_remove()
839 mutex_unlock(&spidev->spi_lock); in spidev_remove()