Home
last modified time | relevance | path

Searched refs:u16tmp (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/media/dvb-frontends/
Drtl2832.c658 u16 u16tmp; in rtl2832_read_status() local
690 u16tmp = u8tmp << 8 | u8tmp << 0; in rtl2832_read_status()
693 c->strength.stat[0].uvalue = u16tmp; in rtl2832_read_status()
725 u16tmp = buf[0] << 8 | buf[1] << 0; in rtl2832_read_status()
726 if (u16tmp) in rtl2832_read_status()
728 intlog10(u16tmp)) / ((1 << 24) / 10000); in rtl2832_read_status()
732 dev_dbg(&client->dev, "cnr raw=%u\n", u16tmp); in rtl2832_read_status()
746 u16tmp = buf[0] << 8 | buf[1] << 0; in rtl2832_read_status()
747 dev->post_bit_error += u16tmp; in rtl2832_read_status()
750 dev_dbg(&client->dev, "ber errors=%u total=1000000\n", u16tmp); in rtl2832_read_status()
Dm88ds3103.c309 u16 u16tmp; in m88ds3103_set_frontend() local
525 u16tmp = 0; in m88ds3103_set_frontend()
530 u16tmp = DIV_ROUND_UP(target_mclk, dev->cfg->ts_clk); in m88ds3103_set_frontend()
531 u8tmp1 = u16tmp / 2 - 1; in m88ds3103_set_frontend()
532 u8tmp2 = DIV_ROUND_UP(u16tmp, 2) - 1; in m88ds3103_set_frontend()
536 target_mclk, dev->cfg->ts_clk, u16tmp); in m88ds3103_set_frontend()
572 u16tmp = DIV_ROUND_CLOSEST_ULL((u64)c->symbol_rate * 0x10000, dev->mclk); in m88ds3103_set_frontend()
573 buf[0] = (u16tmp >> 0) & 0xff; in m88ds3103_set_frontend()
574 buf[1] = (u16tmp >> 8) & 0xff; in m88ds3103_set_frontend()
Dts2020.c204 u16 u16tmp, value, lpf_coeff; in ts2020_set_params() local
245 u16tmp = pll_n - 1024; in ts2020_set_params()
246 buf[0] = (u16tmp >> 8) & 0xff; in ts2020_set_params()
247 buf[1] = (u16tmp >> 0) & 0xff; in ts2020_set_params()
/Linux-v4.19/drivers/staging/rtlwifi/btcoexist/
Dhalbtc8822b2ant.c831 u16 u16tmp; in halbtc8822b2ant_monitor_bt_enable_disable() local
838 halbtc8822b2ant_read_score_board(btcoexist, &u16tmp); in halbtc8822b2ant_monitor_bt_enable_disable()
840 bt_active = u16tmp & BIT(1); in halbtc8822b2ant_monitor_bt_enable_disable()
3919 u16 u16tmp = 0x0; in ex_btc8822b2ant_power_on_setting() local
3935 u16tmp = btcoexist->btc_read_2byte(btcoexist, 0x2); in ex_btc8822b2ant_power_on_setting()
3936 btcoexist->btc_write_2byte(btcoexist, 0x2, u16tmp | BIT(0) | BIT(1)); in ex_btc8822b2ant_power_on_setting()
4037 u16 u16tmp[4]; in ex_btc8822b2ant_display_coex_info() local
4239 halbtc8822b2ant_read_score_board(btcoexist, &u16tmp[0]); in ex_btc8822b2ant_display_coex_info()
4244 "0xae[4]/0xac[1:0]/Scoreboard", u16tmp[0]); in ex_btc8822b2ant_display_coex_info()
4249 coex_sta->bt_reg_vendor_ac & 0x3, u16tmp[0]); in ex_btc8822b2ant_display_coex_info()
Dhalbtc8822b1ant.c1039 u16 u16tmp; in halbtc8822b1ant_monitor_bt_enable_disable() local
1046 halbtc8822b1ant_read_score_board(btcoexist, &u16tmp); in halbtc8822b1ant_monitor_bt_enable_disable()
1048 bt_active = u16tmp & BIT(1); in halbtc8822b1ant_monitor_bt_enable_disable()
3845 u16 u16tmp = 0x0; in ex_btc8822b1ant_power_on_setting() local
3860 u16tmp = btcoexist->btc_read_2byte(btcoexist, 0x2); in ex_btc8822b1ant_power_on_setting()
3861 btcoexist->btc_write_2byte(btcoexist, 0x2, u16tmp | BIT(0) | BIT(1)); in ex_btc8822b1ant_power_on_setting()
3942 u16 u16tmp[4]; in ex_btc8822b1ant_display_coex_info() local
4145 halbtc8822b1ant_read_score_board(btcoexist, &u16tmp[0]); in ex_btc8822b1ant_display_coex_info()
4150 "0xae[4]/0xac[1:0]/Scoreboard", u16tmp[0]); in ex_btc8822b1ant_display_coex_info()
4155 coex_sta->bt_reg_vendor_ac & 0x3, u16tmp[0]); in ex_btc8822b1ant_display_coex_info()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8192e2ant.c2617 u16 u16tmp = 0; in btc8192e2ant_init_hwconfig() local
2670 u16tmp = btcoexist->btc_read_2byte(btcoexist, 0x40); in btc8192e2ant_init_hwconfig()
2671 u16tmp |= BIT9; in btc8192e2ant_init_hwconfig()
2672 btcoexist->btc_write_2byte(btcoexist, 0x40, u16tmp); in btc8192e2ant_init_hwconfig()
2713 u16 u16tmp[4]; in ex_btc8192e2ant_display_coex_info() local
2860 u16tmp[0] = btcoexist->btc_read_2byte(btcoexist, 0x42a); in ex_btc8192e2ant_display_coex_info()
2864 u32tmp[0], u32tmp[1], u16tmp[0], u8tmp[0]); in ex_btc8192e2ant_display_coex_info()
Dhalbtc8723b1ant.c2392 u16 u16tmp = 0x0; in ex_btc8723b1ant_power_on_setting() local
2403 u16tmp = btcoexist->btc_read_2byte(btcoexist, 0x2); in ex_btc8723b1ant_power_on_setting()
2404 btcoexist->btc_write_2byte(btcoexist, 0x2, u16tmp | BIT0 | BIT1); in ex_btc8723b1ant_power_on_setting()
2485 u16 u16tmp[4]; in ex_btc8723b1ant_display_coex_info() local
2658 u16tmp[0] = btcoexist->btc_read_2byte(btcoexist, 0x42a); in ex_btc8723b1ant_display_coex_info()
2662 u32tmp[0], u32tmp[1], u16tmp[0], u8tmp[0]); in ex_btc8723b1ant_display_coex_info()
Dhalbtc8723b2ant.c3585 u16 u16tmp = 0x0; in ex_btc8723b2ant_power_on_setting() local
3591 u16tmp = btcoexist->btc_read_2byte(btcoexist, 0x2); in ex_btc8723b2ant_power_on_setting()
3592 btcoexist->btc_write_2byte(btcoexist, 0x2, u16tmp | BIT0 | BIT1); in ex_btc8723b2ant_power_on_setting()