Home
last modified time | relevance | path

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

/Linux-v6.1/sound/soc/codecs/
Dcs4341.c35 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()
[all …]
/Linux-v6.1/drivers/net/ethernet/microchip/
Dencx24j600-regmap.c461 static struct regmap_config regcfg = { variable
504 regcfg.lock_arg = ctx; in devm_regmap_init_encx24j600()
505 ctx->regmap = devm_regmap_init(dev, &regmap_encx24j600, ctx, &regcfg); in devm_regmap_init_encx24j600()
/Linux-v6.1/drivers/tty/serial/
Dsc16is7xx.c1597 static struct regmap_config regcfg = { variable
1632 regcfg.max_register = (0xf << SC16IS7XX_REG_SHIFT) | in sc16is7xx_spi_probe()
1634 regmap = devm_regmap_init_spi(spi, &regcfg); in sc16is7xx_spi_probe()
1685 regcfg.max_register = (0xf << SC16IS7XX_REG_SHIFT) | in sc16is7xx_i2c_probe()
1687 regmap = devm_regmap_init_i2c(i2c, &regcfg); in sc16is7xx_i2c_probe()
Dmax310x.c1466 static struct regmap_config regcfg = { variable
1512 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, &regcfg); in max310x_spi_probe()
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-ocelot.c1342 u32 regcfg; in ocelot_hw_get_value() local
1346 &regcfg); 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()