Lines Matching refs:spi

40 	struct spi_device *spi;  member
62 return spi_write(s->spi, &data, 3); in msi001_wreg()
71 dev_dbg(&s->spi->dev, "lna=%d mixer=%d if=%d\n", in msi001_set_gain()
87 dev_dbg(&s->spi->dev, "failed %d\n", ret); in msi001_set_gain()
150 dev_dbg(&s->spi->dev, "f_rf=%d f_if=%d\n", f_rf, f_if); in msi001_set_tuner()
201 dev_dbg(&s->spi->dev, "bandwidth selected=%d\n", bandwidth_lut[i].freq); in msi001_set_tuner()
227 dev_dbg(&s->spi->dev, "rf=%u:%u n=%d thresh=%d frac=%d\n", in msi001_set_tuner()
277 dev_dbg(&s->spi->dev, "failed %d\n", ret); in msi001_set_tuner()
286 dev_dbg(&s->spi->dev, "on=%d\n", on); in msi001_s_power()
304 dev_dbg(&s->spi->dev, "index=%d\n", v->index); in msi001_g_tuner()
319 dev_dbg(&s->spi->dev, "index=%d\n", v->index); in msi001_s_tuner()
327 dev_dbg(&s->spi->dev, "tuner=%d\n", f->tuner); in msi001_g_frequency()
338 dev_dbg(&s->spi->dev, "tuner=%d type=%d frequency=%u\n", in msi001_s_frequency()
356 dev_dbg(&s->spi->dev, "tuner=%d type=%d index=%d\n", in msi001_enum_freq_bands()
388 dev_dbg(&s->spi->dev, in msi001_s_ctrl()
411 dev_dbg(&s->spi->dev, "unknown control %d\n", ctrl->id); in msi001_s_ctrl()
422 static int msi001_probe(struct spi_device *spi) in msi001_probe() argument
427 dev_dbg(&spi->dev, "\n"); in msi001_probe()
432 dev_dbg(&spi->dev, "Could not allocate memory for msi001\n"); in msi001_probe()
436 s->spi = spi; in msi001_probe()
438 v4l2_spi_subdev_init(&s->sd, spi, &msi001_ops); in msi001_probe()
455 dev_err(&s->spi->dev, "Could not initialize controls\n"); in msi001_probe()
470 static int msi001_remove(struct spi_device *spi) in msi001_remove() argument
472 struct v4l2_subdev *sd = spi_get_drvdata(spi); in msi001_remove()
475 dev_dbg(&spi->dev, "\n"); in msi001_remove()
491 MODULE_DEVICE_TABLE(spi, msi001_id);