/linux-6.6.21/drivers/rtc/ |
D | lib.c | 58 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-6.6.21/kernel/time/ |
D | timeconv.c | 49 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtc8723b1ant.c | 205 u32 reg_hp_txrx, reg_lp_txrx, u32tmp; in halbtc8723b1ant_monitor_bt_ctr() local 213 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in halbtc8723b1ant_monitor_bt_ctr() 214 reg_hp_tx = u32tmp & MASKLWORD; in halbtc8723b1ant_monitor_bt_ctr() 215 reg_hp_rx = (u32tmp & MASKHWORD) >> 16; in halbtc8723b1ant_monitor_bt_ctr() 217 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_lp_txrx); in halbtc8723b1ant_monitor_bt_ctr() 218 reg_lp_tx = u32tmp & MASKLWORD; in halbtc8723b1ant_monitor_bt_ctr() 219 reg_lp_rx = (u32tmp & MASKHWORD) >> 16; in halbtc8723b1ant_monitor_bt_ctr() 777 u32 fw_ver = 0, u32tmp = 0, cnt_bt_cal_chk = 0; in halbtc8723b1ant_set_ant_path() local 845 u32tmp = btcoexist->btc_read_4byte(btcoexist, 0x4c); in halbtc8723b1ant_set_ant_path() 846 u32tmp &= ~BIT23; in halbtc8723b1ant_set_ant_path() [all …]
|
D | halbtc8723b2ant.c | 249 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 …]
|
D | halbtc8192e2ant.c | 382 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-6.6.21/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 493 u32 u32tmp; in rtl2832_sdr_set_adc() local 527 u32tmp = u64tmp & 0x3fffff; in rtl2832_sdr_set_adc() 529 dev_dbg(&pdev->dev, "f_if=%u if_ctl=%08x\n", f_if, u32tmp); 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() [all …]
|
D | si2165.c | 672 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()
|
D | m88ds3103.c | 628 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()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | phy.c | 1520 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()
|