vchiq_arm.h (278277) | vchiq_arm.h (290245) |
---|---|
1/** | 1/** |
2 * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. |
|
2 * Copyright (c) 2010-2012 Broadcom. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions, and the following disclaimer, 9 * without modification. --- 138 unchanged lines hidden (view full) --- 148vchiq_arm_init_state(VCHIQ_STATE_T *state, VCHIQ_ARM_STATE_T *arm_state); 149 150extern int 151vchiq_check_resume(VCHIQ_STATE_T *state); 152 153extern void 154vchiq_check_suspend(VCHIQ_STATE_T *state); 155 | 3 * Copyright (c) 2010-2012 Broadcom. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions, and the following disclaimer, 10 * without modification. --- 138 unchanged lines hidden (view full) --- 149vchiq_arm_init_state(VCHIQ_STATE_T *state, VCHIQ_ARM_STATE_T *arm_state); 150 151extern int 152vchiq_check_resume(VCHIQ_STATE_T *state); 153 154extern void 155vchiq_check_suspend(VCHIQ_STATE_T *state); 156 |
157VCHIQ_STATUS_T 158vchiq_use_service(VCHIQ_SERVICE_HANDLE_T handle); 159 |
|
156extern VCHIQ_STATUS_T 157vchiq_platform_suspend(VCHIQ_STATE_T *state); 158 159extern int 160vchiq_platform_videocore_wanted(VCHIQ_STATE_T *state); 161 162extern int 163vchiq_platform_use_suspend_timer(void); --- 11 unchanged lines hidden (view full) --- 175vchiq_videocore_wanted(VCHIQ_STATE_T *state); 176 177extern VCHIQ_STATUS_T 178vchiq_use_internal(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, 179 enum USE_TYPE_E use_type); 180extern VCHIQ_STATUS_T 181vchiq_release_internal(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service); 182 | 160extern VCHIQ_STATUS_T 161vchiq_platform_suspend(VCHIQ_STATE_T *state); 162 163extern int 164vchiq_platform_videocore_wanted(VCHIQ_STATE_T *state); 165 166extern int 167vchiq_platform_use_suspend_timer(void); --- 11 unchanged lines hidden (view full) --- 179vchiq_videocore_wanted(VCHIQ_STATE_T *state); 180 181extern VCHIQ_STATUS_T 182vchiq_use_internal(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, 183 enum USE_TYPE_E use_type); 184extern VCHIQ_STATUS_T 185vchiq_release_internal(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service); 186 |
183void | 187#ifdef notyet 188extern VCHIQ_DEBUGFS_NODE_T * 189vchiq_instance_get_debugfs_node(VCHIQ_INSTANCE_T instance); 190#endif 191 192extern int 193vchiq_instance_get_use_count(VCHIQ_INSTANCE_T instance); 194 195extern int 196vchiq_instance_get_pid(VCHIQ_INSTANCE_T instance); 197 198extern int 199vchiq_instance_get_trace(VCHIQ_INSTANCE_T instance); 200 201extern void 202vchiq_instance_set_trace(VCHIQ_INSTANCE_T instance, int trace); 203 204extern void |
184set_suspend_state(VCHIQ_ARM_STATE_T *arm_state, 185 enum vc_suspend_status new_state); 186 | 205set_suspend_state(VCHIQ_ARM_STATE_T *arm_state, 206 enum vc_suspend_status new_state); 207 |
187void | 208extern void |
188set_resume_state(VCHIQ_ARM_STATE_T *arm_state, 189 enum vc_resume_status new_state); 190 | 209set_resume_state(VCHIQ_ARM_STATE_T *arm_state, 210 enum vc_resume_status new_state); 211 |
191void | 212extern void |
192start_suspend_timer(VCHIQ_ARM_STATE_T *arm_state); 193 | 213start_suspend_timer(VCHIQ_ARM_STATE_T *arm_state); 214 |
194extern int vchiq_proc_init(void); 195extern void vchiq_proc_deinit(void); 196extern struct proc_dir_entry *vchiq_proc_top(void); 197extern struct proc_dir_entry *vchiq_clients_top(void); 198 199 | |
200#endif /* VCHIQ_ARM_H */ | 215#endif /* VCHIQ_ARM_H */ |