aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-18 12:00:12 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-18 12:00:12 +0100
commit82b3c9dfee666d32017d729cf2868a447622daa5 (patch)
tree4a98cba10b5ab3a9b54136a2883ac02d1c29b713 /sys/linux
parent64627284145947e311db986c78f7619e244eade2 (diff)
sys/linux: fix few bugs
Fix some descirptions disperancies with kernel and regenerate warnings on next-20191218.
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/dev_snd_control.txt26
-rw-r--r--sys/linux/dev_snd_control.txt.warn2
-rw-r--r--sys/linux/dev_snd_control_386.const1
-rw-r--r--sys/linux/dev_snd_control_amd64.const1
-rw-r--r--sys/linux/dev_snd_control_arm.const1
-rw-r--r--sys/linux/dev_snd_control_arm64.const1
-rw-r--r--sys/linux/dev_snd_control_mips64le.const1
-rw-r--r--sys/linux/dev_snd_control_ppc64le.const1
-rw-r--r--sys/linux/dev_snd_midi.txt19
-rw-r--r--sys/linux/dev_snd_midi.txt.warn8
-rw-r--r--sys/linux/dev_snd_midi_386.const3
-rw-r--r--sys/linux/dev_snd_midi_amd64.const3
-rw-r--r--sys/linux/dev_snd_midi_arm.const3
-rw-r--r--sys/linux/dev_snd_midi_arm64.const3
-rw-r--r--sys/linux/dev_snd_midi_mips64le.const3
-rw-r--r--sys/linux/dev_snd_midi_ppc64le.const3
-rw-r--r--sys/linux/dev_snd_pcm.txt.warn57
-rw-r--r--sys/linux/gen/386.go41
-rw-r--r--sys/linux/gen/amd64.go41
-rw-r--r--sys/linux/gen/arm.go43
-rw-r--r--sys/linux/gen/arm64.go41
-rw-r--r--sys/linux/gen/mips64le.go41
-rw-r--r--sys/linux/gen/ppc64le.go41
23 files changed, 154 insertions, 230 deletions
diff --git a/sys/linux/dev_snd_control.txt b/sys/linux/dev_snd_control.txt
index 14a1210f0..9802e4f0c 100644
--- a/sys/linux/dev_snd_control.txt
+++ b/sys/linux/dev_snd_control.txt
@@ -76,13 +76,11 @@ snd_ctl_elem_info {
define SND_CTL_ELEM_INFO_SIZE sizeof(struct snd_ctl_elem_info)
snd_ctl_elem_value {
- id snd_ctl_elem_id
- indir bool32
- value array[intptr, 128]
- tstamp timespec
-} [size[SND_CTL_ELEM_VALUE_SIZE]]
-
-define SND_CTL_ELEM_VALUE_SIZE sizeof(struct snd_ctl_elem_value)
+ id snd_ctl_elem_id
+ indirect int32:1
+ value array[intptr, 128]
+ reserved array[const[0, int8], 128]
+}
snd_ctl_tlv {
numid int32
@@ -105,17 +103,3 @@ snd_pcm_info {
sync array[int8, 16]
pad array[const[0, int8], 64]
}
-
-snd_rawmidi_info {
- dev int32
- subdev int32
- stream int32
- card const[0, int32]
- flags const[0, int32]
- id array[const[0, int8], 64]
- name array[const[0, int8], 80]
- subname array[const[0, int8], 32]
- count int32
- avail int32
- pad array[const[0, int8], 64]
-}
diff --git a/sys/linux/dev_snd_control.txt.warn b/sys/linux/dev_snd_control.txt.warn
index 5ee8697a6..fb7e6fc7f 100644
--- a/sys/linux/dev_snd_control.txt.warn
+++ b/sys/linux/dev_snd_control.txt.warn
@@ -4,5 +4,3 @@ field snd_ctl_elem_info.item/dimen: bad offset: syz=84 kernel=208
field snd_ctl_elem_info.item/dimen: bad size: syz=4 kernel=8
field snd_ctl_elem_info.name/reserved: bad offset: syz=88 kernel=216
field snd_ctl_elem_info.name/reserved: bad size: syz=64 kernel=56
-struct snd_ctl_elem_value: bad number of fields: syz=4 kernel=5
-field snd_ctl_elem_value.indir/indirect: bad bit size/offset: syz=0/0 kernel=1/0
diff --git a/sys/linux/dev_snd_control_386.const b/sys/linux/dev_snd_control_386.const
index 7ceeb2f3e..025cc65b0 100644
--- a/sys/linux/dev_snd_control_386.const
+++ b/sys/linux/dev_snd_control_386.const
@@ -48,5 +48,4 @@ SNDRV_CTL_IOCTL_TLV_COMMAND = 3221771548
SNDRV_CTL_IOCTL_TLV_READ = 3221771546
SNDRV_CTL_IOCTL_TLV_WRITE = 3221771547
SND_CTL_ELEM_INFO_SIZE = 272
-SND_CTL_ELEM_VALUE_SIZE = 708
__NR_ioctl = 54
diff --git a/sys/linux/dev_snd_control_amd64.const b/sys/linux/dev_snd_control_amd64.const
index 8d1c8d526..1086ced05 100644
--- a/sys/linux/dev_snd_control_amd64.const
+++ b/sys/linux/dev_snd_control_amd64.const
@@ -48,5 +48,4 @@ SNDRV_CTL_IOCTL_TLV_COMMAND = 3221771548
SNDRV_CTL_IOCTL_TLV_READ = 3221771546
SNDRV_CTL_IOCTL_TLV_WRITE = 3221771547
SND_CTL_ELEM_INFO_SIZE = 272
-SND_CTL_ELEM_VALUE_SIZE = 1224
__NR_ioctl = 16
diff --git a/sys/linux/dev_snd_control_arm.const b/sys/linux/dev_snd_control_arm.const
index 3bf0bf82a..2f60f1db2 100644
--- a/sys/linux/dev_snd_control_arm.const
+++ b/sys/linux/dev_snd_control_arm.const
@@ -48,5 +48,4 @@ SNDRV_CTL_IOCTL_TLV_COMMAND = 3221771548
SNDRV_CTL_IOCTL_TLV_READ = 3221771546
SNDRV_CTL_IOCTL_TLV_WRITE = 3221771547
SND_CTL_ELEM_INFO_SIZE = 272
-SND_CTL_ELEM_VALUE_SIZE = 712
__NR_ioctl = 54
diff --git a/sys/linux/dev_snd_control_arm64.const b/sys/linux/dev_snd_control_arm64.const
index cc8471729..845b0b9fe 100644
--- a/sys/linux/dev_snd_control_arm64.const
+++ b/sys/linux/dev_snd_control_arm64.const
@@ -48,5 +48,4 @@ SNDRV_CTL_IOCTL_TLV_COMMAND = 3221771548
SNDRV_CTL_IOCTL_TLV_READ = 3221771546
SNDRV_CTL_IOCTL_TLV_WRITE = 3221771547
SND_CTL_ELEM_INFO_SIZE = 272
-SND_CTL_ELEM_VALUE_SIZE = 1224
__NR_ioctl = 29
diff --git a/sys/linux/dev_snd_control_mips64le.const b/sys/linux/dev_snd_control_mips64le.const
index 4965c90b3..b4eac2a6e 100644
--- a/sys/linux/dev_snd_control_mips64le.const
+++ b/sys/linux/dev_snd_control_mips64le.const
@@ -48,5 +48,4 @@ SNDRV_CTL_IOCTL_TLV_COMMAND = 3221771548
SNDRV_CTL_IOCTL_TLV_READ = 3221771546
SNDRV_CTL_IOCTL_TLV_WRITE = 3221771547
SND_CTL_ELEM_INFO_SIZE = 272
-SND_CTL_ELEM_VALUE_SIZE = 1224
__NR_ioctl = 5015
diff --git a/sys/linux/dev_snd_control_ppc64le.const b/sys/linux/dev_snd_control_ppc64le.const
index 35451df7f..737f22319 100644
--- a/sys/linux/dev_snd_control_ppc64le.const
+++ b/sys/linux/dev_snd_control_ppc64le.const
@@ -48,5 +48,4 @@ SNDRV_CTL_IOCTL_TLV_COMMAND = 3221771548
SNDRV_CTL_IOCTL_TLV_READ = 3221771546
SNDRV_CTL_IOCTL_TLV_WRITE = 3221771547
SND_CTL_ELEM_INFO_SIZE = 272
-SND_CTL_ELEM_VALUE_SIZE = 1224
__NR_ioctl = 54
diff --git a/sys/linux/dev_snd_midi.txt b/sys/linux/dev_snd_midi.txt
index 8e88bb266..6439c04dd 100644
--- a/sys/linux/dev_snd_midi.txt
+++ b/sys/linux/dev_snd_midi.txt
@@ -17,24 +17,24 @@ syz_open_dev$midi(dev ptr[in, string["/dev/midi#"]], id intptr, flags flags[open
write$midi(fd fd_midi, data ptr[in, array[int8]], len bytesize[data])
read$midi(fd fd_midi, data ptr[out, array[int8]], len bytesize[data])
ioctl$SNDRV_RAWMIDI_IOCTL_PVERSION(fd fd_midi, cmd const[SNDRV_RAWMIDI_IOCTL_PVERSION], arg ptr[out, int32])
-ioctl$SNDRV_RAWMIDI_IOCTL_INFO(fd fd_midi, cmd const[SNDRV_RAWMIDI_IOCTL_INFO], arg ptr[out, snd_rawmidi_info_raw])
+ioctl$SNDRV_RAWMIDI_IOCTL_INFO(fd fd_midi, cmd const[SNDRV_RAWMIDI_IOCTL_INFO], arg ptr[out, snd_rawmidi_info])
ioctl$SNDRV_RAWMIDI_IOCTL_PARAMS(fd fd_midi, cmd const[SNDRV_RAWMIDI_IOCTL_PARAMS], arg ptr[inout, snd_rawmidi_params])
ioctl$SNDRV_RAWMIDI_IOCTL_STATUS32(fd fd_midi, cmd const[SNDRV_RAWMIDI_IOCTL_STATUS32], arg ptr[inout, snd_rawmidi_status32])
ioctl$SNDRV_RAWMIDI_IOCTL_STATUS64(fd fd_midi, cmd const[SNDRV_RAWMIDI_IOCTL_STATUS64], arg ptr[inout, snd_rawmidi_status64])
ioctl$SNDRV_RAWMIDI_IOCTL_DROP(fd fd_midi, cmd const[SNDRV_RAWMIDI_IOCTL_DROP], arg ptr[in, int32])
ioctl$SNDRV_RAWMIDI_IOCTL_DRAIN(fd fd_midi, cmd const[SNDRV_RAWMIDI_IOCTL_DRAIN], arg ptr[in, int32])
-snd_rawmidi_info_raw {
+snd_rawmidi_info {
device int32
subdevice int32
stream flags[sndrv_rawmidi_stream, int32]
- card int32
- flags flags[snd_rawmidi_info_flags, int32]
- id array[int8, 64]
- name array[int8, 80]
- subname array[int8, 32]
- subdevices_count int32
- subdevices_avail int32
+ card const[0, int32]
+ flags const[0, int32]
+ id array[const[0, int8], 64]
+ name array[const[0, int8], 80]
+ subname array[const[0, int8], 32]
+ subdevices_count const[0, int32]
+ subdevices_avail const[0, int32]
reserved array[const[0, int8], 64]
}
@@ -69,4 +69,3 @@ define SNDRV_RAWMIDI_IOCTL_STATUS32 _IOWR('W', 0x20, char[36])
define SNDRV_RAWMIDI_IOCTL_STATUS64 _IOWR('W', 0x20, char[56])
sndrv_rawmidi_stream = SNDRV_RAWMIDI_STREAM_OUTPUT, SNDRV_RAWMIDI_STREAM_INPUT
-snd_rawmidi_info_flags = SNDRV_RAWMIDI_INFO_OUTPUT, SNDRV_RAWMIDI_INFO_INPUT, SNDRV_RAWMIDI_INFO_DUPLEX
diff --git a/sys/linux/dev_snd_midi.txt.warn b/sys/linux/dev_snd_midi.txt.warn
index be909d329..485675314 100644
--- a/sys/linux/dev_snd_midi.txt.warn
+++ b/sys/linux/dev_snd_midi.txt.warn
@@ -1,9 +1 @@
-struct snd_rawmidi_info_raw: no corresponding struct in kernel
field snd_rawmidi_params.reserved/reserved: bad offset: syz=28 kernel=25
-struct snd_rawmidi_status32: bad number of fields: syz=6 kernel=5
-field snd_rawmidi_status32.tstamp_sec/tstamp: bad size: syz=4 kernel=8
-field snd_rawmidi_status32.tstamp_nsec/avail: bad offset: syz=8 kernel=12
-field snd_rawmidi_status32.avail/xruns: bad offset: syz=12 kernel=16
-field snd_rawmidi_status32.xruns/reserved: bad offset: syz=16 kernel=20
-field snd_rawmidi_status32.xruns/reserved: bad size: syz=4 kernel=16
-struct snd_rawmidi_status64: no corresponding struct in kernel
diff --git a/sys/linux/dev_snd_midi_386.const b/sys/linux/dev_snd_midi_386.const
index 9b383226d..5f320f911 100644
--- a/sys/linux/dev_snd_midi_386.const
+++ b/sys/linux/dev_snd_midi_386.const
@@ -1,7 +1,4 @@
# AUTOGENERATED FILE
-SNDRV_RAWMIDI_INFO_DUPLEX = 4
-SNDRV_RAWMIDI_INFO_INPUT = 2
-SNDRV_RAWMIDI_INFO_OUTPUT = 1
SNDRV_RAWMIDI_IOCTL_DRAIN = 1074026289
SNDRV_RAWMIDI_IOCTL_DROP = 1074026288
SNDRV_RAWMIDI_IOCTL_INFO = 2165069569
diff --git a/sys/linux/dev_snd_midi_amd64.const b/sys/linux/dev_snd_midi_amd64.const
index aa5dfab88..7517fd3ca 100644
--- a/sys/linux/dev_snd_midi_amd64.const
+++ b/sys/linux/dev_snd_midi_amd64.const
@@ -1,7 +1,4 @@
# AUTOGENERATED FILE
-SNDRV_RAWMIDI_INFO_DUPLEX = 4
-SNDRV_RAWMIDI_INFO_INPUT = 2
-SNDRV_RAWMIDI_INFO_OUTPUT = 1
SNDRV_RAWMIDI_IOCTL_DRAIN = 1074026289
SNDRV_RAWMIDI_IOCTL_DROP = 1074026288
SNDRV_RAWMIDI_IOCTL_INFO = 2165069569
diff --git a/sys/linux/dev_snd_midi_arm.const b/sys/linux/dev_snd_midi_arm.const
index 9b383226d..5f320f911 100644
--- a/sys/linux/dev_snd_midi_arm.const
+++ b/sys/linux/dev_snd_midi_arm.const
@@ -1,7 +1,4 @@
# AUTOGENERATED FILE
-SNDRV_RAWMIDI_INFO_DUPLEX = 4
-SNDRV_RAWMIDI_INFO_INPUT = 2
-SNDRV_RAWMIDI_INFO_OUTPUT = 1
SNDRV_RAWMIDI_IOCTL_DRAIN = 1074026289
SNDRV_RAWMIDI_IOCTL_DROP = 1074026288
SNDRV_RAWMIDI_IOCTL_INFO = 2165069569
diff --git a/sys/linux/dev_snd_midi_arm64.const b/sys/linux/dev_snd_midi_arm64.const
index d4b217348..a5472060f 100644
--- a/sys/linux/dev_snd_midi_arm64.const
+++ b/sys/linux/dev_snd_midi_arm64.const
@@ -1,7 +1,4 @@
# AUTOGENERATED FILE
-SNDRV_RAWMIDI_INFO_DUPLEX = 4
-SNDRV_RAWMIDI_INFO_INPUT = 2
-SNDRV_RAWMIDI_INFO_OUTPUT = 1
SNDRV_RAWMIDI_IOCTL_DRAIN = 1074026289
SNDRV_RAWMIDI_IOCTL_DROP = 1074026288
SNDRV_RAWMIDI_IOCTL_INFO = 2165069569
diff --git a/sys/linux/dev_snd_midi_mips64le.const b/sys/linux/dev_snd_midi_mips64le.const
index ba8021af3..c2d6e4bd3 100644
--- a/sys/linux/dev_snd_midi_mips64le.const
+++ b/sys/linux/dev_snd_midi_mips64le.const
@@ -1,7 +1,4 @@
# AUTOGENERATED FILE
-SNDRV_RAWMIDI_INFO_DUPLEX = 4
-SNDRV_RAWMIDI_INFO_INPUT = 2
-SNDRV_RAWMIDI_INFO_OUTPUT = 1
SNDRV_RAWMIDI_IOCTL_DRAIN = 2147768113
SNDRV_RAWMIDI_IOCTL_DROP = 2147768112
SNDRV_RAWMIDI_IOCTL_INFO = 1091327745
diff --git a/sys/linux/dev_snd_midi_ppc64le.const b/sys/linux/dev_snd_midi_ppc64le.const
index 20ca088c0..2b30b3f23 100644
--- a/sys/linux/dev_snd_midi_ppc64le.const
+++ b/sys/linux/dev_snd_midi_ppc64le.const
@@ -1,7 +1,4 @@
# AUTOGENERATED FILE
-SNDRV_RAWMIDI_INFO_DUPLEX = 4
-SNDRV_RAWMIDI_INFO_INPUT = 2
-SNDRV_RAWMIDI_INFO_OUTPUT = 1
SNDRV_RAWMIDI_IOCTL_DRAIN = 2147768113
SNDRV_RAWMIDI_IOCTL_DROP = 2147768112
SNDRV_RAWMIDI_IOCTL_INFO = 1091327745
diff --git a/sys/linux/dev_snd_pcm.txt.warn b/sys/linux/dev_snd_pcm.txt.warn
index c75ac9744..27ed88771 100644
--- a/sys/linux/dev_snd_pcm.txt.warn
+++ b/sys/linux/dev_snd_pcm.txt.warn
@@ -10,31 +10,36 @@ field snd_pcm_hw_params_old.rate_den/rate_den: bad offset: syz=264 kernel=180
field snd_pcm_hw_params_old.fifo_size/fifo_size: bad offset: syz=272 kernel=184
field snd_pcm_hw_params_old.reserved/reserved: bad offset: syz=280 kernel=192
struct snd_pcm_sw_params: bad number of fields: syz=12 kernel=13
-field snd_pcm_sync_ptr.status/s: bad offset: syz=4 kernel=8
-field snd_pcm_sync_ptr.control/c: bad size: syz=16 kernel=64
-struct snd_pcm_status32: bad number of fields: syz=13 kernel=15
-field snd_pcm_status32.trigger_tstamp_sec/trigger_tstamp: bad offset: syz=8 kernel=4
-field snd_pcm_status32.trigger_tstamp_nsec/tstamp: bad offset: syz=16 kernel=12
-field snd_pcm_status32.tstamp_sec/appl_ptr: bad offset: syz=24 kernel=20
-field snd_pcm_status32.tstamp_sec/appl_ptr: bad size: syz=8 kernel=4
-field snd_pcm_status32.tstamp_nsec/hw_ptr: bad offset: syz=32 kernel=24
-field snd_pcm_status32.tstamp_nsec/hw_ptr: bad size: syz=8 kernel=4
-field snd_pcm_status32.appl_ptr/delay: bad offset: syz=40 kernel=28
-field snd_pcm_status32.appl_ptr/delay: bad size: syz=8 kernel=4
-field snd_pcm_status32.hw_ptr/avail: bad offset: syz=48 kernel=32
-field snd_pcm_status32.hw_ptr/avail: bad size: syz=8 kernel=4
-field snd_pcm_status32.delay/avail_max: bad offset: syz=56 kernel=36
-field snd_pcm_status32.delay/avail_max: bad size: syz=8 kernel=4
-field snd_pcm_status32.avail/overrange: bad offset: syz=64 kernel=40
-field snd_pcm_status32.avail/overrange: bad size: syz=8 kernel=4
-field snd_pcm_status32.avail_max/suspended_state: bad offset: syz=72 kernel=44
-field snd_pcm_status32.avail_max/suspended_state: bad size: syz=8 kernel=4
-field snd_pcm_status32.overrange/audio_tstamp_data: bad offset: syz=80 kernel=48
-field snd_pcm_status32.overrange/audio_tstamp_data: bad size: syz=8 kernel=4
-field snd_pcm_status32.suspended_state/audio_tstamp: bad offset: syz=88 kernel=52
-field snd_pcm_status32.suspended_state/audio_tstamp: bad size: syz=4 kernel=8
-field snd_pcm_status32.audio_tstamp_data/driver_tstamp: bad offset: syz=92 kernel=60
-field snd_pcm_status32.audio_tstamp_data/driver_tstamp: bad size: syz=4 kernel=8
-struct snd_pcm_status64: no corresponding struct in kernel
+struct snd_pcm_sync_ptr: bad number of fields: syz=3 kernel=4
+field snd_pcm_sync_ptr.status/pad1: bad size: syz=64 kernel=4
+field snd_pcm_sync_ptr.control/s: bad offset: syz=72 kernel=8
+field snd_pcm_sync_ptr.control/s: bad size: syz=16 kernel=64
+struct snd_pcm_mmap_control: bad number of fields: syz=2 kernel=6
+field snd_pcm_mmap_control.appl_ptr/__pad1: bad size: syz=8 kernel=0
+field snd_pcm_mmap_control.avail_min/appl_ptr: bad offset: syz=8 kernel=0
+struct snd_pcm_status32: bad number of fields: syz=13 kernel=19
+field snd_pcm_status32.trigger_tstamp_sec/trigger_tstamp_sec: bad offset: syz=8 kernel=4
+field snd_pcm_status32.trigger_tstamp_sec/trigger_tstamp_sec: bad size: syz=8 kernel=4
+field snd_pcm_status32.trigger_tstamp_nsec/trigger_tstamp_nsec: bad offset: syz=16 kernel=8
+field snd_pcm_status32.trigger_tstamp_nsec/trigger_tstamp_nsec: bad size: syz=8 kernel=4
+field snd_pcm_status32.tstamp_sec/tstamp_sec: bad offset: syz=24 kernel=12
+field snd_pcm_status32.tstamp_sec/tstamp_sec: bad size: syz=8 kernel=4
+field snd_pcm_status32.tstamp_nsec/tstamp_nsec: bad offset: syz=32 kernel=16
+field snd_pcm_status32.tstamp_nsec/tstamp_nsec: bad size: syz=8 kernel=4
+field snd_pcm_status32.appl_ptr/appl_ptr: bad offset: syz=40 kernel=20
+field snd_pcm_status32.appl_ptr/appl_ptr: bad size: syz=8 kernel=4
+field snd_pcm_status32.hw_ptr/hw_ptr: bad offset: syz=48 kernel=24
+field snd_pcm_status32.hw_ptr/hw_ptr: bad size: syz=8 kernel=4
+field snd_pcm_status32.delay/delay: bad offset: syz=56 kernel=28
+field snd_pcm_status32.delay/delay: bad size: syz=8 kernel=4
+field snd_pcm_status32.avail/avail: bad offset: syz=64 kernel=32
+field snd_pcm_status32.avail/avail: bad size: syz=8 kernel=4
+field snd_pcm_status32.avail_max/avail_max: bad offset: syz=72 kernel=36
+field snd_pcm_status32.avail_max/avail_max: bad size: syz=8 kernel=4
+field snd_pcm_status32.overrange/overrange: bad offset: syz=80 kernel=40
+field snd_pcm_status32.overrange/overrange: bad size: syz=8 kernel=4
+field snd_pcm_status32.suspended_state/suspended_state: bad offset: syz=88 kernel=44
+field snd_pcm_status32.audio_tstamp_data/audio_tstamp_data: bad offset: syz=92 kernel=48
+struct snd_pcm_status64: bad number of fields: syz=14 kernel=20
struct snd_interval: bad number of fields: syz=3 kernel=6
field snd_interval.flags/openmin: bad bit size/offset: syz=0/0 kernel=1/0
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index c86cb6a2a..d56fd6743 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -23336,10 +23336,9 @@ var structDescs_386 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "snd_ctl_elem_value"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_value", TypeSize: 708}, Fields: []Type{
&StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indir", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indirect", TypeSize: 4}, BitfieldLen: 1}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "value", TypeSize: 512}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
- &StructType{Key: StructKey{Name: "timespec"}, FldName: "tstamp"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 120}}, IsPad: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 128}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
}}},
{Key: StructKey{Name: "snd_ctl_tlv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_tlv", IsVarlen: true}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}},
@@ -23453,29 +23452,29 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 60}}, IsPad: true},
}}},
{Key: StructKey{Name: "snd_rawmidi_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "stream", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "avail", TypeSize: 4}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
- {Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_raw", TypeSize: 268, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "card", TypeSize: 4, ArgDir: 1}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
{Key: StructKey{Name: "snd_rawmidi_params", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_params", TypeSize: 32, ArgDir: 2}, Fields: []Type{
@@ -38934,7 +38933,7 @@ var syscalls_386 = []*Syscall{
{NR: 54, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_INFO", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2165069569},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}}},
}},
{NR: 54, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_PARAMS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
@@ -53983,9 +53982,6 @@ var consts_386 = []ConstValue{
{Name: "SNDRV_PCM_SYNC_PTR_APPL", Value: 2},
{Name: "SNDRV_PCM_SYNC_PTR_AVAIL_MIN", Value: 4},
{Name: "SNDRV_PCM_SYNC_PTR_HWSYNC", Value: 1},
- {Name: "SNDRV_RAWMIDI_INFO_DUPLEX", Value: 4},
- {Name: "SNDRV_RAWMIDI_INFO_INPUT", Value: 2},
- {Name: "SNDRV_RAWMIDI_INFO_OUTPUT", Value: 1},
{Name: "SNDRV_RAWMIDI_IOCTL_DRAIN", Value: 1074026289},
{Name: "SNDRV_RAWMIDI_IOCTL_DROP", Value: 1074026288},
{Name: "SNDRV_RAWMIDI_IOCTL_INFO", Value: 2165069569},
@@ -54121,7 +54117,6 @@ var consts_386 = []ConstValue{
{Name: "SNDRV_TIMER_SCLASS_OSS_SEQUENCER", Value: 3},
{Name: "SNDRV_TIMER_SCLASS_SEQUENCER", Value: 2},
{Name: "SND_CTL_ELEM_INFO_SIZE", Value: 272},
- {Name: "SND_CTL_ELEM_VALUE_SIZE", Value: 708},
{Name: "SND_MAX", Value: 7},
{Name: "SND_PCM_CHANNEL_INFO_SIZE", Value: 16},
{Name: "SND_PCM_INFO_SIZE", Value: 288},
@@ -57404,4 +57399,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "cd6db58056081da5ca18284ead2bd09088544a5e"
+const revision_386 = "5026f9547860ce05b6f2f2387f34b4ff5ed134cc"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 79487ade5..8ea7a6464 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -23661,11 +23661,10 @@ var structDescs_amd64 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "snd_ctl_elem_value"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_value", TypeSize: 1224}, Fields: []Type{
&StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indir", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indirect", TypeSize: 4}, BitfieldLen: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "value", TypeSize: 1024}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
- &StructType{Key: StructKey{Name: "timespec"}, FldName: "tstamp"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 112}}, IsPad: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 128}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
}}},
{Key: StructKey{Name: "snd_ctl_tlv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_tlv", IsVarlen: true}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}},
@@ -23783,29 +23782,29 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 48}}, IsPad: true},
}}},
{Key: StructKey{Name: "snd_rawmidi_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "stream", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "avail", TypeSize: 4}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
- {Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_raw", TypeSize: 268, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "card", TypeSize: 4, ArgDir: 1}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
{Key: StructKey{Name: "snd_rawmidi_params", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_params", TypeSize: 48, ArgDir: 2}, Fields: []Type{
@@ -39460,7 +39459,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 16, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_INFO", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2165069569},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}}},
}},
{NR: 16, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_PARAMS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
@@ -54534,9 +54533,6 @@ var consts_amd64 = []ConstValue{
{Name: "SNDRV_PCM_SYNC_PTR_APPL", Value: 2},
{Name: "SNDRV_PCM_SYNC_PTR_AVAIL_MIN", Value: 4},
{Name: "SNDRV_PCM_SYNC_PTR_HWSYNC", Value: 1},
- {Name: "SNDRV_RAWMIDI_INFO_DUPLEX", Value: 4},
- {Name: "SNDRV_RAWMIDI_INFO_INPUT", Value: 2},
- {Name: "SNDRV_RAWMIDI_INFO_OUTPUT", Value: 1},
{Name: "SNDRV_RAWMIDI_IOCTL_DRAIN", Value: 1074026289},
{Name: "SNDRV_RAWMIDI_IOCTL_DROP", Value: 1074026288},
{Name: "SNDRV_RAWMIDI_IOCTL_INFO", Value: 2165069569},
@@ -54672,7 +54668,6 @@ var consts_amd64 = []ConstValue{
{Name: "SNDRV_TIMER_SCLASS_OSS_SEQUENCER", Value: 3},
{Name: "SNDRV_TIMER_SCLASS_SEQUENCER", Value: 2},
{Name: "SND_CTL_ELEM_INFO_SIZE", Value: 272},
- {Name: "SND_CTL_ELEM_VALUE_SIZE", Value: 1224},
{Name: "SND_MAX", Value: 7},
{Name: "SND_PCM_CHANNEL_INFO_SIZE", Value: 24},
{Name: "SND_PCM_INFO_SIZE", Value: 288},
@@ -57970,4 +57965,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "0ba3a655b530c6b547fb97179e874810bf8a3d52"
+const revision_amd64 = "a07a29931e5835ca1607b51ef9da050ee8c3a322"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 3e5da51ea..d1e6a7e72 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -23156,12 +23156,11 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 50}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 50, RangeEnd: 50},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
- {Key: StructKey{Name: "snd_ctl_elem_value"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_value", TypeSize: 712}, Fields: []Type{
+ {Key: StructKey{Name: "snd_ctl_elem_value"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_value", TypeSize: 708}, Fields: []Type{
&StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indir", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indirect", TypeSize: 4}, BitfieldLen: 1}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "value", TypeSize: 512}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
- &StructType{Key: StructKey{Name: "timespec"}, FldName: "tstamp"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 124}}, IsPad: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 128}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
}}},
{Key: StructKey{Name: "snd_ctl_tlv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_tlv", IsVarlen: true}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}},
@@ -23275,29 +23274,29 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 60}}, IsPad: true},
}}},
{Key: StructKey{Name: "snd_rawmidi_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "stream", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "avail", TypeSize: 4}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
- {Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_raw", TypeSize: 268, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "card", TypeSize: 4, ArgDir: 1}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
{Key: StructKey{Name: "snd_rawmidi_params", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_params", TypeSize: 32, ArgDir: 2}, Fields: []Type{
@@ -38623,7 +38622,7 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_INFO", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2165069569},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}}},
}},
{NR: 54, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_PARAMS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
@@ -53570,9 +53569,6 @@ var consts_arm = []ConstValue{
{Name: "SNDRV_PCM_SYNC_PTR_APPL", Value: 2},
{Name: "SNDRV_PCM_SYNC_PTR_AVAIL_MIN", Value: 4},
{Name: "SNDRV_PCM_SYNC_PTR_HWSYNC", Value: 1},
- {Name: "SNDRV_RAWMIDI_INFO_DUPLEX", Value: 4},
- {Name: "SNDRV_RAWMIDI_INFO_INPUT", Value: 2},
- {Name: "SNDRV_RAWMIDI_INFO_OUTPUT", Value: 1},
{Name: "SNDRV_RAWMIDI_IOCTL_DRAIN", Value: 1074026289},
{Name: "SNDRV_RAWMIDI_IOCTL_DROP", Value: 1074026288},
{Name: "SNDRV_RAWMIDI_IOCTL_INFO", Value: 2165069569},
@@ -53708,7 +53704,6 @@ var consts_arm = []ConstValue{
{Name: "SNDRV_TIMER_SCLASS_OSS_SEQUENCER", Value: 3},
{Name: "SNDRV_TIMER_SCLASS_SEQUENCER", Value: 2},
{Name: "SND_CTL_ELEM_INFO_SIZE", Value: 272},
- {Name: "SND_CTL_ELEM_VALUE_SIZE", Value: 712},
{Name: "SND_MAX", Value: 7},
{Name: "SND_PCM_CHANNEL_INFO_SIZE", Value: 16},
{Name: "SND_PCM_INFO_SIZE", Value: 288},
@@ -56981,4 +56976,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "75e78533bfc7eb9268f57e693f4d7aa96528a07a"
+const revision_arm = "f54bdaed5e616297c0ea80ab667e0ecdfa75f3c9"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index e5c13d427..a88b61cd3 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -23478,11 +23478,10 @@ var structDescs_arm64 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "snd_ctl_elem_value"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_value", TypeSize: 1224}, Fields: []Type{
&StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indir", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indirect", TypeSize: 4}, BitfieldLen: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "value", TypeSize: 1024}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
- &StructType{Key: StructKey{Name: "timespec"}, FldName: "tstamp"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 112}}, IsPad: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 128}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
}}},
{Key: StructKey{Name: "snd_ctl_tlv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_tlv", IsVarlen: true}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}},
@@ -23600,29 +23599,29 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 48}}, IsPad: true},
}}},
{Key: StructKey{Name: "snd_rawmidi_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "stream", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "avail", TypeSize: 4}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
- {Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_raw", TypeSize: 268, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "card", TypeSize: 4, ArgDir: 1}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
{Key: StructKey{Name: "snd_rawmidi_params", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_params", TypeSize: 48, ArgDir: 2}, Fields: []Type{
@@ -39057,7 +39056,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 29, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_INFO", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2165069569},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}}},
}},
{NR: 29, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_PARAMS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
@@ -53927,9 +53926,6 @@ var consts_arm64 = []ConstValue{
{Name: "SNDRV_PCM_SYNC_PTR_APPL", Value: 2},
{Name: "SNDRV_PCM_SYNC_PTR_AVAIL_MIN", Value: 4},
{Name: "SNDRV_PCM_SYNC_PTR_HWSYNC", Value: 1},
- {Name: "SNDRV_RAWMIDI_INFO_DUPLEX", Value: 4},
- {Name: "SNDRV_RAWMIDI_INFO_INPUT", Value: 2},
- {Name: "SNDRV_RAWMIDI_INFO_OUTPUT", Value: 1},
{Name: "SNDRV_RAWMIDI_IOCTL_DRAIN", Value: 1074026289},
{Name: "SNDRV_RAWMIDI_IOCTL_DROP", Value: 1074026288},
{Name: "SNDRV_RAWMIDI_IOCTL_INFO", Value: 2165069569},
@@ -54065,7 +54061,6 @@ var consts_arm64 = []ConstValue{
{Name: "SNDRV_TIMER_SCLASS_OSS_SEQUENCER", Value: 3},
{Name: "SNDRV_TIMER_SCLASS_SEQUENCER", Value: 2},
{Name: "SND_CTL_ELEM_INFO_SIZE", Value: 272},
- {Name: "SND_CTL_ELEM_VALUE_SIZE", Value: 1224},
{Name: "SND_MAX", Value: 7},
{Name: "SND_PCM_CHANNEL_INFO_SIZE", Value: 24},
{Name: "SND_PCM_INFO_SIZE", Value: 288},
@@ -57322,4 +57317,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "5c85980328b4d3a3b6e75ae5590cb81b15305774"
+const revision_arm64 = "88cd9d5dcf5537de6c8d061d1ab341ead71587e7"
diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go
index 79f8d66a8..e92d214ee 100644
--- a/sys/linux/gen/mips64le.go
+++ b/sys/linux/gen/mips64le.go
@@ -23427,11 +23427,10 @@ var structDescs_mips64le = []*KeyedStruct{
}}},
{Key: StructKey{Name: "snd_ctl_elem_value"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_value", TypeSize: 1224}, Fields: []Type{
&StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indir", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indirect", TypeSize: 4}, BitfieldLen: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "value", TypeSize: 1024}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
- &StructType{Key: StructKey{Name: "timespec"}, FldName: "tstamp"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 112}}, IsPad: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 128}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
}}},
{Key: StructKey{Name: "snd_ctl_tlv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_tlv", IsVarlen: true}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}},
@@ -23549,29 +23548,29 @@ var structDescs_mips64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 48}}, IsPad: true},
}}},
{Key: StructKey{Name: "snd_rawmidi_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "stream", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "avail", TypeSize: 4}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
- {Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_raw", TypeSize: 268, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "card", TypeSize: 4, ArgDir: 1}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
{Key: StructKey{Name: "snd_rawmidi_params", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_params", TypeSize: 48, ArgDir: 2}, Fields: []Type{
@@ -38183,7 +38182,7 @@ var syscalls_mips64le = []*Syscall{
{NR: 5015, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_INFO", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1091327745},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}}},
}},
{NR: 5015, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_PARAMS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
@@ -52507,9 +52506,6 @@ var consts_mips64le = []ConstValue{
{Name: "SNDRV_PCM_SYNC_PTR_APPL", Value: 2},
{Name: "SNDRV_PCM_SYNC_PTR_AVAIL_MIN", Value: 4},
{Name: "SNDRV_PCM_SYNC_PTR_HWSYNC", Value: 1},
- {Name: "SNDRV_RAWMIDI_INFO_DUPLEX", Value: 4},
- {Name: "SNDRV_RAWMIDI_INFO_INPUT", Value: 2},
- {Name: "SNDRV_RAWMIDI_INFO_OUTPUT", Value: 1},
{Name: "SNDRV_RAWMIDI_IOCTL_DRAIN", Value: 2147768113},
{Name: "SNDRV_RAWMIDI_IOCTL_DROP", Value: 2147768112},
{Name: "SNDRV_RAWMIDI_IOCTL_INFO", Value: 1091327745},
@@ -52645,7 +52641,6 @@ var consts_mips64le = []ConstValue{
{Name: "SNDRV_TIMER_SCLASS_OSS_SEQUENCER", Value: 3},
{Name: "SNDRV_TIMER_SCLASS_SEQUENCER", Value: 2},
{Name: "SND_CTL_ELEM_INFO_SIZE", Value: 272},
- {Name: "SND_CTL_ELEM_VALUE_SIZE", Value: 1224},
{Name: "SND_MAX", Value: 7},
{Name: "SND_PCM_CHANNEL_INFO_SIZE", Value: 24},
{Name: "SND_PCM_INFO_SIZE", Value: 288},
@@ -54972,4 +54967,4 @@ var consts_mips64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_mips64le = "a079b8c9e1c394d23a9af0532b71bc56b924bf80"
+const revision_mips64le = "9ca20828a8587fb5c1eba44d72da1a34b0da7a80"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 087461b4d..0b5dca658 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -23430,11 +23430,10 @@ var structDescs_ppc64le = []*KeyedStruct{
}}},
{Key: StructKey{Name: "snd_ctl_elem_value"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_value", TypeSize: 1224}, Fields: []Type{
&StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indir", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "indirect", TypeSize: 4}, BitfieldLen: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "value", TypeSize: 1024}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
- &StructType{Key: StructKey{Name: "timespec"}, FldName: "tstamp"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 112}}, IsPad: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 128}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 128, RangeEnd: 128},
}}},
{Key: StructKey{Name: "snd_ctl_tlv"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_tlv", IsVarlen: true}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}},
@@ -23552,29 +23551,29 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 48}}, IsPad: true},
}}},
{Key: StructKey{Name: "snd_rawmidi_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdev", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "stream", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "avail", TypeSize: 4}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
- {Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_raw", TypeSize: 268, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info", TypeSize: 268, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevice", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_rawmidi_stream", FldName: "stream", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "card", TypeSize: 4, ArgDir: 1}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_info_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "card", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 80, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 80, RangeEnd: 80},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "subname", TypeSize: 32, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_count", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subdevices_avail", TypeSize: 4, ArgDir: 1}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
}}},
{Key: StructKey{Name: "snd_rawmidi_params", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_rawmidi_params", TypeSize: 48, ArgDir: 2}, Fields: []Type{
@@ -38978,7 +38977,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 54, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_INFO", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1091327745},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info_raw", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_rawmidi_info", Dir: 1}}},
}},
{NR: 54, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_PARAMS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_midi", FldName: "fd", TypeSize: 4}},
@@ -53920,9 +53919,6 @@ var consts_ppc64le = []ConstValue{
{Name: "SNDRV_PCM_SYNC_PTR_APPL", Value: 2},
{Name: "SNDRV_PCM_SYNC_PTR_AVAIL_MIN", Value: 4},
{Name: "SNDRV_PCM_SYNC_PTR_HWSYNC", Value: 1},
- {Name: "SNDRV_RAWMIDI_INFO_DUPLEX", Value: 4},
- {Name: "SNDRV_RAWMIDI_INFO_INPUT", Value: 2},
- {Name: "SNDRV_RAWMIDI_INFO_OUTPUT", Value: 1},
{Name: "SNDRV_RAWMIDI_IOCTL_DRAIN", Value: 2147768113},
{Name: "SNDRV_RAWMIDI_IOCTL_DROP", Value: 2147768112},
{Name: "SNDRV_RAWMIDI_IOCTL_INFO", Value: 1091327745},
@@ -54058,7 +54054,6 @@ var consts_ppc64le = []ConstValue{
{Name: "SNDRV_TIMER_SCLASS_OSS_SEQUENCER", Value: 3},
{Name: "SNDRV_TIMER_SCLASS_SEQUENCER", Value: 2},
{Name: "SND_CTL_ELEM_INFO_SIZE", Value: 272},
- {Name: "SND_CTL_ELEM_VALUE_SIZE", Value: 1224},
{Name: "SND_MAX", Value: 7},
{Name: "SND_PCM_CHANNEL_INFO_SIZE", Value: 24},
{Name: "SND_PCM_INFO_SIZE", Value: 288},
@@ -57287,4 +57282,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "d476ea158ce197ad401701c55c654e38fc57c1fe"
+const revision_ppc64le = "ee79513e30cef34c46809f6397b5cc60ab486db3"