Lines Matching refs:value
92 u8 rbatcomp; /* IBAT sense resistor value */
380 static u8 bq25890_find_idx(u32 value, enum bq25890_table_ids id)
388 for (idx = 1; idx < tbl_size && tbl[idx] <= value; idx++)
397 idx < rtbl_size && (idx * rtbl->step + rtbl->min <= value);
576 ret = bq25890_field_read(bq, F_ICHGR); /* read measured value */
590 * This value reflects the current hardware setting.
593 * maximum value of this property.
619 * This value is constant for each battery and set from DT.
632 ret = bq25890_field_read(bq, F_BATV); /* read measured value */
646 * This value reflects the current hardware setting.
649 * maximum value of this property.
664 * This value is constant for each battery and set from DT.
904 u8 *value;
923 *init_data[i].value);
927 *init_data[i].value = ret;
1060 union power_supply_propval value;
1067 value.intval = 0;
1068 power_supply_set_property(bq->secondary_chrg, POWER_SUPPLY_PROP_ONLINE, &value);
1103 value.intval = 1;
1104 power_supply_set_property(bq->secondary_chrg, POWER_SUPPLY_PROP_ONLINE, &value);
1208 ret = bq25890_field_read(bq, F_SYSV); /* read measured value */
1351 u8 *conv_data; /* holds converted value from given property */