/drivers/staging/iio/accel/ |
H A D | lis3l02dq_core.c | 140 s16 tempval; local 166 tempval = (s16)(st->rx[1]) | ((s16)(st->rx[3]) << 8); 168 *val = tempval;
|
/drivers/staging/rtl8723au/core/ |
H A D | rtw_efuse.c | 55 u8 tempval; local 85 tempval = rtl8723au_read8(padapter, EFUSE_TEST + 3); 86 tempval &= 0x0F; 87 tempval |= (VOLTAGE_V25 << 4); 89 tempval | 0x80); 96 tempval = rtl8723au_read8(padapter, EFUSE_TEST + 3); 98 tempval & 0x7F);
|
/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 113 u32 val, tempval; local 159 tempval = readl(fep->hwp + FEC_ATIME_CTRL); 160 tempval |= FEC_T_CTRL_CAPTURE; 161 writel(tempval, fep->hwp + FEC_ATIME_CTRL); 163 tempval = readl(fep->hwp + FEC_ATIME); 165 ns = timecounter_cyc2time(&fep->tc, tempval); 169 /* The tempval is less than 3 seconds, and so val is less than 172 val = NSEC_PER_SEC - (u32)ts.tv_nsec + tempval; 241 u32 tempval; local 243 tempval [all...] |
H A D | gianfar.c | 1125 u32 tempval; local 1151 tempval = MACCFG2_INIT_SETTINGS; 1159 tempval |= MACCFG2_HUGEFRAME | MACCFG2_LENGTHCHECK; 1161 gfar_write(®s->maccfg2, tempval); 1476 u32 tempval; local 1492 tempval = gfar_read(®s->maccfg1); 1494 tempval &= ~MACCFG1_TX_EN; 1497 tempval &= ~MACCFG1_RX_EN; 1499 gfar_write(®s->maccfg1, tempval); 1511 tempval 1528 u32 tempval; local 1764 u32 tempval; local 1797 u32 tempval; local 1922 u32 tempval; local 3118 u32 tempval; local 3228 u32 tempval; local 3250 u32 tempval; local 3395 u32 tempval = gfar_read(®s->maccfg2); local [all...] |
H A D | gianfar_ethtool.c | 579 u32 tempval; local 580 tempval = gfar_read(®s->maccfg1); 581 tempval &= ~(MACCFG1_TX_FLOW | MACCFG1_RX_FLOW); 583 tempval |= MACCFG1_TX_FLOW; 585 tempval |= MACCFG1_RX_FLOW; 586 gfar_write(®s->maccfg1, tempval);
|
H A D | ucc_geth.c | 1591 u32 tempval = in_be32(&ug_regs->maccfg2); local 1598 tempval &= ~(MACCFG2_FDX); 1600 tempval |= MACCFG2_FDX; 1608 tempval = ((tempval & 1614 tempval = ((tempval & 1656 out_be32(&ug_regs->maccfg2, tempval);
|
/drivers/net/wireless/rtlwifi/ |
H A D | efuse.c | 1127 u8 tempval; local 1167 tempval = rtl_read_byte(rtlpriv, 1172 tempval &= ~(BIT(3) | BIT(4) | BIT(5) | BIT(6)); 1173 tempval |= (VOLTAGE_V25 << 3); 1175 tempval &= 0x0F; 1176 tempval |= (VOLTAGE_V25 << 4); 1181 (tempval | 0x80)); 1195 tempval = rtl_read_byte(rtlpriv, 1200 (tempval & 0x7F));
|
/drivers/staging/rtl8188eu/core/ |
H A D | rtw_efuse.c | 50 u8 tempval; local 78 tempval = usb_read8(pAdapter, EFUSE_TEST+3); 79 tempval &= 0x0F; 80 tempval |= (VOLTAGE_V25 << 4); 81 usb_write8(pAdapter, EFUSE_TEST+3, (tempval | 0x80)); 88 tempval = usb_read8(pAdapter, EFUSE_TEST+3); 89 usb_write8(pAdapter, EFUSE_TEST+3, (tempval & 0x7F));
|
/drivers/media/pci/cx23885/ |
H A D | cx23885-417.c | 386 u32 tempval; local 434 tempval = cx_read(MC417_RWD); 435 dataval = tempval & 0x000000FF; 446 tempval = cx_read(MC417_RWD); 447 dataval |= ((tempval & 0x000000FF) << 8); 456 tempval = cx_read(MC417_RWD); 457 dataval |= ((tempval & 0x000000FF) << 16); 466 tempval = cx_read(MC417_RWD); 467 dataval |= ((tempval & 0x000000FF) << 24); 544 u32 tempval; local [all...] |
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
H A D | hw.c | 1440 u8 rf_path, index, tempval; local 1466 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; 1468 tempval = EEPROM_DEFAULT_HT40_2SDIFF; 1470 (tempval & 0xf); 1472 ((tempval & 0xf0) >> 4); 1581 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; 1583 tempval = EEPROM_DEFAULT_HT20_DIFF; 1585 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); 1587 ((tempval >> 4) & 0xF); 1598 tempval [all...] |
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | hw.c | 130 u8 rf_path, index, tempval; local 155 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; 157 tempval = EEPROM_DEFAULT_HT40_2SDIFF; 159 (tempval & 0xf); 161 ((tempval & 0xf0) >> 4); 257 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; 259 tempval = EEPROM_DEFAULT_HT20_DIFF; 260 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); 262 ((tempval >> 4) & 0xF); 269 tempval [all...] |
/drivers/net/wireless/rtlwifi/rtl8192de/ |
H A D | hw.c | 1578 u8 tempval[2], i, pwr, diff; local 1588 tempval[0] = hwinfo[EEPROM_IQK_DELTA] & 0x03; 1589 tempval[1] = (hwinfo[EEPROM_LCK_DELTA] & 0x0C) >> 2; 1608 tempval[0] = tempval[1] = 3; 1627 switch (tempval[i]) { 1629 tempval[i] = 5; 1632 tempval[i] = 4; 1635 tempval[i] = 3; 1639 tempval[ [all...] |
/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | hw.c | 894 u8 tempval; local 896 tempval = rtl_read_byte(rtlpriv, REG_SYS_ISO_CTRL + 1); 897 tempval &= 0xFE; 898 rtl_write_byte(rtlpriv, REG_SYS_ISO_CTRL + 1, tempval); 1678 u8 tempval; local 1870 tempval = hwinfo[EEPROM_TX_PWR_HT20_DIFF + index] & 0xff; 1871 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); 1873 ((tempval >> 4) & 0xF); 1886 tempval = hwinfo[EEPROM_TX_PWR_OFDM_DIFF + index] & 0xff; 1888 (tempval [all...] |
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
H A D | hw.c | 1434 u8 rf_path, index, tempval; local 1455 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; 1457 tempval = EEPROM_DEFAULT_HT40_2SDIFF; 1459 (tempval & 0xf); 1461 ((tempval & 0xf0) >> 4); 1563 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; 1565 tempval = EEPROM_DEFAULT_HT20_DIFF; 1567 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); 1569 ((tempval >> 4) & 0xF); 1580 tempval [all...] |
/drivers/staging/bcm/ |
H A D | nvm.c | 1554 unsigned int tempval = (unsigned int)*ptr1; local 1555 char *ptr2 = (char *)&tempval;
|
/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_dev.c | 319 u8 tempval; local 400 tempval = (eprom_read(dev, (EEPROM_RFInd_PowerDiff >> 402 priv->EEPROMLegacyHTTxPowerDiff = tempval & 0xf; 404 if (tempval&0x80)
|
/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723a_hal_init.c | 1830 u8 tempval; local 1843 tempval = hwinfo[RF_OPTION4_8723A]; 1844 pHalData->EEPROMBluetoothAntNum = (tempval & 0x1); 1845 pHalData->EEPROMBluetoothAntIsolation = ((tempval & 0x10) >> 4); 1846 pHalData->EEPROMBluetoothRadioShared = ((tempval & 0x20) >> 5);
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_n.c | 19134 u32 tempval = 0; local 19241 tempval = 0;
|