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()
763 /* We need defaults so readback works */ in cache_sync_patch()
876 /* No defaults so no registers cached. */ in cache_present()
947 struct reg_default *defaults; in gen_raw_regmap() local
966 defaults = kcalloc(config->num_reg_defaults, in gen_raw_regmap()
969 if (!defaults) in gen_raw_regmap()
971 config->reg_defaults = defaults; in gen_raw_regmap()
974 defaults[i].reg = i; in gen_raw_regmap()
977 defaults[i].def = le16_to_cpu(buf[i]); in gen_raw_regmap()
980 defaults[i].def = be16_to_cpu(buf[i]); in gen_raw_regmap()
988 * We use the defaults in the tests but they don't make sense in gen_raw_regmap()
1019 /* Check that we can read the defaults via the API */ in raw_read_defaults_single()
1052 /* Check that we can read the defaults via the API */ in raw_read_defaults()
1118 /* We should read back the new values, and defaults for the rest */ in raw_write()
1173 /* We should read back the new values, and defaults for the rest */ in raw_sync()