Lines Matching refs:ulBase

67 void ADCEnable(unsigned long ulBase)  in ADCEnable()  argument
72 HWREG(ulBase + ADC_O_ADC_CTRL) |= 0x1; in ADCEnable()
86 void ADCDisable(unsigned long ulBase) in ADCDisable() argument
91 HWREG(ulBase + ADC_O_ADC_CTRL) &= ~0x1 ; in ADCDisable()
107 void ADCChannelEnable(unsigned long ulBase, unsigned long ulChannel) in ADCChannelEnable() argument
115 HWREG(ulBase + ADC_O_ADC_CH_ENABLE) |= ulCh; in ADCChannelEnable()
130 void ADCChannelDisable(unsigned long ulBase, unsigned long ulChannel) in ADCChannelDisable() argument
138 HWREG(ulBase + ADC_O_ADC_CH_ENABLE) &= ~ulCh; in ADCChannelDisable()
165 void ADCIntRegister(unsigned long ulBase, unsigned long ulChannel, in ADCIntRegister() argument
210 void ADCIntUnregister(unsigned long ulBase, unsigned long ulChannel) in ADCIntUnregister() argument
262 void ADCIntEnable(unsigned long ulBase, unsigned long ulChannel, in ADCIntEnable() argument
289 HWREG(ulBase + ulOffset) |= (ulIntFlags & 0xf); in ADCIntEnable()
312 void ADCIntDisable(unsigned long ulBase, unsigned long ulChannel, in ADCIntDisable() argument
338 HWREG(ulBase + ulOffset) &= ~ulIntFlags; in ADCIntDisable()
357 unsigned long ADCIntStatus(unsigned long ulBase, unsigned long ulChannel) in ADCIntStatus() argument
382 ulIntStatus |= HWREG(ulBase + ulOffset) & 0xf; in ADCIntStatus()
407 void ADCIntClear(unsigned long ulBase, unsigned long ulChannel, in ADCIntClear() argument
433 HWREG(ulBase + ulOffset) = (ulIntFlags & ~(ADC_DMA_DONE)); in ADCIntClear()
455 void ADCDMAEnable(unsigned long ulBase, unsigned long ulChannel) in ADCDMAEnable() argument
469 HWREG(ulBase + ADC_O_adc_dma_mode_en) |= ulBitMask; in ADCDMAEnable()
491 void ADCDMADisable(unsigned long ulBase, unsigned long ulChannel) in ADCDMADisable() argument
505 HWREG(ulBase + ADC_O_adc_dma_mode_en) &= ~ulBitMask; in ADCDMADisable()
525 void ADCTimerConfig(unsigned long ulBase, unsigned long ulValue) in ADCTimerConfig() argument
532 ulReg = HWREG(ulBase + ADC_O_adc_timer_configuration); in ADCTimerConfig()
542 HWREG(ulBase + ADC_O_adc_timer_configuration) = ulReg; in ADCTimerConfig()
556 void ADCTimerReset(unsigned long ulBase) in ADCTimerReset() argument
561 HWREG(ulBase + ADC_O_adc_timer_configuration) |= (1 << 24); in ADCTimerReset()
575 void ADCTimerEnable(unsigned long ulBase) in ADCTimerEnable() argument
580 HWREG(ulBase + ADC_O_adc_timer_configuration) |= (1 << 25); in ADCTimerEnable()
594 void ADCTimerDisable(unsigned long ulBase) in ADCTimerDisable() argument
599 HWREG(ulBase + ADC_O_adc_timer_configuration) &= ~(1 << 25); in ADCTimerDisable()
613 unsigned long ADCTimerValueGet(unsigned long ulBase) in ADCTimerValueGet() argument
615 return(HWREG(ulBase + ADC_O_adc_timer_current_count)); in ADCTimerValueGet()
637 unsigned char ADCFIFOLvlGet(unsigned long ulBase, unsigned long ulChannel) in ADCFIFOLvlGet() argument
649 return(HWREG(ulBase + ulOffset) & 0x7); in ADCFIFOLvlGet()
672 unsigned long ADCFIFORead(unsigned long ulBase, unsigned long ulChannel) in ADCFIFORead() argument
684 return(HWREG(ulBase + ulOffset)); in ADCFIFORead()