Searched refs:g_spi (Results 1 – 2 of 2) sorted by relevance
58 static struct spi_device *g_spi; variable390 rt5677_dsp->dev = &g_spi->dev; in rt5677_spi_pcm_probe()482 if (!g_spi) in rt5677_spi_read()486 dev_err(&g_spi->dev, "Bad read align 0x%x(%zu)\n", addr, len); in rt5677_spi_read()510 status |= spi_sync(g_spi, &m); in rt5677_spi_read()537 if (!g_spi) in rt5677_spi_write()541 dev_err(&g_spi->dev, "Bad write align 0x%x(%zu)\n", addr, len); in rt5677_spi_write()567 status |= spi_sync(g_spi, &m); in rt5677_spi_write()584 if (!g_spi) in rt5677_spi_hotword_detected()587 rt5677_dsp = dev_get_drvdata(&g_spi->dev); in rt5677_spi_hotword_detected()[all …]
29 static struct spi_device *g_spi; variable207 g_spi = spi; in slic_ds26522_probe()