|
@@ -2479,6 +2479,25 @@ struct target_snd_timer_select {
|
|
unsigned char reserved[32];
|
|
unsigned char reserved[32];
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+struct target_snd_timer_info {
|
|
|
|
+ unsigned int flags;
|
|
|
|
+ int card;
|
|
|
|
+ unsigned char id[64];
|
|
|
|
+ unsigned char name[80];
|
|
|
|
+ abi_ulong reserved0;
|
|
|
|
+ abi_ulong resolution;
|
|
|
|
+ unsigned char reserved[64];
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+struct target_snd_timer_status {
|
|
|
|
+ struct target_timespec tstamp;
|
|
|
|
+ unsigned int resolution;
|
|
|
|
+ unsigned int lost;
|
|
|
|
+ unsigned int overrun;
|
|
|
|
+ unsigned int queue;
|
|
|
|
+ unsigned char reserved[64];
|
|
|
|
+};
|
|
|
|
+
|
|
/* alsa timer ioctls */
|
|
/* alsa timer ioctls */
|
|
#define TARGET_SNDRV_TIMER_IOCTL_PVERSION TARGET_IOR('T', 0x00, int)
|
|
#define TARGET_SNDRV_TIMER_IOCTL_PVERSION TARGET_IOR('T', 0x00, int)
|
|
#define TARGET_SNDRV_TIMER_IOCTL_NEXT_DEVICE TARGET_IOWR('T', 0x01, \
|
|
#define TARGET_SNDRV_TIMER_IOCTL_NEXT_DEVICE TARGET_IOWR('T', 0x01, \
|
|
@@ -2491,6 +2510,12 @@ struct target_snd_timer_select {
|
|
struct target_snd_timer_gstatus)
|
|
struct target_snd_timer_gstatus)
|
|
#define TARGET_SNDRV_TIMER_IOCTL_SELECT TARGET_IOW('T', 0x10, \
|
|
#define TARGET_SNDRV_TIMER_IOCTL_SELECT TARGET_IOW('T', 0x10, \
|
|
struct target_snd_timer_select)
|
|
struct target_snd_timer_select)
|
|
|
|
+#define TARGET_SNDRV_TIMER_IOCTL_INFO TARGET_IOR('T', 0x11, \
|
|
|
|
+ struct target_snd_timer_info)
|
|
|
|
+#define TARGET_SNDRV_TIMER_IOCTL_PARAMS TARGET_IOW('T', 0x12, \
|
|
|
|
+ struct snd_timer_params)
|
|
|
|
+#define TARGET_SNDRV_TIMER_IOCTL_STATUS TARGET_IOR('T', 0x14, \
|
|
|
|
+ struct target_snd_timer_status)
|
|
|
|
|
|
/* vfat ioctls */
|
|
/* vfat ioctls */
|
|
#define TARGET_VFAT_IOCTL_READDIR_BOTH TARGET_IORU('r', 1)
|
|
#define TARGET_VFAT_IOCTL_READDIR_BOTH TARGET_IORU('r', 1)
|