Lines Matching refs:ulBase

67 void CameraReset(unsigned long ulBase)  in CameraReset()  argument
72 HWREG(ulBase + CAMERA_O_CC_SYSCONFIG) = CAMERA_CC_SYSCONFIG_SOFT_RESET; in CameraReset()
77 while(!(HWREG(ulBase + CAMERA_O_CC_SYSSTATUS)& in CameraReset()
115 void CameraParamsConfig(unsigned long ulBase, unsigned long ulHSPol, in CameraParamsConfig() argument
123 ulReg = HWREG(ulBase + CAMERA_O_CC_CTRL); in CameraParamsConfig()
139 HWREG(ulBase + CAMERA_O_CC_CTRL)=ulReg; in CameraParamsConfig()
157 void CameraXClkConfig(unsigned long ulBase, unsigned long ulCamClkIn, in CameraXClkConfig() argument
166 ulReg = HWREG(ulBase + CAMERA_O_CC_CTRL_XCLK); in CameraXClkConfig()
190 HWREG(ulBase + CAMERA_O_CC_CTRL_XCLK) = ulReg; in CameraXClkConfig()
212 void CameraXClkSet(unsigned long ulBase, unsigned char bXClkFlags) in CameraXClkSet() argument
219 ulReg = (HWREG(ulBase + CAMERA_O_CC_CTRL_XCLK) & in CameraXClkSet()
238 HWREG(ulBase + CAMERA_O_CC_CTRL_XCLK) = ulReg; in CameraXClkSet()
254 void CameraDMAEnable(unsigned long ulBase) in CameraDMAEnable() argument
259 HWREG(ulBase + CAMERA_O_CC_CTRL_DMA) |= CAMERA_CC_CTRL_DMA_DMA_EN; in CameraDMAEnable()
274 void CameraDMADisable(unsigned long ulBase) in CameraDMADisable() argument
279 HWREG(ulBase + CAMERA_O_CC_CTRL_DMA) &= ~CAMERA_CC_CTRL_DMA_DMA_EN; in CameraDMADisable()
297 void CameraThresholdSet(unsigned long ulBase, unsigned long ulThreshold) in CameraThresholdSet() argument
302 HWREG(ulBase + CAMERA_O_CC_CTRL_DMA) &= ~CAMERA_CC_CTRL_DMA_FIFO_THRESHOLD_M; in CameraThresholdSet()
306 HWREG(ulBase + CAMERA_O_CC_CTRL_DMA) |= (ulThreshold -1); in CameraThresholdSet()
324 void CameraIntRegister(unsigned long ulBase, void (*pfnHandler)(void)) in CameraIntRegister() argument
350 void CameraIntUnregister(unsigned long ulBase) in CameraIntUnregister() argument
387 void CameraIntEnable(unsigned long ulBase, unsigned long ulIntFlags) in CameraIntEnable() argument
400 HWREG(ulBase + CAMERA_O_CC_IRQENABLE) |= ulIntFlags; in CameraIntEnable()
418 void CameraIntDisable(unsigned long ulBase, unsigned long ulIntFlags) in CameraIntDisable() argument
431 HWREG(ulBase + CAMERA_O_CC_IRQENABLE) &= ~ulIntFlags; in CameraIntDisable()
446 unsigned long CameraIntStatus(unsigned long ulBase) in CameraIntStatus() argument
453 ulIntFlag = HWREG(ulBase + CAMERA_O_CC_IRQSTATUS); in CameraIntStatus()
485 void CameraIntClear(unsigned long ulBase, unsigned long ulIntFlags) in CameraIntClear() argument
498 HWREG(ulBase + CAMERA_O_CC_IRQSTATUS) = ulIntFlags; in CameraIntClear()
514 void CameraCaptureStart(unsigned long ulBase) in CameraCaptureStart() argument
519 HWREG(ulBase + CAMERA_O_CC_CTRL) &= ~0xF; in CameraCaptureStart()
524 HWREG(ulBase + CAMERA_O_CC_CTRL) |= CAMERA_CC_CTRL_CC_EN; in CameraCaptureStart()
541 void CameraCaptureStop(unsigned long ulBase, tBoolean bImmediate) in CameraCaptureStop() argument
548 HWREG(ulBase + CAMERA_O_CC_CTRL) &= ~CAMERA_CC_CTRL_CC_FRAME_TRIG; in CameraCaptureStop()
555 HWREG(ulBase + CAMERA_O_CC_CTRL) |= CAMERA_CC_CTRL_CC_FRAME_TRIG; in CameraCaptureStop()
561 HWREG(ulBase + CAMERA_O_CC_CTRL) &= ~CAMERA_CC_CTRL_CC_EN; in CameraCaptureStop()
578 void CameraBufferRead(unsigned long ulBase, unsigned long *pBuffer, in CameraBufferRead() argument