Home
last modified time | relevance | path

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

/sound/soc/codecs/
Drt5677-spi.c48 static struct spi_device *g_spi; variable
123 if (!g_spi) in rt5677_spi_read()
127 dev_err(&g_spi->dev, "Bad read align 0x%x(%zu)\n", addr, len); in rt5677_spi_read()
151 status |= spi_sync(g_spi, &m); in rt5677_spi_read()
178 if (!g_spi) in rt5677_spi_write()
182 dev_err(&g_spi->dev, "Bad write align 0x%x(%zu)\n", addr, len); in rt5677_spi_write()
208 status |= spi_sync(g_spi, &m); in rt5677_spi_write()
223 g_spi = spi; in rt5677_spi_probe()