Lines Matching defs:spi
21 struct spi_device *spi = context;
22 struct tcan4x5x_priv *priv = spi_get_drvdata(spi);
36 return spi_sync_transfer(spi, xfer, ARRAY_SIZE(xfer));
50 struct spi_device *spi = context;
51 struct tcan4x5x_priv *priv = spi_get_drvdata(spi);
69 if (spi->controller->flags & SPI_CONTROLLER_HALF_DUPLEX) {
83 err = spi_sync(spi, &msg);
87 if (!(spi->controller->flags & SPI_CONTROLLER_HALF_DUPLEX))
162 priv->regmap = devm_regmap_init(&priv->spi->dev, &tcan4x5x_bus,
163 priv->spi, &tcan4x5x_regmap);