Home
last modified time | relevance | path

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

/openbmc/linux/include/trace/events/
H A Diocost.h25 __field(u64, vnow)
40 __entry->vnow = now->vnow;
55 __entry->now, __entry->vnow, __entry->vrate,
194 __field(u64, vnow)
206 __entry->vnow = now->vnow;
216 __entry->now, __entry->vnow, __entry->usage_pct,
/openbmc/linux/block/
H A Dblk-iocost.c562 u64 vnow; member
1061 now->vnow = ioc->period_at_vtime + in ioc_now()
1072 ioc->period_at_vtime = now->vnow; in ioc_start_period()
1113 iocg->saved_margin = now->vnow - atomic64_read(&iocg->vtime); in __propagate_weights()
1314 vtarget = now->vnow - ioc->margins.target; in iocg_activate()
1381 abs_cost_to_cost(iocg->abs_vdebt, hwa) - now->vnow; in iocg_kick_delay()
1512 vbudget = now->vnow - atomic64_read(&iocg->vtime); in iocg_kick_waitq()
1763 time_after64(vtime, now->vnow - ioc->margins.min)) in hweight_after_donation()
1767 excess = now->vnow - vtime - ioc->margins.target; in hweight_after_donation()
1791 delta = div64_s64(WEIGHT_ONE * (now->vnow - vtime), in hweight_after_donation()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dmp2629_charger.c203 union power_supply_propval vnow, vlim; in mp2629_get_battery_capacity() local
206 ret = mp2629_read_adc(charger, MP2629_BATT_VOLT, &vnow); in mp2629_get_battery_capacity()
214 val->intval = (vnow.intval * 100) / vlim.intval; in mp2629_get_battery_capacity()