Lines Matching refs:regtemp
85 u32 regtemp; in npcm_adc_isr() local
89 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_isr()
90 if (regtemp & NPCM_ADCCON_ADC_INT_ST) { in npcm_adc_isr()
91 iowrite32(regtemp, info->regs + NPCM_ADCCON); in npcm_adc_isr()
102 u32 regtemp; in npcm_adc_read() local
105 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read()
106 regtemp &= ~NPCM_ADCCON_CH_MASK; in npcm_adc_read()
108 iowrite32(regtemp | NPCM_ADCCON_CH(channel) | in npcm_adc_read()
114 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read()
115 if (regtemp & NPCM_ADCCON_ADC_CONV) { in npcm_adc_read()
304 u32 regtemp; in npcm_adc_remove() local
308 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_remove()
309 iowrite32(regtemp & ~NPCM_ADCCON_ADC_EN, info->regs + NPCM_ADCCON); in npcm_adc_remove()