Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Ddm.c780 long ele_a = 0, ele_d, temp_cck, val_x, value32; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local
1017 val_x = rtlphy->iqk_matrix[indexforchannel].value[0][0]; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1019 if (val_x != 0) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1020 if ((val_x & 0x00000200) != 0) in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1021 val_x = val_x | 0xFFFFFC00; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1022 ele_a = ((val_x * ele_d) >> 8) & 0x000003FF; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1040 value32 = ((val_x * ele_d) >> 7) & 0x01; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1057 val_x, val_y, ele_a, ele_c, ele_d, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1058 val_x, val_y); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1104 val_x = rtlphy->iqk_matrix[indexforchannel].value[0][4]; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
Dphy.c2130 u32 oldval_0, val_x, tx0_a, reg; in _rtl92d_phy_patha_fill_iqk_matrix() local
2142 val_x = result[final_candidate][0]; in _rtl92d_phy_patha_fill_iqk_matrix()
2143 if ((val_x & 0x00000200) != 0) in _rtl92d_phy_patha_fill_iqk_matrix()
2144 val_x = val_x | 0xFFFFFC00; in _rtl92d_phy_patha_fill_iqk_matrix()
2145 tx0_a = (val_x * oldval_0) >> 8; in _rtl92d_phy_patha_fill_iqk_matrix()
2148 val_x, tx0_a, oldval_0); in _rtl92d_phy_patha_fill_iqk_matrix()
2151 ((val_x * oldval_0 >> 7) & 0x1)); in _rtl92d_phy_patha_fill_iqk_matrix()
2191 u32 oldval_1, val_x, tx1_a, reg; in _rtl92d_phy_pathb_fill_iqk_matrix() local
2201 val_x = result[final_candidate][4]; in _rtl92d_phy_pathb_fill_iqk_matrix()
2202 if ((val_x & 0x00000200) != 0) in _rtl92d_phy_pathb_fill_iqk_matrix()
[all …]
/Linux-v6.6/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-v6.6/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()