Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A 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()
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()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/
H A 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()
/openbmc/linux/drivers/tty/serial/
H A Dsc16is7xx.c1694 static struct regmap_config regcfg = { variable
1756 regcfg.name = sc16is7xx_regmap_name(i); in sc16is7xx_spi_probe()
1762 regcfg.read_flag_mask = sc16is7xx_regmap_port_mask(i) | in sc16is7xx_spi_probe()
1764 regcfg.write_flag_mask = sc16is7xx_regmap_port_mask(i); in sc16is7xx_spi_probe()
1765 regmaps[i] = devm_regmap_init_spi(spi, &regcfg); in sc16is7xx_spi_probe()
1819 regcfg.name = sc16is7xx_regmap_name(i); in sc16is7xx_i2c_probe()
1820 regcfg.read_flag_mask = sc16is7xx_regmap_port_mask(i); in sc16is7xx_i2c_probe()
1821 regcfg.write_flag_mask = sc16is7xx_regmap_port_mask(i); in sc16is7xx_i2c_probe()
1822 regmaps[i] = devm_regmap_init_i2c(i2c, &regcfg); in sc16is7xx_i2c_probe()
H A Dmax310x.c1506 static struct regmap_config regcfg = { variable
1556 regcfg.read_flag_mask = port_mask; in max310x_spi_probe()
1557 regcfg.write_flag_mask = port_mask | MAX310X_WRITE_BIT; in max310x_spi_probe()
1558 regmaps[i] = devm_regmap_init_spi(spi, &regcfg); in max310x_spi_probe()
/openbmc/linux/drivers/pinctrl/
H A 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()