Home
last modified time | relevance | path

Searched refs:vsc_spi (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/dsa/
H A Dvitesse-vsc73xx-spi.c82 mutex_lock(&vsc_spi->lock); in vsc73xx_spi_read()
84 mutex_unlock(&vsc_spi->lock); in vsc73xx_spi_read()
127 mutex_lock(&vsc_spi->lock); in vsc73xx_spi_write()
137 struct vsc73xx_spi *vsc_spi; in vsc73xx_spi_probe() local
140 vsc_spi = devm_kzalloc(dev, sizeof(*vsc_spi), GFP_KERNEL); in vsc73xx_spi_probe()
141 if (!vsc_spi) in vsc73xx_spi_probe()
146 vsc_spi->vsc.dev = dev; in vsc73xx_spi_probe()
147 vsc_spi->vsc.priv = vsc_spi; in vsc73xx_spi_probe()
149 mutex_init(&vsc_spi->lock); in vsc73xx_spi_probe()
166 if (!vsc_spi) in vsc73xx_spi_remove()
[all …]