Lines Matching refs:field
224 struct regmap_field *field; in remaptest_probe() local
263 field = devm_regmap_field_alloc(dev, priv->fld_regmap, in remaptest_probe()
265 if (IS_ERR(field)) in remaptest_probe()
266 return PTR_ERR(field); in remaptest_probe()
267 priv->fields[i] = field; in remaptest_probe()
332 struct regmap_field *field, in test_one_field() argument
345 ut_assertok(regmap_field_write(field, j)); in test_one_field()
346 ut_assertok(regmap_field_read(field, &val)); in test_one_field()
352 ut_assertok(regmap_field_write(field, mask + 1)); in test_one_field()
356 ut_assertok(regmap_field_write(field, 0xFFFF)); in test_one_field()
361 ut_assertok(regmap_field_write(field, 0)); in test_one_field()