| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2004-2010, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | * |
|---|
| 10 | * $brcm_Workfile: bxvd_intr.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/14 $ |
|---|
| 12 | * $brcm_Date: 7/13/10 4:25p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * See Module Overview below. |
|---|
| 16 | * |
|---|
| 17 | * Revision History: |
|---|
| 18 | * |
|---|
| 19 | * $brcm_Log: /magnum/portinginterface/xvd/7401/bxvd_intr.h $ |
|---|
| 20 | * |
|---|
| 21 | * Hydra_Software_Devel/14 7/13/10 4:25p davidp |
|---|
| 22 | * SW7405-4628: Remove seq header callback support, add stereo seq error |
|---|
| 23 | * callback support. |
|---|
| 24 | * |
|---|
| 25 | * Hydra_Software_Devel/13 5/14/08 12:31p davidp |
|---|
| 26 | * PR21390: Add support for Aegis VICH interrupts. |
|---|
| 27 | * |
|---|
| 28 | * Hydra_Software_Devel/12 8/21/07 7:15p nilesh |
|---|
| 29 | * PR22327: Changed PicDataReady interrupt behavior to the following: |
|---|
| 30 | * - If no channels are open or no channels are decoding, XVD delivers |
|---|
| 31 | * a single muted picture to the VDC callback that has the correct |
|---|
| 32 | * polarity |
|---|
| 33 | * - Otherwise, a picture list will contain pictures of only channels |
|---|
| 34 | * that are actively decoding |
|---|
| 35 | * |
|---|
| 36 | * Hydra_Software_Devel/11 8/13/07 4:08p nilesh |
|---|
| 37 | * PR29915: Multi-decode merge to mainline |
|---|
| 38 | * |
|---|
| 39 | * Hydra_Software_Devel/xvd_PR29915_Rel_Mosaic_FW_API/1 5/8/07 4:02p davidp |
|---|
| 40 | * PR29915: Add support for multi-decode (channels) |
|---|
| 41 | * |
|---|
| 42 | * Hydra_Software_Devel/10 3/28/07 1:26p pblanco |
|---|
| 43 | * PR27168: Changed hardwired constants to defined constants. |
|---|
| 44 | * |
|---|
| 45 | * Hydra_Software_Devel/8 7/17/06 1:56p pblanco |
|---|
| 46 | * PR22673: Removed 7401a0 conditionalized code and restructured some of |
|---|
| 47 | * the remaining conditional code. |
|---|
| 48 | * |
|---|
| 49 | * Hydra_Software_Devel/7 6/29/06 6:55p davidp |
|---|
| 50 | * PR20017: Enable 7401 B0 watchdog support |
|---|
| 51 | * |
|---|
| 52 | * Hydra_Software_Devel/6 6/14/06 5:18p davidp |
|---|
| 53 | * PR20017: Add 7401 B0 support for MBX, SeqHdr and DecodeStillPicture FW |
|---|
| 54 | * generated interrupts. |
|---|
| 55 | * |
|---|
| 56 | * Hydra_Software_Devel/5 5/22/06 5:58p davidp |
|---|
| 57 | * PR21712: Use 7400 decoder specific watchdog timers. |
|---|
| 58 | * |
|---|
| 59 | * Hydra_Software_Devel/4 4/24/06 2:11p davidp |
|---|
| 60 | * PR18043: Add support for Sequence Header interrupt processing |
|---|
| 61 | * |
|---|
| 62 | * Hydra_Software_Devel/3 3/27/06 6:33p davidp |
|---|
| 63 | * PR20353: Add Decode Still Picture support for 7400 |
|---|
| 64 | * |
|---|
| 65 | * Hydra_Software_Devel/2 3/22/06 5:16p davidp |
|---|
| 66 | * PR20347: Add L2 interrupt support |
|---|
| 67 | * |
|---|
| 68 | * Hydra_Software_Devel/1 3/8/06 11:17a pblanco |
|---|
| 69 | * PR20077: Initial checkin. |
|---|
| 70 | * |
|---|
| 71 | * |
|---|
| 72 | ***************************************************************************/ |
|---|
| 73 | /*=************************ Module Overview ******************************** |
|---|
| 74 | <verbatim> |
|---|
| 75 | |
|---|
| 76 | Overview: |
|---|
| 77 | |
|---|
| 78 | This module contains the funtion prototypes for the XVD interrupt service |
|---|
| 79 | routines. These are now separate from both bxvd.c and bxvd_priv.c to facilitate |
|---|
| 80 | easier modification and maintainence. |
|---|
| 81 | |
|---|
| 82 | </verbatim> |
|---|
| 83 | ****************************************************************************/ |
|---|
| 84 | #ifndef BXVD_INTR_H__ |
|---|
| 85 | #define BXVD_INTR_H__ |
|---|
| 86 | |
|---|
| 87 | #include "bxvd.h" |
|---|
| 88 | |
|---|
| 89 | /* This value clear the whole low order word except interrupts 1 thru 4 */ |
|---|
| 90 | #define BXVD_INTR_INTGEN_CLEAR_VALUE 0x0000ffe1 |
|---|
| 91 | |
|---|
| 92 | #ifdef __cplusplus |
|---|
| 93 | extern "C" { |
|---|
| 94 | #endif |
|---|
| 95 | |
|---|
| 96 | void BXVD_P_AVD_MBX_isr(void *pvXvd, |
|---|
| 97 | int iParam2); |
|---|
| 98 | |
|---|
| 99 | void BXVD_P_AVD_PicDataRdy_isr(void *pvXvd, |
|---|
| 100 | int iParam2); |
|---|
| 101 | |
|---|
| 102 | void BXVD_P_PictureDataReady_isr(BXVD_Handle hXvd, |
|---|
| 103 | BXVD_ChannelHandle hXvdCh, |
|---|
| 104 | BAVC_XVD_Picture *pPicItem); |
|---|
| 105 | |
|---|
| 106 | void BXVD_P_PictureDataRdy_NoDecode_isr(BXVD_Handle hXvd, |
|---|
| 107 | BXVD_DisplayInterrupt eDisplayInterrupt, |
|---|
| 108 | BAVC_XVD_Picture *pPicItem); |
|---|
| 109 | |
|---|
| 110 | void BXVD_P_AVD_StillPictureRdy_isr(void *pvXvd, |
|---|
| 111 | int iParam2); |
|---|
| 112 | |
|---|
| 113 | void BXVD_P_WatchdogInterrupt_isr(void *pvXvd, |
|---|
| 114 | int param2); |
|---|
| 115 | |
|---|
| 116 | void BXVD_P_VidInstrChkr_isr(void *pvXvd, |
|---|
| 117 | int param2); |
|---|
| 118 | |
|---|
| 119 | void BXVD_P_StereoSeqError_isr(void *pvXvd, |
|---|
| 120 | int param2); |
|---|
| 121 | |
|---|
| 122 | #ifdef __cplusplus |
|---|
| 123 | } |
|---|
| 124 | #endif |
|---|
| 125 | |
|---|
| 126 | #endif /* BXVD_INTR_H__ */ |
|---|