Home
last modified time | relevance | path

Searched refs:writeVal (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Dr8190P_rtl8256.c157 u32 writeVal, powerBase0, powerBase1, writeVal_tmp; in rtl92e_set_ofdm_tx_power() local
170 writeVal = (u32)(priv->mcs_tx_pwr_level_org_offset[index] + in rtl92e_set_ofdm_tx_power()
172 byte0 = writeVal & 0x7f; in rtl92e_set_ofdm_tx_power()
173 byte1 = (writeVal & 0x7f00) >> 8; in rtl92e_set_ofdm_tx_power()
174 byte2 = (writeVal & 0x7f0000) >> 16; in rtl92e_set_ofdm_tx_power()
175 byte3 = (writeVal & 0x7f000000) >> 24; in rtl92e_set_ofdm_tx_power()
192 writeVal = 0x03030303; in rtl92e_set_ofdm_tx_power()
194 writeVal = (byte3 << 24) | (byte2 << 16) | in rtl92e_set_ofdm_tx_power()
196 rtl92e_set_bb_reg(dev, RegOffset[index], 0x7f7f7f7f, writeVal); in rtl92e_set_ofdm_tx_power()
/openbmc/linux/drivers/staging/rtl8192u/
H A Dr8190_rtl8256.c251 u32 writeVal, powerBase0, powerBase1, writeVal_tmp; in phy_set_rf8256_ofdm_tx_power() local
262 writeVal = priv->MCSTxPowerLevelOriginalOffset[index] + ((index < 2) ? powerBase0 : powerBase1); in phy_set_rf8256_ofdm_tx_power()
263 byte0 = (u8)(writeVal & 0x7f); in phy_set_rf8256_ofdm_tx_power()
264 byte1 = (u8)((writeVal & 0x7f00) >> 8); in phy_set_rf8256_ofdm_tx_power()
265 byte2 = (u8)((writeVal & 0x7f0000) >> 16); in phy_set_rf8256_ofdm_tx_power()
266 byte3 = (u8)((writeVal & 0x7f000000) >> 24); in phy_set_rf8256_ofdm_tx_power()
288 writeVal = 0x03030303; in phy_set_rf8256_ofdm_tx_power()
290 writeVal = (byte3 << 24) | (byte2 << 16) | (byte1 << 8) | byte0; in phy_set_rf8256_ofdm_tx_power()
292 rtl8192_setBBreg(dev, RegOffset[index], 0x7f7f7f7f, writeVal); in phy_set_rf8256_ofdm_tx_power()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dpsb_irq.c53 u32 writeVal = PSB_RVDC32(reg); in gma_enable_pipestat() local
54 writeVal |= (mask | (mask >> 16)); in gma_enable_pipestat()
55 PSB_WVDC32(writeVal, reg); in gma_enable_pipestat()
68 u32 writeVal = PSB_RVDC32(reg); in gma_disable_pipestat() local
69 writeVal &= ~mask; in gma_disable_pipestat()
70 PSB_WVDC32(writeVal, reg); in gma_disable_pipestat()