Searched refs:regVal (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/net/wireless/ath/ath9k/ |
D | ar9002_calib.c | 439 u32 regVal; in ar9271_hw_pa_cal() local 500 regVal = REG_READ(ah, AR9285_AN_RF2G6); in ar9271_hw_pa_cal() 501 regVal |= (1 << (20 + i)); in ar9271_hw_pa_cal() 502 REG_WRITE(ah, AR9285_AN_RF2G6, regVal); in ar9271_hw_pa_cal() 505 regVal &= (~(0x1 << (20 + i))); in ar9271_hw_pa_cal() 506 regVal |= (MS(REG_READ(ah, AR9285_AN_RF2G9), in ar9271_hw_pa_cal() 509 REG_WRITE(ah, AR9285_AN_RF2G6, regVal); in ar9271_hw_pa_cal() 512 regVal = (regVal >> 20) & 0x7f; in ar9271_hw_pa_cal() 515 if ((!is_reset) && (ah->pacal_info.prev_offset == regVal)) { in ar9271_hw_pa_cal() 523 ah->pacal_info.prev_offset = regVal; in ar9271_hw_pa_cal() [all …]
|
D | eeprom_4k.c | 767 u32 regVal; in ath9k_hw_4k_set_board_values() local 782 regVal = REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ath9k_hw_4k_set_board_values() 783 regVal &= (~(AR_PHY_9285_ANT_DIV_CTL_ALL)); in ath9k_hw_4k_set_board_values() 785 regVal |= SM(ant_div_control1, in ath9k_hw_4k_set_board_values() 787 regVal |= SM(ant_div_control2, in ath9k_hw_4k_set_board_values() 789 regVal |= SM((ant_div_control2 >> 2), in ath9k_hw_4k_set_board_values() 791 regVal |= SM((ant_div_control1 >> 1), in ath9k_hw_4k_set_board_values() 793 regVal |= SM((ant_div_control1 >> 2), in ath9k_hw_4k_set_board_values() 797 REG_WRITE(ah, AR_PHY_MULTICHAIN_GAIN_CTL, regVal); in ath9k_hw_4k_set_board_values() 798 regVal = REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ath9k_hw_4k_set_board_values() [all …]
|
/linux-5.19.10/drivers/scsi/pm8001/ |
D | pm8001_hwi.c | 393 u32 regVal; in pm8001_bar4_shift() local 402 regVal = pm8001_cr32(pm8001_ha, 1, SPC_IBW_AXI_TRANSLATION_LOW); in pm8001_bar4_shift() 403 } while ((regVal != shiftValue) && time_before(jiffies, start)); in pm8001_bar4_shift() 405 if (regVal != shiftValue) { in pm8001_bar4_shift() 408 regVal); in pm8001_bar4_shift() 762 u32 regVal, regVal1, regVal2; in soft_reset_ready_check() local 768 regVal = pm8001_cr32(pm8001_ha, 0, MSGU_SCRATCH_PAD_2) in soft_reset_ready_check() 770 if (regVal == SCRATCH_PAD2_FWRDY_RST) { in soft_reset_ready_check() 788 regVal = pm8001_cr32(pm8001_ha, 0, MSGU_SCRATCH_PAD_2) & in soft_reset_ready_check() 790 if (regVal != SCRATCH_PAD2_FWRDY_RST) { in soft_reset_ready_check() [all …]
|