Home
last modified time | relevance | path

Searched refs:v_val (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dda9150-charger.c55 int v_val, ret; in da9150_charger_vbus_voltage_now() local
58 ret = iio_read_channel_processed(charger->vbus_chan, &v_val); in da9150_charger_vbus_voltage_now()
63 val->intval = v_val * 1000; in da9150_charger_vbus_voltage_now()
270 int v_val, ret; in da9150_charger_battery_voltage_now() local
273 ret = iio_read_channel_processed(charger->vbat_chan, &v_val); in da9150_charger_battery_voltage_now()
277 val->intval = v_val * 1000; in da9150_charger_battery_voltage_now()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_64_mmu.c200 u64 v_val, v_mask; in kvmppc_mmu_book3s_64_xlate() local
231 v_val = avpn & HPTE_V_AVPN; in kvmppc_mmu_book3s_64_xlate()
234 v_val |= SLB_VSID_B_1T; in kvmppc_mmu_book3s_64_xlate()
236 v_val |= HPTE_V_LARGE; in kvmppc_mmu_book3s_64_xlate()
237 v_val |= HPTE_V_VALID; in kvmppc_mmu_book3s_64_xlate()
267 if ((pte0 & v_mask) == v_val) { in kvmppc_mmu_book3s_64_xlate()
283 v_val |= HPTE_V_SECONDARY; in kvmppc_mmu_book3s_64_xlate()