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()
125 struct regmap *regmap_init_spi(struct spi_device *spi, in regmap_init_spi() argument
128 return regmap_init(&spi->dev, ®map_spi, &spi->dev, config); in regmap_init_spi()
142 struct regmap *devm_regmap_init_spi(struct spi_device *spi, in devm_regmap_init_spi() argument
145 return devm_regmap_init(&spi->dev, ®map_spi, &spi->dev, config); in devm_regmap_init_spi()