Matt Wagantall | 11afeee | 2012-02-07 18:38:59 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved. |
Stephen Boyd | e44ec39 | 2011-08-29 12:03:24 -0700 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | #ifndef __MSM_SCM_PAS_H |
| 13 | #define __MSM_SCM_PAS_H |
| 14 | |
| 15 | enum pas_id { |
| 16 | PAS_MODEM, |
| 17 | PAS_Q6, |
| 18 | PAS_DSPS, |
Stephen Boyd | d89eebe | 2011-09-28 23:28:11 -0700 | [diff] [blame] | 19 | PAS_TZAPPS, |
Stephen Boyd | e44ec39 | 2011-08-29 12:03:24 -0700 | [diff] [blame] | 20 | PAS_MODEM_SW, |
| 21 | PAS_MODEM_FW, |
| 22 | PAS_RIVA, |
Matt Wagantall | 11afeee | 2012-02-07 18:38:59 -0800 | [diff] [blame] | 23 | PAS_SECAPP, |
| 24 | PAS_GSS, |
Stephen Boyd | e44ec39 | 2011-08-29 12:03:24 -0700 | [diff] [blame] | 25 | }; |
| 26 | |
Stephen Boyd | e44ec39 | 2011-08-29 12:03:24 -0700 | [diff] [blame] | 27 | extern int pas_init_image(enum pas_id id, const u8 *metadata, size_t size); |
| 28 | extern int pas_auth_and_reset(enum pas_id id); |
| 29 | extern int pas_shutdown(enum pas_id id); |
| 30 | extern int pas_supported(enum pas_id id); |
| 31 | #endif |