Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/staging/r8188eu/hal/
Drtl8188e_rf6052.c186 u32 writeVal, customer_limit, rf; in get_rx_power_val_by_reg() local
196 writeVal = pHalData->MCSTxPowerLevelOriginalOffset[chnlGroup][index + (rf ? 8 : 0)] + in get_rx_power_val_by_reg()
217 writeVal = pHalData->MCSTxPowerLevelOriginalOffset[chnlGroup][index + (rf ? 8 : 0)] + in get_rx_power_val_by_reg()
222 writeVal = ((index < 2) ? powerBase0[rf] : powerBase1[rf]); in get_rx_power_val_by_reg()
251 writeVal = customer_limit + ((index < 2) ? powerBase0[rf] : powerBase1[rf]); in get_rx_power_val_by_reg()
255 writeVal = pHalData->MCSTxPowerLevelOriginalOffset[chnlGroup][index + (rf ? 8 : 0)] + in get_rx_power_val_by_reg()
260 *(pOutWriteVal + rf) = writeVal; in get_rx_power_val_by_reg()
274 u32 writeVal; in writeOFDMPowerReg88E() local
278 writeVal = pValue[rf]; in writeOFDMPowerReg88E()
280 pwr_val[i] = (u8)((writeVal & (0x7f << (i * 8))) >> (i * 8)); in writeOFDMPowerReg88E()
[all …]
/linux-5.19.10/drivers/staging/rtl8192e/rtl8192e/
Dr8190P_rtl8256.c173 u32 writeVal, powerBase0, powerBase1, writeVal_tmp; in rtl92e_set_ofdm_tx_power() local
186 writeVal = (u32)(priv->MCSTxPowerLevelOriginalOffset[index] + in rtl92e_set_ofdm_tx_power()
188 byte0 = writeVal & 0x7f; in rtl92e_set_ofdm_tx_power()
189 byte1 = (writeVal & 0x7f00) >> 8; in rtl92e_set_ofdm_tx_power()
190 byte2 = (writeVal & 0x7f0000) >> 16; in rtl92e_set_ofdm_tx_power()
191 byte3 = (writeVal & 0x7f000000) >> 24; in rtl92e_set_ofdm_tx_power()
208 writeVal = 0x03030303; in rtl92e_set_ofdm_tx_power()
210 writeVal = (byte3 << 24) | (byte2 << 16) | in rtl92e_set_ofdm_tx_power()
212 rtl92e_set_bb_reg(dev, RegOffset[index], 0x7f7f7f7f, writeVal); in rtl92e_set_ofdm_tx_power()
/linux-5.19.10/drivers/staging/rtl8192u/
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()
/linux-5.19.10/drivers/gpu/drm/gma500/
Dpsb_irq.c64 u32 writeVal = PSB_RVDC32(reg); in gma_enable_pipestat() local
65 writeVal |= (mask | (mask >> 16)); in gma_enable_pipestat()
66 PSB_WVDC32(writeVal, reg); in gma_enable_pipestat()
79 u32 writeVal = PSB_RVDC32(reg); in gma_disable_pipestat() local
80 writeVal &= ~mask; in gma_disable_pipestat()
81 PSB_WVDC32(writeVal, reg); in gma_disable_pipestat()