Lines Matching full:defaults
59 struct reg_default *defaults; in gen_regmap() local
76 defaults = kcalloc(config->num_reg_defaults, in gen_regmap()
79 if (!defaults) in gen_regmap()
81 config->reg_defaults = defaults; in gen_regmap()
84 defaults[i].reg = i * config->reg_stride; in gen_regmap()
85 defaults[i].def = buf[i * config->reg_stride]; in gen_regmap()
323 /* We should have read the cache defaults back from the map */ in reg_defaults_read_dev()
349 /* We need defaults so readback works */ in register_patch()
746 /* We need defaults so readback works */ in cache_sync_patch()
859 /* No defaults so no registers cached. */ in cache_present()
930 struct reg_default *defaults; in gen_raw_regmap() local
949 defaults = kcalloc(config->num_reg_defaults, in gen_raw_regmap()
952 if (!defaults) in gen_raw_regmap()
954 config->reg_defaults = defaults; in gen_raw_regmap()
957 defaults[i].reg = i; in gen_raw_regmap()
960 defaults[i].def = le16_to_cpu(buf[i]); in gen_raw_regmap()
963 defaults[i].def = be16_to_cpu(buf[i]); in gen_raw_regmap()
971 * We use the defaults in the tests but they don't make sense in gen_raw_regmap()
1002 /* Check that we can read the defaults via the API */ in raw_read_defaults_single()
1035 /* Check that we can read the defaults via the API */ in raw_read_defaults()
1101 /* We should read back the new values, and defaults for the rest */ in raw_write()
1160 /* We should read back the new values, and defaults for the rest */ in raw_sync()