XilinxProcessorIPLib/drivers/csi2tx/src/xcsi2tx_intr.c
void XCsi2Tx_IntrDisable(XCsi2Tx *InstancePtr, u32 Mask)
{
	u32 AllMask = XCSI2TX_IER_ALLINTR_MASK;
	/* Verify arguments */
	Xil_AssertVoid(InstancePtr != NULL);

	if (InstancePtr->Config.FEGenEnabled) {
		AllMask |= XCSITX_LCSTAT_VC0_IER_MASK;
		AllMask |= XCSITX_LCSTAT_VC1_IER_MASK;
		AllMask |= XCSITX_LCSTAT_VC2_IER_MASK;
		AllMask |= XCSITX_LCSTAT_VC3_IER_MASK;
	}
	/* Checking for invalid mask bits being set */
	Xil_AssertVoid((Mask & ~AllMask) == 0);

	XCsi2Tx_WriteReg(InstancePtr->Config.BaseAddr, XCSI2TX_IER_OFFSET,
			~Mask & AllMask);
}
/*****************************************************************************/
/**
* This function will disable the interrupts present in the
* interrupt mask passed onto the function
*
* @param	InstancePtr is the XCsi instance to operate on
* @param	Mask is the interrupt mask which need to be enabled in core
*
* @return	None
*
* @note		None
*
****************************************************************************/
This function will disable the interrupts present in the
interrupt mask passed onto the function
This function will disable the interrupts present in the interrupt mask passed onto the function
void XCsi2Tx_IntrDisable(XCsi2Tx *InstancePtr, u32 Mask)
{
	u32 AllMask = XCSI2TX_IER_ALLINTR_MASK;
	Xil_AssertVoid(InstancePtr != NULL);
	if (InstancePtr->Config.FEGenEnabled) {
		AllMask |= XCSITX_LCSTAT_VC0_IER_MASK;
		AllMask |= XCSITX_LCSTAT_VC1_IER_MASK;
		AllMask |= XCSITX_LCSTAT_VC2_IER_MASK;
		AllMask |= XCSITX_LCSTAT_VC3_IER_MASK;
	}
	Xil_AssertVoid((Mask & ~AllMask) == 0);
	XCsi2Tx_WriteReg(InstancePtr->Config.BaseAddr, XCSI2TX_IER_OFFSET,
			~Mask & AllMask);
}
void XCsi2Tx_IntrDisable ( XCsi2Tx * InstancePtr , u32 Mask ) { u32 AllMask = XCSI2TX_IER_ALLINTR_MASK ; Xil_AssertVoid ( InstancePtr != NULL ) ; if ( InstancePtr -> Config . FEGenEnabled ) { AllMask |= XCSITX_LCSTAT_VC0_IER_MASK ; AllMask |= XCSITX_LCSTAT_VC1_IER_MASK ; AllMask |= XCSITX_LCSTAT_VC2_IER_MASK ; AllMask |= XCSITX_LCSTAT_VC3_IER_MASK ; } Xil_AssertVoid ( ( Mask & ~ AllMask ) == 0 ) ; XCsi2Tx_WriteReg ( InstancePtr -> Config . BaseAddr , XCSI2TX_IER_OFFSET , ~ Mask & AllMask ) ; }
This function will disable the interrupts present in the
interrupt mask passed onto the function
This function will disable the interrupts present in the interrupt mask passed onto the function
/* Verify arguments */ /* Checking for invalid mask bits being set */