Lines Matching refs:spi
32 struct spi_device *spi; member
73 dev_dbg(&aic26->spi->dev, "aic26_hw_params(substream=%p, params=%p)\n", in aic26_hw_params()
75 dev_dbg(&aic26->spi->dev, "rate=%i width=%d\n", params_rate(params), in aic26_hw_params()
89 dev_dbg(&aic26->spi->dev, "bad rate\n"); return -EINVAL; in aic26_hw_params()
99 dev_dbg(&aic26->spi->dev, "bad format\n"); return -EINVAL; in aic26_hw_params()
113 dev_dbg(&aic26->spi->dev, "Setting PLLM to %d.%04d\n", jval, dval); in aic26_hw_params()
143 dev_dbg(&aic26->spi->dev, "aic26_mute(dai=%p, mute=%i)\n", in aic26_mute()
161 dev_dbg(&aic26->spi->dev, "aic26_set_sysclk(dai=%p, clk_id==%i," in aic26_set_sysclk()
178 dev_dbg(&aic26->spi->dev, "aic26_set_fmt(dai=%p, fmt==%i)\n", in aic26_set_fmt()
186 dev_dbg(&aic26->spi->dev, "bad master\n"); return -EINVAL; in aic26_set_fmt()
196 dev_dbg(&aic26->spi->dev, "bad format\n"); return -EINVAL; in aic26_set_fmt()
347 static int aic26_spi_probe(struct spi_device *spi) in aic26_spi_probe() argument
352 dev_dbg(&spi->dev, "probing tlv320aic26 spi device\n"); in aic26_spi_probe()
355 aic26 = devm_kzalloc(&spi->dev, sizeof *aic26, GFP_KERNEL); in aic26_spi_probe()
359 aic26->regmap = devm_regmap_init_spi(spi, &aic26_regmap); in aic26_spi_probe()
364 aic26->spi = spi; in aic26_spi_probe()
365 dev_set_drvdata(&spi->dev, aic26); in aic26_spi_probe()
368 ret = devm_snd_soc_register_component(&spi->dev, in aic26_spi_probe()