diff options
author | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 09:48:20 +0200 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 14:02:16 +0200 |
commit | 2489007e7d740ccbc3e0a202914e243ad5178787 (patch) | |
tree | b8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/staging/westbridge/astoria/device/cyasdiagnostics.h | |
parent | 5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff) | |
download | kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2 |
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'drivers/staging/westbridge/astoria/device/cyasdiagnostics.h')
-rw-r--r-- | drivers/staging/westbridge/astoria/device/cyasdiagnostics.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/drivers/staging/westbridge/astoria/device/cyasdiagnostics.h b/drivers/staging/westbridge/astoria/device/cyasdiagnostics.h new file mode 100644 index 0000000..a1194fc --- /dev/null +++ b/drivers/staging/westbridge/astoria/device/cyasdiagnostics.h @@ -0,0 +1,44 @@ +/* +## cyasdiagnostics.h - Linux Antioch device driver file +## =========================== +## Copyright (C) 2010 Cypress Semiconductor +## +## This program is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License +## as published by the Free Software Foundation; either version 2 +## of the License, or (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 51 Franklin Street, Fifth Floor +## Boston, MA 02110-1301, USA. +## =========================== +*/ + +#define __CYAS_SYSFS_FOR_DIAGNOSTICS__ +typedef enum cy_as_diag_cmd_type { + CY_AS_DIAG_GET_VERSION = 1, + CY_AS_DIAG_DISABLE_MSM_SDIO = 2, + CY_AS_DIAG_ENABLE_MSM_SDIO = 3, + CY_AS_DIAG_LEAVE_STANDBY = 4, + CY_AS_DIAG_ENTER_STANDBY = 5, + CY_AS_DIAG_CREATE_BLKDEV = 6, + CY_AS_DIAG_DESTROY_BLKDEV = 7, + CY_AS_DIAG_SD_MOUNT = 11, + CY_AS_DIAG_SD_READ = 12, + CY_AS_DIAG_SD_WRITE = 13, + CY_AS_DIAG_SD_UNMOUNT = 14, + CY_AS_DIAG_CONNECT_UMS = 21, + CY_AS_DIAG_DISCONNECT_UMS = 22, + CY_AS_DIAG_CONNECT_MTP = 31, + CY_AS_DIAG_DISCONNECT_MTP = 32, + CY_AS_DIAG_TEST_RESET_LOW = 40, + CY_AS_DIAG_TEST_RESET_HIGH = 41 +} cy_as_diag_cmd_type; + +/*[]*/ |