Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8723b1ant.c846 u32tmp &= ~BIT23; in halbtc8723b1ant_set_ant_path()
847 u32tmp &= ~BIT24; in halbtc8723b1ant_set_ant_path()
899 u32tmp |= BIT24; in halbtc8723b1ant_set_ant_path()
963 u32tmp |= BIT23; in halbtc8723b1ant_set_ant_path()
2313 u32 u32tmp = 0; in halbtc8723b1ant_init_hw_config() local
2456 u32 u32tmp[4]; in ex_btc8723b1ant_display_coex_info() local
2632 u32tmp[0], u32tmp[1], u16tmp[0], u8tmp[0]); in ex_btc8723b1ant_display_coex_info()
2653 u32tmp[0] & 0x3, u32tmp[1] & 0xff, u32tmp[2] & 0x3); in ex_btc8723b1ant_display_coex_info()
2699 u32tmp[0], u32tmp[1], u32tmp[2]); in ex_btc8723b1ant_display_coex_info()
2764 u32 u32tmp; in ex_btc8723b1ant_scan_notify() local
[all …]
H A Dhalbtc8723b2ant.c1159 u32tmp &= ~BIT23; in btc8723b2ant_set_ant_path()
1160 u32tmp |= BIT24; in btc8723b2ant_set_ant_path()
1187 u32tmp |= BIT23; in btc8723b2ant_set_ant_path()
1188 u32tmp &= ~BIT24; in btc8723b2ant_set_ant_path()
1611 u32 u32tmp; in btc8723b2ant_action_wifi_link_process() local
1625 u32tmp, u8tmpa, u8tmpb); in btc8723b2ant_action_wifi_link_process()
3646 u32 u32tmp[4]; in ex_btc8723b2ant_display_coex_info() local
3791 u32tmp[0] & 0x3, u32tmp[1] & 0xff, u32tmp[2] & 0x3); in ex_btc8723b2ant_display_coex_info()
3825 (u32tmp[3] & 0xffff); in ex_btc8723b2ant_display_coex_info()
3838 u32tmp[0], u32tmp[1], u32tmp[2], u8tmp[0]); in ex_btc8723b2ant_display_coex_info()
[all …]
H A Dhalbtc8192e2ant.c382 u32 reg_hp_txrx, reg_lp_txrx, u32tmp; in btc8192e2ant_monitor_bt_ctr() local
389 reg_hp_tx = u32tmp & MASKLWORD; in btc8192e2ant_monitor_bt_ctr()
390 reg_hp_rx = (u32tmp & MASKHWORD) >> 16; 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
2824 u32tmp[0], u32tmp[1], u16tmp[0], u8tmp[0]); in ex_btc8192e2ant_display_coex_info()
2830 "0xc04/ 0xd04/ 0x90c", u32tmp[0], u32tmp[1], u32tmp[2]); in ex_btc8192e2ant_display_coex_info()
2838 "0x92c/ 0x930", (u8tmp[0]), u32tmp[0]); in ex_btc8192e2ant_display_coex_info()
2852 u32tmp[0]); in ex_btc8192e2ant_display_coex_info()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Drtl2832_sdr.c493 u32 u32tmp; in rtl2832_sdr_set_adc() local
527 u32tmp = u64tmp & 0x3fffff; in rtl2832_sdr_set_adc()
531 buf[0] = (u32tmp >> 16) & 0xff; in rtl2832_sdr_set_adc()
532 buf[1] = (u32tmp >> 8) & 0xff; in rtl2832_sdr_set_adc()
533 buf[2] = (u32tmp >> 0) & 0xff; in rtl2832_sdr_set_adc()
562 u32tmp = div_u64(pdata->clk * 0x400000ULL, f_sr * 4U); in rtl2832_sdr_set_adc()
563 u32tmp <<= 2; in rtl2832_sdr_set_adc()
564 buf[0] = (u32tmp >> 24) & 0xff; in rtl2832_sdr_set_adc()
565 buf[1] = (u32tmp >> 16) & 0xff; in rtl2832_sdr_set_adc()
566 buf[2] = (u32tmp >> 8) & 0xff; in rtl2832_sdr_set_adc()
[all …]
H A Dsi2165.c672 u32 u32tmp; in si2165_read_status() local
722 ret = si2165_readreg24(state, REG_C_N, &u32tmp); in si2165_read_status()
735 u32tmp = (1000 * 10 * (121210686 - (u64)intlog10(u32tmp))) in si2165_read_status()
738 c->cnr.stat[0].svalue = u32tmp; in si2165_read_status()
H A Dm88ds3103.c628 u32 tuner_frequency_khz, target_mclk, u32tmp; in m88ds3103_set_frontend() local
652 ret = regmap_read(dev->regmap, 0xb2, &u32tmp); in m88ds3103_set_frontend()
655 if (u32tmp == 0x01) { in m88ds3103_set_frontend()
840 regmap_read(dev->regmap, 0x30, &u32tmp); in m88ds3103_set_frontend()
841 u32tmp &= ~0x80; in m88ds3103_set_frontend()
842 regmap_write(dev->regmap, 0x30, u32tmp & 0xff); in m88ds3103_set_frontend()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dphy.c1520 u32 reg_eac, reg_e94, reg_e9c, reg_ea4, u32tmp, tmp; in _rtl8723be_phy_path_a_rx_iqk() local
1593 u32tmp = 0x80007C00 | (reg_e94 & 0x3FF0000) | in _rtl8723be_phy_path_a_rx_iqk()
1595 rtl_set_bbreg(hw, RTX_IQK, MASKDWORD, u32tmp); in _rtl8723be_phy_path_a_rx_iqk()
1740 u32 reg_e94, reg_e9c, reg_ea4, reg_eac, u32tmp, tmp; in _rtl8723be_phy_path_b_rx_iqk() local
1812 u32tmp = 0x80007C00 | (reg_e94 & 0x3FF0000) | in _rtl8723be_phy_path_b_rx_iqk()
1814 rtl_set_bbreg(hw, RTX_IQK, MASKDWORD, u32tmp); in _rtl8723be_phy_path_b_rx_iqk()