diff options
author | Qualcomm Innovation Center <initial-contribution@quicinc.com> | 2009-05-02 16:11:10 -0700 |
---|---|---|
committer | Qualcomm Innovation Center <initial-contribution@quicinc.com> | 2009-05-02 16:11:10 -0700 |
commit | e290e01dc9316700230a87013d3b4c29292b678f (patch) | |
tree | f732d05b9400e284ed419785b6fcdb9dacad71e5 /libc/kernel/common/linux/msm_adsp.h | |
parent | 6ed739e1d3b5088bf1cd56f09ba3afba792b969d (diff) | |
download | bionic-e290e01dc9316700230a87013d3b4c29292b678f.zip bionic-e290e01dc9316700230a87013d3b4c29292b678f.tar.gz bionic-e290e01dc9316700230a87013d3b4c29292b678f.tar.bz2 |
Initial Contribution
Diffstat (limited to 'libc/kernel/common/linux/msm_adsp.h')
-rw-r--r-- | libc/kernel/common/linux/msm_adsp.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/kernel/common/linux/msm_adsp.h b/libc/kernel/common/linux/msm_adsp.h index 6f12707..c621c8f 100644 --- a/libc/kernel/common/linux/msm_adsp.h +++ b/libc/kernel/common/linux/msm_adsp.h @@ -14,7 +14,6 @@ #include <linux/types.h> #include <linux/ioctl.h> -#include <asm/sizes.h> #define ADSP_IOCTL_MAGIC 'q' @@ -33,11 +32,6 @@ struct adsp_event_t { uint8_t *data; }; -struct adsp_pmem_info_t { - int fd; - void *vaddr; -}; - #define ADSP_IOCTL_ENABLE _IOR(ADSP_IOCTL_MAGIC, 1, unsigned) #define ADSP_IOCTL_DISABLE _IOR(ADSP_IOCTL_MAGIC, 2, unsigned) @@ -48,10 +42,16 @@ struct adsp_pmem_info_t { #define ADSP_IOCTL_GET_EVENT _IOWR(ADSP_IOCTL_MAGIC, 5, struct adsp_event_data_t *) +#define ADSP_IOCTL_SET_CLKRATE _IOR(ADSP_IOCTL_MAGIC, 6, unsigned) + #define ADSP_IOCTL_DISABLE_EVENT_RSP _IOR(ADSP_IOCTL_MAGIC, 10, unsigned) -#define ADSP_IOCTL_REGISTER_PMEM _IOW(ADSP_IOCTL_MAGIC, 13, struct adsp_pmem_info *) +#define ADSP_IOCTL_REGISTER_PMEM _IOW(ADSP_IOCTL_MAGIC, 13, unsigned) + +#define ADSP_IOCTL_UNREGISTER_PMEM _IOW(ADSP_IOCTL_MAGIC, 14, unsigned) #define ADSP_IOCTL_ABORT_EVENT_READ _IOW(ADSP_IOCTL_MAGIC, 15, unsigned) +#define ADSP_IOCTL_LINK_TASK _IOW(ADSP_IOCTL_MAGIC, 16, unsigned) + #endif |