Searched refs:regcfg (Results 1 – 5 of 5) sorted by relevance
35 struct regmap_config regcfg; member237 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()[all …]
461 static struct regmap_config regcfg = { variable504 regcfg.lock_arg = ctx; in devm_regmap_init_encx24j600()505 ctx->regmap = devm_regmap_init(dev, ®map_encx24j600, ctx, ®cfg); in devm_regmap_init_encx24j600()
1597 static struct regmap_config regcfg = { variable1632 regcfg.max_register = (0xf << SC16IS7XX_REG_SHIFT) | in sc16is7xx_spi_probe()1634 regmap = devm_regmap_init_spi(spi, ®cfg); in sc16is7xx_spi_probe()1685 regcfg.max_register = (0xf << SC16IS7XX_REG_SHIFT) | in sc16is7xx_i2c_probe()1687 regmap = devm_regmap_init_i2c(i2c, ®cfg); in sc16is7xx_i2c_probe()
1466 static struct regmap_config regcfg = { variable1512 regcfg.read_flag_mask = port_mask; in max310x_spi_probe()1513 regcfg.write_flag_mask = port_mask | MAX310X_WRITE_BIT; in max310x_spi_probe()1514 regmaps[i] = devm_regmap_init_spi(spi, ®cfg); in max310x_spi_probe()
1342 u32 regcfg; in ocelot_hw_get_value() local1346 ®cfg); in ocelot_hw_get_value()1353 *val = regcfg & (opd->pd_bit | opd->pu_bit); in ocelot_hw_get_value()1357 *val = regcfg & opd->schmitt_bit; in ocelot_hw_get_value()1361 *val = regcfg & opd->drive_bits; in ocelot_hw_get_value()