Lines Matching refs:defaults
76 struct reg_default *defaults;
93 defaults = kcalloc(config->num_reg_defaults,
96 if (!defaults)
98 config->reg_defaults = defaults;
101 defaults[i].reg = i * config->reg_stride;
102 defaults[i].def = buf[i * config->reg_stride];
340 /* We should have read the cache defaults back from the map */
366 /* We need defaults so readback works */
763 /* We need defaults so readback works */
876 /* No defaults so no registers cached. */
947 struct reg_default *defaults;
966 defaults = kcalloc(config->num_reg_defaults,
969 if (!defaults)
971 config->reg_defaults = defaults;
974 defaults[i].reg = i;
977 defaults[i].def = le16_to_cpu(buf[i]);
980 defaults[i].def = be16_to_cpu(buf[i]);
988 * We use the defaults in the tests but they don't make sense
1019 /* Check that we can read the defaults via the API */
1052 /* Check that we can read the defaults via the API */
1118 /* We should read back the new values, and defaults for the rest */
1173 /* We should read back the new values, and defaults for the rest */