Lines Matching refs:cmd_lock
117 struct mutex cmd_lock; member
134 mutex_init(&spi_priv->cmd_lock); in w5200_spi_init()
200 mutex_lock(&spi_priv->cmd_lock); in w5200_spi_readbulk()
208 mutex_unlock(&spi_priv->cmd_lock); in w5200_spi_readbulk()
230 mutex_lock(&spi_priv->cmd_lock); in w5200_spi_writebulk()
238 mutex_unlock(&spi_priv->cmd_lock); in w5200_spi_writebulk()
262 struct mutex cmd_lock; member
279 mutex_init(&spi_priv->cmd_lock); in w5500_spi_init()
360 mutex_lock(&spi_priv->cmd_lock); in w5500_spi_readbulk()
367 mutex_unlock(&spi_priv->cmd_lock); in w5500_spi_readbulk()
389 mutex_lock(&spi_priv->cmd_lock); in w5500_spi_writebulk()
396 mutex_unlock(&spi_priv->cmd_lock); in w5500_spi_writebulk()