aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen/ppc64le.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-01 17:47:28 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-01 17:47:28 +0100
commit27d609bf840e6c02c13f643cebaf2fd5cfbcbbae (patch)
tree38e8ffd7eea065b202197563e862629f6163a103 /sys/linux/gen/ppc64le.go
parentc35a341c32f11b4c0d0298a216878403aed59aca (diff)
sys/linux: add /dev/snd/pcm* descriptions
Diffstat (limited to 'sys/linux/gen/ppc64le.go')
-rw-r--r--sys/linux/gen/ppc64le.go342
1 files changed, 339 insertions, 3 deletions
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index b569ceea2..9c5977123 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -105,6 +105,7 @@ var resources_ppc64le = []*ResourceDesc{
{Name: "fd_smackfs_logging", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_smackfs_logging"}, Values: []uint64{18446744073709551615}},
{Name: "fd_smackfs_netlabel", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_smackfs_netlabel"}, Values: []uint64{18446744073709551615}},
{Name: "fd_smackfs_ptrace", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_smackfs_ptrace"}, Values: []uint64{18446744073709551615}},
+ {Name: "fd_snd_dsp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_snd_dsp"}, Values: []uint64{18446744073709551615}},
{Name: "fd_sndctrl", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_sndctrl"}, Values: []uint64{18446744073709551615}},
{Name: "fd_sndseq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_sndseq"}, Values: []uint64{18446744073709551615}},
{Name: "fd_sndtimer", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_sndtimer"}, Values: []uint64{18446744073709551615}},
@@ -23268,6 +23269,40 @@ var structDescs_ppc64le = []*KeyedStruct{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"tlv"}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "tlv", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}}},
+ {Key: StructKey{Name: "snd_interval"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_interval", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "snd_pcm_hw_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_pcm_hw_params", TypeSize: 608}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "masks", TypeSize: 96}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 32}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "mres", TypeSize: 160}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 40, RangeEnd: 40},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "intervals", TypeSize: 144}, Type: &StructType{Key: StructKey{Name: "snd_interval"}}, Kind: 1, RangeBegin: 12, RangeEnd: 12},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ires", TypeSize: 108}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 27, RangeEnd: 27},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rmask", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmask", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "info", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msbits", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rate_num", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rate_den", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fifo_size", TypeSize: 8}}},
+ &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_pcm_hw_params_old"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_pcm_hw_params_old", TypeSize: 344}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "masks", TypeSize: 96}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 32}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "intervals", TypeSize: 144}, Type: &StructType{Key: StructKey{Name: "snd_interval"}}, Kind: 1, RangeBegin: 12, RangeEnd: 12},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rmask", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmask", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "info", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msbits", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rate_num", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rate_den", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fifo_size", TypeSize: 8}}},
+ &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_pcm_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_pcm_info", TypeSize: 288}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "subdev", TypeSize: 4}}},
@@ -23283,6 +23318,50 @@ var structDescs_ppc64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sync", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
&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},
}}},
+ {Key: StructKey{Name: "snd_pcm_mmap_control"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_pcm_mmap_control", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "appl_ptr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "avail_min", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "snd_pcm_status"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_pcm_status", TypeSize: 152}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "state", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "trigger_tstamp_sec", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "trigger_tstamp_nsec", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tstamp_sec", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tstamp_nsec", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "appl_ptr", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "hw_ptr", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "delay", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "avail", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "avail_max", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "overrange", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "suspended_state", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_pcm_audio_tstamp_type", FldName: "audio_tstamp_data", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 56}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "snd_pcm_sw_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_pcm_sw_params", TypeSize: 136}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tstamp_mode", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "period_step", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sleep_min", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "avail_min", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "xfer_align", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "start_threshold", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stop_threshold", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "silence_threshold", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "silence_size", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "boundary", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "proto", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sndrv_pcm_audio_tstamp_type", FldName: "tstamp_type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 56}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "snd_pcm_sync_ptr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_pcm_sync_ptr", TypeSize: 136}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_pcm_sync_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4}, BitMask: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "status", TypeSize: 64}, Kind: 1, RangeBegin: 64, RangeEnd: 64},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &StructType{Key: StructKey{Name: "snd_pcm_mmap_control"}, FldName: "control"},
+ &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}}},
@@ -23610,6 +23689,26 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "snd_timer_id"}, FldName: "tid"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 32}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
}}},
+ {Key: StructKey{Name: "snd_xferi"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_xferi", TypeSize: 24}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "result", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "frames", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}},
+ }}},
+ {Key: StructKey{Name: "snd_xferi", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_xferi", TypeSize: 24, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "result", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "frames", TypeSize: 8, ArgDir: 1}}, BitSize: 8, Path: []string{"buf"}},
+ }}},
+ {Key: StructKey{Name: "snd_xfern"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_xfern", TypeSize: 24}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "result", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "frames", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "snd_xfern", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_xfern", TypeSize: 24, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "result", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "frames", TypeSize: 8, ArgDir: 1}}},
+ }}},
{Key: StructKey{Name: "sock_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sock_filter", TypeSize: 8}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "code", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "jt", TypeSize: 1}}},
@@ -38359,6 +38458,161 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221771547},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_ctl_tlv"}}},
}},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_CHANNEL_INFO", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075331378},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 24, ArgDir: 1}, Kind: 1, RangeBegin: 24, RangeEnd: 24}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_DELAY", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074282785},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_DRAIN", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887620},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_DROP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887619},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_FORWARD", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148024649},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_HWSYNC", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887586},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_HW_FREE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887570},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_HW_PARAMS", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3261088017},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_pcm_hw_params"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_HW_PARAMS_OLD", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3238019345},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_pcm_hw_params_old"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_HW_REFINE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3261088016},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_pcm_hw_params"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_HW_REFINE_OLD", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3238019344},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_pcm_hw_params_old"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_INFO", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1092632833},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 288, ArgDir: 1}, Kind: 1, RangeBegin: 288, RangeEnd: 288}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_LINK", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762528},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_PAUSE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762501},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_PREPARE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887616},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_READI_FRAMES", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075331409},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_xferi", Dir: 1}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_READN_FRAMES", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075331411},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_xfern", Dir: 1}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_RESET", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887617},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_RESUME", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887623},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_REWIND", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148024646},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_START", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887618},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_STATUS", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1083719968},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 152, ArgDir: 1}, Kind: 1, RangeBegin: 152, RangeEnd: 152}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_STATUS_EXT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3231203620},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_pcm_status"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_SW_PARAMS", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3230155027},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_pcm_sw_params"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_SYNC_PTR", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3230155043},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_pcm_sync_ptr"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_TTSTAMP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762435},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_UNLINK", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887649},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_USER_PVERSION", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762436},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_WRITEI_FRAMES", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149073232},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_xferi"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_WRITEN_FRAMES", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149073234},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "snd_xfern"}}},
+ }},
+ {NR: 54, Name: "ioctl$SNDRV_PCM_IOCTL_XRUN", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887624},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}},
+ }},
{NR: 54, Name: "ioctl$SNDRV_RAWMIDI_IOCTL_DRAIN", 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: 2147768113},
@@ -41157,6 +41411,30 @@ var syscalls_ppc64le = []*Syscall{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_perf", FldName: "fd", TypeSize: 4}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "offset", TypeSize: 8}}},
}},
+ {NR: 90, Name: "mmap$snddsp", CallName: "mmap", Args: []Type{
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_prot", FldName: "prot", TypeSize: 8}}, Vals: []uint64{0, 4, 1, 2, 8, 16777216, 33554432}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 0, 32, 2048, 4096, 0, 16, 256, 262144, 128, 65536, 64, 32768, 131072, 67108864, 3, 524288, 1048576}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "offset", TypeSize: 8}}, Kind: 1, RangeEnd: 65536, Align: 4096},
+ }},
+ {NR: 90, Name: "mmap$snddsp_control", CallName: "mmap", Args: []Type{
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "len", TypeSize: 8}}, Val: 4096},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_prot", FldName: "prot", TypeSize: 8}}, Vals: []uint64{0, 4, 1, 2, 8, 16777216, 33554432}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 0, 32, 2048, 4096, 0, 16, 256, 262144, 128, 65536, 64, 32768, 131072, 67108864, 3, 524288, 1048576}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "offset", TypeSize: 8}}, Val: 2164260864},
+ }},
+ {NR: 90, Name: "mmap$snddsp_status", CallName: "mmap", Args: []Type{
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "len", TypeSize: 8}}, Val: 4096},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_prot", FldName: "prot", TypeSize: 8}}, Vals: []uint64{0, 4, 1, 2, 8, 16777216, 33554432}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 0, 32, 2048, 4096, 0, 16, 256, 262144, 128, 65536, 64, 32768, 131072, 67108864, 3, 524288, 1048576}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "offset", TypeSize: 8}}, Val: 2147483648},
+ }},
{NR: 90, Name: "mmap$usbfs", CallName: "mmap", Args: []Type{
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
@@ -42708,6 +42986,11 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 20, ArgDir: 1}, ArgFormat: 2}, Kind: 1, RangeEnd: 2}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Path: []string{"buf"}},
}},
+ {NR: 3, Name: "read$snddsp", CallName: "read", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}},
+ }},
{NR: 3, Name: "read$trusty", CallName: "read", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_trusty", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
@@ -46808,12 +47091,12 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 18}, Kind: 2, Values: []string{"/dev/snd/pcmC#D#c\x00"}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 131072, 16384, 128, 65536, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true},
- }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{Name: "syz_open_dev$sndpcmp", CallName: "syz_open_dev", Args: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 18}, Kind: 2, Values: []string{"/dev/snd/pcmC#D#p\x00"}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 131072, 16384, 128, 65536, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true},
- }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{Name: "syz_open_dev$sndseq", CallName: "syz_open_dev", Args: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/snd/seq\x00"}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "id", TypeSize: 8}}},
@@ -48005,6 +48288,11 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 20}, ArgFormat: 2}, Kind: 1, RangeEnd: 2}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Path: []string{"buf"}},
}},
+ {NR: 4, Name: "write$snddsp", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_snd_dsp", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}},
+ }},
{NR: 4, Name: "write$sndseq", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sndseq", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "snd_seq_event"}}}},
@@ -52959,6 +53247,48 @@ var consts_ppc64le = []ConstValue{
{Name: "SNDRV_CTL_IOCTL_TLV_COMMAND", Value: 3221771548},
{Name: "SNDRV_CTL_IOCTL_TLV_READ", Value: 3221771546},
{Name: "SNDRV_CTL_IOCTL_TLV_WRITE", Value: 3221771547},
+ {Name: "SNDRV_PCM_AUDIO_TSTAMP_TYPE_COMPAT"},
+ {Name: "SNDRV_PCM_AUDIO_TSTAMP_TYPE_DEFAULT", Value: 1},
+ {Name: "SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK", Value: 2},
+ {Name: "SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ABSOLUTE", Value: 3},
+ {Name: "SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ESTIMATED", Value: 4},
+ {Name: "SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED", Value: 5},
+ {Name: "SNDRV_PCM_IOCTL_CHANNEL_INFO", Value: 1075331378},
+ {Name: "SNDRV_PCM_IOCTL_DELAY", Value: 1074282785},
+ {Name: "SNDRV_PCM_IOCTL_DRAIN", Value: 536887620},
+ {Name: "SNDRV_PCM_IOCTL_DROP", Value: 536887619},
+ {Name: "SNDRV_PCM_IOCTL_FORWARD", Value: 2148024649},
+ {Name: "SNDRV_PCM_IOCTL_HWSYNC", Value: 536887586},
+ {Name: "SNDRV_PCM_IOCTL_HW_FREE", Value: 536887570},
+ {Name: "SNDRV_PCM_IOCTL_HW_PARAMS", Value: 3261088017},
+ {Name: "SNDRV_PCM_IOCTL_HW_PARAMS_OLD", Value: 3238019345},
+ {Name: "SNDRV_PCM_IOCTL_HW_REFINE", Value: 3261088016},
+ {Name: "SNDRV_PCM_IOCTL_HW_REFINE_OLD", Value: 3238019344},
+ {Name: "SNDRV_PCM_IOCTL_INFO", Value: 1092632833},
+ {Name: "SNDRV_PCM_IOCTL_LINK", Value: 2147762528},
+ {Name: "SNDRV_PCM_IOCTL_PAUSE", Value: 2147762501},
+ {Name: "SNDRV_PCM_IOCTL_PREPARE", Value: 536887616},
+ {Name: "SNDRV_PCM_IOCTL_READI_FRAMES", Value: 1075331409},
+ {Name: "SNDRV_PCM_IOCTL_READN_FRAMES", Value: 1075331411},
+ {Name: "SNDRV_PCM_IOCTL_RESET", Value: 536887617},
+ {Name: "SNDRV_PCM_IOCTL_RESUME", Value: 536887623},
+ {Name: "SNDRV_PCM_IOCTL_REWIND", Value: 2148024646},
+ {Name: "SNDRV_PCM_IOCTL_START", Value: 536887618},
+ {Name: "SNDRV_PCM_IOCTL_STATUS", Value: 1083719968},
+ {Name: "SNDRV_PCM_IOCTL_STATUS_EXT", Value: 3231203620},
+ {Name: "SNDRV_PCM_IOCTL_SW_PARAMS", Value: 3230155027},
+ {Name: "SNDRV_PCM_IOCTL_SYNC_PTR", Value: 3230155043},
+ {Name: "SNDRV_PCM_IOCTL_TTSTAMP", Value: 2147762435},
+ {Name: "SNDRV_PCM_IOCTL_UNLINK", Value: 536887649},
+ {Name: "SNDRV_PCM_IOCTL_USER_PVERSION", Value: 2147762436},
+ {Name: "SNDRV_PCM_IOCTL_WRITEI_FRAMES", Value: 2149073232},
+ {Name: "SNDRV_PCM_IOCTL_WRITEN_FRAMES", Value: 2149073234},
+ {Name: "SNDRV_PCM_IOCTL_XRUN", Value: 536887624},
+ {Name: "SNDRV_PCM_MMAP_OFFSET_CONTROL", Value: 2164260864},
+ {Name: "SNDRV_PCM_MMAP_OFFSET_STATUS", Value: 2147483648},
+ {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},
@@ -53098,6 +53428,12 @@ var consts_ppc64le = []ConstValue{
{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},
+ {Name: "SND_PCM_SFRAMES_SIZE", Value: 8},
+ {Name: "SND_PCM_STATUS_SIZE", Value: 152},
+ {Name: "SND_PCM_SW_PARAMS_SIZE", Value: 136},
+ {Name: "SND_PCM_SYNC_PTR_SIZE", Value: 136},
{Name: "SOCKADDR_PPPOX_SIZE", Value: 30},
{Name: "SOCKADDR_SIZE", Value: 16},
{Name: "SOCKADDR_STORAGE_SIZE", Value: 128},
@@ -56289,4 +56625,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "1ec67f5a87ac709663b3cc718bf1d7e8abd41b29"
+const revision_ppc64le = "5b00956e3da581e8cc76397c93cded3c4f6edd67"