Searched refs:val_x (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Dcolibri-vf50-ts.c112 int val_x, val_y, val_z1, val_z2, val_p = 0; vf50_ts_irq_bh() local
123 val_x = adc_ts_measure(&vf50_ts->channels[0], vf50_ts_irq_bh()
125 if (val_x < 0) vf50_ts_irq_bh()
148 if (val_z1 > 64 && val_x > 64) { vf50_ts_irq_bh()
153 int r_x = (1000 * val_x) / VF_ADC_MAX; vf50_ts_irq_bh()
164 val_x, val_y, val_z1, val_z2, val_p); vf50_ts_irq_bh()
187 ABS_X, VF_ADC_MAX - val_x); vf50_ts_irq_bh()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Ddm.c814 long ele_a = 0, ele_d, temp_cck, val_x, value32; rtl92d_dm_txpower_tracking_callback_thermalmeter() local
1047 val_x = rtlphy->iqk_matrix rtl92d_dm_txpower_tracking_callback_thermalmeter()
1051 if (val_x != 0) { rtl92d_dm_txpower_tracking_callback_thermalmeter()
1052 if ((val_x & 0x00000200) != 0) rtl92d_dm_txpower_tracking_callback_thermalmeter()
1053 val_x = val_x | 0xFFFFFC00; rtl92d_dm_txpower_tracking_callback_thermalmeter()
1055 ((val_x * ele_d) >> 8) & 0x000003FF; rtl92d_dm_txpower_tracking_callback_thermalmeter()
1073 value32 = ((val_x * ele_d) >> 7) & 0x01; rtl92d_dm_txpower_tracking_callback_thermalmeter()
1091 val_x, val_y, ele_a, ele_c, ele_d, rtl92d_dm_txpower_tracking_callback_thermalmeter()
1092 val_x, val_y); rtl92d_dm_txpower_tracking_callback_thermalmeter()
1155 val_x = rtlphy->iqk_matrix rtl92d_dm_txpower_tracking_callback_thermalmeter()
1159 if (val_x != 0) { rtl92d_dm_txpower_tracking_callback_thermalmeter()
1160 if ((val_x & 0x00000200) != 0) rtl92d_dm_txpower_tracking_callback_thermalmeter()
1162 val_x = val_x | 0xFFFFFC00; rtl92d_dm_txpower_tracking_callback_thermalmeter()
1163 ele_a = ((val_x * ele_d) >> 8) & rtl92d_dm_txpower_tracking_callback_thermalmeter()
1184 value32 = ((val_x * ele_d) >> 7) & 0x01; rtl92d_dm_txpower_tracking_callback_thermalmeter()
1200 val_x, val_y, ele_a, ele_c, rtl92d_dm_txpower_tracking_callback_thermalmeter()
1201 ele_d, val_x, val_y); rtl92d_dm_txpower_tracking_callback_thermalmeter()
H A Dphy.c2174 u32 oldval_0, val_x, tx0_a, reg; _rtl92d_phy_patha_fill_iqk_matrix() local
2186 val_x = result[final_candidate][0]; _rtl92d_phy_patha_fill_iqk_matrix()
2187 if ((val_x & 0x00000200) != 0) _rtl92d_phy_patha_fill_iqk_matrix()
2188 val_x = val_x | 0xFFFFFC00; _rtl92d_phy_patha_fill_iqk_matrix()
2189 tx0_a = (val_x * oldval_0) >> 8; _rtl92d_phy_patha_fill_iqk_matrix()
2192 val_x, tx0_a, oldval_0); _rtl92d_phy_patha_fill_iqk_matrix()
2195 ((val_x * oldval_0 >> 7) & 0x1)); _rtl92d_phy_patha_fill_iqk_matrix()
2235 u32 oldval_1, val_x, tx1_a, reg; _rtl92d_phy_pathb_fill_iqk_matrix() local
2245 val_x = result[final_candidate][4]; _rtl92d_phy_pathb_fill_iqk_matrix()
2246 if ((val_x & 0x00000200) != 0) _rtl92d_phy_pathb_fill_iqk_matrix()
2247 val_x = val_x | 0xFFFFFC00; _rtl92d_phy_pathb_fill_iqk_matrix()
2248 tx1_a = (val_x * oldval_1) >> 8; _rtl92d_phy_pathb_fill_iqk_matrix()
2250 val_x, tx1_a); _rtl92d_phy_pathb_fill_iqk_matrix()
2253 ((val_x * oldval_1 >> 7) & 0x1)); _rtl92d_phy_pathb_fill_iqk_matrix()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
H A Ddm_common.c734 long ele_a, ele_d, temp_cck, val_x, value32; rtl92c_dm_txpower_tracking_callback_thermalmeter() local
991 val_x = rtlphy->reg_e94; rtl92c_dm_txpower_tracking_callback_thermalmeter()
994 if (val_x != 0) { rtl92c_dm_txpower_tracking_callback_thermalmeter()
995 if ((val_x & 0x00000200) != 0) rtl92c_dm_txpower_tracking_callback_thermalmeter()
996 val_x = val_x | 0xFFFFFC00; rtl92c_dm_txpower_tracking_callback_thermalmeter()
997 ele_a = ((val_x * ele_d) >> 8) & 0x000003FF; rtl92c_dm_txpower_tracking_callback_thermalmeter()
1013 value32 = ((val_x * ele_d) >> 7) & 0x01; rtl92c_dm_txpower_tracking_callback_thermalmeter()
1087 val_x = rtlphy->reg_eb4; rtl92c_dm_txpower_tracking_callback_thermalmeter()
1090 if (val_x != 0) { rtl92c_dm_txpower_tracking_callback_thermalmeter()
1091 if ((val_x & 0x00000200) != 0) rtl92c_dm_txpower_tracking_callback_thermalmeter()
1092 val_x = val_x | 0xFFFFFC00; rtl92c_dm_txpower_tracking_callback_thermalmeter()
1093 ele_a = ((val_x * ele_d) >> 8) & rtl92c_dm_txpower_tracking_callback_thermalmeter()
1111 value32 = ((val_x * ele_d) >> 7) & 0x01; rtl92c_dm_txpower_tracking_callback_thermalmeter()

Completed in 321 milliseconds