PDK API Guide for J721E
MuxIntcP

Introduction

MuxIntcP interface

Files

file  MuxIntcP.h
 Interrupt Controller Mux module for the RTOS Porting Interface.
 

Data Structures

struct  MuxIntcP_inParams
 Basic MuxIntcP Input Parameters. More...
 
struct  MuxIntcP_outParams
 

Functions

MuxIntcP_Status MuxIntcP_create (MuxIntcP_inParams *inParams, MuxIntcP_outParams *outParams)
 Function to create an interrupt controller mux. More...
 
void MuxIntcP_enableInEvent (int32_t muxNum, int32_t muxInEvent)
 Function to enable interrupt controller mux for an input event. More...
 
void MuxIntcP_disableInEvent (int32_t muxNum, int32_t muxInEvent)
 Function to disable interrupt controller mux for an input event. More...
 
void MuxIntcP_clearInEvent (int32_t muxNum, int32_t muxInEvent)
 Function to clear interrupt controller mux for an input event. More...
 
void MuxIntcP_enableOutEvent (int32_t muxNum, int32_t muxOutEvent)
 Function to enable interrupt controller mux for an output event. More...
 
void MuxIntcP_disableOutEvent (int32_t muxNum, int32_t muxOutEvent)
 Function to disable interrupt controller mux for an output event. More...
 

Typedefs

typedef void(* MuxIntcP_Fxn) (uintptr_t arg)
 Prototype for the entry function for a cpIntc interrupt. More...
 
typedef void(* MuxIntcFxn) (uintptr_t arg)
 Prototype for the MuxIntc dispatch function. More...
 

Enumerations

enum  MuxIntcP_Status { MuxIntcP_OK = 0, MuxIntcP_FAILURE = (-(int32_t)1) }
 Status codes for MuxIntcP APIs. More...
 

Macros

#define MUXINTCP_CROSSBAR_MUXNUM_DSP1   (0)
 
#define MUXINTCP_CROSSBAR_MUXNUM_DSP2   (1)
 
#define MUXINTCP_CROSSBAR_MUXNUM_IPU1   (2)
 
#define MUXINTCP_CROSSBAR_MUXNUM_IPU2   (3)
 
#define MUXINTCP_CROSSBAR_MUXNUM_MPU   (4)
 
#define MUXINTCP_CROSSBAR_MUXNUM_INVALID   (-(int32_t)1)
 

Macro Definition Documentation

#define MUXINTCP_CROSSBAR_MUXNUM_DSP1   (0)
#define MUXINTCP_CROSSBAR_MUXNUM_DSP2   (1)
#define MUXINTCP_CROSSBAR_MUXNUM_IPU1   (2)
#define MUXINTCP_CROSSBAR_MUXNUM_IPU2   (3)
#define MUXINTCP_CROSSBAR_MUXNUM_MPU   (4)
#define MUXINTCP_CROSSBAR_MUXNUM_INVALID   (-(int32_t)1)

Typedef Documentation

typedef void(* MuxIntcP_Fxn) (uintptr_t arg)

Prototype for the entry function for a cpIntc interrupt.

typedef void(* MuxIntcFxn) (uintptr_t arg)

Prototype for the MuxIntc dispatch function.

Enumeration Type Documentation

Status codes for MuxIntcP APIs.

Enumerator
MuxIntcP_OK 
MuxIntcP_FAILURE 

Function Documentation

MuxIntcP_Status MuxIntcP_create ( MuxIntcP_inParams inParams,
MuxIntcP_outParams outParams 
)

Function to create an interrupt controller mux.

Parameters
inParamsPointer to the MuxIntcP input Parameters
outParamsPointer to the MuxIntcP output Parameters
Returns
MuxIntcP_Status on MuxIntcP_OK or MuxIntcP_FAILURE
void MuxIntcP_enableInEvent ( int32_t  muxNum,
int32_t  muxInEvent 
)

Function to enable interrupt controller mux for an input event.

Parameters
muxNumInterrupt Controller mux number
muxInEventInterrupt Controller mux input event ID
void MuxIntcP_disableInEvent ( int32_t  muxNum,
int32_t  muxInEvent 
)

Function to disable interrupt controller mux for an input event.

Parameters
muxNumInterrupt Controller mux number
muxInEventInterrupt Controller mux input event ID
void MuxIntcP_clearInEvent ( int32_t  muxNum,
int32_t  muxInEvent 
)

Function to clear interrupt controller mux for an input event.

Parameters
muxNumInterrupt Controller mux number
muxInEventInterrupt Controller mux input event ID
void MuxIntcP_enableOutEvent ( int32_t  muxNum,
int32_t  muxOutEvent 
)

Function to enable interrupt controller mux for an output event.

Parameters
muxNumInterrupt Controller mux number
muxOutEventInterrupt Controller mux output event ID
void MuxIntcP_disableOutEvent ( int32_t  muxNum,
int32_t  muxOutEvent 
)

Function to disable interrupt controller mux for an output event.

Parameters
muxNumInterrupt Controller mux number
muxOutEventInterrupt Controller mux output event ID