Home
last modified time | relevance | path

Searched refs:regmap_fields (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/power/supply/
Drt9455_charger.c237 struct regmap_field *regmap_fields[F_MAX_FIELDS]; member
279 ret = regmap_field_read(info->regmap_fields[field], &v); in rt9455_get_field_val()
295 return regmap_field_write(info->regmap_fields[field], idx); in rt9455_set_field_val()
304 ret = regmap_field_write(info->regmap_fields[F_RST], 0x01); in rt9455_register_reset()
315 ret = regmap_field_read(info->regmap_fields[F_RST], &v); in rt9455_register_reset()
359 ret = regmap_field_read(info->regmap_fields[F_PWR_RDY], in rt9455_charger_get_status()
375 ret = regmap_field_read(info->regmap_fields[F_STAT], &v); in rt9455_charger_get_status()
471 ret = regmap_field_read(info->regmap_fields[F_STAT], &v); in rt9455_charger_get_health()
491 ret = regmap_field_read(info->regmap_fields[F_BATAB], &v); in rt9455_charger_get_battery_presence()
512 ret = regmap_field_read(info->regmap_fields[F_PWR_RDY], &v); in rt9455_charger_get_online()
[all …]
Dmp2629_charger.c81 struct regmap_field *regmap_fields[MP2629_MAX_FIELD]; member
170 ret = regmap_field_read(charger->regmap_fields[fld], &rval); in mp2629_get_prop()
189 return regmap_field_write(charger->regmap_fields[fld], rval); in mp2629_set_prop()
583 charger->regmap_fields[i] = devm_regmap_field_alloc(dev, in mp2629_charger_probe()
585 if (IS_ERR(charger->regmap_fields[i])) { in mp2629_charger_probe()
587 return PTR_ERR(charger->regmap_fields[i]); in mp2629_charger_probe()
/linux-6.12.1/drivers/iio/gyro/
Dfxas21002c_core.c144 struct regmap_field *regmap_fields[F_MAX_FIELDS]; member
240 ret = regmap_field_read(data->regmap_fields[F_FS_DOUBLE], &fs_double); in fxas21002c_range_fs_from_value()
273 ret = regmap_field_write(data->regmap_fields[F_FS_DOUBLE], fs_double); in fxas21002c_range_value_from_fs()
286 ret = regmap_field_read(data->regmap_fields[F_ACTIVE], &active); in fxas21002c_mode_get()
292 ret = regmap_field_read(data->regmap_fields[F_READY], &ready); in fxas21002c_mode_get()
310 ret = regmap_field_write(data->regmap_fields[F_READY], 1); in fxas21002c_mode_set()
312 ret = regmap_field_write(data->regmap_fields[F_READY], 0); in fxas21002c_mode_set()
317 ret = regmap_field_write(data->regmap_fields[F_ACTIVE], 1); in fxas21002c_mode_set()
319 ret = regmap_field_write(data->regmap_fields[F_ACTIVE], 0); in fxas21002c_mode_set()
355 ret = regmap_field_write(data->regmap_fields[field], bits); in fxas21002c_write()
[all …]
/linux-6.12.1/drivers/soc/qcom/
Dicc-bwmon.c175 const struct reg_field *regmap_fields; member
725 bwmon->data->regmap_fields, in bwmon_init_regmap()
821 .regmap_fields = msm8998_bwmon_reg_fields,
833 .regmap_fields = sdm845_cpu_bwmon_reg_fields,
842 .regmap_fields = sdm845_llcc_bwmon_reg_fields,
852 .regmap_fields = sdm845_llcc_bwmon_reg_fields,