Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dda9150-charger.c71 int i_val, ret; in da9150_charger_ibus_current_avg() local
74 ret = iio_read_channel_processed(charger->ibus_chan, &i_val); in da9150_charger_ibus_current_avg()
79 val->intval = i_val * 1000; in da9150_charger_ibus_current_avg()
/linux/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c621 static int epb_trans(struct qib_devdata *dd, u16 reg, u64 i_val, u64 *o_vp) in epb_trans() argument
626 qib_write_kreg(dd, reg, i_val); in epb_trans()
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8822c.c3503 u32 i_val, q_val; in rtw8822c_dpk_pas_read() local
3512 i_val = rtw_read32_mask(rtwdev, REG_STAT_RPT, MASKLWORD); in rtw8822c_dpk_pas_read()
3514 if (i_val & BIT(15)) in rtw8822c_dpk_pas_read()
3515 i_val = 0x10000 - i_val; in rtw8822c_dpk_pas_read()
3521 return i_val * i_val + q_val * q_val; in rtw8822c_dpk_pas_read()