Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Drt5677-spi.c58 static struct spi_device *g_spi; variable
390 rt5677_dsp->dev = &g_spi->dev; in rt5677_spi_pcm_probe()
483 if (!g_spi) in rt5677_spi_read()
487 dev_err(&g_spi->dev, "Bad read align 0x%x(%zu)\n", addr, len); in rt5677_spi_read()
511 status |= spi_sync(g_spi, &m); in rt5677_spi_read()
538 if (!g_spi) in rt5677_spi_write()
542 dev_err(&g_spi->dev, "Bad write align 0x%x(%zu)\n", addr, len); in rt5677_spi_write()
568 status |= spi_sync(g_spi, &m); in rt5677_spi_write()
585 if (!g_spi) in rt5677_spi_hotword_detected()
588 rt5677_dsp = dev_get_drvdata(&g_spi->dev); in rt5677_spi_hotword_detected()
[all …]
/linux/drivers/net/wan/
H A Dslic_ds26522.c29 static struct spi_device *g_spi; variable
207 g_spi = spi; in slic_ds26522_probe()