diff options
| author | Jason Riordan <jriordan001@gmail.com> | 2016-08-18 00:04:48 -0400 |
|---|---|---|
| committer | Nyks45 <winglow45@gmail.com> | 2016-10-12 17:38:06 +0200 |
| commit | 2e8463cad75d97903bd2370b533705ffc9c5145d (patch) | |
| tree | 9b0fe6a35463994131a7b1060d181222d470452e | |
| parent | 1226e73e94b9d1e705a82f5c97b95908e019788a (diff) | |
Z00A: update kernel headers
Change-Id: Ifa04cd25add7dee184fac431a6c6366da3fb59ab
| -rw-r--r-- | kernel-headers/drm/psb_ttm_fence_api.h | 61 | ||||
| -rw-r--r-- | kernel-headers/drm/psb_ttm_fence_driver.h | 69 | ||||
| -rw-r--r-- | kernel-headers/drm/psb_ttm_fence_user.h | 32 | ||||
| -rw-r--r-- | kernel-headers/drm/psb_ttm_placement_user.h | 104 | ||||
| -rw-r--r-- | kernel-headers/drm/psb_ttm_userobj_api.h | 34 | ||||
| -rw-r--r-- | kernel-headers/drm/ttm/ttm_placement.h | 3 | ||||
| -rw-r--r-- | kernel-headers/linux/kct.h | 72 | ||||
| -rw-r--r-- | kernel-headers/linux/psb_drm.h | 1338 | ||||
| -rw-r--r-- | kernel-headers/linux/sound/intel_sst_ioctl.h | 24 | ||||
| -rw-r--r-- | kernel-headers/uapi/sound/asound.h | 989 |
10 files changed, 957 insertions, 1769 deletions
diff --git a/kernel-headers/drm/psb_ttm_fence_api.h b/kernel-headers/drm/psb_ttm_fence_api.h new file mode 100644 index 0000000..3907802 --- /dev/null +++ b/kernel-headers/drm/psb_ttm_fence_api.h @@ -0,0 +1,61 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _TTM_FENCE_API_H_ +#define _TTM_FENCE_API_H_ +#include <linux/list.h> +#include <linux/kref.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#include <linux/version.h> +#define TTM_FENCE_FLAG_EMIT (1 << 0) +#define TTM_FENCE_TYPE_EXE (1 << 0) +struct ttm_fence_device; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct ttm_fence_info { + uint32_t signaled_types; + uint32_t error; +}; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct ttm_fence_object { + struct ttm_fence_device * fdev; + struct kref kref; + uint32_t fence_class; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t fence_type; + struct list_head ring; + struct ttm_fence_info info; + unsigned long timeout_jiffies; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t sequence; + uint32_t waiting_types; + void(* destroy) (struct ttm_fence_object *); +}; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct ttm_fence_info ttm_fence_get_info(struct ttm_fence_object * fence); +#if LINUX_VERSION_CODE < ??? +#else +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#if LINUX_VERSION_CODE < ??? +#else +#endif +#if LINUX_VERSION_CODE < ??? +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#else +#endif +#endif diff --git a/kernel-headers/drm/psb_ttm_fence_driver.h b/kernel-headers/drm/psb_ttm_fence_driver.h new file mode 100644 index 0000000..de9ea32 --- /dev/null +++ b/kernel-headers/drm/psb_ttm_fence_driver.h @@ -0,0 +1,69 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _TTM_FENCE_DRIVER_H_ +#define _TTM_FENCE_DRIVER_H_ +#include <linux/kref.h> +#include <linux/spinlock.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#include <linux/wait.h> +#include "psb_ttm_fence_api.h" +#include "ttm/ttm_memory.h" +struct ttm_fence_class_manager { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t wrap_diff; + uint32_t flush_diff; + uint32_t sequence_mask; + rwlock_t lock; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct list_head ring; + uint32_t pending_flush; + uint32_t waiting_types; + wait_queue_head_t fence_queue; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t latest_queued_sequence; +}; +struct ttm_fence_device { + struct ttm_mem_global * mem_glob; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct ttm_fence_class_manager * fence_class; + uint32_t num_classes; + atomic_t count; + const struct ttm_fence_driver * driver; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +}; +struct ttm_fence_class_init { + uint32_t wrap_diff; + uint32_t flush_diff; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t sequence_mask; +}; +struct ttm_fence_driver { + bool(* has_irq) (struct ttm_fence_device * fdev, uint32_t fence_class, uint32_t flags); +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + int(* emit) (struct ttm_fence_device * fdev, uint32_t fence_class, uint32_t flags, uint32_t * breadcrumb, unsigned long * timeout_jiffies); + void(* flush) (struct ttm_fence_device * fdev, uint32_t fence_class); + void(* poll) (struct ttm_fence_device * fdev, uint32_t fence_class, uint32_t types); + uint32_t(* needed_flush) (struct ttm_fence_object * fence); +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + int(* wait) (struct ttm_fence_object * fence, bool lazy, bool interruptible, uint32_t mask); + void(* signaled) (struct ttm_fence_object * fence); + void(* lockup) (struct ttm_fence_object * fence, uint32_t fence_types); +}; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif diff --git a/kernel-headers/drm/psb_ttm_fence_user.h b/kernel-headers/drm/psb_ttm_fence_user.h index f1c1c7a..d0d41fa 100644 --- a/kernel-headers/drm/psb_ttm_fence_user.h +++ b/kernel-headers/drm/psb_ttm_fence_user.h @@ -28,41 +28,41 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TTM_FENCE_DATE "080819" struct ttm_fence_signaled_req { - uint32_t handle; - uint32_t fence_type; + uint32_t handle; + uint32_t fence_type; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int32_t flush; - uint32_t pad64; + int32_t flush; + uint32_t pad64; }; struct ttm_fence_rep { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t signaled_types; - uint32_t fence_error; + uint32_t signaled_types; + uint32_t fence_error; }; union ttm_fence_signaled_arg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct ttm_fence_signaled_req req; - struct ttm_fence_rep rep; + struct ttm_fence_signaled_req req; + struct ttm_fence_rep rep; }; #define TTM_FENCE_FINISH_MODE_LAZY (1 << 0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TTM_FENCE_FINISH_MODE_NO_BLOCK (1 << 1) struct ttm_fence_finish_req { - uint32_t handle; - uint32_t fence_type; + uint32_t handle; + uint32_t fence_type; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t mode; - uint32_t pad64; + uint32_t mode; + uint32_t pad64; }; union ttm_fence_finish_arg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct ttm_fence_finish_req req; - struct ttm_fence_rep rep; + struct ttm_fence_finish_req req; + struct ttm_fence_rep rep; }; struct ttm_fence_unref_arg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t handle; - uint32_t pad64; + uint32_t handle; + uint32_t pad64; }; #define TTM_FENCE_SIGNALED 0x01 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/kernel-headers/drm/psb_ttm_placement_user.h b/kernel-headers/drm/psb_ttm_placement_user.h index 5a033aa..9a316b1 100644 --- a/kernel-headers/drm/psb_ttm_placement_user.h +++ b/kernel-headers/drm/psb_ttm_placement_user.h @@ -32,93 +32,107 @@ #define TTM_PLACEMENT_DATE "080819" /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct ttm_pl_create_req { - uint64_t size; - uint32_t placement; - uint32_t page_alignment; + uint64_t size; + uint32_t placement; + uint32_t page_alignment; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; -struct ttm_pl_create_ub_req { - uint64_t size; - uint64_t user_address; +struct ttm_pl_create_userptr_req { + uint64_t size; + uint64_t user_address; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t placement; - uint32_t page_alignment; + uint32_t placement; + uint32_t page_alignment; }; -struct ttm_pl_rep { +struct ttm_pl_create_dmabuf_req { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint64_t gpu_offset; - uint64_t bo_size; - uint64_t map_handle; - uint32_t placement; + uint64_t size; + int32_t dmabuf_fd; + uint32_t placement; + uint32_t page_alignment; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t handle; - uint32_t sync_object_arg; - uint32_t pad64; + uint32_t pad64; }; +struct ttm_pl_rep { + uint64_t gpu_offset; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint64_t bo_size; + uint64_t map_handle; + uint32_t placement; + uint32_t handle; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t sync_object_arg; + uint32_t pad64; +}; struct ttm_pl_setstatus_req { - uint32_t set_placement; - uint32_t clr_placement; - uint32_t handle; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pad64; + uint32_t set_placement; + uint32_t clr_placement; + uint32_t handle; + uint32_t pad64; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; struct ttm_pl_reference_req { - uint32_t handle; + uint32_t handle; + uint32_t pad64; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pad64; }; #define TTM_PL_SYNCCPU_MODE_READ TTM_ACCESS_READ #define TTM_PL_SYNCCPU_MODE_WRITE TTM_ACCESS_WRITE -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TTM_PL_SYNCCPU_MODE_NO_BLOCK (1 << 2) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TTM_PL_SYNCCPU_MODE_TRYCACHED (1 << 3) struct ttm_pl_synccpu_arg { - uint32_t handle; + uint32_t handle; + uint32_t access_mode; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t access_mode; - enum { - TTM_PL_SYNCCPU_OP_GRAB, - TTM_PL_SYNCCPU_OP_RELEASE +#define TTM_PL_SYNCCPU_OP_GRAB 0 +#define TTM_PL_SYNCCPU_OP_RELEASE 1 + uint32_t op; + uint32_t pad64; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } op; - uint32_t pad64; }; #define TTM_PL_WAITIDLE_MODE_LAZY (1 << 0) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TTM_PL_WAITIDLE_MODE_NO_BLOCK (1 << 1) struct ttm_pl_waitidle_arg { - uint32_t handle; - uint32_t mode; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t handle; + uint32_t mode; }; union ttm_pl_create_arg { - struct ttm_pl_create_req req; - struct ttm_pl_rep rep; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct ttm_pl_create_req req; + struct ttm_pl_rep rep; }; union ttm_pl_reference_arg { - struct ttm_pl_reference_req req; - struct ttm_pl_rep rep; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct ttm_pl_reference_req req; + struct ttm_pl_rep rep; }; union ttm_pl_setstatus_arg { - struct ttm_pl_setstatus_req req; - struct ttm_pl_rep rep; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct ttm_pl_setstatus_req req; + struct ttm_pl_rep rep; }; -union ttm_pl_create_ub_arg { - struct ttm_pl_create_ub_req req; - struct ttm_pl_rep rep; +union ttm_pl_create_userptr_arg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct ttm_pl_create_userptr_req req; + struct ttm_pl_rep rep; +}; +union ttm_pl_create_dmabuf_arg { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct ttm_pl_create_dmabuf_req req; + struct ttm_pl_rep rep; }; #define TTM_PL_CREATE 0x00 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TTM_PL_REFERENCE 0x01 #define TTM_PL_UNREF 0x02 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TTM_PL_SYNCCPU 0x03 #define TTM_PL_WAITIDLE 0x04 -#define TTM_PL_SETSTATUS 0x05 -#define TTM_PL_CREATE_UB 0x06 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define TTM_PL_SETSTATUS 0x05 +#define TTM_PL_CREATE_USERPTR 0x06 +#define TTM_PL_CREATE_DMABUF 0x07 #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/kernel-headers/drm/psb_ttm_userobj_api.h b/kernel-headers/drm/psb_ttm_userobj_api.h new file mode 100644 index 0000000..f7d5213 --- /dev/null +++ b/kernel-headers/drm/psb_ttm_userobj_api.h @@ -0,0 +1,34 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _TTM_USEROBJ_API_H_ +#define _TTM_USEROBJ_API_H_ +#include "psb_ttm_placement_user.h" +#include "psb_ttm_fence_user.h" +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#include "ttm/ttm_object.h" +#include "psb_ttm_fence_api.h" +#include "ttm/ttm_bo_api.h" +#include <linux/version.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct ttm_lock; +#if LINUX_VERSION_CODE < ??? +#else +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif diff --git a/kernel-headers/drm/ttm/ttm_placement.h b/kernel-headers/drm/ttm/ttm_placement.h index 02d3523..b6b33bd 100644 --- a/kernel-headers/drm/ttm/ttm_placement.h +++ b/kernel-headers/drm/ttm/ttm_placement.h @@ -51,10 +51,9 @@ #define TTM_PL_FLAG_SHARED (1 << 20) #define TTM_PL_FLAG_NO_EVICT (1 << 21) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define TTM_PL_MASK_CACHING (TTM_PL_FLAG_CACHED | TTM_PL_FLAG_UNCACHED | TTM_PL_FLAG_WC) +#define TTM_PL_MASK_CACHING (TTM_PL_FLAG_CACHED | TTM_PL_FLAG_UNCACHED | TTM_PL_FLAG_WC) #define TTM_PL_MASK_MEMTYPE (TTM_PL_MASK_MEM | TTM_PL_MASK_CACHING) #define TTM_ACCESS_READ (1 << 0) #define TTM_ACCESS_WRITE (1 << 1) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif - diff --git a/kernel-headers/linux/kct.h b/kernel-headers/linux/kct.h index 2fb92c0..e0bed69 100644 --- a/kernel-headers/linux/kct.h +++ b/kernel-headers/linux/kct.h @@ -19,7 +19,7 @@ #ifndef KCT_H_ #define KCT_H_ #include <linux/netlink.h> -#define EV_FLAGS_PRIORITY_LOW (1<<0) +#define EV_FLAGS_PRIORITY_LOW (1 << 0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #ifndef MAX_SB_N #define MAX_SB_N 32 @@ -32,67 +32,67 @@ #define ATTCHMT_ALIGN 4U /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ enum ct_ev_type { - CT_EV_STAT, - CT_EV_INFO, - CT_EV_ERROR, + CT_EV_STAT, + CT_EV_INFO, + CT_EV_ERROR, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - CT_EV_CRASH, - CT_EV_LAST + CT_EV_CRASH, + CT_EV_LAST }; enum ct_attchmt_type { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - CT_ATTCHMT_DATA0, - CT_ATTCHMT_DATA1, - CT_ATTCHMT_DATA2, - CT_ATTCHMT_DATA3, + CT_ATTCHMT_DATA0, + CT_ATTCHMT_DATA1, + CT_ATTCHMT_DATA2, + CT_ATTCHMT_DATA3, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - CT_ATTCHMT_DATA4, - CT_ATTCHMT_DATA5, - CT_ATTCHMT_BINARY, - CT_ATTCHMT_FILELIST, + CT_ATTCHMT_DATA4, + CT_ATTCHMT_DATA5, + CT_ATTCHMT_BINARY, + CT_ATTCHMT_FILELIST, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - CT_ATTCHMT_ADDITIONAL + CT_ATTCHMT_ADDITIONAL }; #define CT_ADDITIONAL_NONE 0 -#define CT_ADDITIONAL_APLOG (1<<0) +#define CT_ADDITIONAL_APLOG (1 << 0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CT_ADDITIONAL_LAST_KMSG (1<<1) -#define CT_ADDITIONAL_FWMSG (1<<2) +#define CT_ADDITIONAL_LAST_KMSG (1 << 1) +#define CT_ADDITIONAL_FWMSG (1 << 2) struct ct_attchmt { - __u32 size; + __u32 size; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - enum ct_attchmt_type type; - char data[]; + enum ct_attchmt_type type; + char data[]; } __aligned(4); struct ct_event { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u64 timestamp; - char submitter_name[MAX_SB_N]; - char ev_name[MAX_EV_N]; - enum ct_ev_type type; + __u64 timestamp; + char submitter_name[MAX_SB_N]; + char ev_name[MAX_EV_N]; + enum ct_ev_type type; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u32 attchmt_size; - __u32 flags; - struct ct_attchmt attachments[]; + __u32 attchmt_size; + __u32 flags; + struct ct_attchmt attachments[]; } __aligned(4); /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ enum kct_nlmsg_type { - KCT_EVENT, - KCT_SET_PID = 4200, + KCT_EVENT, + KCT_SET_PID = 4200, }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct kct_packet { - struct nlmsghdr nlh; - struct ct_event event; + struct nlmsghdr nlh; + struct ct_event event; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ATTCHMT_ALIGNMENT 4 #ifndef KCT_ALIGN -#define __KCT_ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask)) -#define __KCT_ALIGN(x, a) __KCT_ALIGN_MASK(x, (typeof(x))(a) - 1) +#define __KCT_ALIGN_MASK(x,mask) (((x) + (mask)) & ~(mask)) +#define __KCT_ALIGN(x,a) __KCT_ALIGN_MASK(x, (typeof(x)) (a) - 1) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define KCT_ALIGN(x, a) __KCT_ALIGN((x), (a)) +#define KCT_ALIGN(x,a) __KCT_ALIGN((x), (a)) #endif -#define foreach_attchmt(Event, Attchmt) if ((Event)->attchmt_size) for ((Attchmt) = (Event)->attachments; (Attchmt) < (typeof(Attchmt))(((char *) (Event)->attachments) + (Event)->attchmt_size); (Attchmt) = (typeof(Attchmt))KCT_ALIGN(((size_t)(Attchmt)) + sizeof(*(Attchmt)) + (Attchmt)->size, ATTCHMT_ALIGNMENT)) +#define foreach_attchmt(Event,Attchmt) if((Event)->attchmt_size) for((Attchmt) = (Event)->attachments; (Attchmt) < (typeof(Attchmt)) (((char *) (Event)->attachments) + (Event)->attchmt_size); (Attchmt) = (typeof(Attchmt)) KCT_ALIGN(((size_t) (Attchmt)) + sizeof(* (Attchmt)) + (Attchmt)->size, ATTCHMT_ALIGNMENT)) #endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/kernel-headers/linux/psb_drm.h b/kernel-headers/linux/psb_drm.h index 5cb7384..fbdb940 100644 --- a/kernel-headers/linux/psb_drm.h +++ b/kernel-headers/linux/psb_drm.h @@ -46,20 +46,20 @@ #define DRM_PSB_FLAG_MEM_MMU_TILING TTM_PL_FLAG_PRIV3 typedef enum { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - DRM_CMD_SUCCESS, - DRM_CMD_FAILED, - DRM_CMD_HANG + DRM_CMD_SUCCESS, + DRM_CMD_FAILED, + DRM_CMD_HANG } drm_cmd_status_t; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_scanout { - uint32_t buffer_id; - uint32_t rotation; - uint32_t stride; + uint32_t buffer_id; + uint32_t rotation; + uint32_t stride; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t depth; - uint32_t width; - uint32_t height; - int32_t transform[3][3]; + uint32_t depth; + uint32_t width; + uint32_t height; + int32_t transform[3][3]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; #define DRM_PSB_SAREA_OWNERS 16 @@ -68,23 +68,23 @@ struct drm_psb_scanout { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define DRM_PSB_SAREA_SCANOUTS 3 struct drm_psb_sarea { - uint32_t major; - uint32_t minor; + uint32_t major; + uint32_t minor; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t ctx_owners[DRM_PSB_SAREA_OWNERS]; - uint32_t num_scanouts; - struct drm_psb_scanout scanouts[DRM_PSB_SAREA_SCANOUTS]; - int planeA_x; + uint32_t ctx_owners[DRM_PSB_SAREA_OWNERS]; + uint32_t num_scanouts; + struct drm_psb_scanout scanouts[DRM_PSB_SAREA_SCANOUTS]; + int planeA_x; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int planeA_y; - int planeA_w; - int planeA_h; - int planeB_x; + int planeA_y; + int planeA_w; + int planeA_h; + int planeB_x; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int planeB_y; - int planeB_w; - int planeB_h; - uint32_t num_active_scanouts; + int planeB_y; + int planeB_w; + int planeB_h; + uint32_t num_active_scanouts; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; #define PSB_RELOC_MAGIC 0x67676767 @@ -96,18 +96,18 @@ struct drm_psb_sarea { #define PSB_RELOC_OP_OFFSET 0 struct drm_psb_reloc { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t reloc_op; - uint32_t where; - uint32_t buffer; - uint32_t mask; + uint32_t reloc_op; + uint32_t where; + uint32_t buffer; + uint32_t mask; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t shift; - uint32_t pre_add; - uint32_t background; - uint32_t dst_buffer; + uint32_t shift; + uint32_t pre_add; + uint32_t background; + uint32_t dst_buffer; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t arg0; - uint32_t arg1; + uint32_t arg0; + uint32_t arg1; }; #define PSB_GPU_ACCESS_READ (1ULL << 32) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -134,434 +134,434 @@ struct drm_psb_reloc { #define _PSB_FENCE_TYPE_FEEDBACK (1 << _PSB_FENCE_FEEDBACK_SHIFT) #define PSB_FEEDBACK_OP_VISTEST (1 << 0) struct drm_psb_extension_rep { - int32_t exists; + int32_t exists; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t driver_ioctl_offset; - uint32_t sarea_offset; - uint32_t major; - uint32_t minor; + uint32_t driver_ioctl_offset; + uint32_t sarea_offset; + uint32_t major; + uint32_t minor; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pl; + uint32_t pl; }; #define DRM_PSB_EXT_NAME_LEN 128 union drm_psb_extension_arg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - char extension[DRM_PSB_EXT_NAME_LEN]; - struct drm_psb_extension_rep rep; + char extension[DRM_PSB_EXT_NAME_LEN]; + struct drm_psb_extension_rep rep; }; #define PSB_NOT_FENCE (1 << 0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define PSB_MEM_CLFLUSH (1 << 1) struct psb_validate_req { - uint64_t set_flags; - uint64_t clear_flags; + uint64_t set_flags; + uint64_t clear_flags; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint64_t next; - uint64_t presumed_gpu_offset; - uint32_t buffer_handle; - uint32_t presumed_flags; + uint64_t next; + uint64_t presumed_gpu_offset; + uint32_t buffer_handle; + uint32_t presumed_flags; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pad64; - uint32_t unfence_flag; + uint32_t pad64; + uint32_t unfence_flag; }; struct psb_validate_rep { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint64_t gpu_offset; - uint32_t placement; - uint32_t fence_type_mask; + uint64_t gpu_offset; + uint32_t placement; + uint32_t fence_type_mask; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define PSB_USE_PRESUMED (1 << 0) struct psb_validate_arg { - uint64_t handled; - uint64_t ret; + uint64_t handled; + uint64_t ret; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union { - struct psb_validate_req req; - struct psb_validate_rep rep; - } d; + union { + struct psb_validate_req req; + struct psb_validate_rep rep; + } d; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; #define DRM_PSB_FENCE_NO_USER (1 << 0) struct psb_ttm_fence_rep { - uint32_t handle; + uint32_t handle; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t fence_class; - uint32_t fence_type; - uint32_t signaled_types; - uint32_t error; + uint32_t fence_class; + uint32_t fence_type; + uint32_t signaled_types; + uint32_t error; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; typedef struct drm_psb_cmdbuf_arg { - uint64_t buffer_list; - uint64_t fence_arg; + uint64_t buffer_list; + uint64_t fence_arg; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t cmdbuf_handle; - uint32_t cmdbuf_offset; - uint32_t cmdbuf_size; - uint32_t reloc_handle; + uint32_t cmdbuf_handle; + uint32_t cmdbuf_offset; + uint32_t cmdbuf_size; + uint32_t reloc_handle; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t reloc_offset; - uint32_t num_relocs; - uint32_t fence_flags; - uint32_t engine; + uint32_t reloc_offset; + uint32_t num_relocs; + uint32_t fence_flags; + uint32_t engine; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } drm_psb_cmdbuf_arg_t; typedef struct drm_psb_pageflip_arg { - uint32_t flip_offset; - uint32_t stride; + uint32_t flip_offset; + uint32_t stride; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } drm_psb_pageflip_arg_t; typedef enum { - LNC_VIDEO_DEVICE_INFO, - LNC_VIDEO_GETPARAM_IMR_INFO, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - LNC_VIDEO_GETPARAM_CI_INFO, - LNC_VIDEO_FRAME_SKIP, - IMG_VIDEO_DECODE_STATUS, - IMG_VIDEO_NEW_CONTEXT, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - IMG_VIDEO_RM_CONTEXT, - IMG_VIDEO_UPDATE_CONTEXT, - IMG_VIDEO_MB_ERROR, - IMG_VIDEO_SET_DISPLAYING_FRAME, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - IMG_VIDEO_GET_DISPLAYING_FRAME, - IMG_VIDEO_GET_HDMI_STATE, - IMG_VIDEO_SET_HDMI_STATE, - PNW_VIDEO_QUERY_ENTRY, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - IMG_DISPLAY_SET_WIDI_EXT_STATE, - IMG_VIDEO_IED_STATE + LNC_VIDEO_DEVICE_INFO, + LNC_VIDEO_GETPARAM_IMR_INFO, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + LNC_VIDEO_GETPARAM_CI_INFO, + LNC_VIDEO_FRAME_SKIP, + IMG_VIDEO_DECODE_STATUS, + IMG_VIDEO_NEW_CONTEXT, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + IMG_VIDEO_RM_CONTEXT, + IMG_VIDEO_UPDATE_CONTEXT, + IMG_VIDEO_MB_ERROR, + IMG_VIDEO_SET_DISPLAYING_FRAME, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + IMG_VIDEO_GET_DISPLAYING_FRAME, + IMG_VIDEO_GET_HDMI_STATE, + IMG_VIDEO_SET_HDMI_STATE, + PNW_VIDEO_QUERY_ENTRY, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + IMG_DISPLAY_SET_WIDI_EXT_STATE, + IMG_VIDEO_IED_STATE } lnc_getparam_key_t; struct drm_lnc_video_getparam_arg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint64_t key; - uint64_t arg; - uint64_t value; + uint64_t key; + uint64_t arg; + uint64_t value; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_video_displaying_frameinfo { - uint32_t buf_handle; - uint32_t width; - uint32_t height; + uint32_t buf_handle; + uint32_t width; + uint32_t height; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t size; - uint32_t format; - uint32_t luma_stride; - uint32_t chroma_u_stride; + uint32_t size; + uint32_t format; + uint32_t luma_stride; + uint32_t chroma_u_stride; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t chroma_v_stride; - uint32_t luma_offset; - uint32_t chroma_u_offset; - uint32_t chroma_v_offset; + uint32_t chroma_v_stride; + uint32_t luma_offset; + uint32_t chroma_u_offset; + uint32_t chroma_v_offset; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t reserved; + uint32_t reserved; }; struct drm_psb_vistest { - uint32_t vt[8]; + uint32_t vt[8]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; struct drm_psb_sizes_arg { - uint32_t ta_mem_size; - uint32_t mmu_size; + uint32_t ta_mem_size; + uint32_t mmu_size; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pds_size; - uint32_t rastgeom_size; - uint32_t tt_size; - uint32_t vram_size; + uint32_t pds_size; + uint32_t rastgeom_size; + uint32_t tt_size; + uint32_t vram_size; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; struct drm_psb_hist_status_arg { - uint32_t buf[32]; + uint32_t buf[32]; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_dpst_lut_arg { - uint8_t lut[256]; - int output_id; + uint8_t lut[256]; + int output_id; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct mrst_timing_info { - uint16_t pixel_clock; - uint8_t hactive_lo; - uint8_t hblank_lo; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t hblank_hi:4; - uint8_t hactive_hi:4; - uint8_t vactive_lo; - uint8_t vblank_lo; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t vblank_hi:4; - uint8_t vactive_hi:4; - uint8_t hsync_offset_lo; - uint8_t hsync_pulse_width_lo; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t vsync_pulse_width_lo:4; - uint8_t vsync_offset_lo:4; - uint8_t vsync_pulse_width_hi:2; - uint8_t vsync_offset_hi:2; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t hsync_pulse_width_hi:2; - uint8_t hsync_offset_hi:2; - uint8_t width_mm_lo; - uint8_t height_mm_lo; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t height_mm_hi:4; - uint8_t width_mm_hi:4; - uint8_t hborder; - uint8_t vborder; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t unknown0:1; - uint8_t hsync_positive:1; - uint8_t vsync_positive:1; - uint8_t separate_sync:2; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t stereo:1; - uint8_t unknown6:1; - uint8_t interlaced:1; + uint16_t pixel_clock; + uint8_t hactive_lo; + uint8_t hblank_lo; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint8_t hblank_hi : 4; + uint8_t hactive_hi : 4; + uint8_t vactive_lo; + uint8_t vblank_lo; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint8_t vblank_hi : 4; + uint8_t vactive_hi : 4; + uint8_t hsync_offset_lo; + uint8_t hsync_pulse_width_lo; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint8_t vsync_pulse_width_lo : 4; + uint8_t vsync_offset_lo : 4; + uint8_t vsync_pulse_width_hi : 2; + uint8_t vsync_offset_hi : 2; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint8_t hsync_pulse_width_hi : 2; + uint8_t hsync_offset_hi : 2; + uint8_t width_mm_lo; + uint8_t height_mm_lo; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint8_t height_mm_hi : 4; + uint8_t width_mm_hi : 4; + uint8_t hborder; + uint8_t vborder; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint8_t unknown0 : 1; + uint8_t hsync_positive : 1; + uint8_t vsync_positive : 1; + uint8_t separate_sync : 2; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint8_t stereo : 1; + uint8_t unknown6 : 1; + uint8_t interlaced : 1; } __attribute__((packed)); /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct gct_r10_timing_info { - uint16_t pixel_clock; - uint32_t hactive_lo:8; - uint32_t hactive_hi:4; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t hblank_lo:8; - uint32_t hblank_hi:4; - uint32_t hsync_offset_lo:8; - uint16_t hsync_offset_hi:2; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t hsync_pulse_width_lo:8; - uint16_t hsync_pulse_width_hi:2; - uint16_t hsync_positive:1; - uint16_t rsvd_1:3; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t vactive_lo:8; - uint16_t vactive_hi:4; - uint16_t vblank_lo:8; - uint16_t vblank_hi:4; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t vsync_offset_lo:4; - uint16_t vsync_offset_hi:2; - uint16_t vsync_pulse_width_lo:4; - uint16_t vsync_pulse_width_hi:2; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t vsync_positive:1; - uint16_t rsvd_2:3; + uint16_t pixel_clock; + uint32_t hactive_lo : 8; + uint32_t hactive_hi : 4; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t hblank_lo : 8; + uint32_t hblank_hi : 4; + uint32_t hsync_offset_lo : 8; + uint16_t hsync_offset_hi : 2; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint16_t hsync_pulse_width_lo : 8; + uint16_t hsync_pulse_width_hi : 2; + uint16_t hsync_positive : 1; + uint16_t rsvd_1 : 3; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint8_t vactive_lo : 8; + uint16_t vactive_hi : 4; + uint16_t vblank_lo : 8; + uint16_t vblank_hi : 4; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint16_t vsync_offset_lo : 4; + uint16_t vsync_offset_hi : 2; + uint16_t vsync_pulse_width_lo : 4; + uint16_t vsync_pulse_width_hi : 2; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint16_t vsync_positive : 1; + uint16_t rsvd_2 : 3; } __attribute__((packed)); struct mrst_panel_descriptor_v1 { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t Panel_Port_Control; - uint32_t Panel_Power_On_Sequencing; - uint32_t Panel_Power_Off_Sequencing; - uint32_t Panel_Power_Cycle_Delay_and_Reference_Divisor; + uint32_t Panel_Port_Control; + uint32_t Panel_Power_On_Sequencing; + uint32_t Panel_Power_Off_Sequencing; + uint32_t Panel_Power_Cycle_Delay_and_Reference_Divisor; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct mrst_timing_info DTD; - uint16_t Panel_Backlight_Inverter_Descriptor; - uint16_t Panel_MIPI_Display_Descriptor; + struct mrst_timing_info DTD; + uint16_t Panel_Backlight_Inverter_Descriptor; + uint16_t Panel_MIPI_Display_Descriptor; } __attribute__((packed)); /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct mrst_panel_descriptor_v2 { - uint32_t Panel_Port_Control; - uint32_t Panel_Power_On_Sequencing; - uint32_t Panel_Power_Off_Sequencing; + uint32_t Panel_Port_Control; + uint32_t Panel_Power_On_Sequencing; + uint32_t Panel_Power_Off_Sequencing; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t Panel_Power_Cycle_Delay_and_Reference_Divisor; - struct mrst_timing_info DTD; - uint16_t Panel_Backlight_Inverter_Descriptor; - uint8_t Panel_Initial_Brightness; + uint8_t Panel_Power_Cycle_Delay_and_Reference_Divisor; + struct mrst_timing_info DTD; + uint16_t Panel_Backlight_Inverter_Descriptor; + uint8_t Panel_Initial_Brightness; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t Panel_MIPI_Display_Descriptor; + uint16_t Panel_MIPI_Display_Descriptor; } __attribute__((packed)); union mrst_panel_rx { - struct { + struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t NumberOfLanes:2; - uint16_t MaxLaneFreq:3; - uint16_t SupportedVideoTransferMode:2; - uint16_t HSClkBehavior:1; + uint16_t NumberOfLanes : 2; + uint16_t MaxLaneFreq : 3; + uint16_t SupportedVideoTransferMode : 2; + uint16_t HSClkBehavior : 1; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t DuoDisplaySupport:1; - uint16_t ECC_ChecksumCapabilities:1; - uint16_t BidirectionalCommunication:1; - uint16_t Rsvd:5; + uint16_t DuoDisplaySupport : 1; + uint16_t ECC_ChecksumCapabilities : 1; + uint16_t BidirectionalCommunication : 1; + uint16_t Rsvd : 5; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } panelrx; - uint16_t panel_receiver; + } panelrx; + uint16_t panel_receiver; } __attribute__((packed)); struct gct_ioctl_arg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t bpi; - uint8_t pt; - struct mrst_timing_info DTD; - uint32_t Panel_Port_Control; + uint8_t bpi; + uint8_t pt; + struct mrst_timing_info DTD; + uint32_t Panel_Port_Control; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t PP_On_Sequencing; - uint32_t PP_Off_Sequencing; - uint32_t PP_Cycle_Delay; - uint16_t Panel_Backlight_Inverter_Descriptor; + uint32_t PP_On_Sequencing; + uint32_t PP_Off_Sequencing; + uint32_t PP_Cycle_Delay; + uint16_t Panel_Backlight_Inverter_Descriptor; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t Panel_MIPI_Display_Descriptor; + uint16_t Panel_MIPI_Display_Descriptor; } __attribute__((packed)); struct gct_timing_desc_block { - uint16_t clock; + uint16_t clock; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t hactive:12; - uint16_t hblank:12; - uint16_t hsync_start:10; - uint16_t hsync_end:10; + uint16_t hactive : 12; + uint16_t hblank : 12; + uint16_t hsync_start : 10; + uint16_t hsync_end : 10; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t hsync_polarity:1; - uint16_t h_reversed:3; - uint16_t vactive:12; - uint16_t vblank:12; + uint16_t hsync_polarity : 1; + uint16_t h_reversed : 3; + uint16_t vactive : 12; + uint16_t vblank : 12; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t vsync_start:6; - uint16_t vsync_end:6; - uint16_t vsync_polarity:1; - uint16_t v_reversed:3; + uint16_t vsync_start : 6; + uint16_t vsync_end : 6; + uint16_t vsync_polarity : 1; + uint16_t v_reversed : 3; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } __packed; struct gct_display_desc_block { - uint8_t type:2; - uint8_t pxiel_format:4; + uint8_t type : 2; + uint8_t pxiel_format : 4; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t mode:2; - uint8_t frame_rate:6; - uint8_t reserved:2; + uint8_t mode : 2; + uint8_t frame_rate : 6; + uint8_t reserved : 2; } __attribute__((packed)); /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct gct_dsi_desc_block { - uint8_t lane_count:2; - uint8_t lane_frequency:3; - uint8_t transfer_mode:2; + uint8_t lane_count : 2; + uint8_t lane_frequency : 3; + uint8_t transfer_mode : 2; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t hs_clock_behavior:1; - uint8_t duo_display_support:1; - uint8_t ecc_caps:1; - uint8_t bdirect_support:1; + uint8_t hs_clock_behavior : 1; + uint8_t duo_display_support : 1; + uint8_t ecc_caps : 1; + uint8_t bdirect_support : 1; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t reversed:5; + uint8_t reversed : 5; } __packed; struct gct_bkl_desc_block { - uint16_t frequency; + uint16_t frequency; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t max_brightness:7; - uint8_t polarity:1; + uint8_t max_brightness : 7; + uint8_t polarity : 1; } __packed; struct gct_r20_clock_desc { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t pre_divisor:2; - uint16_t divisor:9; - uint8_t post_divisor:4; - uint8_t pll_bypass:1; + uint8_t pre_divisor : 2; + uint16_t divisor : 9; + uint8_t post_divisor : 4; + uint8_t pll_bypass : 1; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t cck_clock_divisor:1; - uint8_t reserved:7; + uint8_t cck_clock_divisor : 1; + uint8_t reserved : 7; } __packed; struct gct_r20_panel_info { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t width; - uint16_t height; + uint16_t width; + uint16_t height; } __packed; struct gct_r20_panel_mode { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t mode:1; - uint16_t reserved:15; + uint8_t mode : 1; + uint16_t reserved : 15; } __packed; struct gct_r20_dsi_desc { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t num_dsi_lanes:2; - uint16_t reserved:14; + uint8_t num_dsi_lanes : 2; + uint16_t reserved : 14; } __packed; struct gct_r20_panel_desc { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t panel_name[16]; - struct gct_timing_desc_block timing; - struct gct_r20_clock_desc clock_desc; - struct gct_r20_panel_info panel_info; + uint8_t panel_name[16]; + struct gct_timing_desc_block timing; + struct gct_r20_clock_desc clock_desc; + struct gct_r20_panel_info panel_info; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct gct_r20_panel_mode panel_mode; - struct gct_r20_dsi_desc dsi_desc; - uint32_t early_init_seq; - uint32_t late_init_seq; + struct gct_r20_panel_mode panel_mode; + struct gct_r20_dsi_desc dsi_desc; + uint32_t early_init_seq; + uint32_t late_init_seq; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } __packed; struct gct_r11_panel_desc { - uint8_t panel_name[16]; - struct gct_timing_desc_block timing; + uint8_t panel_name[16]; + struct gct_timing_desc_block timing; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct gct_display_desc_block display; - struct gct_dsi_desc_block dsi; - struct gct_bkl_desc_block bkl; - uint32_t early_init_seq; + struct gct_display_desc_block display; + struct gct_dsi_desc_block dsi; + struct gct_bkl_desc_block bkl; + uint32_t early_init_seq; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t late_init_seq; + uint32_t late_init_seq; } __packed; struct gct_r10_panel_desc { - struct gct_timing_desc_block timing; + struct gct_timing_desc_block timing; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct gct_display_desc_block display; - struct gct_dsi_desc_block dsi; - struct gct_bkl_desc_block bkl; - uint32_t early_init_seq; + struct gct_display_desc_block display; + struct gct_dsi_desc_block dsi; + struct gct_bkl_desc_block bkl; + uint32_t early_init_seq; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t late_init_seq; - uint8_t reversed[4]; + uint32_t late_init_seq; + uint8_t reversed[4]; } __packed; struct intel_mid_vbt { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - char signature[4]; - uint8_t revision; - uint8_t checksum; - uint16_t size; + char signature[4]; + uint8_t revision; + uint8_t checksum; + uint16_t size; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t num_of_panel_desc; - uint8_t primary_panel_idx; - uint8_t secondary_panel_idx; - uint8_t splash_flag; + uint8_t num_of_panel_desc; + uint8_t primary_panel_idx; + uint8_t secondary_panel_idx; + uint8_t splash_flag; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint8_t reserved[4]; - void *panel_descs; + uint8_t reserved[4]; + void * panel_descs; } __packed; struct mrst_vbt { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - char Signature[4]; - uint8_t Revision; - uint8_t Size; - uint8_t Checksum; + char Signature[4]; + uint8_t Revision; + uint8_t Size; + uint8_t Checksum; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - void *mrst_gct; -} __attribute__ ((packed)); + void * mrst_gct; +} __attribute__((packed)); struct mrst_gct_v1 { - union { + union { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct { - uint8_t PanelType:4; - uint8_t BootPanelIndex:2; - uint8_t BootMIPI_DSI_RxIndex:2; + struct { + uint8_t PanelType : 4; + uint8_t BootPanelIndex : 2; + uint8_t BootMIPI_DSI_RxIndex : 2; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } PD; - uint8_t PanelDescriptor; - }; - struct mrst_panel_descriptor_v1 panel[4]; + } PD; + uint8_t PanelDescriptor; + }; + struct mrst_panel_descriptor_v1 panel[4]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union mrst_panel_rx panelrx[4]; + union mrst_panel_rx panelrx[4]; } __attribute__((packed)); struct mrst_gct_v2 { - union { + union { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct { - uint8_t PanelType:4; - uint8_t BootPanelIndex:2; - uint8_t BootMIPI_DSI_RxIndex:2; + struct { + uint8_t PanelType : 4; + uint8_t BootPanelIndex : 2; + uint8_t BootMIPI_DSI_RxIndex : 2; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } PD; - uint8_t PanelDescriptor; - }; - struct mrst_panel_descriptor_v2 panel[4]; + } PD; + uint8_t PanelDescriptor; + }; + struct mrst_panel_descriptor_v2 panel[4]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union mrst_panel_rx panelrx[4]; + union mrst_panel_rx panelrx[4]; } __attribute__((packed)); #define PSB_DC_CRTC_SAVE 0x01 #define PSB_DC_CRTC_RESTORE 0x02 @@ -572,21 +572,21 @@ struct mrst_gct_v2 { #define PSB_DC_OUTPUT_MASK 0x0C /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_dc_state_arg { - uint32_t flags; - uint32_t obj_id; + uint32_t flags; + uint32_t obj_id; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_mode_operation_arg { - uint32_t obj_id; - uint16_t operation; - struct drm_mode_modeinfo mode; + uint32_t obj_id; + uint16_t operation; + struct drm_mode_modeinfo mode; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - void *data; + void * data; }; struct drm_psb_stolen_memory_arg { - uint32_t base; + uint32_t base; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t size; + uint32_t size; }; #define REGRWBITS_PFIT_CONTROLS (1 << 0) #define REGRWBITS_PFIT_AUTOSCALE_RATIOS (1 << 1) @@ -638,96 +638,96 @@ struct drm_psb_stolen_memory_arg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define MAX_TAPS 5 struct overlay_ctrl_blk { - uint32_t OBUF_0Y; - uint32_t OBUF_1Y; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OBUF_0U; - uint32_t OBUF_0V; - uint32_t OBUF_1U; - uint32_t OBUF_1V; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OSTRIDE; - uint32_t YRGB_VPH; - uint32_t UV_VPH; - uint32_t HORZ_PH; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t INIT_PHS; - uint32_t DWINPOS; - uint32_t DWINSZ; - uint32_t SWIDTH; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t SWIDTHSW; - uint32_t SHEIGHT; - uint32_t YRGBSCALE; - uint32_t UVSCALE; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OCLRC0; - uint32_t OCLRC1; - uint32_t DCLRKV; - uint32_t DCLRKM; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t SCHRKVH; - uint32_t SCHRKVL; - uint32_t SCHRKEN; - uint32_t OCONFIG; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OCMD; - uint32_t RESERVED1; - uint32_t OSTART_0Y; - uint32_t OSTART_1Y; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OSTART_0U; - uint32_t OSTART_0V; - uint32_t OSTART_1U; - uint32_t OSTART_1V; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OTILEOFF_0Y; - uint32_t OTILEOFF_1Y; - uint32_t OTILEOFF_0U; - uint32_t OTILEOFF_0V; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OTILEOFF_1U; - uint32_t OTILEOFF_1V; - uint32_t FASTHSCALE; - uint32_t UVSCALEV; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t RESERVEDC[(0x200 - 0xA8) / 4]; - uint16_t Y_VCOEFS[N_VERT_Y_TAPS * N_PHASES]; - uint16_t RESERVEDD[0x100 / 2 - N_VERT_Y_TAPS * N_PHASES]; - uint16_t Y_HCOEFS[N_HORIZ_Y_TAPS * N_PHASES]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t RESERVEDE[0x200 / 2 - N_HORIZ_Y_TAPS * N_PHASES]; - uint16_t UV_VCOEFS[N_VERT_UV_TAPS * N_PHASES]; - uint16_t RESERVEDF[0x100 / 2 - N_VERT_UV_TAPS * N_PHASES]; - uint16_t UV_HCOEFS[N_HORIZ_UV_TAPS * N_PHASES]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint16_t RESERVEDG[0x100 / 2 - N_HORIZ_UV_TAPS * N_PHASES]; + uint32_t OBUF_0Y; + uint32_t OBUF_1Y; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OBUF_0U; + uint32_t OBUF_0V; + uint32_t OBUF_1U; + uint32_t OBUF_1V; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OSTRIDE; + uint32_t YRGB_VPH; + uint32_t UV_VPH; + uint32_t HORZ_PH; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t INIT_PHS; + uint32_t DWINPOS; + uint32_t DWINSZ; + uint32_t SWIDTH; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t SWIDTHSW; + uint32_t SHEIGHT; + uint32_t YRGBSCALE; + uint32_t UVSCALE; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OCLRC0; + uint32_t OCLRC1; + uint32_t DCLRKV; + uint32_t DCLRKM; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t SCHRKVH; + uint32_t SCHRKVL; + uint32_t SCHRKEN; + uint32_t OCONFIG; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OCMD; + uint32_t RESERVED1; + uint32_t OSTART_0Y; + uint32_t OSTART_1Y; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OSTART_0U; + uint32_t OSTART_0V; + uint32_t OSTART_1U; + uint32_t OSTART_1V; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OTILEOFF_0Y; + uint32_t OTILEOFF_1Y; + uint32_t OTILEOFF_0U; + uint32_t OTILEOFF_0V; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OTILEOFF_1U; + uint32_t OTILEOFF_1V; + uint32_t FASTHSCALE; + uint32_t UVSCALEV; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t RESERVEDC[(0x200 - 0xA8) / 4]; + uint16_t Y_VCOEFS[N_VERT_Y_TAPS * N_PHASES]; + uint16_t RESERVEDD[0x100 / 2 - N_VERT_Y_TAPS * N_PHASES]; + uint16_t Y_HCOEFS[N_HORIZ_Y_TAPS * N_PHASES]; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint16_t RESERVEDE[0x200 / 2 - N_HORIZ_Y_TAPS * N_PHASES]; + uint16_t UV_VCOEFS[N_VERT_UV_TAPS * N_PHASES]; + uint16_t RESERVEDF[0x100 / 2 - N_VERT_UV_TAPS * N_PHASES]; + uint16_t UV_HCOEFS[N_HORIZ_UV_TAPS * N_PHASES]; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint16_t RESERVEDG[0x100 / 2 - N_HORIZ_UV_TAPS * N_PHASES]; }; struct intel_overlay_context { - uint32_t index; + uint32_t index; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pipe; - uint32_t ovadd; + uint32_t pipe; + uint32_t ovadd; }; struct intel_sprite_context { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t update_mask; - uint32_t index; - uint32_t pipe; - uint32_t cntr; + uint32_t update_mask; + uint32_t index; + uint32_t pipe; + uint32_t cntr; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t linoff; - uint32_t stride; - uint32_t pos; - uint32_t size; + uint32_t linoff; + uint32_t stride; + uint32_t pos; + uint32_t size; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t keyminval; - uint32_t keymask; - uint32_t surf; - uint32_t keymaxval; + uint32_t keyminval; + uint32_t keymask; + uint32_t surf; + uint32_t keymaxval; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t tileoff; - uint32_t contalpa; + uint32_t tileoff; + uint32_t contalpa; }; #define INTEL_SPRITE_PLANE_NUM 3 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -748,187 +748,187 @@ struct intel_sprite_context { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define INVALID_INDEX 0xffffffff struct mdfld_plane_contexts { - uint32_t active_primaries; - uint32_t active_sprites; + uint32_t active_primaries; + uint32_t active_sprites; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t active_overlays; - struct intel_sprite_context primary_contexts[INTEL_SPRITE_PLANE_NUM]; - struct intel_sprite_context sprite_contexts[INTEL_SPRITE_PLANE_NUM]; - struct intel_overlay_context overlay_contexts[INTEL_OVERLAY_PLANE_NUM]; + uint32_t active_overlays; + struct intel_sprite_context primary_contexts[INTEL_SPRITE_PLANE_NUM]; + struct intel_sprite_context sprite_contexts[INTEL_SPRITE_PLANE_NUM]; + struct intel_overlay_context overlay_contexts[INTEL_OVERLAY_PLANE_NUM]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; struct drm_psb_vsync_set_arg { - uint32_t vsync_operation_mask; - struct { + uint32_t vsync_operation_mask; + struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pipe; - int vsync_pipe; - int vsync_count; - uint64_t timestamp; + uint32_t pipe; + int vsync_pipe; + int vsync_count; + uint64_t timestamp; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } vsync; + } vsync; }; struct drm_psb_dc_info { - uint32_t pipe_count; + uint32_t pipe_count; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t primary_plane_count; - uint32_t sprite_plane_count; - uint32_t overlay_plane_count; - uint32_t cursor_plane_count; + uint32_t primary_plane_count; + uint32_t sprite_plane_count; + uint32_t overlay_plane_count; + uint32_t cursor_plane_count; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; struct drm_psb_register_rw_arg { - uint32_t b_force_hw_on; - uint32_t display_read_mask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t display_write_mask; - struct { - uint32_t pfit_controls; - uint32_t pfit_autoscale_ratios; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pfit_programmed_scale_ratios; - uint32_t pipeasrc; - uint32_t pipebsrc; - uint32_t vtotal_a; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t vtotal_b; - uint32_t dspcntr_a; - uint32_t dspcntr_b; - uint32_t pipestat_a; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t int_mask; - uint32_t int_enable; - } display; - uint32_t overlay_read_mask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t overlay_write_mask; - struct { - uint32_t OVADD; - uint32_t OGAMC0; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OGAMC1; - uint32_t OGAMC2; - uint32_t OGAMC3; - uint32_t OGAMC4; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t OGAMC5; - uint32_t IEP_ENABLED; - uint32_t IEP_BLE_MINMAX; - uint32_t IEP_BSSCC_CONTROL; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t index; - uint32_t b_wait_vblank; - uint32_t b_wms; - uint32_t buffer_handle; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t backbuf_index; - uint32_t backbuf_addr; - } overlay; - uint32_t vsync_operation_mask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct { - uint32_t pipe; - int vsync_pipe; - int vsync_count; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint64_t timestamp; - } vsync; - uint32_t sprite_enable_mask; - uint32_t sprite_disable_mask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct { - uint32_t dspa_control; - uint32_t dspa_key_value; - uint32_t dspa_key_mask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t dspc_control; - uint32_t dspc_stride; - uint32_t dspc_position; - uint32_t dspc_linear_offset; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t dspc_size; - uint32_t dspc_surface; - } sprite; - uint32_t subpicture_enable_mask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t subpicture_disable_mask; - struct { - uint32_t CursorADDR; - uint32_t xPos; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t yPos; - uint32_t CursorSize; - } cursor; - uint32_t cursor_enable_mask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t cursor_disable_mask; - uint32_t plane_enable_mask; - uint32_t plane_disable_mask; - uint32_t get_plane_state_mask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct { - uint32_t type; - uint32_t index; - uint32_t ctx; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } plane; + uint32_t b_force_hw_on; + uint32_t display_read_mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t display_write_mask; + struct { + uint32_t pfit_controls; + uint32_t pfit_autoscale_ratios; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t pfit_programmed_scale_ratios; + uint32_t pipeasrc; + uint32_t pipebsrc; + uint32_t vtotal_a; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t vtotal_b; + uint32_t dspcntr_a; + uint32_t dspcntr_b; + uint32_t pipestat_a; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t int_mask; + uint32_t int_enable; + } display; + uint32_t overlay_read_mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t overlay_write_mask; + struct { + uint32_t OVADD; + uint32_t OGAMC0; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OGAMC1; + uint32_t OGAMC2; + uint32_t OGAMC3; + uint32_t OGAMC4; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t OGAMC5; + uint32_t IEP_ENABLED; + uint32_t IEP_BLE_MINMAX; + uint32_t IEP_BSSCC_CONTROL; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t index; + uint32_t b_wait_vblank; + uint32_t b_wms; + uint32_t buffer_handle; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t backbuf_index; + uint32_t backbuf_addr; + } overlay; + uint32_t vsync_operation_mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct { + uint32_t pipe; + int vsync_pipe; + int vsync_count; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint64_t timestamp; + } vsync; + uint32_t sprite_enable_mask; + uint32_t sprite_disable_mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct { + uint32_t dspa_control; + uint32_t dspa_key_value; + uint32_t dspa_key_mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t dspc_control; + uint32_t dspc_stride; + uint32_t dspc_position; + uint32_t dspc_linear_offset; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t dspc_size; + uint32_t dspc_surface; + } sprite; + uint32_t subpicture_enable_mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t subpicture_disable_mask; + struct { + uint32_t CursorADDR; + uint32_t xPos; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t yPos; + uint32_t CursorSize; + } cursor; + uint32_t cursor_enable_mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t cursor_disable_mask; + uint32_t plane_enable_mask; + uint32_t plane_disable_mask; + uint32_t get_plane_state_mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct { + uint32_t type; + uint32_t index; + uint32_t ctx; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + } plane; }; enum { - PSB_DC_PLANE_ENABLED, + PSB_DC_PLANE_ENABLED, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - PSB_DC_PLANE_DISABLED, + PSB_DC_PLANE_DISABLED, }; enum { - PSB_GTT_MAP_TYPE_MEMINFO = 0, + PSB_GTT_MAP_TYPE_MEMINFO = 0, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - PSB_GTT_MAP_TYPE_BCD, - PSB_GTT_MAP_TYPE_BCD_INFO, - PSB_GTT_MAP_TYPE_VIRTUAL, + PSB_GTT_MAP_TYPE_BCD, + PSB_GTT_MAP_TYPE_BCD_INFO, + PSB_GTT_MAP_TYPE_VIRTUAL, }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct psb_gtt_mapping_arg { - uint32_t type; - void *hKernelMemInfo; - uint32_t offset_pages; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t page_align; - uint32_t bcd_device_id; - uint32_t bcd_buffer_id; - uint32_t bcd_buffer_count; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t bcd_buffer_stride; - unsigned long vaddr; - uint32_t size; + uint32_t type; + void * hKernelMemInfo; + uint32_t offset_pages; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t page_align; + uint32_t bcd_device_id; + uint32_t bcd_buffer_id; + uint32_t bcd_buffer_count; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + uint32_t bcd_buffer_stride; + unsigned long vaddr; + uint32_t size; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_getpageaddrs_arg { - uint64_t handle; - uint64_t page_addrs; - uint64_t gtt_offset; + uint64_t handle; + uint64_t page_addrs; + uint64_t gtt_offset; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; #define MAX_SLICES_PER_PICTURE 72 struct psb_msvdx_mb_region { - uint32_t start; + uint32_t start; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t end; + uint32_t end; }; typedef struct drm_psb_msvdx_decode_status { - uint32_t num_region; + uint32_t num_region; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct psb_msvdx_mb_region mb_regions[MAX_SLICES_PER_PICTURE]; + struct psb_msvdx_mb_region mb_regions[MAX_SLICES_PER_PICTURE]; } drm_psb_msvdx_decode_status_t; enum { - IDLE_CTRL_ENABLE = 0, + IDLE_CTRL_ENABLE = 0, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - IDLE_CTRL_DISABLE, - IDLE_CTRL_ENTER, - IDLE_CTRL_EXIT + IDLE_CTRL_DISABLE, + IDLE_CTRL_ENTER, + IDLE_CTRL_EXIT }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_idle_ctrl { - uint32_t cmd; - uint32_t value; + uint32_t cmd; + uint32_t value; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define DRM_PSB_KMS_OFF 0x00 @@ -1006,10 +1006,10 @@ struct drm_psb_idle_ctrl { #define HT_FORCEON 4 typedef struct tagHDMITESTREGREADWRITE { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int reg; - unsigned int data; - int mode; -} drm_psb_hdmireg_t, *drm_psb_hdmireg_p; + unsigned int reg; + unsigned int data; + int mode; +} drm_psb_hdmireg_t, * drm_psb_hdmireg_p; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define DRM_PSB_PANEL_ORIENTATION 0x3B #define DRM_PSB_UPDATE_CURSOR_POS 0x3C @@ -1032,31 +1032,31 @@ typedef struct tagHDMITESTREGREADWRITE { #define DRM_PSB_DSR_DISABLE 0xffffffff /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_csc_matrix { - int pipe; - int64_t matrix[9]; -}__attribute__((packed)); + int pipe; + int64_t matrix[9]; +} __attribute__((packed)); /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct psb_drm_dpu_rect { - int x, y; - int width, height; + int x, y; + int width, height; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_drv_dsr_off_arg { - int screen; - struct psb_drm_dpu_rect damage_rect; + int screen; + struct psb_drm_dpu_rect damage_rect; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_dev_info_arg { - uint32_t num_use_attribute_registers; + uint32_t num_use_attribute_registers; }; #define DRM_PSB_DEVINFO 0x01 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define PSB_MODE_OPERATION_MODE_VALID 0x01 #define PSB_MODE_OPERATION_SET_DC_BASE 0x02 struct drm_psb_get_pipe_from_crtc_id_arg { - uint32_t crtc_id; + uint32_t crtc_id; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pipe; + uint32_t pipe; }; #define DRM_PSB_DISP_SAVE_HDMI_FB_HANDLE 1 #define DRM_PSB_DISP_GET_HDMI_FB_HANDLE 2 @@ -1071,25 +1071,25 @@ struct drm_psb_get_pipe_from_crtc_id_arg { #define DRM_PSB_HDMI_NOTIFY_HOTPLUG_TO_AUDIO 7 typedef enum { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - GAMMA, - CSC, - GAMMA_INITIA, - GAMMA_SETTING, + GAMMA, + CSC, + GAMMA_INITIA, + GAMMA_SETTING, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - GAMMA_REG_SETTING, - CSC_INITIA, - CSC_CHROME_SETTING, - CSC_SETTING, + GAMMA_REG_SETTING, + CSC_INITIA, + CSC_CHROME_SETTING, + CSC_SETTING, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - CSC_REG_SETTING + CSC_REG_SETTING } setting_type; typedef enum { - GAMMA_05 = 1, + GAMMA_05 = 1, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - GAMMA_20, - GAMMA_05_20, - GAMMA_20_05, - GAMMA_10 + GAMMA_20, + GAMMA_05_20, + GAMMA_20_05, + GAMMA_10 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } gamma_mode; #define CSC_REG_COUNT 6 @@ -1097,56 +1097,56 @@ typedef enum { #define CSC_COUNT 9 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct csc_setting { - uint32_t pipe; - setting_type type; - bool enable_state; + uint32_t pipe; + setting_type type; + bool enable_state; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t data_len; - union { - int csc_reg_data[CSC_REG_COUNT]; - int chrome_data[CHROME_COUNT]; + uint32_t data_len; + union { + int csc_reg_data[CSC_REG_COUNT]; + int chrome_data[CHROME_COUNT]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int64_t csc_data[CSC_COUNT]; - } data; + int64_t csc_data[CSC_COUNT]; + } data; }; #define GAMMA_10_BIT_TABLE_COUNT 132 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct gamma_setting { - uint32_t pipe; - setting_type type; - bool enable_state; + uint32_t pipe; + setting_type type; + bool enable_state; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - gamma_mode initia_mode; - uint32_t data_len; - uint32_t gamma_tableX100[GAMMA_10_BIT_TABLE_COUNT]; + gamma_mode initia_mode; + uint32_t data_len; + uint32_t gamma_tableX100[GAMMA_10_BIT_TABLE_COUNT]; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct drm_psb_csc_gamma_setting { - setting_type type; - union { - struct csc_setting csc_data; + setting_type type; + union { + struct csc_setting csc_data; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct gamma_setting gamma_data; - } data; -}__attribute__((packed)); + struct gamma_setting gamma_data; + } data; +} __attribute__((packed)); struct drm_psb_buffer_data { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - void *h_buffer; + void * h_buffer; }; struct drm_psb_flip_chain_data { - void **h_buffer_array; + void * * h_buffer_array; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int size; + unsigned int size; }; struct drm_psb_disp_ctrl { - uint32_t cmd; + uint32_t cmd; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union { - uint32_t data; - struct drm_psb_buffer_data buf_data; - struct drm_psb_flip_chain_data flip_chain_data; + union { + uint32_t data; + struct drm_psb_buffer_data buf_data; + struct drm_psb_flip_chain_data flip_chain_data; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } u; + } u; }; #define S3D_MIPIA_DISPLAY 0 #define S3D_HDMI_DISPLAY 1 @@ -1154,29 +1154,29 @@ struct drm_psb_disp_ctrl { #define S3D_MIPIC_DISPLAY 2 #define S3D_WIDI_DISPLAY 0xFF struct drm_psb_s3d_query { - uint32_t s3d_display_type; + uint32_t s3d_display_type; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t is_s3d_supported; - uint32_t s3d_format; - uint32_t mode_resolution_x; - uint32_t mode_resolution_y; + uint32_t is_s3d_supported; + uint32_t s3d_format; + uint32_t mode_resolution_x; + uint32_t mode_resolution_y; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t mode_refresh_rate; - uint32_t is_interleaving; + uint32_t mode_refresh_rate; + uint32_t is_interleaving; }; struct drm_psb_s3d_premodeset { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t s3d_buffer_format; + uint32_t s3d_buffer_format; }; typedef enum intel_dc_plane_types { - DC_UNKNOWN_PLANE = 0, + DC_UNKNOWN_PLANE = 0, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - DC_SPRITE_PLANE = 1, - DC_OVERLAY_PLANE, - DC_PRIMARY_PLANE, - DC_CURSOR_PLANE, + DC_SPRITE_PLANE = 1, + DC_OVERLAY_PLANE, + DC_PRIMARY_PLANE, + DC_CURSOR_PLANE, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - DC_PLANE_MAX, + DC_PLANE_MAX, } DC_MRFLD_PLANE_TYPE; #define SPRITE_UPDATE_SURFACE (0x00000001UL) #define SPRITE_UPDATE_CONTROL (0x00000002UL) @@ -1189,77 +1189,77 @@ typedef enum intel_dc_plane_types { #define SPRITE_UPDATE_ALL (0x0000003fUL) #define MRFLD_PRIMARY_COUNT 3 typedef struct intel_dc_overlay_ctx { - uint32_t index; + uint32_t index; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pipe; - uint32_t ovadd; + uint32_t pipe; + uint32_t ovadd; } DC_MRFLD_OVERLAY_CONTEXT; typedef struct intel_dc_cursor_ctx { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t index; - uint32_t pipe; - uint32_t cntr; - uint32_t surf; + uint32_t index; + uint32_t pipe; + uint32_t cntr; + uint32_t surf; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t pos; + uint32_t pos; } DC_MRFLD_CURSOR_CONTEXT; typedef struct intel_dc_sprite_ctx { - uint32_t update_mask; + uint32_t update_mask; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t index; - uint32_t pipe; - uint32_t cntr; - uint32_t linoff; + uint32_t index; + uint32_t pipe; + uint32_t cntr; + uint32_t linoff; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t stride; - uint32_t pos; - uint32_t size; - uint32_t keyminval; + uint32_t stride; + uint32_t pos; + uint32_t size; + uint32_t keyminval; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t keymask; - uint32_t surf; - uint32_t keymaxval; - uint32_t tileoff; + uint32_t keymask; + uint32_t surf; + uint32_t keymaxval; + uint32_t tileoff; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t contalpa; + uint32_t contalpa; } DC_MRFLD_SPRITE_CONTEXT; typedef struct intel_dc_primary_ctx { - uint32_t update_mask; + uint32_t update_mask; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t index; - uint32_t pipe; - uint32_t cntr; - uint32_t linoff; + uint32_t index; + uint32_t pipe; + uint32_t cntr; + uint32_t linoff; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t stride; - uint32_t pos; - uint32_t size; - uint32_t keyminval; + uint32_t stride; + uint32_t pos; + uint32_t size; + uint32_t keyminval; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t keymask; - uint32_t surf; - uint32_t keymaxval; - uint32_t tileoff; + uint32_t keymask; + uint32_t surf; + uint32_t keymaxval; + uint32_t tileoff; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t contalpa; + uint32_t contalpa; } DC_MRFLD_PRIMARY_CONTEXT; typedef struct intel_dc_plane_zorder { - uint32_t forceBottom[3]; + uint32_t forceBottom[3]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - uint32_t abovePrimary; + uint32_t abovePrimary; } DC_MRFLD_DC_PLANE_ZORDER; typedef struct intel_dc_plane_ctx { - enum intel_dc_plane_types type; + enum intel_dc_plane_types type; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct intel_dc_plane_zorder zorder; - uint64_t gtt_key; - union { - struct intel_dc_overlay_ctx ov_ctx; + struct intel_dc_plane_zorder zorder; + uint64_t gtt_key; + union { + struct intel_dc_overlay_ctx ov_ctx; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct intel_dc_sprite_ctx sp_ctx; - struct intel_dc_primary_ctx prim_ctx; - struct intel_dc_cursor_ctx cs_ctx; - } ctx; + struct intel_dc_sprite_ctx sp_ctx; + struct intel_dc_primary_ctx prim_ctx; + struct intel_dc_cursor_ctx cs_ctx; + } ctx; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } __attribute__((packed)) DC_MRFLD_SURF_CUSTOM; #endif diff --git a/kernel-headers/linux/sound/intel_sst_ioctl.h b/kernel-headers/linux/sound/intel_sst_ioctl.h index 40ffbf2..cb4f1fd 100644 --- a/kernel-headers/linux/sound/intel_sst_ioctl.h +++ b/kernel-headers/linux/sound/intel_sst_ioctl.h @@ -21,25 +21,25 @@ #include <linux/types.h> struct snd_ppp_params { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u8 algo_id; - __u8 str_id; - __u8 enable; - __u8 operation; + __u8 algo_id; + __u8 str_id; + __u8 enable; + __u8 operation; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u32 size; - void *params; + __u32 size; + void * params; } __packed; struct snd_sst_driver_info { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u32 max_streams; + __u32 max_streams; }; struct snd_sst_tuning_params { - __u8 type; + __u8 type; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u8 str_id; - __u8 size; - __u8 rsvd; - __u64 addr; + __u8 str_id; + __u8 size; + __u8 rsvd; + __u64 addr; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } __packed; #define SNDRV_SST_DRIVER_INFO _IOR('L', 0x10, struct snd_sst_driver_info) diff --git a/kernel-headers/uapi/sound/asound.h b/kernel-headers/uapi/sound/asound.h deleted file mode 100644 index 111bdf8..0000000 --- a/kernel-headers/uapi/sound/asound.h +++ /dev/null @@ -1,989 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _UAPI__SOUND_ASOUND_H -#define _UAPI__SOUND_ASOUND_H -#include <linux/types.h> -#define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor)) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PROTOCOL_MAJOR(version) (((version)>>16)&0xffff) -#define SNDRV_PROTOCOL_MINOR(version) (((version)>>8)&0xff) -#define SNDRV_PROTOCOL_MICRO(version) ((version)&0xff) -#define SNDRV_PROTOCOL_INCOMPATIBLE(kversion, uversion) (SNDRV_PROTOCOL_MAJOR(kversion) != SNDRV_PROTOCOL_MAJOR(uversion) || (SNDRV_PROTOCOL_MAJOR(kversion) == SNDRV_PROTOCOL_MAJOR(uversion) && SNDRV_PROTOCOL_MINOR(kversion) != SNDRV_PROTOCOL_MINOR(uversion))) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct snd_aes_iec958 { - unsigned char status[24]; - unsigned char subcode[147]; - unsigned char pad; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char dig_subframe[4]; -}; -struct snd_cea_861_aud_if { - unsigned char db1_ct_cc; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char db2_sf_ss; - unsigned char db3; - unsigned char db4_ca; - unsigned char db5_dminh_lsv; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -#define SNDRV_HWDEP_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 1) -enum { - SNDRV_HWDEP_IFACE_OPL2 = 0, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_HWDEP_IFACE_OPL3, - SNDRV_HWDEP_IFACE_OPL4, - SNDRV_HWDEP_IFACE_SB16CSP, - SNDRV_HWDEP_IFACE_EMU10K1, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_HWDEP_IFACE_YSS225, - SNDRV_HWDEP_IFACE_ICS2115, - SNDRV_HWDEP_IFACE_SSCAPE, - SNDRV_HWDEP_IFACE_VX, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_HWDEP_IFACE_MIXART, - SNDRV_HWDEP_IFACE_USX2Y, - SNDRV_HWDEP_IFACE_EMUX_WAVETABLE, - SNDRV_HWDEP_IFACE_BLUETOOTH, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_HWDEP_IFACE_USX2Y_PCM, - SNDRV_HWDEP_IFACE_PCXHR, - SNDRV_HWDEP_IFACE_SB_RC, - SNDRV_HWDEP_IFACE_HDA, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_HWDEP_IFACE_USB_STREAM, - SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_USB_STREAM -}; -struct snd_hwdep_info { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int device; - int card; - unsigned char id[64]; - unsigned char name[80]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int iface; - unsigned char reserved[64]; -}; -struct snd_hwdep_dsp_status { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int version; - unsigned char id[32]; - unsigned int num_dsps; - unsigned int dsp_loaded; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int chip_ready; - unsigned char reserved[16]; -}; -struct snd_hwdep_dsp_image { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int index; - unsigned char name[64]; - unsigned char __user *image; - size_t length; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned long driver_data; -}; -#define SNDRV_HWDEP_IOCTL_PVERSION _IOR ('H', 0x00, int) -#define SNDRV_HWDEP_IOCTL_INFO _IOR ('H', 0x01, struct snd_hwdep_info) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_HWDEP_IOCTL_DSP_STATUS _IOR('H', 0x02, struct snd_hwdep_dsp_status) -#define SNDRV_HWDEP_IOCTL_DSP_LOAD _IOW('H', 0x03, struct snd_hwdep_dsp_image) -#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 11) -typedef unsigned long snd_pcm_uframes_t; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -typedef signed long snd_pcm_sframes_t; -enum { - SNDRV_PCM_CLASS_GENERIC = 0, - SNDRV_PCM_CLASS_MULTI, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_PCM_CLASS_MODEM, - SNDRV_PCM_CLASS_DIGITIZER, - SNDRV_PCM_CLASS_LAST = SNDRV_PCM_CLASS_DIGITIZER, -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -enum { - SNDRV_PCM_SUBCLASS_GENERIC_MIX = 0, - SNDRV_PCM_SUBCLASS_MULTI_MIX, - SNDRV_PCM_SUBCLASS_LAST = SNDRV_PCM_SUBCLASS_MULTI_MIX, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -enum { - SNDRV_PCM_STREAM_PLAYBACK = 0, - SNDRV_PCM_STREAM_CAPTURE, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_PCM_STREAM_LAST = SNDRV_PCM_STREAM_CAPTURE, -}; -typedef int __bitwise snd_pcm_access_t; -#define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) -#define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) -#define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) -#define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_ACCESS_LAST SNDRV_PCM_ACCESS_RW_NONINTERLEAVED -typedef int __bitwise snd_pcm_format_t; -#define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0) -#define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2) -#define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3) -#define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4) -#define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) -#define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) -#define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) -#define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10) -#define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11) -#define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12) -#define SNDRV_PCM_FORMAT_U32_BE ((__force snd_pcm_format_t) 13) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_FLOAT_LE ((__force snd_pcm_format_t) 14) -#define SNDRV_PCM_FORMAT_FLOAT_BE ((__force snd_pcm_format_t) 15) -#define SNDRV_PCM_FORMAT_FLOAT64_LE ((__force snd_pcm_format_t) 16) -#define SNDRV_PCM_FORMAT_FLOAT64_BE ((__force snd_pcm_format_t) 17) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ((__force snd_pcm_format_t) 18) -#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE ((__force snd_pcm_format_t) 19) -#define SNDRV_PCM_FORMAT_MU_LAW ((__force snd_pcm_format_t) 20) -#define SNDRV_PCM_FORMAT_A_LAW ((__force snd_pcm_format_t) 21) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_IMA_ADPCM ((__force snd_pcm_format_t) 22) -#define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23) -#define SNDRV_PCM_FORMAT_GSM ((__force snd_pcm_format_t) 24) -#define SNDRV_PCM_FORMAT_SPECIAL ((__force snd_pcm_format_t) 31) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32) -#define SNDRV_PCM_FORMAT_S24_3BE ((__force snd_pcm_format_t) 33) -#define SNDRV_PCM_FORMAT_U24_3LE ((__force snd_pcm_format_t) 34) -#define SNDRV_PCM_FORMAT_U24_3BE ((__force snd_pcm_format_t) 35) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_S20_3LE ((__force snd_pcm_format_t) 36) -#define SNDRV_PCM_FORMAT_S20_3BE ((__force snd_pcm_format_t) 37) -#define SNDRV_PCM_FORMAT_U20_3LE ((__force snd_pcm_format_t) 38) -#define SNDRV_PCM_FORMAT_U20_3BE ((__force snd_pcm_format_t) 39) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_S18_3LE ((__force snd_pcm_format_t) 40) -#define SNDRV_PCM_FORMAT_S18_3BE ((__force snd_pcm_format_t) 41) -#define SNDRV_PCM_FORMAT_U18_3LE ((__force snd_pcm_format_t) 42) -#define SNDRV_PCM_FORMAT_U18_3BE ((__force snd_pcm_format_t) 43) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_G723_24 ((__force snd_pcm_format_t) 44) -#define SNDRV_PCM_FORMAT_G723_24_1B ((__force snd_pcm_format_t) 45) -#define SNDRV_PCM_FORMAT_G723_40 ((__force snd_pcm_format_t) 46) -#define SNDRV_PCM_FORMAT_G723_40_1B ((__force snd_pcm_format_t) 47) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_DSD_U8 ((__force snd_pcm_format_t) 48) -#define SNDRV_PCM_FORMAT_DSD_U16_LE ((__force snd_pcm_format_t) 49) -#define SNDRV_PCM_FORMAT_LAST SNDRV_PCM_FORMAT_DSD_U16_LE -#ifdef SNDRV_LITTLE_ENDIAN -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_LE -#define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_LE -#define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_LE -#define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_LE -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_LE -#define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_LE -#define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_LE -#define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_LE -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE -#endif -#ifdef SNDRV_BIG_ENDIAN -#define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_BE -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_BE -#define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_BE -#define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_BE -#define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_BE -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_BE -#define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_BE -#define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_BE -#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#endif -typedef int __bitwise snd_pcm_subformat_t; -#define SNDRV_PCM_SUBFORMAT_STD ((__force snd_pcm_subformat_t) 0) -#define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_STD -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_INFO_MMAP 0x00000001 -#define SNDRV_PCM_INFO_MMAP_VALID 0x00000002 -#define SNDRV_PCM_INFO_DOUBLE 0x00000004 -#define SNDRV_PCM_INFO_BATCH 0x00000010 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_INFO_INTERLEAVED 0x00000100 -#define SNDRV_PCM_INFO_NONINTERLEAVED 0x00000200 -#define SNDRV_PCM_INFO_COMPLEX 0x00000400 -#define SNDRV_PCM_INFO_BLOCK_TRANSFER 0x00010000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_INFO_OVERRANGE 0x00020000 -#define SNDRV_PCM_INFO_RESUME 0x00040000 -#define SNDRV_PCM_INFO_PAUSE 0x00080000 -#define SNDRV_PCM_INFO_HALF_DUPLEX 0x00100000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_INFO_JOINT_DUPLEX 0x00200000 -#define SNDRV_PCM_INFO_SYNC_START 0x00400000 -#define SNDRV_PCM_INFO_NO_PERIOD_WAKEUP 0x00800000 -#define SNDRV_PCM_INFO_HAS_WALL_CLOCK 0x01000000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 -typedef int __bitwise snd_pcm_state_t; -#define SNDRV_PCM_STATE_OPEN ((__force snd_pcm_state_t) 0) -#define SNDRV_PCM_STATE_SETUP ((__force snd_pcm_state_t) 1) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_STATE_PREPARED ((__force snd_pcm_state_t) 2) -#define SNDRV_PCM_STATE_RUNNING ((__force snd_pcm_state_t) 3) -#define SNDRV_PCM_STATE_XRUN ((__force snd_pcm_state_t) 4) -#define SNDRV_PCM_STATE_DRAINING ((__force snd_pcm_state_t) 5) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_STATE_PAUSED ((__force snd_pcm_state_t) 6) -#define SNDRV_PCM_STATE_SUSPENDED ((__force snd_pcm_state_t) 7) -#define SNDRV_PCM_STATE_DISCONNECTED ((__force snd_pcm_state_t) 8) -#define SNDRV_PCM_STATE_LAST SNDRV_PCM_STATE_DISCONNECTED -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -enum { - SNDRV_PCM_MMAP_OFFSET_DATA = 0x00000000, - SNDRV_PCM_MMAP_OFFSET_STATUS = 0x80000000, - SNDRV_PCM_MMAP_OFFSET_CONTROL = 0x81000000, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -union snd_pcm_sync_id { - unsigned char id[16]; - unsigned short id16[8]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int id32[4]; -}; -struct snd_pcm_info { - unsigned int device; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int subdevice; - int stream; - int card; - unsigned char id[64]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char name[80]; - unsigned char subname[32]; - int dev_class; - int dev_subclass; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int subdevices_count; - unsigned int subdevices_avail; - union snd_pcm_sync_id sync; - unsigned char reserved[64]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -typedef int snd_pcm_hw_param_t; -#define SNDRV_PCM_HW_PARAM_ACCESS 0 -#define SNDRV_PCM_HW_PARAM_FORMAT 1 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_HW_PARAM_SUBFORMAT 2 -#define SNDRV_PCM_HW_PARAM_FIRST_MASK SNDRV_PCM_HW_PARAM_ACCESS -#define SNDRV_PCM_HW_PARAM_LAST_MASK SNDRV_PCM_HW_PARAM_SUBFORMAT -#define SNDRV_PCM_HW_PARAM_SAMPLE_BITS 8 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_HW_PARAM_FRAME_BITS 9 -#define SNDRV_PCM_HW_PARAM_CHANNELS 10 -#define SNDRV_PCM_HW_PARAM_RATE 11 -#define SNDRV_PCM_HW_PARAM_PERIOD_TIME 12 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13 -#define SNDRV_PCM_HW_PARAM_PERIOD_BYTES 14 -#define SNDRV_PCM_HW_PARAM_PERIODS 15 -#define SNDRV_PCM_HW_PARAM_BUFFER_TIME 16 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17 -#define SNDRV_PCM_HW_PARAM_BUFFER_BYTES 18 -#define SNDRV_PCM_HW_PARAM_TICK_TIME 19 -#define SNDRV_PCM_HW_PARAM_FIRST_INTERVAL SNDRV_PCM_HW_PARAM_SAMPLE_BITS -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_HW_PARAM_LAST_INTERVAL SNDRV_PCM_HW_PARAM_TICK_TIME -#define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1<<0) -#define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1<<1) -#define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1<<2) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct snd_interval { - unsigned int min, max; - unsigned int openmin:1, - openmax:1, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - integer:1, - empty:1; -}; -#define SNDRV_MASK_MAX 256 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct snd_mask { - __u32 bits[(SNDRV_MASK_MAX+31)/32]; -}; -struct snd_pcm_hw_params { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int flags; - struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - - SNDRV_PCM_HW_PARAM_FIRST_MASK + 1]; - struct snd_mask mres[5]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL + 1]; - struct snd_interval ires[9]; - unsigned int rmask; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int cmask; - unsigned int info; - unsigned int msbits; - unsigned int rate_num; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int rate_den; - snd_pcm_uframes_t fifo_size; - unsigned char reserved[64]; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -enum { - SNDRV_PCM_TSTAMP_NONE = 0, - SNDRV_PCM_TSTAMP_ENABLE, - SNDRV_PCM_TSTAMP_LAST = SNDRV_PCM_TSTAMP_ENABLE, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -struct snd_pcm_sw_params { - int tstamp_mode; - unsigned int period_step; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int sleep_min; - snd_pcm_uframes_t avail_min; - snd_pcm_uframes_t xfer_align; - snd_pcm_uframes_t start_threshold; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_pcm_uframes_t stop_threshold; - snd_pcm_uframes_t silence_threshold; - snd_pcm_uframes_t silence_size; - snd_pcm_uframes_t boundary; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char reserved[64]; -}; -struct snd_pcm_channel_info { - unsigned int channel; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __kernel_off_t offset; - unsigned int first; - unsigned int step; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct snd_pcm_status { - snd_pcm_state_t state; - struct timespec trigger_tstamp; - struct timespec tstamp; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_pcm_uframes_t appl_ptr; - snd_pcm_uframes_t hw_ptr; - snd_pcm_sframes_t delay; - snd_pcm_uframes_t avail; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_pcm_uframes_t avail_max; - snd_pcm_uframes_t overrange; - snd_pcm_state_t suspended_state; - __u32 reserved_alignment; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct timespec audio_tstamp; - unsigned char reserved[56-sizeof(struct timespec)]; -}; -struct snd_pcm_mmap_status { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_pcm_state_t state; - int pad1; - snd_pcm_uframes_t hw_ptr; - struct timespec tstamp; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_pcm_state_t suspended_state; - struct timespec audio_tstamp; -}; -struct snd_pcm_mmap_control { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_pcm_uframes_t appl_ptr; - snd_pcm_uframes_t avail_min; -}; -#define SNDRV_PCM_SYNC_PTR_HWSYNC (1<<0) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_SYNC_PTR_APPL (1<<1) -#define SNDRV_PCM_SYNC_PTR_AVAIL_MIN (1<<2) -struct snd_pcm_sync_ptr { - unsigned int flags; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union { - struct snd_pcm_mmap_status status; - unsigned char reserved[64]; - } s; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union { - struct snd_pcm_mmap_control control; - unsigned char reserved[64]; - } c; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -struct snd_xferi { - snd_pcm_sframes_t result; - void __user *buf; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_pcm_uframes_t frames; -}; -struct snd_xfern { - snd_pcm_sframes_t result; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - void __user * __user *bufs; - snd_pcm_uframes_t frames; -}; -enum { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0, - SNDRV_PCM_TSTAMP_TYPE_MONOTONIC, - SNDRV_PCM_TSTAMP_TYPE_LAST = SNDRV_PCM_TSTAMP_TYPE_MONOTONIC, -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -enum { - SNDRV_CHMAP_UNKNOWN = 0, - SNDRV_CHMAP_NA, - SNDRV_CHMAP_MONO, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_FL, - SNDRV_CHMAP_FR, - SNDRV_CHMAP_RL, - SNDRV_CHMAP_RR, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_FC, - SNDRV_CHMAP_LFE, - SNDRV_CHMAP_SL, - SNDRV_CHMAP_SR, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_RC, - SNDRV_CHMAP_FLC, - SNDRV_CHMAP_FRC, - SNDRV_CHMAP_RLC, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_RRC, - SNDRV_CHMAP_FLW, - SNDRV_CHMAP_FRW, - SNDRV_CHMAP_FLH, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_FCH, - SNDRV_CHMAP_FRH, - SNDRV_CHMAP_TC, - SNDRV_CHMAP_TFL, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_TFR, - SNDRV_CHMAP_TFC, - SNDRV_CHMAP_TRL, - SNDRV_CHMAP_TRR, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_TRC, - SNDRV_CHMAP_TFLC, - SNDRV_CHMAP_TFRC, - SNDRV_CHMAP_TSL, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_TSR, - SNDRV_CHMAP_LLFE, - SNDRV_CHMAP_RLFE, - SNDRV_CHMAP_BC, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_CHMAP_BLC, - SNDRV_CHMAP_BRC, - SNDRV_CHMAP_LAST = SNDRV_CHMAP_BRC, -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CHMAP_POSITION_MASK 0xffff -#define SNDRV_CHMAP_PHASE_INVERSE (0x01 << 16) -#define SNDRV_CHMAP_DRIVER_SPEC (0x02 << 16) -#define SNDRV_PCM_IOCTL_PVERSION _IOR('A', 0x00, int) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_IOCTL_INFO _IOR('A', 0x01, struct snd_pcm_info) -#define SNDRV_PCM_IOCTL_TSTAMP _IOW('A', 0x02, int) -#define SNDRV_PCM_IOCTL_TTSTAMP _IOW('A', 0x03, int) -#define SNDRV_PCM_IOCTL_HW_REFINE _IOWR('A', 0x10, struct snd_pcm_hw_params) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_IOCTL_HW_PARAMS _IOWR('A', 0x11, struct snd_pcm_hw_params) -#define SNDRV_PCM_IOCTL_HW_FREE _IO('A', 0x12) -#define SNDRV_PCM_IOCTL_SW_PARAMS _IOWR('A', 0x13, struct snd_pcm_sw_params) -#define SNDRV_PCM_IOCTL_STATUS _IOR('A', 0x20, struct snd_pcm_status) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t) -#define SNDRV_PCM_IOCTL_HWSYNC _IO('A', 0x22) -#define SNDRV_PCM_IOCTL_SYNC_PTR _IOWR('A', 0x23, struct snd_pcm_sync_ptr) -#define SNDRV_PCM_IOCTL_CHANNEL_INFO _IOR('A', 0x32, struct snd_pcm_channel_info) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_IOCTL_PREPARE _IO('A', 0x40) -#define SNDRV_PCM_IOCTL_RESET _IO('A', 0x41) -#define SNDRV_PCM_IOCTL_START _IO('A', 0x42) -#define SNDRV_PCM_IOCTL_DROP _IO('A', 0x43) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_IOCTL_DRAIN _IO('A', 0x44) -#define SNDRV_PCM_IOCTL_PAUSE _IOW('A', 0x45, int) -#define SNDRV_PCM_IOCTL_REWIND _IOW('A', 0x46, snd_pcm_uframes_t) -#define SNDRV_PCM_IOCTL_RESUME _IO('A', 0x47) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_IOCTL_XRUN _IO('A', 0x48) -#define SNDRV_PCM_IOCTL_FORWARD _IOW('A', 0x49, snd_pcm_uframes_t) -#define SNDRV_PCM_IOCTL_WRITEI_FRAMES _IOW('A', 0x50, struct snd_xferi) -#define SNDRV_PCM_IOCTL_READI_FRAMES _IOR('A', 0x51, struct snd_xferi) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_PCM_IOCTL_WRITEN_FRAMES _IOW('A', 0x52, struct snd_xfern) -#define SNDRV_PCM_IOCTL_READN_FRAMES _IOR('A', 0x53, struct snd_xfern) -#define SNDRV_PCM_IOCTL_LINK _IOW('A', 0x60, int) -#define SNDRV_PCM_IOCTL_UNLINK _IO('A', 0x61) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 0) -enum { - SNDRV_RAWMIDI_STREAM_OUTPUT = 0, - SNDRV_RAWMIDI_STREAM_INPUT, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_RAWMIDI_STREAM_LAST = SNDRV_RAWMIDI_STREAM_INPUT, -}; -#define SNDRV_RAWMIDI_INFO_OUTPUT 0x00000001 -#define SNDRV_RAWMIDI_INFO_INPUT 0x00000002 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_RAWMIDI_INFO_DUPLEX 0x00000004 -struct snd_rawmidi_info { - unsigned int device; - unsigned int subdevice; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int stream; - int card; - unsigned int flags; - unsigned char id[64]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char name[80]; - unsigned char subname[32]; - unsigned int subdevices_count; - unsigned int subdevices_avail; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char reserved[64]; -}; -struct snd_rawmidi_params { - int stream; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - size_t buffer_size; - size_t avail_min; - unsigned int no_active_sensing: 1; - unsigned char reserved[16]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -struct snd_rawmidi_status { - int stream; - struct timespec tstamp; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - size_t avail; - size_t xruns; - unsigned char reserved[16]; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_RAWMIDI_IOCTL_PVERSION _IOR('W', 0x00, int) -#define SNDRV_RAWMIDI_IOCTL_INFO _IOR('W', 0x01, struct snd_rawmidi_info) -#define SNDRV_RAWMIDI_IOCTL_PARAMS _IOWR('W', 0x10, struct snd_rawmidi_params) -#define SNDRV_RAWMIDI_IOCTL_STATUS _IOWR('W', 0x20, struct snd_rawmidi_status) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_RAWMIDI_IOCTL_DROP _IOW('W', 0x30, int) -#define SNDRV_RAWMIDI_IOCTL_DRAIN _IOW('W', 0x31, int) -#define SNDRV_TIMER_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 6) -enum { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_TIMER_CLASS_NONE = -1, - SNDRV_TIMER_CLASS_SLAVE = 0, - SNDRV_TIMER_CLASS_GLOBAL, - SNDRV_TIMER_CLASS_CARD, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_TIMER_CLASS_PCM, - SNDRV_TIMER_CLASS_LAST = SNDRV_TIMER_CLASS_PCM, -}; -enum { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_TIMER_SCLASS_NONE = 0, - SNDRV_TIMER_SCLASS_APPLICATION, - SNDRV_TIMER_SCLASS_SEQUENCER, - SNDRV_TIMER_SCLASS_OSS_SEQUENCER, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_TIMER_SCLASS_LAST = SNDRV_TIMER_SCLASS_OSS_SEQUENCER, -}; -#define SNDRV_TIMER_GLOBAL_SYSTEM 0 -#define SNDRV_TIMER_GLOBAL_RTC 1 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_TIMER_GLOBAL_HPET 2 -#define SNDRV_TIMER_GLOBAL_HRTIMER 3 -#define SNDRV_TIMER_FLG_SLAVE (1<<0) -struct snd_timer_id { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int dev_class; - int dev_sclass; - int card; - int device; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int subdevice; -}; -struct snd_timer_ginfo { - struct snd_timer_id tid; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int flags; - int card; - unsigned char id[64]; - unsigned char name[80]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned long reserved0; - unsigned long resolution; - unsigned long resolution_min; - unsigned long resolution_max; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int clients; - unsigned char reserved[32]; -}; -struct snd_timer_gparams { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct snd_timer_id tid; - unsigned long period_num; - unsigned long period_den; - unsigned char reserved[32]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -struct snd_timer_gstatus { - struct snd_timer_id tid; - unsigned long resolution; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned long resolution_num; - unsigned long resolution_den; - unsigned char reserved[32]; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct snd_timer_select { - struct snd_timer_id id; - unsigned char reserved[32]; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct snd_timer_info { - unsigned int flags; - int card; - unsigned char id[64]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char name[80]; - unsigned long reserved0; - unsigned long resolution; - unsigned char reserved[64]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -#define SNDRV_TIMER_PSFLG_AUTO (1<<0) -#define SNDRV_TIMER_PSFLG_EXCLUSIVE (1<<1) -#define SNDRV_TIMER_PSFLG_EARLY_EVENT (1<<2) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct snd_timer_params { - unsigned int flags; - unsigned int ticks; - unsigned int queue_size; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int reserved0; - unsigned int filter; - unsigned char reserved[60]; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct snd_timer_status { - struct timespec tstamp; - unsigned int resolution; - unsigned int lost; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int overrun; - unsigned int queue; - unsigned char reserved[64]; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_TIMER_IOCTL_PVERSION _IOR('T', 0x00, int) -#define SNDRV_TIMER_IOCTL_NEXT_DEVICE _IOWR('T', 0x01, struct snd_timer_id) -#define SNDRV_TIMER_IOCTL_TREAD _IOW('T', 0x02, int) -#define SNDRV_TIMER_IOCTL_GINFO _IOWR('T', 0x03, struct snd_timer_ginfo) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_TIMER_IOCTL_GPARAMS _IOW('T', 0x04, struct snd_timer_gparams) -#define SNDRV_TIMER_IOCTL_GSTATUS _IOWR('T', 0x05, struct snd_timer_gstatus) -#define SNDRV_TIMER_IOCTL_SELECT _IOW('T', 0x10, struct snd_timer_select) -#define SNDRV_TIMER_IOCTL_INFO _IOR('T', 0x11, struct snd_timer_info) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_TIMER_IOCTL_PARAMS _IOW('T', 0x12, struct snd_timer_params) -#define SNDRV_TIMER_IOCTL_STATUS _IOR('T', 0x14, struct snd_timer_status) -#define SNDRV_TIMER_IOCTL_START _IO('T', 0xa0) -#define SNDRV_TIMER_IOCTL_STOP _IO('T', 0xa1) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_TIMER_IOCTL_CONTINUE _IO('T', 0xa2) -#define SNDRV_TIMER_IOCTL_PAUSE _IO('T', 0xa3) -struct snd_timer_read { - unsigned int resolution; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int ticks; -}; -enum { - SNDRV_TIMER_EVENT_RESOLUTION = 0, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_TIMER_EVENT_TICK, - SNDRV_TIMER_EVENT_START, - SNDRV_TIMER_EVENT_STOP, - SNDRV_TIMER_EVENT_CONTINUE, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_TIMER_EVENT_PAUSE, - SNDRV_TIMER_EVENT_EARLY, - SNDRV_TIMER_EVENT_SUSPEND, - SNDRV_TIMER_EVENT_RESUME, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_TIMER_EVENT_MSTART = SNDRV_TIMER_EVENT_START + 10, - SNDRV_TIMER_EVENT_MSTOP = SNDRV_TIMER_EVENT_STOP + 10, - SNDRV_TIMER_EVENT_MCONTINUE = SNDRV_TIMER_EVENT_CONTINUE + 10, - SNDRV_TIMER_EVENT_MPAUSE = SNDRV_TIMER_EVENT_PAUSE + 10, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SNDRV_TIMER_EVENT_MSUSPEND = SNDRV_TIMER_EVENT_SUSPEND + 10, - SNDRV_TIMER_EVENT_MRESUME = SNDRV_TIMER_EVENT_RESUME + 10, -}; -struct snd_timer_tread { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int event; - struct timespec tstamp; - unsigned int val; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 7) -struct snd_ctl_card_info { - int card; - int pad; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char id[16]; - unsigned char driver[16]; - unsigned char name[32]; - unsigned char longname[80]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char reserved_[16]; - unsigned char mixername[80]; - unsigned char components[128]; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -typedef int __bitwise snd_ctl_elem_type_t; -#define SNDRV_CTL_ELEM_TYPE_NONE ((__force snd_ctl_elem_type_t) 0) -#define SNDRV_CTL_ELEM_TYPE_BOOLEAN ((__force snd_ctl_elem_type_t) 1) -#define SNDRV_CTL_ELEM_TYPE_INTEGER ((__force snd_ctl_elem_type_t) 2) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_ELEM_TYPE_ENUMERATED ((__force snd_ctl_elem_type_t) 3) -#define SNDRV_CTL_ELEM_TYPE_BYTES ((__force snd_ctl_elem_type_t) 4) -#define SNDRV_CTL_ELEM_TYPE_IEC958 ((__force snd_ctl_elem_type_t) 5) -#define SNDRV_CTL_ELEM_TYPE_INTEGER64 ((__force snd_ctl_elem_type_t) 6) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_ELEM_TYPE_LAST SNDRV_CTL_ELEM_TYPE_INTEGER64 -typedef int __bitwise snd_ctl_elem_iface_t; -#define SNDRV_CTL_ELEM_IFACE_CARD ((__force snd_ctl_elem_iface_t) 0) -#define SNDRV_CTL_ELEM_IFACE_HWDEP ((__force snd_ctl_elem_iface_t) 1) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_ELEM_IFACE_MIXER ((__force snd_ctl_elem_iface_t) 2) -#define SNDRV_CTL_ELEM_IFACE_PCM ((__force snd_ctl_elem_iface_t) 3) -#define SNDRV_CTL_ELEM_IFACE_RAWMIDI ((__force snd_ctl_elem_iface_t) 4) -#define SNDRV_CTL_ELEM_IFACE_TIMER ((__force snd_ctl_elem_iface_t) 5) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_ELEM_IFACE_SEQUENCER ((__force snd_ctl_elem_iface_t) 6) -#define SNDRV_CTL_ELEM_IFACE_LAST SNDRV_CTL_ELEM_IFACE_SEQUENCER -#define SNDRV_CTL_ELEM_ACCESS_READ (1<<0) -#define SNDRV_CTL_ELEM_ACCESS_WRITE (1<<1) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_ELEM_ACCESS_READWRITE (SNDRV_CTL_ELEM_ACCESS_READ|SNDRV_CTL_ELEM_ACCESS_WRITE) -#define SNDRV_CTL_ELEM_ACCESS_VOLATILE (1<<2) -#define SNDRV_CTL_ELEM_ACCESS_TIMESTAMP (1<<3) -#define SNDRV_CTL_ELEM_ACCESS_TLV_READ (1<<4) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_ELEM_ACCESS_TLV_WRITE (1<<5) -#define SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE (SNDRV_CTL_ELEM_ACCESS_TLV_READ|SNDRV_CTL_ELEM_ACCESS_TLV_WRITE) -#define SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND (1<<6) -#define SNDRV_CTL_ELEM_ACCESS_INACTIVE (1<<8) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_ELEM_ACCESS_LOCK (1<<9) -#define SNDRV_CTL_ELEM_ACCESS_OWNER (1<<10) -#define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1<<28) -#define SNDRV_CTL_ELEM_ACCESS_USER (1<<29) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_POWER_D0 0x0000 -#define SNDRV_CTL_POWER_D1 0x0100 -#define SNDRV_CTL_POWER_D2 0x0200 -#define SNDRV_CTL_POWER_D3 0x0300 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_POWER_D3hot (SNDRV_CTL_POWER_D3|0x0000) -#define SNDRV_CTL_POWER_D3cold (SNDRV_CTL_POWER_D3|0x0001) -struct snd_ctl_elem_id { - unsigned int numid; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_ctl_elem_iface_t iface; - unsigned int device; - unsigned int subdevice; - unsigned char name[44]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int index; -}; -struct snd_ctl_elem_list { - unsigned int offset; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int space; - unsigned int used; - unsigned int count; - struct snd_ctl_elem_id __user *pids; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char reserved[50]; -}; -struct snd_ctl_elem_info { - struct snd_ctl_elem_id id; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - snd_ctl_elem_type_t type; - unsigned int access; - unsigned int count; - __kernel_pid_t owner; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union { - struct { - long min; - long max; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - long step; - } integer; - struct { - long long min; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - long long max; - long long step; - } integer64; - struct { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int items; - unsigned int item; - char name[64]; - __u64 names_ptr; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int names_length; - } enumerated; - unsigned char reserved[128]; - } value; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union { - unsigned short d[4]; - unsigned short *d_ptr; - } dimen; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char reserved[64-4*sizeof(unsigned short)]; -}; -struct snd_ctl_elem_value { - struct snd_ctl_elem_id id; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int indirect: 1; - union { - union { - long value[1024]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - long *value_ptr; - } integer; - union { - long long value[512]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - long long *value_ptr; - } integer64; - union { - unsigned int item[1024]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int *item_ptr; - } enumerated; - union { - unsigned char data[4096]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char *data_ptr; - } bytes; - struct snd_aes_iec958 iec958; - } value; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct timespec tstamp; - unsigned char reserved[128-sizeof(struct timespec)]; -}; -struct snd_ctl_tlv { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int numid; - unsigned int length; - unsigned int tlv[0]; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int) -#define SNDRV_CTL_IOCTL_CARD_INFO _IOR('U', 0x01, struct snd_ctl_card_info) -#define SNDRV_CTL_IOCTL_ELEM_LIST _IOWR('U', 0x10, struct snd_ctl_elem_list) -#define SNDRV_CTL_IOCTL_ELEM_INFO _IOWR('U', 0x11, struct snd_ctl_elem_info) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_IOCTL_ELEM_READ _IOWR('U', 0x12, struct snd_ctl_elem_value) -#define SNDRV_CTL_IOCTL_ELEM_WRITE _IOWR('U', 0x13, struct snd_ctl_elem_value) -#define SNDRV_CTL_IOCTL_ELEM_LOCK _IOW('U', 0x14, struct snd_ctl_elem_id) -#define SNDRV_CTL_IOCTL_ELEM_UNLOCK _IOW('U', 0x15, struct snd_ctl_elem_id) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS _IOWR('U', 0x16, int) -#define SNDRV_CTL_IOCTL_ELEM_ADD _IOWR('U', 0x17, struct snd_ctl_elem_info) -#define SNDRV_CTL_IOCTL_ELEM_REPLACE _IOWR('U', 0x18, struct snd_ctl_elem_info) -#define SNDRV_CTL_IOCTL_ELEM_REMOVE _IOWR('U', 0x19, struct snd_ctl_elem_id) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv) -#define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv) -#define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv) -#define SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE _IOWR('U', 0x20, int) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_IOCTL_HWDEP_INFO _IOR('U', 0x21, struct snd_hwdep_info) -#define SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE _IOR('U', 0x30, int) -#define SNDRV_CTL_IOCTL_PCM_INFO _IOWR('U', 0x31, struct snd_pcm_info) -#define SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE _IOW('U', 0x32, int) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE _IOWR('U', 0x40, int) -#define SNDRV_CTL_IOCTL_RAWMIDI_INFO _IOWR('U', 0x41, struct snd_rawmidi_info) -#define SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE _IOW('U', 0x42, int) -#define SNDRV_CTL_IOCTL_POWER _IOWR('U', 0xd0, int) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_IOCTL_POWER_STATE _IOR('U', 0xd1, int) -enum sndrv_ctl_event_type { - SNDRV_CTL_EVENT_ELEM = 0, - SNDRV_CTL_EVENT_LAST = SNDRV_CTL_EVENT_ELEM, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -}; -#define SNDRV_CTL_EVENT_MASK_VALUE (1<<0) -#define SNDRV_CTL_EVENT_MASK_INFO (1<<1) -#define SNDRV_CTL_EVENT_MASK_ADD (1<<2) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_EVENT_MASK_TLV (1<<3) -#define SNDRV_CTL_EVENT_MASK_REMOVE (~0U) -struct snd_ctl_event { - int type; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - union { - struct { - unsigned int mask; - struct snd_ctl_elem_id id; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } elem; - unsigned char data8[60]; - } data; -}; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_NAME_NONE "" -#define SNDRV_CTL_NAME_PLAYBACK "Playback " -#define SNDRV_CTL_NAME_CAPTURE "Capture " -#define SNDRV_CTL_NAME_IEC958_NONE "" -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_NAME_IEC958_SWITCH "Switch" -#define SNDRV_CTL_NAME_IEC958_VOLUME "Volume" -#define SNDRV_CTL_NAME_IEC958_DEFAULT "Default" -#define SNDRV_CTL_NAME_IEC958_MASK "Mask" -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SNDRV_CTL_NAME_IEC958_CON_MASK "Con Mask" -#define SNDRV_CTL_NAME_IEC958_PRO_MASK "Pro Mask" -#define SNDRV_CTL_NAME_IEC958_PCM_STREAM "PCM Stream" -#define SNDRV_CTL_NAME_IEC958(expl,direction,what) "IEC958 " expl SNDRV_CTL_NAME_##direction SNDRV_CTL_NAME_IEC958_##what -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#endif |
