Home
last modified time | relevance | path

Searched refs:u8tmp (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/media/dvb-frontends/
H A Dts2020.c61 u8 u8tmp; in ts2020_sleep() local
66 u8tmp = 0x00; in ts2020_sleep()
83 u8 u8tmp; in ts2020_init() local
114 u8tmp = 0x60; in ts2020_init()
117 u8tmp = 0x70; in ts2020_init()
121 u8tmp = 0x6c; in ts2020_init()
124 u8tmp = 0x60; in ts2020_init()
131 u8tmp = 0xec; in ts2020_init()
133 u8tmp = 0x6c; in ts2020_init()
559 u8 u8tmp; in ts2020_probe() local
[all …]
H A Drtl2830.c165 u8 buf[3], u8tmp; in rtl2830_set_frontend() local
242 buf[0] |= u8tmp & 0xc0; /* [7:6] */ in rtl2830_set_frontend()
388 u8 u8tmp, buf[2]; in rtl2830_read_status() local
399 u8tmp = (u8tmp >> 3) & 0x0f; /* [6:3] */ in rtl2830_read_status()
400 if (u8tmp == 11) { in rtl2830_read_status()
403 } else if (u8tmp == 10) { in rtl2830_read_status()
448 hierarchy = (u8tmp >> 4) & 0x07; /* [6:4] */ in rtl2830_read_status()
581 u8 u8tmp; in rtl2830_pid_filter_ctrl() local
587 u8tmp = 0x80; in rtl2830_pid_filter_ctrl()
589 u8tmp = 0x00; in rtl2830_pid_filter_ctrl()
[all …]
H A Dzd1301_demod.c231 u8 u8tmp; in zd1301_demod_read_status() local
233 ret = zd1301_demod_rreg(dev, 0x6a24, &u8tmp); in zd1301_demod_read_status()
236 if (u8tmp > 0x00 && u8tmp < 0x20) in zd1301_demod_read_status()
242 dev_dbg(&pdev->dev, "lock byte=%02x\n", u8tmp); in zd1301_demod_read_status()
316 u8 u8tmp; in zd1301_demod_i2c_master_xfer() local
360 for (u8tmp = 1; !time_after(jiffies, timeout) && u8tmp;) { in zd1301_demod_i2c_master_xfer()
363 ret = zd1301_demod_rreg(dev, 0x6804, &u8tmp); in zd1301_demod_i2c_master_xfer()
414 for (u8tmp = 1; !time_after(jiffies, timeout) && u8tmp;) { in zd1301_demod_i2c_master_xfer()
417 ret = zd1301_demod_rreg(dev, 0x6804, &u8tmp); in zd1301_demod_i2c_master_xfer()
H A Dsi2165.c671 u8 u8tmp; in si2165_read_status() local
699 if (u8tmp & 0x01) { in si2165_read_status()
712 if (u8tmp & 0x01) { in si2165_read_status()
767 if (u8tmp & 1) { in si2165_read_status()
972 u8 u8tmp; in si2165_set_frontend_dvbc() local
991 u8tmp = 0x3; in si2165_set_frontend_dvbc()
994 u8tmp = 0x7; in si2165_set_frontend_dvbc()
997 u8tmp = 0x8; in si2165_set_frontend_dvbc()
1000 u8tmp = 0x9; in si2165_set_frontend_dvbc()
1003 u8tmp = 0xa; in si2165_set_frontend_dvbc()
[all …]
H A Drtl2832.c644 u8 u8tmp, buf[2]; in rtl2832_read_status() local
670 ret = regmap_bulk_read(dev->regmap, 0x305, &u8tmp, 1); in rtl2832_read_status()
674 dev_dbg(&client->dev, "digital agc=%02x", u8tmp); in rtl2832_read_status()
676 u8tmp = ~u8tmp; in rtl2832_read_status()
677 u16tmp = u8tmp << 8 | u8tmp << 0; in rtl2832_read_status()
696 ret = regmap_bulk_read(dev->regmap, 0x33c, &u8tmp, 1); in rtl2832_read_status()
700 constellation = (u8tmp >> 2) & 0x03; /* [3:2] */ in rtl2832_read_status()
705 hierarchy = (u8tmp >> 4) & 0x07; /* [6:4] */ in rtl2832_read_status()
951 u8 u8tmp; in rtl2832_pid_filter_ctrl() local
957 u8tmp = 0x80; in rtl2832_pid_filter_ctrl()
[all …]
H A Dm88ds3103.c859 u8tmp = 0x06; in m88ds3103_set_frontend()
863 u8tmp = 0x06; in m88ds3103_set_frontend()
866 u8tmp = 0x02; in m88ds3103_set_frontend()
868 u8tmp = 0x01; in m88ds3103_set_frontend()
873 u8tmp = 0x03; in m88ds3103_set_frontend()
882 u8tmp |= 0x40; in m88ds3103_set_frontend()
885 ret = regmap_write(dev->regmap, 0xfd, u8tmp); in m88ds3103_set_frontend()
917 u8tmp = (u8tmp1 >> 2) & 0x0f; in m88ds3103_set_frontend()
927 u8tmp = 0x20; in m88ds3103_set_frontend()
929 u8tmp = 0x10; in m88ds3103_set_frontend()
[all …]
/openbmc/linux/drivers/media/tuners/
H A De4000.c379 u8 u8tmp; in e4000_set_lna_gain() local
386 u8tmp = 0x17; in e4000_set_lna_gain()
388 u8tmp = 0x19; in e4000_set_lna_gain()
390 u8tmp = 0x16; in e4000_set_lna_gain()
392 u8tmp = 0x10; in e4000_set_lna_gain()
415 u8 u8tmp; in e4000_set_mixer_gain() local
422 u8tmp = 0x15; in e4000_set_mixer_gain()
424 u8tmp = 0x14; in e4000_set_mixer_gain()
448 u8 u8tmp; in e4000_set_if_gain() local
455 u8tmp = 0x17; in e4000_set_if_gain()
[all …]
H A Dit913x.c216 u8 u8tmp, n, l_band, lna_band; in it913x_set_params() local
328 u8tmp = 0; in it913x_set_params()
330 u8tmp = 2; in it913x_set_params()
332 u8tmp = 4; in it913x_set_params()
334 u8tmp = 6; /* 8000000 */ in it913x_set_params()
336 ret = regmap_write(dev->regmap, 0x80ec56, u8tmp); in it913x_set_params()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8723b1ant.c781 u8 h2c_parameter[2] = {0}, u8tmp = 0; in halbtc8723b1ant_set_ant_path() local
863 if (u8tmp & BIT(0)) { in halbtc8723b1ant_set_ant_path()
2361 u8 u8tmp = 0x0; in ex_btc8723b1ant_power_on_setting() local
2395 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8723b1ant_power_on_setting()
2409 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8723b1ant_power_on_setting()
2419 u8tmp); in ex_btc8723b1ant_power_on_setting()
2422 u8tmp); in ex_btc8723b1ant_power_on_setting()
2454 u8 u8tmp[4], i, bt_info_ext, pstdmacase = 0; in ex_btc8723b1ant_display_coex_info() local
2646 u32tmp[0], ((u8tmp[0] & 0x20) >> 5), u8tmp[1]); in ex_btc8723b1ant_display_coex_info()
2661 ((u8tmp[0] & 0x8) >> 3), u8tmp[1], in ex_btc8723b1ant_display_coex_info()
[all …]
H A Dhalbtc8192e2ant.c2578 u8 u8tmp = 0; in btc8192e2ant_init_hwconfig() local
2620 u8tmp &= 0xc0; in btc8192e2ant_init_hwconfig()
2621 u8tmp |= 0x5; in btc8192e2ant_init_hwconfig()
2636 u8tmp |= BIT4; in btc8192e2ant_init_hwconfig()
2641 u8tmp |= BIT0; in btc8192e2ant_init_hwconfig()
2645 u8tmp |= BIT0; in btc8192e2ant_init_hwconfig()
2672 u8 u8tmp[4], i, bt_info_ext, ps_tdma_case = 0; in ex_btc8192e2ant_display_coex_info() local
2824 u32tmp[0], u32tmp[1], u16tmp[0], u8tmp[0]); in ex_btc8192e2ant_display_coex_info()
2838 "0x92c/ 0x930", (u8tmp[0]), u32tmp[0]); in ex_btc8192e2ant_display_coex_info()
2843 "0x40/ 0x4f", u8tmp[0], u8tmp[1]); in ex_btc8192e2ant_display_coex_info()
[all …]
H A Dhalbtc8723b2ant.c3532 u8 u8tmp = 0; in ex_btc8723b2ant_init_hwconfig() local
3541 u8tmp &= 0xc0; in ex_btc8723b2ant_init_hwconfig()
3542 u8tmp |= 0x5; in ex_btc8723b2ant_init_hwconfig()
3611 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8723b2ant_pre_load_firmware()
3618 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8723b2ant_pre_load_firmware()
3623 u8tmp); in ex_btc8723b2ant_pre_load_firmware()
3626 u8tmp); in ex_btc8723b2ant_pre_load_firmware()
3776 "0x778/0x880[29:25]", u8tmp[0], in ex_btc8723b2ant_display_coex_info()
3784 u32tmp[0], ((u8tmp[0] & 0x20) >> 5), u8tmp[1]); in ex_btc8723b2ant_display_coex_info()
3799 ((u8tmp[0] & 0x8) >> 3), u8tmp[1], in ex_btc8723b2ant_display_coex_info()
[all …]
H A Dhalbtc8821a2ant.c3579 u8 u8tmp = 0x4; /* Set BIT2 by default since it's 2ant case */ in ex_btc8821a2ant_pre_load_firmware() local
3594 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8821a2ant_pre_load_firmware()
3595 btcoexist->btc_write_local_reg_1byte(btcoexist, 0xfe08, u8tmp); in ex_btc8821a2ant_pre_load_firmware()
3601 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8821a2ant_pre_load_firmware()
3606 u8tmp); in ex_btc8821a2ant_pre_load_firmware()
3609 u8tmp); in ex_btc8821a2ant_pre_load_firmware()
/openbmc/linux/drivers/media/usb/airspy/
H A Dairspy.c866 u8 u8tmp; in airspy_set_lna_gain() local
873 &u8tmp, 1); in airspy_set_lna_gain()
879 &u8tmp, 1); in airspy_set_lna_gain()
893 u8 u8tmp; in airspy_set_mixer_gain() local
900 &u8tmp, 1); in airspy_set_mixer_gain()
906 s->mixer_gain->val, &u8tmp, 1); in airspy_set_mixer_gain()
920 u8 u8tmp; in airspy_set_if_gain() local
925 &u8tmp, 1); in airspy_set_if_gain()
967 u8 u8tmp, *buf; in airspy_probe() local
997 ret = airspy_ctrl_msg(s, CMD_BOARD_ID_READ, 0, 0, &u8tmp, 1); in airspy_probe()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dpci.c58 u8 u8tmp; in ath5k_pci_read_cachesize() local
60 pci_read_config_byte(ah->pdev, PCI_CACHE_LINE_SIZE, &u8tmp); in ath5k_pci_read_cachesize()
61 *csz = (int)u8tmp; in ath5k_pci_read_cachesize()
/openbmc/linux/drivers/media/usb/hackrf/
H A Dhackrf.c239 u8 buf[8], u8tmp; in hackrf_set_params() local
378 u8tmp = (dev->rx_rf_gain->val) ? 1 : 0; in hackrf_set_params()
379 ret = hackrf_ctrl_msg(dev, CMD_AMP_ENABLE, u8tmp, 0, NULL, 0); in hackrf_set_params()
390 u8tmp = (dev->tx_rf_gain->val) ? 1 : 0; in hackrf_set_params()
391 ret = hackrf_ctrl_msg(dev, CMD_AMP_ENABLE, u8tmp, 0, NULL, 0); in hackrf_set_params()
403 dev->rx_lna_gain->val, &u8tmp, 1); in hackrf_set_params()
414 dev->rx_if_gain->val, &u8tmp, 1); in hackrf_set_params()
425 dev->tx_lna_gain->val, &u8tmp, 1); in hackrf_set_params()
1350 u8 u8tmp, buf[BUF_SIZE]; in hackrf_probe() local
1378 ret = hackrf_ctrl_msg(dev, CMD_BOARD_ID_READ, 0, 0, &u8tmp, 1); in hackrf_probe()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dpci.c785 u8 u8tmp; in ath_pci_read_cachesize() local
787 pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, &u8tmp); in ath_pci_read_cachesize()
788 *csz = (int)u8tmp; in ath_pci_read_cachesize()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dhw.c678 u8 u8tmp, testcnt = 0; in _rtl92ee_llt_table_init() local
699 u8tmp = rtl_read_byte(rtlpriv, REG_AUTO_LLT + 2); in _rtl92ee_llt_table_init()
700 rtl_write_byte(rtlpriv, REG_AUTO_LLT + 2, u8tmp | BIT(0)); in _rtl92ee_llt_table_init()
702 while (u8tmp & BIT(0)) { in _rtl92ee_llt_table_init()
703 u8tmp = rtl_read_byte(rtlpriv, REG_AUTO_LLT + 2); in _rtl92ee_llt_table_init()