/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | gianfar.c | 1145 u32 tempval; in gfar_mac_reset() local 1170 tempval = MACCFG2_INIT_SETTINGS; in gfar_mac_reset() 1177 tempval |= MACCFG2_HUGEFRAME | MACCFG2_LENGTHCHECK; in gfar_mac_reset() 1179 gfar_write(®s->maccfg2, tempval); in gfar_mac_reset() 1572 u32 tempval; in gfar_start_wol_filer() local 1579 tempval = gfar_read(®s->dmactrl); in gfar_start_wol_filer() 1580 tempval |= DMACTRL_INIT_SETTINGS; in gfar_start_wol_filer() 1581 gfar_write(®s->dmactrl, tempval); in gfar_start_wol_filer() 1584 tempval = gfar_read(®s->dmactrl); in gfar_start_wol_filer() 1585 tempval &= ~DMACTRL_GRS; in gfar_start_wol_filer() [all …]
|
D | fec_ptp.c | 113 u32 val, tempval; in fec_ptp_enable_pps() local 158 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps() 159 tempval |= FEC_T_CTRL_CAPTURE; in fec_ptp_enable_pps() 160 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps() 162 tempval = readl(fep->hwp + FEC_ATIME); in fec_ptp_enable_pps() 164 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps() 170 val = NSEC_PER_SEC - (u32)ts.tv_nsec + tempval; in fec_ptp_enable_pps() 239 u32 tempval; in fec_ptp_read() local 241 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 242 tempval |= FEC_T_CTRL_CAPTURE; in fec_ptp_read() [all …]
|
D | gianfar_ethtool.c | 579 u32 tempval; in gfar_spauseparam() local 580 tempval = gfar_read(®s->maccfg1); in gfar_spauseparam() 581 tempval &= ~(MACCFG1_TX_FLOW | MACCFG1_RX_FLOW); in gfar_spauseparam() 586 tempval |= MACCFG1_TX_FLOW; in gfar_spauseparam() 590 tempval |= MACCFG1_RX_FLOW; in gfar_spauseparam() 591 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-4.4.14/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-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_efuse.c | 38 u8 tempval; in Efuse_PowerSwitch() local 72 tempval = rtl8723au_read8(padapter, EFUSE_TEST + 3); in Efuse_PowerSwitch() 73 tempval &= 0x0F; in Efuse_PowerSwitch() 74 tempval |= (VOLTAGE_V25 << 4); in Efuse_PowerSwitch() 76 tempval | 0x80); in Efuse_PowerSwitch() 83 tempval = rtl8723au_read8(padapter, EFUSE_TEST + 3); in Efuse_PowerSwitch() 85 tempval & 0x7F); in Efuse_PowerSwitch()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 894 u8 tempval; in _rtl92se_macconfig_after_fwdownload() local 896 tempval = rtl_read_byte(rtlpriv, REG_SYS_ISO_CTRL + 1); in _rtl92se_macconfig_after_fwdownload() 897 tempval &= 0xFE; in _rtl92se_macconfig_after_fwdownload() 898 rtl_write_byte(rtlpriv, REG_SYS_ISO_CTRL + 1, tempval); in _rtl92se_macconfig_after_fwdownload() 1678 u8 tempval; in _rtl92se_read_adapter_info() local 1870 tempval = hwinfo[EEPROM_TX_PWR_HT20_DIFF + index] & 0xff; in _rtl92se_read_adapter_info() 1871 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92se_read_adapter_info() 1873 ((tempval >> 4) & 0xF); in _rtl92se_read_adapter_info() 1886 tempval = hwinfo[EEPROM_TX_PWR_OFDM_DIFF + index] & 0xff; in _rtl92se_read_adapter_info() 1888 (tempval & 0xF); in _rtl92se_read_adapter_info() [all …]
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_efuse.c | 50 u8 tempval; in Efuse_PowerSwitch() local 78 tempval = usb_read8(pAdapter, EFUSE_TEST+3); in Efuse_PowerSwitch() 79 tempval &= 0x0F; in Efuse_PowerSwitch() 80 tempval |= (VOLTAGE_V25 << 4); in Efuse_PowerSwitch() 81 usb_write8(pAdapter, EFUSE_TEST+3, (tempval | 0x80)); in Efuse_PowerSwitch() 88 tempval = usb_read8(pAdapter, EFUSE_TEST+3); in Efuse_PowerSwitch() 89 usb_write8(pAdapter, EFUSE_TEST+3, (tempval & 0x7F)); in Efuse_PowerSwitch()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 1421 u8 rf_path, index, tempval; in _rtl8723e_read_txpower_info_from_hwpg() local 1442 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1444 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl8723e_read_txpower_info_from_hwpg() 1446 (tempval & 0xf); in _rtl8723e_read_txpower_info_from_hwpg() 1448 ((tempval & 0xf0) >> 4); in _rtl8723e_read_txpower_info_from_hwpg() 1550 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg() 1552 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl8723e_read_txpower_info_from_hwpg() 1554 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl8723e_read_txpower_info_from_hwpg() 1556 ((tempval >> 4) & 0xF); in _rtl8723e_read_txpower_info_from_hwpg() 1567 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg() [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 130 u8 rf_path, index, tempval; in _rtl92cu_read_txpower_info_from_hwpg() local 155 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92cu_read_txpower_info_from_hwpg() 157 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92cu_read_txpower_info_from_hwpg() 159 (tempval & 0xf); in _rtl92cu_read_txpower_info_from_hwpg() 161 ((tempval & 0xf0) >> 4); in _rtl92cu_read_txpower_info_from_hwpg() 257 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg() 259 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92cu_read_txpower_info_from_hwpg() 260 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92cu_read_txpower_info_from_hwpg() 262 ((tempval >> 4) & 0xF); in _rtl92cu_read_txpower_info_from_hwpg() 269 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg() [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 1459 u8 rf_path, index, tempval; in _rtl92ce_read_txpower_info_from_hwpg() local 1485 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92ce_read_txpower_info_from_hwpg() 1487 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92ce_read_txpower_info_from_hwpg() 1489 (tempval & 0xf); in _rtl92ce_read_txpower_info_from_hwpg() 1491 ((tempval & 0xf0) >> 4); in _rtl92ce_read_txpower_info_from_hwpg() 1600 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg() 1602 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92ce_read_txpower_info_from_hwpg() 1604 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92ce_read_txpower_info_from_hwpg() 1606 ((tempval >> 4) & 0xF); in _rtl92ce_read_txpower_info_from_hwpg() 1617 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg() [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | efuse.c | 1127 u8 tempval; in efuse_power_switch() local 1167 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch() 1172 tempval &= ~(BIT(3) | BIT(4) | BIT(5) | BIT(6)); in efuse_power_switch() 1173 tempval |= (VOLTAGE_V25 << 3); in efuse_power_switch() 1175 tempval &= 0x0F; in efuse_power_switch() 1176 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch() 1181 (tempval | 0x80)); in efuse_power_switch() 1195 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch() 1200 (tempval & 0x7F)); in efuse_power_switch()
|
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/ |
D | qe.c | 202 u32 divisor, tempval; in qe_setbrg() local 221 tempval = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) | in qe_setbrg() 224 out_be32(&qe_immr->brg.brgc[brg - QE_BRG1], tempval); in qe_setbrg()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 1578 u8 tempval[2], i, pwr, diff; in _rtl92de_read_txpower_info() local 1588 tempval[0] = hwinfo[EEPROM_IQK_DELTA] & 0x03; in _rtl92de_read_txpower_info() 1589 tempval[1] = (hwinfo[EEPROM_LCK_DELTA] & 0x0C) >> 2; in _rtl92de_read_txpower_info() 1608 tempval[0] = tempval[1] = 3; in _rtl92de_read_txpower_info() 1627 switch (tempval[i]) { in _rtl92de_read_txpower_info() 1629 tempval[i] = 5; in _rtl92de_read_txpower_info() 1632 tempval[i] = 4; in _rtl92de_read_txpower_info() 1635 tempval[i] = 3; in _rtl92de_read_txpower_info() 1639 tempval[i] = 0; in _rtl92de_read_txpower_info() 1644 rtlefuse->delta_iqk = tempval[0]; in _rtl92de_read_txpower_info() [all …]
|
/linux-4.4.14/drivers/staging/iio/accel/ |
D | lis3l02dq_core.c | 140 s16 tempval; in lis3l02dq_read_reg_s16() local 166 tempval = (s16)(st->rx[1]) | ((s16)(st->rx[3]) << 8); in lis3l02dq_read_reg_s16() 168 *val = tempval; in lis3l02dq_read_reg_s16()
|
/linux-4.4.14/drivers/staging/rtl8723au/hal/ |
D | rtl8723a_hal_init.c | 1686 u8 tempval; in Hal_EfuseParseBTCoexistInfo_8723A() local 1699 tempval = hwinfo[RF_OPTION4_8723A]; in Hal_EfuseParseBTCoexistInfo_8723A() 1700 pHalData->EEPROMBluetoothAntNum = (tempval & 0x1); in Hal_EfuseParseBTCoexistInfo_8723A() 1701 pHalData->EEPROMBluetoothAntIsolation = (tempval & 0x10) >> 4; in Hal_EfuseParseBTCoexistInfo_8723A() 1702 pHalData->EEPROMBluetoothRadioShared = (tempval & 0x20) >> 5; in Hal_EfuseParseBTCoexistInfo_8723A()
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 312 u8 tempval; in _rtl92e_read_eeprom_info() local 394 tempval = (rtl92e_eeprom_read(dev, in _rtl92e_read_eeprom_info() 396 priv->EEPROMLegacyHTTxPowerDiff = tempval & 0xf; in _rtl92e_read_eeprom_info() 398 if (tempval&0x80) in _rtl92e_read_eeprom_info()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 19134 u32 tempval = 0; in wlc_phy_spurwar_nphy() local 19241 tempval = 0; in wlc_phy_spurwar_nphy()
|