Searched refs:rm_field (Results 1 – 1 of 1) sorted by relevance
1186 static void regmap_field_init(struct regmap_field *rm_field, in regmap_field_init() argument1189 rm_field->regmap = regmap; in regmap_field_init()1190 rm_field->reg = reg_field.reg; in regmap_field_init()1191 rm_field->shift = reg_field.lsb; in regmap_field_init()1192 rm_field->mask = GENMASK(reg_field.msb, reg_field.lsb); in regmap_field_init()1193 rm_field->id_size = reg_field.id_size; in regmap_field_init()1194 rm_field->id_offset = reg_field.id_offset; in regmap_field_init()1211 struct regmap_field *rm_field = devm_kzalloc(dev, in devm_regmap_field_alloc() local1212 sizeof(*rm_field), GFP_KERNEL); in devm_regmap_field_alloc()1213 if (!rm_field) in devm_regmap_field_alloc()[all …]