Lines Matching refs:spi
35 struct spi_device *spi = to_spi_device(dev); in regmap_spi_write() local
37 return spi_write(spi, data, count); in regmap_spi_write()
45 struct spi_device *spi = to_spi_device(dev); in regmap_spi_gather_write() local
54 return spi_sync(spi, &m); in regmap_spi_gather_write()
66 struct spi_device *spi = to_spi_device(dev); in regmap_spi_async_write() local
81 return spi_async(spi, &async->m); in regmap_spi_async_write()
100 struct spi_device *spi = to_spi_device(dev); in regmap_spi_read() local
102 return spi_write_then_read(spi, reg, reg_size, val, val_size); in regmap_spi_read()
116 struct regmap *__regmap_init_spi(struct spi_device *spi, in __regmap_init_spi() argument
121 return __regmap_init(&spi->dev, ®map_spi, &spi->dev, config, in __regmap_init_spi()
126 struct regmap *__devm_regmap_init_spi(struct spi_device *spi, in __devm_regmap_init_spi() argument
131 return __devm_regmap_init(&spi->dev, ®map_spi, &spi->dev, config, in __devm_regmap_init_spi()