Lines Matching refs:regcfg
35 struct regmap_config regcfg; member
237 cs4341->regcfg.reg_bits = 8; in cs4341_i2c_probe()
238 cs4341->regcfg.val_bits = 8; in cs4341_i2c_probe()
239 cs4341->regcfg.max_register = CS4341_REG_VOLB; in cs4341_i2c_probe()
240 cs4341->regcfg.cache_type = REGCACHE_FLAT; in cs4341_i2c_probe()
241 cs4341->regcfg.reg_defaults = cs4341_reg_defaults; in cs4341_i2c_probe()
242 cs4341->regcfg.num_reg_defaults = ARRAY_SIZE(cs4341_reg_defaults); in cs4341_i2c_probe()
243 cs4341->regmap = devm_regmap_init_i2c(i2c, &cs4341->regcfg); in cs4341_i2c_probe()
291 cs4341->regcfg.reg_bits = 16; in cs4341_spi_probe()
292 cs4341->regcfg.val_bits = 8; in cs4341_spi_probe()
293 cs4341->regcfg.write_flag_mask = 0x20; in cs4341_spi_probe()
294 cs4341->regcfg.max_register = CS4341_REG_VOLB; in cs4341_spi_probe()
295 cs4341->regcfg.cache_type = REGCACHE_FLAT; in cs4341_spi_probe()
296 cs4341->regcfg.readable_reg = cs4341_reg_readable; in cs4341_spi_probe()
297 cs4341->regcfg.reg_defaults = cs4341_reg_defaults; in cs4341_spi_probe()
298 cs4341->regcfg.num_reg_defaults = ARRAY_SIZE(cs4341_reg_defaults); in cs4341_spi_probe()
299 cs4341->regmap = devm_regmap_init_spi(spi, &cs4341->regcfg); in cs4341_spi_probe()