Home
last modified time | relevance | path

Searched refs:bus_context (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/iio/chemical/
Dbme680_spi.c113 struct bme680_spi_bus_context *bus_context; in bme680_spi_probe() local
124 bus_context = devm_kzalloc(&spi->dev, sizeof(*bus_context), GFP_KERNEL); in bme680_spi_probe()
125 if (!bus_context) in bme680_spi_probe()
128 bus_context->spi = spi; in bme680_spi_probe()
129 bus_context->current_page = 0xff; /* Undefined on warm boot */ in bme680_spi_probe()
132 bus_context, &bme680_regmap_config); in bme680_spi_probe()
/linux-4.19.296/drivers/base/regmap/
Dregmap.c659 void *bus_context, in __regmap_init() argument
766 map->bus_context = bus_context; in __regmap_init()
1154 void *bus_context, in __devm_regmap_init() argument
1165 regmap = __regmap_init(dev, bus, bus_context, config, in __devm_regmap_init()
1318 map->bus->free_context(map->bus_context); in regmap_exit()
1574 ret = map->bus->async_write(map->bus_context, in _regmap_raw_write_impl()
1580 ret = map->bus->async_write(map->bus_context, in _regmap_raw_write_impl()
1605 ret = map->bus->write(map->bus_context, map->work_buf, in _regmap_raw_write_impl()
1610 ret = map->bus->gather_write(map->bus_context, map->work_buf, in _regmap_raw_write_impl()
1627 ret = map->bus->write(map->bus_context, buf, len); in _regmap_raw_write_impl()
[all …]
Dregmap-mmio.c371 struct regmap_mmio_context *ctx = map->bus_context; in regmap_mmio_attach_clk()
382 struct regmap_mmio_context *ctx = map->bus_context; in regmap_mmio_detach_clk()
Dinternal.h69 void *bus_context; member
/linux-4.19.296/include/linux/
Dregmap.h519 void *bus_context,
567 void *bus_context,
647 #define regmap_init(dev, bus, bus_context, config) \ argument
649 dev, bus, bus_context, config)
813 #define devm_regmap_init(dev, bus, bus_context, config) \ argument
815 dev, bus, bus_context, config)