Searched refs:regcfg (Results 1 – 4 of 4) sorted by relevance
17 struct regmap_config regcfg; in sc16is7xx_i2c_probe() local24 memcpy(®cfg, &sc16is7xx_regcfg, sizeof(struct regmap_config)); in sc16is7xx_i2c_probe()27 regcfg.name = sc16is7xx_regmap_name(i); in sc16is7xx_i2c_probe()28 regcfg.read_flag_mask = sc16is7xx_regmap_port_mask(i); in sc16is7xx_i2c_probe()29 regcfg.write_flag_mask = sc16is7xx_regmap_port_mask(i); in sc16is7xx_i2c_probe()30 regmaps[i] = devm_regmap_init_i2c(i2c, ®cfg); in sc16is7xx_i2c_probe()
21 struct regmap_config regcfg; in sc16is7xx_spi_probe() local41 memcpy(®cfg, &sc16is7xx_regcfg, sizeof(struct regmap_config)); in sc16is7xx_spi_probe()44 regcfg.name = sc16is7xx_regmap_name(i); in sc16is7xx_spi_probe()50 regcfg.read_flag_mask = sc16is7xx_regmap_port_mask(i) | in sc16is7xx_spi_probe()52 regcfg.write_flag_mask = sc16is7xx_regmap_port_mask(i); in sc16is7xx_spi_probe()53 regmaps[i] = devm_regmap_init_spi(spi, ®cfg); in sc16is7xx_spi_probe()
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()
1687 u32 regcfg; in ocelot_hw_get_value() local1691 ®cfg); in ocelot_hw_get_value()1698 *val = regcfg & (opd->pd_bit | opd->pu_bit); in ocelot_hw_get_value()1702 *val = regcfg & opd->schmitt_bit; in ocelot_hw_get_value()1706 *val = regcfg & opd->drive_bits; in ocelot_hw_get_value()