Home
last modified time | relevance | path

Searched refs:val_x (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/input/touchscreen/
Dcolibri-vf50-ts.c107 int val_x, val_y, val_z1, val_z2, val_p = 0; in vf50_ts_irq_bh() local
118 val_x = adc_ts_measure(&vf50_ts->channels[0], in vf50_ts_irq_bh()
120 if (val_x < 0) in vf50_ts_irq_bh()
143 if (val_z1 > 64 && val_x > 64) { in vf50_ts_irq_bh()
148 int r_x = (1000 * val_x) / VF_ADC_MAX; in vf50_ts_irq_bh()
159 val_x, val_y, val_z1, val_z2, val_p); in vf50_ts_irq_bh()
182 ABS_X, VF_ADC_MAX - val_x); in vf50_ts_irq_bh()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Ddm_common.c290 long ele_a = 0, ele_d, temp_cck, val_x, value32; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local
504 val_x = rtlphy->iqk_matrix[indexforchannel].value[0][0]; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
507 if (val_x != 0) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
508 if ((val_x & 0x00000200) != 0) in rtl92d_dm_txpower_tracking_callback_thermalmeter()
509 val_x = val_x | 0xFFFFFC00; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
510 ele_a = ((val_x * ele_d) >> 8) & 0x000003FF; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
527 value32 = ((val_x * ele_d) >> 7) & 0x01; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
540 val_x, val_y, ele_a, ele_c, ele_d, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
541 val_x, val_y); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
557 val_x = rtlphy->iqk_matrix[indexforchannel].value[0][4]; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dphy.c1792 u32 val_x, reg; in _rtl92du_phy_patha_fill_iqk_matrix_5g_normal() local
1798 val_x = result[final_candidate][0]; in _rtl92du_phy_patha_fill_iqk_matrix_5g_normal()
1799 if ((val_x & 0x00000200) != 0) in _rtl92du_phy_patha_fill_iqk_matrix_5g_normal()
1800 val_x = val_x | 0xFFFFFC00; in _rtl92du_phy_patha_fill_iqk_matrix_5g_normal()
1802 RTPRINT(rtlpriv, FINIT, INIT_IQK, "X = 0x%x\n", val_x); in _rtl92du_phy_patha_fill_iqk_matrix_5g_normal()
1803 rtl_set_bbreg(hw, RTX_IQK_TONE_A, 0x3FF0000, val_x); in _rtl92du_phy_patha_fill_iqk_matrix_5g_normal()
1849 u32 oldval_0, val_x, tx0_a, reg; in _rtl92du_phy_patha_fill_iqk_matrix() local
1869 val_x = result[final_candidate][0]; in _rtl92du_phy_patha_fill_iqk_matrix()
1870 if ((val_x & 0x00000200) != 0) in _rtl92du_phy_patha_fill_iqk_matrix()
1871 val_x = val_x | 0xFFFFFC00; in _rtl92du_phy_patha_fill_iqk_matrix()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c706 long ele_a, ele_d, temp_cck, val_x, value32; in rtl92c_dm_txpower_tracking_callback_thermalmeter() local
963 val_x = rtlphy->reg_e94; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
966 if (val_x != 0) { in rtl92c_dm_txpower_tracking_callback_thermalmeter()
967 if ((val_x & 0x00000200) != 0) in rtl92c_dm_txpower_tracking_callback_thermalmeter()
968 val_x = val_x | 0xFFFFFC00; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
969 ele_a = ((val_x * ele_d) >> 8) & 0x000003FF; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
985 value32 = ((val_x * ele_d) >> 7) & 0x01; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
1059 val_x = rtlphy->reg_eb4; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
1062 if (val_x != 0) { in rtl92c_dm_txpower_tracking_callback_thermalmeter()
1063 if ((val_x & 0x00000200) != 0) in rtl92c_dm_txpower_tracking_callback_thermalmeter()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dphy.c1583 u32 oldval_0, val_x, tx0_a, reg; in _rtl92d_phy_patha_fill_iqk_matrix() local
1595 val_x = result[final_candidate][0]; in _rtl92d_phy_patha_fill_iqk_matrix()
1596 if ((val_x & 0x00000200) != 0) in _rtl92d_phy_patha_fill_iqk_matrix()
1597 val_x = val_x | 0xFFFFFC00; in _rtl92d_phy_patha_fill_iqk_matrix()
1598 tx0_a = (val_x * oldval_0) >> 8; in _rtl92d_phy_patha_fill_iqk_matrix()
1601 val_x, tx0_a, oldval_0); in _rtl92d_phy_patha_fill_iqk_matrix()
1604 ((val_x * oldval_0 >> 7) & 0x1)); in _rtl92d_phy_patha_fill_iqk_matrix()
1644 u32 oldval_1, val_x, tx1_a, reg; in _rtl92d_phy_pathb_fill_iqk_matrix() local
1654 val_x = result[final_candidate][4]; in _rtl92d_phy_pathb_fill_iqk_matrix()
1655 if ((val_x & 0x00000200) != 0) in _rtl92d_phy_pathb_fill_iqk_matrix()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dsh_css_params.c1440 short val_x = start_x[i]; in sh_css_params_default_morph_table() local
1446 k++, x_ptr++, y_ptr++, val_x += (short)step) { in sh_css_params_default_morph_table()
1450 *x_ptr = val_x + 2 * start_x[i]; in sh_css_params_default_morph_table()
1452 *x_ptr = val_x; in sh_css_params_default_morph_table()