Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8822c.c3501 u32 i_val, q_val; in rtw8822c_dpk_pas_read() local
3509 q_val = rtw_read32_mask(rtwdev, REG_STAT_RPT, MASKHWORD); in rtw8822c_dpk_pas_read()
3514 if (q_val & BIT(15)) in rtw8822c_dpk_pas_read()
3515 q_val = 0x10000 - q_val; in rtw8822c_dpk_pas_read()
3519 return i_val * i_val + q_val * q_val; in rtw8822c_dpk_pas_read()
/openbmc/qemu/target/mips/tcg/
H A Dmsa_helper.c6368 int32_t q_val; in float32_to_q16() local
6392 q_val = float32_to_int32(a, status); in float32_to_q16()
6405 if (q_val < q_min) { in float32_to_q16()
6410 if (q_max < q_val) { in float32_to_q16()
6415 return (int16_t)q_val; in float32_to_q16()
6420 int64_t q_val; in float64_to_q32() local
6444 q_val = float64_to_int64(a, status); in float64_to_q32()
6457 if (q_val < q_min) { in float64_to_q32()
6462 if (q_max < q_val) { in float64_to_q32()
6467 return (int32_t)q_val; in float64_to_q32()