Home
last modified time | relevance | path

Searched refs:tempval (Results 1 – 25 of 44) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A Dgianfar.c325 u32 tempval; in gfar_set_hash_for_addr() local
333 tempval = gfar_read(priv->hash_regs[whichreg]); in gfar_set_hash_for_addr()
334 tempval |= value; in gfar_set_hash_for_addr()
335 gfar_write(priv->hash_regs[whichreg], tempval); in gfar_set_hash_for_addr()
346 u32 tempval; in gfar_set_mac_for_addr() local
355 tempval = (addr[5] << 24) | (addr[4] << 16) | in gfar_set_mac_for_addr()
358 gfar_write(macptr, tempval); in gfar_set_mac_for_addr()
360 tempval = (addr[1] << 24) | (addr[0] << 16); in gfar_set_mac_for_addr()
362 gfar_write(macptr+1, tempval); in gfar_set_mac_for_addr()
1046 u32 tempval; in gfar_halt_nodisable() local
[all …]
H A Dfec_ptp.c101 u32 val, tempval; in fec_ptp_enable_pps() local
139 tempval = fep->cc.read(&fep->cc); in fec_ptp_enable_pps()
141 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps()
147 val = NSEC_PER_SEC - (u32)ts.tv_nsec + tempval; in fec_ptp_enable_pps()
214 u32 tempval; in fec_ptp_read() local
216 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
217 tempval |= FEC_T_CTRL_CAPTURE; in fec_ptp_read()
218 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
/OK3568_Linux_fs/kernel/drivers/media/pci/cx23885/
H A Dcx23885-417.c377 u32 tempval; in mc417_register_read() local
425 tempval = cx_read(MC417_RWD); in mc417_register_read()
426 dataval = tempval & 0x000000FF; in mc417_register_read()
437 tempval = cx_read(MC417_RWD); in mc417_register_read()
438 dataval |= ((tempval & 0x000000FF) << 8); in mc417_register_read()
447 tempval = cx_read(MC417_RWD); in mc417_register_read()
448 dataval |= ((tempval & 0x000000FF) << 16); in mc417_register_read()
457 tempval = cx_read(MC417_RWD); in mc417_register_read()
458 dataval |= ((tempval & 0x000000FF) << 24); in mc417_register_read()
535 u32 tempval; in mc417_memory_read() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c865 u8 tempval; in _rtl92se_macconfig_after_fwdownload() local
867 tempval = rtl_read_byte(rtlpriv, REG_SYS_ISO_CTRL + 1); in _rtl92se_macconfig_after_fwdownload()
868 tempval &= 0xFE; in _rtl92se_macconfig_after_fwdownload()
869 rtl_write_byte(rtlpriv, REG_SYS_ISO_CTRL + 1, tempval); in _rtl92se_macconfig_after_fwdownload()
1647 u8 tempval; in _rtl92se_read_adapter_info() local
1845 tempval = hwinfo[EEPROM_TX_PWR_HT20_DIFF + index] & 0xff; in _rtl92se_read_adapter_info()
1846 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92se_read_adapter_info()
1848 ((tempval >> 4) & 0xF); in _rtl92se_read_adapter_info()
1861 tempval = hwinfo[EEPROM_TX_PWR_OFDM_DIFF + index] & 0xff; in _rtl92se_read_adapter_info()
1863 (tempval & 0xF); in _rtl92se_read_adapter_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_hal_init.c744 u8 tempval; in Hal_BT_EfusePowerSwitch() local
748 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
749 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
750 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
757 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
758 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
759 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
763 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
764 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
765 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/rtl8703b/
H A Drtl8703b_hal_init.c1492 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1496 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1497 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1498 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1505 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1506 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1507 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1511 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1512 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1513 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/rtl8723b/
H A Drtl8723b_hal_init.c1274 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1278 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1279 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1280 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1287 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1288 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1289 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1293 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1294 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1295 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/rtl8723d/
H A Drtl8723d_hal_init.c1498 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1503 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1504 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1505 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1512 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1513 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1514 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1518 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1519 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1520 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/rtl8723d/
H A Drtl8723d_hal_init.c1497 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1502 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1503 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1504 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1511 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1512 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1513 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1517 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1518 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1519 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_efuse.c30 u8 tempval; in efuse_power_switch() local
58 tempval = usb_read8(pAdapter, EFUSE_TEST + 3); in efuse_power_switch()
59 tempval &= 0x0F; in efuse_power_switch()
60 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch()
61 usb_write8(pAdapter, EFUSE_TEST + 3, (tempval | 0x80)); in efuse_power_switch()
68 tempval = usb_read8(pAdapter, EFUSE_TEST + 3); in efuse_power_switch()
69 usb_write8(pAdapter, EFUSE_TEST + 3, (tempval & 0x7F)); in efuse_power_switch()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dtsec.c545 u32 tempval; in tsec_init() local
564 tempval = (dev->enetaddr[5] << 24) | (dev->enetaddr[4] << 16) | in tsec_init()
567 tempval = (pdata->enetaddr[5] << 24) | (pdata->enetaddr[4] << 16) | in tsec_init()
571 out_be32(&regs->macstnaddr1, tempval); in tsec_init()
574 tempval = (dev->enetaddr[1] << 24) | (dev->enetaddr[0] << 16); in tsec_init()
576 tempval = (pdata->enetaddr[1] << 24) | (pdata->enetaddr[0] << 16); in tsec_init()
579 out_be32(&regs->macstnaddr2, tempval); in tsec_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dhw.c1426 u8 rf_path, index, tempval; in _rtl92ce_read_txpower_info_from_hwpg() local
1452 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1454 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92ce_read_txpower_info_from_hwpg()
1456 (tempval & 0xf); in _rtl92ce_read_txpower_info_from_hwpg()
1458 ((tempval & 0xf0) >> 4); in _rtl92ce_read_txpower_info_from_hwpg()
1567 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg()
1569 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92ce_read_txpower_info_from_hwpg()
1571 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92ce_read_txpower_info_from_hwpg()
1573 ((tempval >> 4) & 0xF); in _rtl92ce_read_txpower_info_from_hwpg()
1584 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dhw.c1396 u8 rf_path, index, tempval; in _rtl8723e_read_txpower_info_from_hwpg() local
1417 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1419 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl8723e_read_txpower_info_from_hwpg()
1421 (tempval & 0xf); in _rtl8723e_read_txpower_info_from_hwpg()
1423 ((tempval & 0xf0) >> 4); in _rtl8723e_read_txpower_info_from_hwpg()
1525 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg()
1527 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl8723e_read_txpower_info_from_hwpg()
1529 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl8723e_read_txpower_info_from_hwpg()
1531 ((tempval >> 4) & 0xF); in _rtl8723e_read_txpower_info_from_hwpg()
1542 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dhw.c104 u8 rf_path, index, tempval; in _rtl92cu_read_txpower_info_from_hwpg() local
129 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92cu_read_txpower_info_from_hwpg()
131 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92cu_read_txpower_info_from_hwpg()
133 (tempval & 0xf); in _rtl92cu_read_txpower_info_from_hwpg()
135 ((tempval & 0xf0) >> 4); in _rtl92cu_read_txpower_info_from_hwpg()
231 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg()
233 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92cu_read_txpower_info_from_hwpg()
234 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92cu_read_txpower_info_from_hwpg()
236 ((tempval >> 4) & 0xF); in _rtl92cu_read_txpower_info_from_hwpg()
243 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/rtl8723b/
H A Drtl8723b_hal_init.c1386 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1391 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1392 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1393 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1400 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1401 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1402 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1408 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1409 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1410 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dhw.c1544 u8 tempval[2], i, pwr, diff; in _rtl92de_read_txpower_info() local
1554 tempval[0] = hwinfo[EEPROM_IQK_DELTA] & 0x03; in _rtl92de_read_txpower_info()
1555 tempval[1] = (hwinfo[EEPROM_LCK_DELTA] & 0x0C) >> 2; in _rtl92de_read_txpower_info()
1574 tempval[0] = tempval[1] = 3; in _rtl92de_read_txpower_info()
1593 switch (tempval[i]) { in _rtl92de_read_txpower_info()
1595 tempval[i] = 5; in _rtl92de_read_txpower_info()
1598 tempval[i] = 4; in _rtl92de_read_txpower_info()
1601 tempval[i] = 3; in _rtl92de_read_txpower_info()
1605 tempval[i] = 0; in _rtl92de_read_txpower_info()
1610 rtlefuse->delta_iqk = tempval[0]; in _rtl92de_read_txpower_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/rtl8188f/
H A Drtl8188f_hal_init.c1512 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1516 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1517 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1518 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1525 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1526 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1527 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1531 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1532 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1533 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/rtl8188f/
H A Drtl8188f_hal_init.c1511 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1515 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1516 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1517 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1524 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1525 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1526 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1530 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1531 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1532 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/rtl8188f/
H A Drtl8188f_hal_init.c1512 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1516 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1517 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1518 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1525 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1526 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1527 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1531 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1532 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1533 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/rtl8188f/
H A Drtl8188f_hal_init.c1511 u8 tempval; in Hal_BT_EfusePowerSwitch() local
1515 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1516 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
1517 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1524 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1525 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
1526 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
1530 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch()
1531 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
1532 rtw_write8(padapter, 0x6B, tempval); in Hal_BT_EfusePowerSwitch()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/
H A Dioctl_mp.c1847 u8 tempval, BTStatus; in rtw_mp_SetBT() local
1881 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
1882 tempval |= BIT7; in rtw_mp_SetBT()
1883 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
1890 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
1891 tempval &= ~BIT6; in rtw_mp_SetBT()
1892 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
1942 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
1943 tempval |= BIT7; in rtw_mp_SetBT()
1944 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/
H A Defuse.c1094 u8 tempval; in efuse_power_switch() local
1133 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch()
1138 tempval &= ~(BIT(3) | BIT(4) | BIT(5) | BIT(6)); in efuse_power_switch()
1139 tempval |= (VOLTAGE_V25 << 3); in efuse_power_switch()
1141 tempval &= 0x0F; in efuse_power_switch()
1142 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch()
1147 (tempval | 0x80)); in efuse_power_switch()
1161 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch()
1166 (tempval & 0x7F)); in efuse_power_switch()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/
H A Dioctl_mp.c2011 u8 tempval, BTStatus; in rtw_mp_SetBT() local
2045 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
2046 tempval |= BIT7; in rtw_mp_SetBT()
2047 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
2054 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
2055 tempval &= ~BIT6; in rtw_mp_SetBT()
2056 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
2106 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
2107 tempval |= BIT7; in rtw_mp_SetBT()
2108 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Dioctl_mp.c2039 u8 tempval, BTStatus; in rtw_mp_SetBT() local
2073 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
2074 tempval |= BIT7; in rtw_mp_SetBT()
2075 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
2082 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
2083 tempval &= ~BIT6; in rtw_mp_SetBT()
2084 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
2134 tempval = rtw_read8(padapter, 0x6B); in rtw_mp_SetBT()
2135 tempval |= BIT7; in rtw_mp_SetBT()
2136 rtw_write8(padapter, 0x6B, tempval); in rtw_mp_SetBT()
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/fsl/qe/
H A Dqe.c211 u32 divisor, tempval; in qe_setbrg() local
231 tempval = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) | in qe_setbrg()
234 qe_iowrite32be(tempval, &qe_immr->brg.brgc[brg - QE_BRG1]); in qe_setbrg()

12