Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/base/regmap/
Dregmap.c666 void *bus_context, in __regmap_init() argument
788 map->bus_context = bus_context; in __regmap_init()
1175 void *bus_context, in __devm_regmap_init() argument
1186 regmap = __regmap_init(dev, bus, bus_context, config, in __devm_regmap_init()
1449 map->bus->free_context(map->bus_context); in regmap_exit()
1726 ret = map->bus->async_write(map->bus_context, in _regmap_raw_write_impl()
1732 ret = map->bus->async_write(map->bus_context, in _regmap_raw_write_impl()
1757 ret = map->write(map->bus_context, map->work_buf, in _regmap_raw_write_impl()
1762 ret = map->bus->gather_write(map->bus_context, map->work_buf, in _regmap_raw_write_impl()
1779 ret = map->write(map->bus_context, buf, len); in _regmap_raw_write_impl()
[all …]
Dregmap-mmio.c592 struct regmap_mmio_context *ctx = map->bus_context; in regmap_mmio_attach_clk()
603 struct regmap_mmio_context *ctx = map->bus_context; in regmap_mmio_detach_clk()
Dinternal.h72 void *bus_context; member
/Linux-v6.6/include/linux/
Dregmap.h592 void *bus_context,
656 void *bus_context,
757 #define regmap_init(dev, bus, bus_context, config) \ argument
759 dev, bus, bus_context, config)
975 #define devm_regmap_init(dev, bus, bus_context, config) \ argument
977 dev, bus, bus_context, config)