aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_snd_timer.txt
diff options
context:
space:
mode:
authorYu Hao <yhao016@ucr.edu>2022-09-27 09:07:39 -0700
committerAleksandr Nogikh <wp32pw@gmail.com>2022-09-28 16:31:28 +0200
commita41a2080e3ec52c9f7bd25156b59666dcfab13e5 (patch)
tree9e3ab1dd40d0093f40661340489dc833918a9fb0 /sys/linux/dev_snd_timer.txt
parentb485720cba89f4f8a0e542a8c350a21b981d1af9 (diff)
sys/linux: fix errors
Diffstat (limited to 'sys/linux/dev_snd_timer.txt')
-rw-r--r--sys/linux/dev_snd_timer.txt20
1 files changed, 5 insertions, 15 deletions
diff --git a/sys/linux/dev_snd_timer.txt b/sys/linux/dev_snd_timer.txt
index c918671ac..1c99db817 100644
--- a/sys/linux/dev_snd_timer.txt
+++ b/sys/linux/dev_snd_timer.txt
@@ -20,8 +20,8 @@ ioctl$SNDRV_TIMER_IOCTL_GSTATUS(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_GSTA
ioctl$SNDRV_TIMER_IOCTL_SELECT(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_SELECT], arg ptr[in, snd_timer_select])
ioctl$SNDRV_TIMER_IOCTL_INFO(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_INFO], arg buffer[out])
ioctl$SNDRV_TIMER_IOCTL_PARAMS(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_PARAMS], arg ptr[in, snd_timer_params])
-ioctl$SNDRV_TIMER_IOCTL_STATUS32(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS32], arg ptr[out, snd_timer_status32])
-ioctl$SNDRV_TIMER_IOCTL_STATUS64(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS64], arg ptr[out, snd_timer_status64])
+ioctl$SNDRV_TIMER_IOCTL_STATUS32(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS32], arg ptr[out, snd_timer_status[int32]])
+ioctl$SNDRV_TIMER_IOCTL_STATUS64(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS64], arg ptr[out, snd_timer_status[int64]])
ioctl$SNDRV_TIMER_IOCTL_START(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_START])
ioctl$SNDRV_TIMER_IOCTL_STOP(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STOP])
ioctl$SNDRV_TIMER_IOCTL_CONTINUE(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_CONTINUE])
@@ -79,19 +79,9 @@ snd_timer_params {
pad2 array[const[0, int8], 60]
}
-snd_timer_status32 {
- tstamp_sec int32
- tstamp_nsec int32
- resolution int32
- lost int32
- overrun int32
- queue int32
- pad2 array[const[0, int8], 64]
-}
-
-snd_timer_status64 {
- tstamp_sec int64
- tstamp_nsec int64
+type snd_timer_status[TYPE] {
+ tstamp_sec TYPE
+ tstamp_nsec TYPE
resolution int32
lost int32
overrun int32