Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Dlib.c58 u32 u32tmp, udays, century, day_of_century, year_of_century, year, in rtc_time64_to_tm() local
98 u32tmp = 4 * udays + 3; in rtc_time64_to_tm()
99 century = u32tmp / 146097; in rtc_time64_to_tm()
100 day_of_century = u32tmp % 146097 / 4; in rtc_time64_to_tm()
102 u32tmp = 4 * day_of_century + 3; in rtc_time64_to_tm()
103 u64tmp = 2939745ULL * u32tmp; in rtc_time64_to_tm()
111 u32tmp = 2141 * day_of_year + 132377; in rtc_time64_to_tm()
112 month = u32tmp >> 16; in rtc_time64_to_tm()
113 day = ((u16) u32tmp) / 2141; in rtc_time64_to_tm()
/linux/kernel/time/
H A Dtimeconv.c49 u32 u32tmp, day_of_century, year_of_century, day_of_year, month, day; in time64_to_tm() local
111 u32tmp = 4 * day_of_century + 3; in time64_to_tm()
112 u64tmp = 2939745ULL * u32tmp; in time64_to_tm()
119 u32tmp = 2141 * day_of_year + 132377; in time64_to_tm()
120 month = u32tmp >> 16; in time64_to_tm()
121 day = ((u16) u32tmp) / 2141; in time64_to_tm()
/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8723b2ant.c249 u32 reg_hp_txrx, reg_lp_txrx, u32tmp; in btc8723b2ant_monitor_bt_ctr() local
256 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in btc8723b2ant_monitor_bt_ctr()
257 reg_hp_tx = u32tmp & MASKLWORD; in btc8723b2ant_monitor_bt_ctr()
258 reg_hp_rx = (u32tmp & MASKHWORD) >> 16; in btc8723b2ant_monitor_bt_ctr()
260 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_lp_txrx); in btc8723b2ant_monitor_bt_ctr()
261 reg_lp_tx = u32tmp & MASKLWORD; in btc8723b2ant_monitor_bt_ctr()
262 reg_lp_rx = (u32tmp & MASKHWORD) >> 16; in btc8723b2ant_monitor_bt_ctr()
1094 u32 fw_ver = 0, u32tmp = 0; in btc8723b2ant_set_ant_path() local
1158 u32tmp = btcoexist->btc_read_4byte(btcoexist, 0x4c); in btc8723b2ant_set_ant_path()
1159 u32tmp &= ~BIT23; in btc8723b2ant_set_ant_path()
[all …]
H A Dhalbtc8192e2ant.c382 u32 reg_hp_txrx, reg_lp_txrx, u32tmp; in btc8192e2ant_monitor_bt_ctr() local
388 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in btc8192e2ant_monitor_bt_ctr()
389 reg_hp_tx = u32tmp & MASKLWORD; in btc8192e2ant_monitor_bt_ctr()
390 reg_hp_rx = (u32tmp & MASKHWORD) >> 16; in btc8192e2ant_monitor_bt_ctr()
392 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_lp_txrx); in btc8192e2ant_monitor_bt_ctr()
393 reg_lp_tx = u32tmp & MASKLWORD; in btc8192e2ant_monitor_bt_ctr()
394 reg_lp_rx = (u32tmp & MASKHWORD) >> 16; in btc8192e2ant_monitor_bt_ctr()
2674 u32 u32tmp[4]; in ex_btc8192e2ant_display_coex_info() local
2818 u32tmp[0] = btcoexist->btc_read_4byte(btcoexist, 0x430); in ex_btc8192e2ant_display_coex_info()
2819 u32tmp[1] = btcoexist->btc_read_4byte(btcoexist, 0x434); in ex_btc8192e2ant_display_coex_info()
[all …]
/linux/drivers/media/dvb-frontends/
H A Dsi2165.c670 u32 u32tmp; in si2165_read_status() local
720 ret = si2165_readreg24(state, REG_C_N, &u32tmp); in si2165_read_status()
733 u32tmp = (1000 * 10 * (121210686 - (u64)intlog10(u32tmp))) in si2165_read_status()
736 c->cnr.stat[0].svalue = u32tmp; in si2165_read_status()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dphy.c1526 u32 reg_eac, reg_e94, reg_e9c, reg_ea4, u32tmp, tmp; in _rtl8723be_phy_path_a_rx_iqk() local
1599 u32tmp = 0x80007C00 | (reg_e94 & 0x3FF0000) | in _rtl8723be_phy_path_a_rx_iqk()
1601 rtl_set_bbreg(hw, RTX_IQK, MASKDWORD, u32tmp); in _rtl8723be_phy_path_a_rx_iqk()
1746 u32 reg_e94, reg_e9c, reg_ea4, reg_eac, u32tmp, tmp; in _rtl8723be_phy_path_b_rx_iqk() local
1818 u32tmp = 0x80007C00 | (reg_e94 & 0x3FF0000) | in _rtl8723be_phy_path_b_rx_iqk()
1820 rtl_set_bbreg(hw, RTX_IQK, MASKDWORD, u32tmp); in _rtl8723be_phy_path_b_rx_iqk()