Lines Matching refs:field
566 int regmap_field_read(struct regmap_field *field, unsigned int *val) in regmap_field_read() argument
571 ret = regmap_read(field->regmap, field->reg, ®_val); in regmap_field_read()
575 reg_val &= field->mask; in regmap_field_read()
576 reg_val >>= field->shift; in regmap_field_read()
582 int regmap_field_write(struct regmap_field *field, unsigned int val) in regmap_field_write() argument
584 return regmap_update_bits(field->regmap, field->reg, field->mask, in regmap_field_write()
585 val << field->shift); in regmap_field_write()
612 void devm_regmap_field_free(struct udevice *dev, struct regmap_field *field) in devm_regmap_field_free() argument
614 devm_kfree(dev, field); in devm_regmap_field_free()
630 void regmap_field_free(struct regmap_field *field) in regmap_field_free() argument
632 kfree(field); in regmap_field_free()