Lines Matching refs:regtemp
79 u32 regtemp; in npcm_adc_isr() local
83 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_isr()
84 if (regtemp & NPCM_ADCCON_ADC_INT_ST) { in npcm_adc_isr()
85 iowrite32(regtemp, info->regs + NPCM_ADCCON); in npcm_adc_isr()
96 u32 regtemp; in npcm_adc_read() local
99 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read()
100 regtemp &= ~NPCM_ADCCON_CH_MASK; in npcm_adc_read()
102 iowrite32(regtemp | NPCM_ADCCON_CH(channel) | in npcm_adc_read()
108 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read()
109 if ((regtemp & NPCM_ADCCON_ADC_CONV) && info->rst_regmap) { in npcm_adc_read()
308 u32 regtemp; in npcm_adc_remove() local
312 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_remove()
313 iowrite32(regtemp & ~NPCM_ADCCON_ADC_EN, info->regs + NPCM_ADCCON); in npcm_adc_remove()