Searched refs:regVal (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_hwi.c | 390 u32 regVal; in pm8001_bar4_shift() local 399 regVal = pm8001_cr32(pm8001_ha, 1, SPC_IBW_AXI_TRANSLATION_LOW); in pm8001_bar4_shift() 400 } while ((regVal != shiftValue) && time_before(jiffies, start)); in pm8001_bar4_shift() 402 if (regVal != shiftValue) { in pm8001_bar4_shift() 405 regVal); in pm8001_bar4_shift() 759 u32 regVal, regVal1, regVal2; in soft_reset_ready_check() local 765 regVal = pm8001_cr32(pm8001_ha, 0, MSGU_SCRATCH_PAD_2) in soft_reset_ready_check() 767 if (regVal == SCRATCH_PAD2_FWRDY_RST) { in soft_reset_ready_check() 785 regVal = pm8001_cr32(pm8001_ha, 0, MSGU_SCRATCH_PAD_2) & in soft_reset_ready_check() 787 if (regVal != SCRATCH_PAD2_FWRDY_RST) { in soft_reset_ready_check() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wan/lmc/ |
D | lmc_main.c | 113 u16 regVal; in lmc_ioctl() local 238 regVal = lmc_mii_readreg(sc, 0, 18) & 0xff; in lmc_ioctl() 241 (regVal & T1FRAMER_LOF_MASK) >> 4; in lmc_ioctl() 243 (regVal & T1FRAMER_COFA_MASK) >> 2; in lmc_ioctl() 245 regVal & T1FRAMER_SEF_MASK; in lmc_ioctl()
|