Home
last modified time | relevance | path

Searched refs:rm_field (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/base/regmap/
Dregmap.c1293 static void regmap_field_init(struct regmap_field *rm_field, in regmap_field_init() argument
1296 rm_field->regmap = regmap; in regmap_field_init()
1297 rm_field->reg = reg_field.reg; in regmap_field_init()
1298 rm_field->shift = reg_field.lsb; in regmap_field_init()
1299 rm_field->mask = GENMASK(reg_field.msb, reg_field.lsb); in regmap_field_init()
1301 WARN_ONCE(rm_field->mask == 0, "invalid empty mask defined\n"); in regmap_field_init()
1303 rm_field->id_size = reg_field.id_size; in regmap_field_init()
1304 rm_field->id_offset = reg_field.id_offset; in regmap_field_init()
1321 struct regmap_field *rm_field = devm_kzalloc(dev, in devm_regmap_field_alloc() local
1322 sizeof(*rm_field), GFP_KERNEL); in devm_regmap_field_alloc()
[all …]
/linux-6.1.9/drivers/iio/adc/
Drtq6056.c214 struct regmap_field *rm_field; in rtq6056_adc_set_samp_freq() local
222 rm_field = priv->rm_fields[F_VSHUNTCT]; in rtq6056_adc_set_samp_freq()
225 rm_field = priv->rm_fields[F_VBUSCT]; in rtq6056_adc_set_samp_freq()
233 ret = regmap_field_write(rm_field, selector); in rtq6056_adc_set_samp_freq()
/linux-6.1.9/include/linux/
Dregmap.h1309 struct regmap_field **rm_field,