Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/ath/ath9k/
Deeprom_9287.c315 u32 tmpVal; in ar9287_eeprom_olpc_set_pdadcs() local
320 tmpVal = REG_READ(ah, 0xa270); in ar9287_eeprom_olpc_set_pdadcs()
321 tmpVal = tmpVal & 0xFCFFFFFF; in ar9287_eeprom_olpc_set_pdadcs()
322 tmpVal = tmpVal | (0x3 << 24); in ar9287_eeprom_olpc_set_pdadcs()
323 REG_WRITE(ah, 0xa270, tmpVal); in ar9287_eeprom_olpc_set_pdadcs()
327 tmpVal = REG_READ(ah, 0xb270); in ar9287_eeprom_olpc_set_pdadcs()
328 tmpVal = tmpVal & 0xFCFFFFFF; in ar9287_eeprom_olpc_set_pdadcs()
329 tmpVal = tmpVal | (0x3 << 24); in ar9287_eeprom_olpc_set_pdadcs()
330 REG_WRITE(ah, 0xb270, tmpVal); in ar9287_eeprom_olpc_set_pdadcs()
335 tmpVal = REG_READ(ah, 0xa398); in ar9287_eeprom_olpc_set_pdadcs()
[all …]
Deeprom.c476 int16_t tmpVal; in ath9k_hw_get_gain_boundaries_pdadcs() local
614 tmpVal = (int16_t)(vpdTableI[i][0] + ss * vpdStep); in ath9k_hw_get_gain_boundaries_pdadcs()
615 pPDADCValues[k++] = (u8)((tmpVal < 0) ? 0 : tmpVal); in ath9k_hw_get_gain_boundaries_pdadcs()
636 tmpVal = (int16_t)((vpdTableI[i][sizeCurrVpdTable - 1] + in ath9k_hw_get_gain_boundaries_pdadcs()
638 pPDADCValues[k++] = (u8)((tmpVal > 255) ? in ath9k_hw_get_gain_boundaries_pdadcs()
639 255 : tmpVal); in ath9k_hw_get_gain_boundaries_pdadcs()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl8712_recv.c864 u32 last_evm = 0, tmpVal; in process_link_qual() local
886 tmpVal = sqd->total_val / sqd->total_num; in process_link_qual()
887 padapter->recvpriv.signal = (u8)tmpVal; in process_link_qual()
Drtl871x_mlme.c285 u32 last_evm = 0, tmpVal; in update_network() local
305 tmpVal = padapter->recvpriv.signal_qual_data.total_val / in update_network()
307 padapter->recvpriv.signal = (u8)tmpVal; in update_network()