Lines Matching refs:defaults
165 struct reg_default *defaults; in gen_regmap() local
192 defaults = kunit_kcalloc(test, in gen_regmap()
196 if (!defaults) in gen_regmap()
199 config->reg_defaults = defaults; in gen_regmap()
202 defaults[i].reg = param->from_reg + (i * config->reg_stride); in gen_regmap()
203 defaults[i].def = buf[param->from_reg + (i * config->reg_stride)]; in gen_regmap()
1636 struct reg_default *defaults; in gen_raw_regmap() local
1657 defaults = kunit_kcalloc(test, in gen_raw_regmap()
1661 if (!defaults) in gen_raw_regmap()
1663 config->reg_defaults = defaults; in gen_raw_regmap()
1666 defaults[i].reg = i; in gen_raw_regmap()
1669 defaults[i].def = le16_to_cpu(buf[i]); in gen_raw_regmap()
1672 defaults[i].def = be16_to_cpu(buf[i]); in gen_raw_regmap()