rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | /*! |
| 2 | * @file ufpm_struct.h |
| 3 | * @author Bo-Kai Huang <bo-kai.haung@mediatek.com> |
| 4 | * @version 1.0 |
| 5 | * @section LICENSE |
| 6 | * |
| 7 | * This software is protected by Copyright and the information contained |
| 8 | * herein is confidential. The software may not be copied and the information |
| 9 | * contained herein may not be used or disclosed except with the written |
| 10 | * permission of MediaTek Inc. (C) 2005 |
| 11 | * |
| 12 | * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| 13 | * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| 14 | * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| 15 | * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| 18 | * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| 19 | * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| 20 | * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| 21 | * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| 22 | * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| 23 | * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| 24 | * |
| 25 | * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| 26 | * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| 27 | * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| 28 | * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| 29 | * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| 30 | * |
| 31 | * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| 32 | * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| 33 | * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| 34 | * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| 35 | * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| 36 | * |
| 37 | * @section DESCRIPTION |
| 38 | * This file provides main definitions of usbcore |
| 39 | */ |
| 40 | |
| 41 | #ifndef _UFPM_EM_STRUCT_H |
| 42 | #define _UFPM_EM_STRUCT_H |
| 43 | |
| 44 | #include "ufpm_struct.h" |
| 45 | |
| 46 | /************************************** |
| 47 | * UFPM ENUM and Types |
| 48 | **************************************/ |
| 49 | |
| 50 | typedef ufpm_enable_md_func_req_t ufpm_enable_md_fast_path_req_struct; |
| 51 | typedef ufpm_md_fast_path_common_req_t ufpm_disable_md_fast_path_req_struct; |
| 52 | typedef ufpm_md_fast_path_common_req_t ufpm_deactivate_md_fast_path_req_struct; |
| 53 | typedef ufpm_activate_md_func_req_t ufpm_activate_md_fast_path_req_struct; |
| 54 | typedef ufpm_md_fast_path_common_rsp_t ufpm_enable_md_fast_path_rsp_struct; |
| 55 | typedef ufpm_md_fast_path_common_rsp_t ufpm_disable_md_fast_path_rsp_struct; |
| 56 | typedef ufpm_deactivate_md_func_rsp_t ufpm_deactivate_md_fast_path_rsp_struct; |
| 57 | typedef ufpm_md_fast_path_common_rsp_t ufpm_activate_md_fast_path_rsp_struct; |
| 58 | typedef ufpm_notify_md_bus_event_req_t ufpm_notify_md_bus_event_req_struct; |
| 59 | typedef ufpm_md_fast_path_common_rsp_t ufpm_notify_md_bus_event_rsp_struct; |
| 60 | typedef ufpm_send_md_ep0_msg_t ufpm_send_md_usb_ep0_req_struct; |
| 61 | typedef ufpm_send_ap_ep0_msg_t ufpm_send_md_usb_ep0_rsp_struct; |
| 62 | typedef ufpm_send_md_ep0_msg_t ufpm_send_md_usb_ep0_ind_struct; |
| 63 | typedef ufpm_send_ap_ep0_msg_t ufpm_send_ap_usb_ep0_ind_struct; |
| 64 | |
| 65 | |
| 66 | typedef struct _ufpm_em_dump_ctx_struct { |
| 67 | LOCAL_PARA_HDR |
| 68 | ufpm_t ufpm_task_ctx; |
| 69 | } ufpm_em_dump_ctx_struct; |
| 70 | |
| 71 | #endif // _UFPM_MAIN_H |
| 72 | |