Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
Dgianfar.c966 u32 tempval; in gfar_probe() local
1005 tempval = (MACCFG1_TX_FLOW | MACCFG1_RX_FLOW); in gfar_probe()
1006 gfar_write(&regs->maccfg1, tempval); in gfar_probe()
1009 tempval = MACCFG2_INIT_SETTINGS; in gfar_probe()
1011 tempval |= MACCFG2_HUGEFRAME | MACCFG2_LENGTHCHECK; in gfar_probe()
1012 gfar_write(&regs->maccfg2, tempval); in gfar_probe()
1268 u32 tempval; in gfar_suspend() local
1284 tempval = gfar_read(&regs->maccfg1); in gfar_suspend()
1286 tempval &= ~MACCFG1_TX_EN; in gfar_suspend()
1289 tempval &= ~MACCFG1_RX_EN; in gfar_suspend()
[all …]
Ducc_geth.c1613 u32 tempval = in_be32(&ug_regs->maccfg2); in adjust_link() local
1620 tempval &= ~(MACCFG2_FDX); in adjust_link()
1622 tempval |= MACCFG2_FDX; in adjust_link()
1630 tempval = ((tempval & in adjust_link()
1636 tempval = ((tempval & in adjust_link()
1678 out_be32(&ug_regs->maccfg2, tempval); in adjust_link()
/linux-2.6.39/drivers/media/video/cx23885/
Dcx23885-417.c390 u32 tempval; in mc417_register_read() local
438 tempval = cx_read(MC417_RWD); in mc417_register_read()
439 dataval = tempval & 0x000000FF; in mc417_register_read()
450 tempval = cx_read(MC417_RWD); in mc417_register_read()
451 dataval |= ((tempval & 0x000000FF) << 8); in mc417_register_read()
460 tempval = cx_read(MC417_RWD); in mc417_register_read()
461 dataval |= ((tempval & 0x000000FF) << 16); in mc417_register_read()
470 tempval = cx_read(MC417_RWD); in mc417_register_read()
471 dataval |= ((tempval & 0x000000FF) << 24); in mc417_register_read()
548 u32 tempval; in mc417_memory_read() local
[all …]
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c1344 u8 rf_path, index, tempval; in _rtl92ce_read_txpower_info_from_hwpg() local
1370 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1372 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92ce_read_txpower_info_from_hwpg()
1374 (tempval & 0xf); in _rtl92ce_read_txpower_info_from_hwpg()
1376 ((tempval & 0xf0) >> 4); in _rtl92ce_read_txpower_info_from_hwpg()
1486 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg()
1488 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92ce_read_txpower_info_from_hwpg()
1490 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92ce_read_txpower_info_from_hwpg()
1492 ((tempval >> 4) & 0xF); in _rtl92ce_read_txpower_info_from_hwpg()
1503 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg()
[all …]
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c126 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()
254 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg()
256 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92cu_read_txpower_info_from_hwpg()
257 rtlefuse->txpwr_ht20diff[RF90_PATH_A][i] = (tempval & 0xF); in _rtl92cu_read_txpower_info_from_hwpg()
259 ((tempval >> 4) & 0xF); in _rtl92cu_read_txpower_info_from_hwpg()
266 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg()
[all …]
/linux-2.6.39/arch/powerpc/sysdev/qe_lib/
Dqe.c203 u32 divisor, tempval; in qe_setbrg() local
222 tempval = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) | in qe_setbrg()
225 out_be32(&qe_immr->brg.brgc[brg - QE_BRG1], tempval); in qe_setbrg()
/linux-2.6.39/drivers/net/wireless/rtlwifi/
Defuse.c1078 u8 tempval; in efuse_power_switch() local
1111 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch()
1114 tempval &= 0x0F; in efuse_power_switch()
1115 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch()
1118 (tempval | 0x80)); in efuse_power_switch()
1123 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch()
1128 (tempval & 0x7F)); in efuse_power_switch()
/linux-2.6.39/drivers/staging/rtl8192e/
Dr8192E_core.c2034 u8 tempval; in rtl8192_read_eeprom_info() local
2138 tempval = (eprom_read(priv, (EEPROM_RFInd_PowerDiff>>1))) & 0xff; in rtl8192_read_eeprom_info()
2139 priv->EEPROMLegacyHTTxPowerDiff = tempval & 0xf; // bit[3:0] in rtl8192_read_eeprom_info()
2141 if (tempval&0x80) //RF-indication, bit[7] in rtl8192_read_eeprom_info()
/linux-2.6.39/drivers/staging/bcm/
Dnvm.c1767 UINT tempval = (UINT)*ptr1; in BcmSwapWord() local
1768 char *ptr2 = (char *)&tempval; in BcmSwapWord()
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/
Dwlc_phy_n.c18806 u32 tempval = 0; in wlc_phy_spurwar_nphy() local
18913 tempval = 0; in wlc_phy_spurwar_nphy()