| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2004-2005, 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_reg.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/1 $ |
|---|
| 12 | * $brcm_Date: 7/13/05 12:30p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * See Module Overview below. |
|---|
| 16 | * |
|---|
| 17 | * Revision History: |
|---|
| 18 | * |
|---|
| 19 | * $brcm_Log: /magnum/portinginterface/xvd/7401/bxvd_reg.h $ |
|---|
| 20 | * |
|---|
| 21 | * Hydra_Software_Devel/1 7/13/05 12:30p pblanco |
|---|
| 22 | * PR16052: Initial checkin. |
|---|
| 23 | * |
|---|
| 24 | ***************************************************************************/ |
|---|
| 25 | #ifndef BXVD_REG_H__ |
|---|
| 26 | #define BXVD_REG_H__ |
|---|
| 27 | |
|---|
| 28 | #include "bxvd.h" |
|---|
| 29 | |
|---|
| 30 | #ifdef __cplusplus |
|---|
| 31 | extern "C" { |
|---|
| 32 | #endif |
|---|
| 33 | |
|---|
| 34 | uint32_t BXVD_Reg_Read32_isr( |
|---|
| 35 | BXVD_Handle hXvd, /* XVD handle */ |
|---|
| 36 | uint32_t offset /* Register offset to read */ |
|---|
| 37 | ); |
|---|
| 38 | |
|---|
| 39 | void BXVD_Reg_Write32_isr( |
|---|
| 40 | BXVD_Handle hXvd, /* XVD handle */ |
|---|
| 41 | uint32_t offset, /* Memory offset to write */ |
|---|
| 42 | uint32_t data /* Data */ |
|---|
| 43 | ); |
|---|
| 44 | |
|---|
| 45 | uint32_t BXVD_Reg_Read32( |
|---|
| 46 | BXVD_Handle hXvd, /* XVD handle */ |
|---|
| 47 | uint32_t offset /* Register offset to read */ |
|---|
| 48 | ); |
|---|
| 49 | |
|---|
| 50 | void BXVD_Reg_Write32( |
|---|
| 51 | BXVD_Handle hXvd, /* XVD handle */ |
|---|
| 52 | uint32_t offset, /* Memory offset to write */ |
|---|
| 53 | uint32_t data /* Data */ |
|---|
| 54 | ); |
|---|
| 55 | |
|---|
| 56 | #ifdef __cplusplus |
|---|
| 57 | } |
|---|
| 58 | #endif |
|---|
| 59 | |
|---|
| 60 | #endif /* #ifndef BXVD_REG_H__ */ |
|---|