rm_field 1205 drivers/base/regmap/regmap.c static void regmap_field_init(struct regmap_field *rm_field, rm_field 1208 drivers/base/regmap/regmap.c rm_field->regmap = regmap; rm_field 1209 drivers/base/regmap/regmap.c rm_field->reg = reg_field.reg; rm_field 1210 drivers/base/regmap/regmap.c rm_field->shift = reg_field.lsb; rm_field 1211 drivers/base/regmap/regmap.c rm_field->mask = GENMASK(reg_field.msb, reg_field.lsb); rm_field 1212 drivers/base/regmap/regmap.c rm_field->id_size = reg_field.id_size; rm_field 1213 drivers/base/regmap/regmap.c rm_field->id_offset = reg_field.id_offset; rm_field 1230 drivers/base/regmap/regmap.c struct regmap_field *rm_field = devm_kzalloc(dev, rm_field 1231 drivers/base/regmap/regmap.c sizeof(*rm_field), GFP_KERNEL); rm_field 1232 drivers/base/regmap/regmap.c if (!rm_field) rm_field 1235 drivers/base/regmap/regmap.c regmap_field_init(rm_field, regmap, reg_field); rm_field 1237 drivers/base/regmap/regmap.c return rm_field; rm_field 1273 drivers/base/regmap/regmap.c struct regmap_field *rm_field = kzalloc(sizeof(*rm_field), GFP_KERNEL); rm_field 1275 drivers/base/regmap/regmap.c if (!rm_field) rm_field 1278 drivers/base/regmap/regmap.c regmap_field_init(rm_field, regmap, reg_field); rm_field 1280 drivers/base/regmap/regmap.c return rm_field;