/Linux-v4.19/drivers/net/ethernet/freescale/ |
D | gianfar.c | 1144 u32 tempval; in gfar_mac_reset() local 1169 tempval = MACCFG2_INIT_SETTINGS; in gfar_mac_reset() 1176 tempval |= MACCFG2_HUGEFRAME | MACCFG2_LENGTHCHECK; in gfar_mac_reset() 1178 gfar_write(®s->maccfg2, tempval); in gfar_mac_reset() 1584 u32 tempval; in gfar_start_wol_filer() local 1591 tempval = gfar_read(®s->dmactrl); in gfar_start_wol_filer() 1592 tempval |= DMACTRL_INIT_SETTINGS; in gfar_start_wol_filer() 1593 gfar_write(®s->dmactrl, tempval); in gfar_start_wol_filer() 1596 tempval = gfar_read(®s->dmactrl); in gfar_start_wol_filer() 1597 tempval &= ~DMACTRL_GRS; in gfar_start_wol_filer() [all …]
|
D | fec_ptp.c | 101 u32 val, tempval; in fec_ptp_enable_pps() local 144 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps() 145 tempval |= FEC_T_CTRL_CAPTURE; in fec_ptp_enable_pps() 146 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps() 148 tempval = readl(fep->hwp + FEC_ATIME); in fec_ptp_enable_pps() 150 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps() 156 val = NSEC_PER_SEC - (u32)ts.tv_nsec + tempval; in fec_ptp_enable_pps() 225 u32 tempval; in fec_ptp_read() local 227 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 228 tempval |= FEC_T_CTRL_CAPTURE; in fec_ptp_read() [all …]
|
D | gianfar_ethtool.c | 551 u32 tempval; in gfar_spauseparam() local 552 tempval = gfar_read(®s->maccfg1); in gfar_spauseparam() 553 tempval &= ~(MACCFG1_TX_FLOW | MACCFG1_RX_FLOW); in gfar_spauseparam() 558 tempval |= MACCFG1_TX_FLOW; in gfar_spauseparam() 562 tempval |= MACCFG1_RX_FLOW; in gfar_spauseparam() 563 gfar_write(®s->maccfg1, tempval); in gfar_spauseparam()
|
D | ucc_geth.c | 1593 u32 tempval = in_be32(&ug_regs->maccfg2); in adjust_link() local 1600 tempval &= ~(MACCFG2_FDX); in adjust_link() 1602 tempval |= MACCFG2_FDX; in adjust_link() 1610 tempval = ((tempval & in adjust_link() 1616 tempval = ((tempval & in adjust_link() 1658 out_be32(&ug_regs->maccfg2, tempval); in adjust_link()
|
/Linux-v4.19/drivers/media/pci/cx23885/ |
D | cx23885-417.c | 386 u32 tempval; in mc417_register_read() local 434 tempval = cx_read(MC417_RWD); in mc417_register_read() 435 dataval = tempval & 0x000000FF; in mc417_register_read() 446 tempval = cx_read(MC417_RWD); in mc417_register_read() 447 dataval |= ((tempval & 0x000000FF) << 8); in mc417_register_read() 456 tempval = cx_read(MC417_RWD); in mc417_register_read() 457 dataval |= ((tempval & 0x000000FF) << 16); in mc417_register_read() 466 tempval = cx_read(MC417_RWD); in mc417_register_read() 467 dataval |= ((tempval & 0x000000FF) << 24); in mc417_register_read() 544 u32 tempval; in mc417_memory_read() local [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 887 u8 tempval; in _rtl92se_macconfig_after_fwdownload() local 889 tempval = rtl_read_byte(rtlpriv, REG_SYS_ISO_CTRL + 1); in _rtl92se_macconfig_after_fwdownload() 890 tempval &= 0xFE; in _rtl92se_macconfig_after_fwdownload() 891 rtl_write_byte(rtlpriv, REG_SYS_ISO_CTRL + 1, tempval); in _rtl92se_macconfig_after_fwdownload() 1670 u8 tempval; in _rtl92se_read_adapter_info() local 1868 tempval = hwinfo[EEPROM_TX_PWR_HT20_DIFF + index] & 0xff; in _rtl92se_read_adapter_info() 1869 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92se_read_adapter_info() 1871 ((tempval >> 4) & 0xF); in _rtl92se_read_adapter_info() 1884 tempval = hwinfo[EEPROM_TX_PWR_OFDM_DIFF + index] & 0xff; in _rtl92se_read_adapter_info() 1886 (tempval & 0xF); in _rtl92se_read_adapter_info() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_hal_init.c | 744 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 …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_efuse.c | 34 u8 tempval; in efuse_power_switch() local 62 tempval = usb_read8(pAdapter, EFUSE_TEST + 3); in efuse_power_switch() 63 tempval &= 0x0F; in efuse_power_switch() 64 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch() 65 usb_write8(pAdapter, EFUSE_TEST + 3, (tempval | 0x80)); in efuse_power_switch() 72 tempval = usb_read8(pAdapter, EFUSE_TEST + 3); in efuse_power_switch() 73 usb_write8(pAdapter, EFUSE_TEST + 3, (tempval & 0x7F)); in efuse_power_switch()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 1442 u8 rf_path, index, tempval; in _rtl92ce_read_txpower_info_from_hwpg() local 1468 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92ce_read_txpower_info_from_hwpg() 1470 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92ce_read_txpower_info_from_hwpg() 1472 (tempval & 0xf); in _rtl92ce_read_txpower_info_from_hwpg() 1474 ((tempval & 0xf0) >> 4); in _rtl92ce_read_txpower_info_from_hwpg() 1583 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg() 1585 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92ce_read_txpower_info_from_hwpg() 1587 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92ce_read_txpower_info_from_hwpg() 1589 ((tempval >> 4) & 0xF); in _rtl92ce_read_txpower_info_from_hwpg() 1600 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 126 u8 rf_path, index, tempval; in _rtl92cu_read_txpower_info_from_hwpg() local 151 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92cu_read_txpower_info_from_hwpg() 153 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92cu_read_txpower_info_from_hwpg() 155 (tempval & 0xf); in _rtl92cu_read_txpower_info_from_hwpg() 157 ((tempval & 0xf0) >> 4); in _rtl92cu_read_txpower_info_from_hwpg() 253 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg() 255 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92cu_read_txpower_info_from_hwpg() 256 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92cu_read_txpower_info_from_hwpg() 258 ((tempval >> 4) & 0xF); in _rtl92cu_read_txpower_info_from_hwpg() 265 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 1420 u8 rf_path, index, tempval; in _rtl8723e_read_txpower_info_from_hwpg() local 1441 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1443 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl8723e_read_txpower_info_from_hwpg() 1445 (tempval & 0xf); in _rtl8723e_read_txpower_info_from_hwpg() 1447 ((tempval & 0xf0) >> 4); in _rtl8723e_read_txpower_info_from_hwpg() 1549 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg() 1551 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl8723e_read_txpower_info_from_hwpg() 1553 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl8723e_read_txpower_info_from_hwpg() 1555 ((tempval >> 4) & 0xF); in _rtl8723e_read_txpower_info_from_hwpg() 1566 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg() [all …]
|
/Linux-v4.19/drivers/staging/rtlwifi/ |
D | efuse.c | 1098 u8 tempval; in efuse_power_switch() local 1137 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch() 1142 tempval &= ~(BIT(3) | BIT(4) | BIT(5) | BIT(6)); in efuse_power_switch() 1143 tempval |= (VOLTAGE_V25 << 3); in efuse_power_switch() 1145 tempval &= 0x0F; in efuse_power_switch() 1146 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch() 1151 (tempval | 0x80)); in efuse_power_switch() 1165 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch() 1170 (tempval & 0x7F)); in efuse_power_switch()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 1565 u8 tempval[2], i, pwr, diff; in _rtl92de_read_txpower_info() local 1575 tempval[0] = hwinfo[EEPROM_IQK_DELTA] & 0x03; in _rtl92de_read_txpower_info() 1576 tempval[1] = (hwinfo[EEPROM_LCK_DELTA] & 0x0C) >> 2; in _rtl92de_read_txpower_info() 1595 tempval[0] = tempval[1] = 3; in _rtl92de_read_txpower_info() 1614 switch (tempval[i]) { in _rtl92de_read_txpower_info() 1616 tempval[i] = 5; in _rtl92de_read_txpower_info() 1619 tempval[i] = 4; in _rtl92de_read_txpower_info() 1622 tempval[i] = 3; in _rtl92de_read_txpower_info() 1626 tempval[i] = 0; in _rtl92de_read_txpower_info() 1631 rtlefuse->delta_iqk = tempval[0]; in _rtl92de_read_txpower_info() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | efuse.c | 1134 u8 tempval; in efuse_power_switch() local 1174 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch() 1179 tempval &= ~(BIT(3) | BIT(4) | BIT(5) | BIT(6)); in efuse_power_switch() 1180 tempval |= (VOLTAGE_V25 << 3); in efuse_power_switch() 1182 tempval &= 0x0F; in efuse_power_switch() 1183 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch() 1188 (tempval | 0x80)); in efuse_power_switch() 1202 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch() 1207 (tempval & 0x7F)); in efuse_power_switch()
|
/Linux-v4.19/drivers/soc/fsl/qe/ |
D | qe.c | 216 u32 divisor, tempval; in qe_setbrg() local 236 tempval = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) | in qe_setbrg() 239 out_be32(&qe_immr->brg.brgc[brg - QE_BRG1], tempval); in qe_setbrg()
|
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 313 u8 tempval; in _rtl92e_read_eeprom_info() local 395 tempval = (rtl92e_eeprom_read(dev, in _rtl92e_read_eeprom_info() 397 priv->EEPROMLegacyHTTxPowerDiff = tempval & 0xf; in _rtl92e_read_eeprom_info() 399 if (tempval&0x80) in _rtl92e_read_eeprom_info()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 19047 u32 tempval = 0; in wlc_phy_spurwar_nphy() local 19154 tempval = 0; in wlc_phy_spurwar_nphy()
|