Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/media/i2c/
H A Dks0127.c195 static u8 reg_defaults[64]; variable
200 u8 *table = reg_defaults; in init_reg_defaults()
351 u8 *table = reg_defaults; in ks0127_init()
421 (reg_defaults[KS_LUMA])|0x0c); in ks0127_s_routing()
430 ks0127_write(sd, KS_UGAIN, reg_defaults[KS_UGAIN]); in ks0127_s_routing()
431 ks0127_write(sd, KS_VGAIN, reg_defaults[KS_VGAIN]); in ks0127_s_routing()
432 ks0127_write(sd, KS_UVOFFH, reg_defaults[KS_UVOFFH]); in ks0127_s_routing()
433 ks0127_write(sd, KS_UVOFFL, reg_defaults[KS_UVOFFL]); in ks0127_s_routing()
454 reg_defaults[KS_LUMA]); in ks0127_s_routing()
457 (reg_defaults[KS_VERTIA]&0xf0)|0x01); in ks0127_s_routing()
[all …]
/linux/drivers/base/regmap/
H A 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 …]
H A 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()
368 if (map->reg_defaults[i].reg != in regcache_maple_init()
369 map->reg_defaults[i - 1].reg + 1) { in regcache_maple_init()
H A 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()
H A Dregmap-kunit.c199 config->reg_defaults = defaults; in gen_regmap()
587 static void reg_defaults(struct kunit *test) in reg_defaults() function
1040 KUNIT_EXPECT_EQ(test, 0, regmap_write(map, config.reg_defaults[i].reg, in cache_sync_defaults_marked_dirty()
1041 config.reg_defaults[i].def)); in cache_sync_defaults_marked_dirty()
1663 config->reg_defaults = defaults; in gen_raw_regmap()
1723 KUNIT_EXPECT_EQ(test, config.reg_defaults[i].def, rval); in raw_read_defaults_single()
1753 def = config.reg_defaults[i].def; in raw_read_defaults()
1825 KUNIT_EXPECT_EQ(test, config.reg_defaults[i].def, rval); in raw_write()
1937 KUNIT_EXPECT_EQ(test, config.reg_defaults[i].def, rval); in raw_sync()
2038 KUNIT_CASE_PARAM(reg_defaults, regcache_types_gen_params),
/linux/drivers/mfd/
H A Dwm97xx-core.c100 .reg_defaults = wm9705_reg_defaults,
168 .reg_defaults = wm9712_reg_defaults,
239 .reg_defaults = wm9713_reg_defaults,
H A Dwm8994-regmap.c1243 .reg_defaults = wm1811_defaults,
1258 .reg_defaults = wm8994_defaults,
1273 .reg_defaults = wm8958_defaults,
H A Dcs42l43-i2c.c34 .reg_defaults = cs42l43_reg_default,
H A Dcs47l15-tables.c1253 .reg_defaults = cs47l15_reg_default,
1268 .reg_defaults = cs47l15_reg_default,
/linux/sound/soc/codecs/
H A Drt715-sdca-sdw.c98 .reg_defaults = rt715_reg_defaults_sdca,
112 .reg_defaults = rt715_mbq_reg_defaults_sdca,
H A Dcs35l45-tables.c257 .reg_defaults = cs35l45_defaults,
273 .reg_defaults = cs35l45_defaults,
H A 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,
H A 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()
H A Dlpass-wsa-macro.c2768 struct reg_default *reg_defaults __free(kfree) = NULL; in wsa_macro_probe()
2778 reg_defaults = kmalloc_array(def_count, sizeof(*reg_defaults), in wsa_macro_probe()
2780 if (!reg_defaults) in wsa_macro_probe()
2782 memcpy(&reg_defaults[0], wsa_defaults, sizeof(wsa_defaults)); in wsa_macro_probe()
2783 memcpy(&reg_defaults[ARRAY_SIZE(wsa_defaults)], in wsa_macro_probe()
2793 reg_defaults = kmalloc_array(def_count, sizeof(*reg_defaults), in wsa_macro_probe()
2795 if (!reg_defaults) in wsa_macro_probe()
2797 memcpy(&reg_defaults[0], wsa_defaults, sizeof(wsa_defaults)); in wsa_macro_probe()
2798 memcpy(&reg_defaults[ARRAY_SIZE(wsa_defaults)], in wsa_macro_probe()
2813 reg_config->reg_defaults = reg_defaults; in wsa_macro_probe()
H A Dak4642.c568 .reg_defaults = ak4642_reg,
577 .reg_defaults = ak4643_reg,
586 .reg_defaults = ak4648_reg,
H A Dadau7118-i2c.c44 .reg_defaults = adau7118_reg_defaults,
H A 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()
H A Dlm4857.c114 .reg_defaults = lm4857_default_regs,
H A Dmax9877.c131 .reg_defaults = max9877_regs,
H A Drt711-sdca-sdw.c120 .reg_defaults = rt711_sdca_reg_defaults,
134 .reg_defaults = rt711_sdca_mbq_defaults,
H A Dcs35l56-shared.c926 .reg_defaults = cs35l56_reg_defaults,
943 .reg_defaults = cs35l56_reg_defaults,
959 .reg_defaults = cs35l56_reg_defaults,
H A Dlpass-rx-macro.c3812 struct reg_default *reg_defaults __free(kfree) = NULL; in rx_macro_probe()
3823 reg_defaults = kmalloc_array(def_count, sizeof(struct reg_default), GFP_KERNEL); in rx_macro_probe()
3824 if (!reg_defaults) in rx_macro_probe()
3826 memcpy(&reg_defaults[0], rx_defaults, sizeof(rx_defaults)); in rx_macro_probe()
3827 memcpy(&reg_defaults[ARRAY_SIZE(rx_defaults)], in rx_macro_probe()
3837 reg_defaults = kmalloc_array(def_count, sizeof(struct reg_default), GFP_KERNEL); in rx_macro_probe()
3838 if (!reg_defaults) in rx_macro_probe()
3840 memcpy(&reg_defaults[0], rx_defaults, sizeof(rx_defaults)); in rx_macro_probe()
3841 memcpy(&reg_defaults[ARRAY_SIZE(rx_defaults)], in rx_macro_probe()
3855 reg_config->reg_defaults = reg_defaults; in rx_macro_probe()
/linux/drivers/leds/
H A Dleds-lp50xx.c136 .reg_defaults = lp5012_reg_defs,
146 .reg_defaults = lp5024_reg_defs,
156 .reg_defaults = lp5036_reg_defs,
H A Dleds-lp8860.c332 .reg_defaults = lp8860_reg_defs,
370 .reg_defaults = lp8860_eeprom_defs,
/linux/drivers/soc/qcom/
H A Dicc-bwmon.c281 .reg_defaults = msm8998_bwmon_reg_defaults,
300 .reg_defaults = msm8998_bwmon_global_reg_defaults,
368 .reg_defaults = sdm845_cpu_bwmon_reg_defaults,
445 .reg_defaults = sdm845_llcc_bwmon_reg_defaults,

1234567891011