Home
last modified time | relevance | path

Searched refs:reg_defaults (Results 1 – 25 of 274) sorted by relevance

1234567891011

/Linux-v6.6/drivers/media/i2c/
Dks0127.c203 static u8 reg_defaults[64]; variable
208 u8 *table = reg_defaults; in init_reg_defaults()
359 u8 *table = reg_defaults; in ks0127_init()
429 (reg_defaults[KS_LUMA])|0x0c); in ks0127_s_routing()
438 ks0127_write(sd, KS_UGAIN, reg_defaults[KS_UGAIN]); in ks0127_s_routing()
439 ks0127_write(sd, KS_VGAIN, reg_defaults[KS_VGAIN]); in ks0127_s_routing()
440 ks0127_write(sd, KS_UVOFFH, reg_defaults[KS_UVOFFH]); in ks0127_s_routing()
441 ks0127_write(sd, KS_UVOFFL, reg_defaults[KS_UVOFFL]); in ks0127_s_routing()
462 reg_defaults[KS_LUMA]); in ks0127_s_routing()
465 (reg_defaults[KS_VERTIA]&0xf0)|0x01); in ks0127_s_routing()
[all …]
/Linux-v6.6/drivers/base/regmap/
Dregcache.c48 map->reg_defaults = kmalloc_array(count, sizeof(struct reg_default), in regcache_hw_init()
50 if (!map->reg_defaults) in regcache_hw_init()
100 map->reg_defaults[j].reg = reg; in regcache_hw_init()
101 map->reg_defaults[j].def = val; in regcache_hw_init()
108 kfree(map->reg_defaults); in regcache_hw_init()
120 if (config->reg_defaults || config->num_reg_defaults_raw) in regcache_init()
128 if (config->reg_defaults && !config->num_reg_defaults) { in regcache_init()
134 if (config->num_reg_defaults && !config->reg_defaults) { in regcache_init()
141 if (config->reg_defaults[i].reg % map->reg_stride) in regcache_init()
172 if (config->reg_defaults) { in regcache_init()
[all …]
Dregcache-maple.c328 entry[i] = map->reg_defaults[first + i].def; in regcache_maple_insert_block()
332 mas_set_range(&mas, map->reg_defaults[first].reg, in regcache_maple_insert_block()
333 map->reg_defaults[last].reg); in regcache_maple_insert_block()
365 if (map->reg_defaults[i].reg != in regcache_maple_init()
366 map->reg_defaults[i - 1].reg + 1) { in regcache_maple_init()
Dregcache-flat.c37 unsigned int reg = map->reg_defaults[i].reg; in regcache_flat_init()
40 cache[index] = map->reg_defaults[i].def; in regcache_flat_init()
Dregmap-kunit.c81 config->reg_defaults = defaults; in gen_regmap()
277 static void reg_defaults(struct kunit *test) in reg_defaults() function
954 config->reg_defaults = defaults; in gen_raw_regmap()
1005 KUNIT_EXPECT_EQ(test, config.reg_defaults[i].def, rval); in raw_read_defaults_single()
1038 def = config.reg_defaults[i].def; in raw_read_defaults()
1117 KUNIT_EXPECT_EQ(test, config.reg_defaults[i].def, rval); in raw_write()
1177 KUNIT_EXPECT_EQ(test, config.reg_defaults[i].def, rval); in raw_sync()
1207 KUNIT_CASE_PARAM(reg_defaults, regcache_types_gen_params),
/Linux-v6.6/drivers/mfd/
Dwm97xx-core.c100 .reg_defaults = wm9705_reg_defaults,
168 .reg_defaults = wm9712_reg_defaults,
239 .reg_defaults = wm9713_reg_defaults,
Dwm8994-regmap.c1243 .reg_defaults = wm1811_defaults,
1258 .reg_defaults = wm8994_defaults,
1273 .reg_defaults = wm8958_defaults,
Dcs42l43-i2c.c30 .reg_defaults = cs42l43_reg_default,
Dcs47l15-tables.c1253 .reg_defaults = cs47l15_reg_default,
1268 .reg_defaults = cs47l15_reg_default,
/Linux-v6.6/sound/soc/codecs/
Drt715-sdca-sdw.c98 .reg_defaults = rt715_reg_defaults_sdca,
112 .reg_defaults = rt715_mbq_reg_defaults_sdca,
Dcs35l45-tables.c254 .reg_defaults = cs35l45_defaults,
270 .reg_defaults = cs35l45_defaults,
Dmax9860.c121 .reg_defaults = max9860_reg_defaults,
668 max9860_regmap.reg_defaults[i].reg, in max9860_probe()
669 max9860_regmap.reg_defaults[i].def); in max9860_probe()
672 max9860_regmap.reg_defaults[i].reg, ret); in max9860_probe()
Dtas571x.c431 .reg_defaults = tas5711_reg_defaults,
536 .reg_defaults = tas5707_reg_defaults,
643 .reg_defaults = tas5717_reg_defaults,
714 .reg_defaults = tas5721_reg_defaults,
763 .reg_defaults = tas5733_reg_defaults,
Dadau7118-i2c.c44 .reg_defaults = adau7118_reg_defaults,
Dak4642.c568 .reg_defaults = ak4642_reg,
577 .reg_defaults = ak4643_reg,
586 .reg_defaults = ak4648_reg,
Dcs4341.c241 cs4341->regcfg.reg_defaults = cs4341_reg_defaults; in cs4341_i2c_probe()
297 cs4341->regcfg.reg_defaults = cs4341_reg_defaults; in cs4341_spi_probe()
Dlm4857.c114 .reg_defaults = lm4857_default_regs,
Dmax9877.c131 .reg_defaults = max9877_regs,
Dcs35l56-shared.c762 .reg_defaults = cs35l56_reg_defaults,
779 .reg_defaults = cs35l56_reg_defaults,
795 .reg_defaults = cs35l56_reg_defaults,
Drt722-sdca-sdw.c140 .reg_defaults = rt722_sdca_reg_defaults,
154 .reg_defaults = rt722_sdca_mbq_defaults,
Drt711-sdca-sdw.c120 .reg_defaults = rt711_sdca_reg_defaults,
134 .reg_defaults = rt711_sdca_mbq_defaults,
Drt712-sdca-sdw.c117 .reg_defaults = rt712_sdca_reg_defaults,
131 .reg_defaults = rt712_sdca_mbq_defaults,
/Linux-v6.6/drivers/leds/
Dleds-lp50xx.c138 .reg_defaults = lp5012_reg_defs,
148 .reg_defaults = lp5024_reg_defs,
158 .reg_defaults = lp5036_reg_defs,
Dleds-lp8860.c332 .reg_defaults = lp8860_reg_defs,
370 .reg_defaults = lp8860_eeprom_defs,
/Linux-v6.6/drivers/soc/qcom/
Dicc-bwmon.c279 .reg_defaults = msm8998_bwmon_reg_defaults,
298 .reg_defaults = msm8998_bwmon_global_reg_defaults,
366 .reg_defaults = sdm845_cpu_bwmon_reg_defaults,
443 .reg_defaults = sdm845_llcc_bwmon_reg_defaults,

1234567891011