Searched refs:regVal (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/ath/ath9k/ |
D | ar9002_calib.c | 430 u32 regVal; in ar9271_hw_pa_cal() local 491 regVal = REG_READ(ah, AR9285_AN_RF2G6); in ar9271_hw_pa_cal() 492 regVal |= (1 << (20 + i)); in ar9271_hw_pa_cal() 493 REG_WRITE(ah, AR9285_AN_RF2G6, regVal); in ar9271_hw_pa_cal() 496 regVal &= (~(0x1 << (20 + i))); in ar9271_hw_pa_cal() 497 regVal |= (MS(REG_READ(ah, AR9285_AN_RF2G9), in ar9271_hw_pa_cal() 500 REG_WRITE(ah, AR9285_AN_RF2G6, regVal); in ar9271_hw_pa_cal() 503 regVal = (regVal >> 20) & 0x7f; in ar9271_hw_pa_cal() 506 if ((!is_reset) && (ah->pacal_info.prev_offset == regVal)) { in ar9271_hw_pa_cal() 514 ah->pacal_info.prev_offset = regVal; in ar9271_hw_pa_cal() [all …]
|
D | eeprom_4k.c | 839 u32 regVal; in ath9k_hw_4k_set_board_values() local 854 regVal = REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ath9k_hw_4k_set_board_values() 855 regVal &= (~(AR_PHY_9285_ANT_DIV_CTL_ALL)); in ath9k_hw_4k_set_board_values() 857 regVal |= SM(ant_div_control1, in ath9k_hw_4k_set_board_values() 859 regVal |= SM(ant_div_control2, in ath9k_hw_4k_set_board_values() 861 regVal |= SM((ant_div_control2 >> 2), in ath9k_hw_4k_set_board_values() 863 regVal |= SM((ant_div_control1 >> 1), in ath9k_hw_4k_set_board_values() 865 regVal |= SM((ant_div_control1 >> 2), in ath9k_hw_4k_set_board_values() 869 REG_WRITE(ah, AR_PHY_MULTICHAIN_GAIN_CTL, regVal); in ath9k_hw_4k_set_board_values() 870 regVal = REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ath9k_hw_4k_set_board_values() [all …]
|
/drivers/scsi/pm8001/ |
D | pm8001_hwi.c | 384 u32 regVal; in pm8001_bar4_shift() local 393 regVal = pm8001_cr32(pm8001_ha, 1, SPC_IBW_AXI_TRANSLATION_LOW); in pm8001_bar4_shift() 394 } while ((regVal != shiftValue) && time_before(jiffies, start)); in pm8001_bar4_shift() 396 if (regVal != shiftValue) { in pm8001_bar4_shift() 399 " = 0x%x\n", regVal)); in pm8001_bar4_shift() 758 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() 786 regVal = pm8001_cr32(pm8001_ha, 0, MSGU_SCRATCH_PAD_2) & in soft_reset_ready_check() 788 if (regVal != SCRATCH_PAD2_FWRDY_RST) { in soft_reset_ready_check() [all …]
|
/drivers/net/wan/lmc/ |
D | lmc_main.c | 116 u16 regVal; in lmc_ioctl() local 243 regVal = lmc_mii_readreg(sc, 0, 18) & 0xff; in lmc_ioctl() 246 (regVal & T1FRAMER_LOF_MASK) >> 4; in lmc_ioctl() 248 (regVal & T1FRAMER_COFA_MASK) >> 2; in lmc_ioctl() 250 regVal & T1FRAMER_SEF_MASK; in lmc_ioctl()
|