Lines Matching full:defaults
76 struct reg_default *defaults; in gen_regmap() local
93 defaults = kcalloc(config->num_reg_defaults, in gen_regmap()
96 if (!defaults) in gen_regmap()
98 config->reg_defaults = defaults; in gen_regmap()
101 defaults[i].reg = i * config->reg_stride; in gen_regmap()
102 defaults[i].def = buf[i * config->reg_stride]; in gen_regmap()
340 /* We should have read the cache defaults back from the map */ in reg_defaults_read_dev()
366 /* We need defaults so readback works */ in register_patch()
771 /* We need defaults so readback works */ in cache_sync_patch()
884 /* No defaults so no registers cached. */ in cache_present()
1008 struct reg_default *defaults; in gen_raw_regmap() local
1027 defaults = kcalloc(config->num_reg_defaults, in gen_raw_regmap()
1030 if (!defaults) in gen_raw_regmap()
1032 config->reg_defaults = defaults; in gen_raw_regmap()
1035 defaults[i].reg = i; in gen_raw_regmap()
1038 defaults[i].def = le16_to_cpu(buf[i]); in gen_raw_regmap()
1041 defaults[i].def = be16_to_cpu(buf[i]); in gen_raw_regmap()
1049 * We use the defaults in the tests but they don't make sense in gen_raw_regmap()
1080 /* Check that we can read the defaults via the API */ in raw_read_defaults_single()
1113 /* Check that we can read the defaults via the API */ in raw_read_defaults()
1179 /* We should read back the new values, and defaults for the rest */ in raw_write()
1294 /* We should read back the new values, and defaults for the rest */ in raw_sync()