PDK API Guide for J721E
MuxIntcP.h File Reference

Introduction

Interrupt Controller Mux module for the RTOS Porting Interface.

============================================================================


Go to the source code of this file.

Data Structures

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

Macros

Cross bar MuxNum definitions

#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)
 

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...
 

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...