Searched refs:i_val (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/power/supply/ |
D | da9150-charger.c | 73 int i_val, ret; in da9150_charger_ibus_current_avg() local 76 ret = iio_read_channel_processed(charger->ibus_chan, &i_val); in da9150_charger_ibus_current_avg() 81 val->intval = i_val * 1000; in da9150_charger_ibus_current_avg()
|
/linux-5.19.10/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 621 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-5.19.10/drivers/net/wireless/realtek/rtw88/ |
D | rtw8822c.c | 3481 u32 i_val, q_val; in rtw8822c_dpk_pas_read() local 3490 i_val = rtw_read32_mask(rtwdev, REG_STAT_RPT, MASKLWORD); in rtw8822c_dpk_pas_read() 3492 if (i_val & BIT(15)) in rtw8822c_dpk_pas_read() 3493 i_val = 0x10000 - i_val; in rtw8822c_dpk_pas_read() 3499 return i_val * i_val + q_val * q_val; in rtw8822c_dpk_pas_read()
|