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()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 …]
29 static struct spi_device *g_spi; variable207 g_spi = spi; in slic_ds26522_probe()