aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--executor/defs.h10
-rw-r--r--sys/linux/dev_video4linux.txt41
-rw-r--r--sys/linux/dev_video4linux.txt.warn55
-rw-r--r--sys/linux/gen/386.go71
-rw-r--r--sys/linux/gen/amd64.go72
-rw-r--r--sys/linux/gen/arm.go71
-rw-r--r--sys/linux/gen/arm64.go72
-rw-r--r--sys/linux/gen/ppc64le.go72
8 files changed, 253 insertions, 211 deletions
diff --git a/executor/defs.h b/executor/defs.h
index 6197fd64c..491208505 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -70,7 +70,7 @@
#if GOARCH_386
#define GOARCH "386"
-#define SYZ_REVISION "c8c9ccd410416c508e538ab857875b6e2f1a466c"
+#define SYZ_REVISION "bbe027309346335e0fac83de8564a6cf5cf26626"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -80,7 +80,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "18a91f6b216e971743f0cbd71deca9e80b9bd20b"
+#define SYZ_REVISION "812cdaf421f1cea097ef19be54049bc825666a43"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -90,7 +90,7 @@
#if GOARCH_arm
#define GOARCH "arm"
-#define SYZ_REVISION "faec5e38eacbfab68fa98d6541183ced33840fe6"
+#define SYZ_REVISION "9f50d24dc1c804ae35176c3c42278604b026b500"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -100,7 +100,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "75fc019821c9437a8d33a5ab43d33c3a292e8faa"
+#define SYZ_REVISION "d2286ec9a1ed2466e483fcbde92dba45b9baf8b9"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -120,7 +120,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
-#define SYZ_REVISION "17b465ac557047b44f5ba97c4e06a480d4b89026"
+#define SYZ_REVISION "80d2fa706e6b07d249829824096cc6e1f76ec38d"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
diff --git a/sys/linux/dev_video4linux.txt b/sys/linux/dev_video4linux.txt
index 20babca75..2d5d3c73a 100644
--- a/sys/linux/dev_video4linux.txt
+++ b/sys/linux/dev_video4linux.txt
@@ -18,7 +18,6 @@ include <uapi/linux/v4l2-controls.h>
resource fd_video[fd]
resource fd_dmabuf[fd]
resource fd_v4l2_buffer[fd]
-resource v4l2_std_id[int64]
syz_open_dev$video(dev ptr[in, string["/dev/video#"]], id intptr, flags flags[open_flags]) fd_video
syz_open_dev$video4linux(dev ptr[in, string["/dev/v4l-subdev#"]], id intptr, flags flags[open_flags]) fd_video
@@ -145,8 +144,8 @@ ioctl$VIDIOC_SUBDEV_DV_TIMINGS_CAP(fd fd_video, cmd const[VIDIOC_SUBDEV_DV_TIMIN
v4l2_capability {
driver array[int8, 16]
- card array[int8, 16]
- bus_version array[int8, 32]
+ card array[int8, 32]
+ bus_info array[int8, 32]
version int32
capabilities flags[v4l2_capability_capabilities, int32]
device_caps int32
@@ -263,7 +262,8 @@ v4l2_requestbuffers {
count int32
type flags[v4l2_buf_type, int32]
memory flags[v4l2_memory, int32]
- reserved array[const[0, int32], 2]
+ capabilities const[0, int32]
+ reserved const[0, int32]
}
v4l2_buffer {
@@ -271,14 +271,15 @@ v4l2_buffer {
type flags[v4l2_buf_type, int32]
bytesused len[type, int32]
flags flags[v4l2_buffer_flags, int32]
+ field int32
timestamp timeval
timecode v4l2_timecode
sequence int32
memory flags[v4l2_memory, int32]
m v4l2_buffer_union
- length len[type, int32]
+ length int32
reserved2 const[0, int32]
- reserved const[0, int32]
+ request_fd fd[opt]
}
v4l2_buffer_union [
@@ -491,7 +492,8 @@ v4l2_ext_controls {
ctrl_class flags[v4l2_ext_ctrl_class, int32]
count int32
error_idx int32
- reserved array[const[0, int32], 2]
+ request_fd fd[opt]
+ reserved const[0, int32]
controls ptr[inout, v4l2_ext_control]
}
@@ -630,7 +632,10 @@ v4l2_bt_timings {
il_vbackporch int32
standards flags[v4l2_bt_timings_standards, int32]
flags flags[v4l2_bt_timings_flags, int32]
- reserved array[const[0, int32], 14]
+ picture_aspect v4l2_fract
+ cea861_vic int8
+ hdmi_vic int8
+ reserved array[const[0, int8], 46]
} [packed]
v4l2_encoder_cmd {
@@ -704,7 +709,8 @@ v4l2_create_buffers {
count int32
memory flags[v4l2_memory, int32]
format v4l2_format
- reserved array[const[0, int32], 8]
+ capabilities int32
+ reserved array[const[0, int32], 7]
}
v4l2_selection {
@@ -797,9 +803,11 @@ v4l2_query_ext_ctrl {
reserved array[const[0, int32], 32]
}
+type v4l2_std_id flags[v4l2_std_id, int64]
+
v4l2_standard {
index int32
- id flags[v4l2_standard_std, int32]
+ id v4l2_std_id
name array[int8, 24]
frameperiod v4l2_fract
framelines int32
@@ -812,7 +820,7 @@ v4l2_input {
type flags[v4l2_input_type, int32]
audioset int32
tuner flags[v4l2_tuner_type, int32]
- std flags[v4l2_standard_std, int32]
+ std v4l2_std_id
status flags[v4l2_input_status, int32]
capabilities flags[v4l2_input_capabilities, int32]
reserved array[const[0, int32], 3]
@@ -824,7 +832,7 @@ v4l2_output {
type flags[v4l2_output_type, int32]
audioset int32
modulator int32
- std flags[v4l2_standard_std, int32]
+ std v4l2_std_id
capabilities flags[v4l2_output_capabilities, int32]
reserved array[const[0, int32], 3]
}
@@ -842,9 +850,10 @@ v4l2_mbus_framefmt {
code flags[media_bus_fmt, int32]
field flags[v4l2_field, int32]
colorspace flags[v4l2_colorspace, int32]
- ycbcr_enc flags[v4l2_ycbcr_encoding, int32]
- quantization flags[v4l2_quantization, int32]
- xfer_func flags[v4l2_xfer_func, int32]
+ ycbcr_enc flags[v4l2_ycbcr_encoding, int16]
+ quantization flags[v4l2_quantization, int16]
+ xfer_func flags[v4l2_xfer_func, int16]
+ reserved array[const[0, int16], 11]
}
v4l2_subdev_frame_interval {
@@ -960,7 +969,7 @@ v4l2_selection_target = V4L2_SEL_TGT_CROP, V4L2_SEL_TGT_CROP_DEFAULT, V4L2_SEL_T
v4l2_selection_flags = V4L2_SEL_FLAG_GE, V4L2_SEL_FLAG_LE, V4L2_SEL_FLAG_KEEP_CONFIG, V4L2_SUBDEV_SEL_FLAG_SIZE_GE, V4L2_SUBDEV_SEL_FLAG_SIZE_LE, V4L2_SUBDEV_SEL_FLAG_KEEP_CONFIG
v4l2_bt_timings_cap_capabilities = V4L2_DV_BT_CAP_INTERLACED, V4L2_DV_BT_CAP_PROGRESSIVE, V4L2_DV_BT_CAP_REDUCED_BLANKING, V4L2_DV_BT_CAP_CUSTOM
v4l2_dbg_chip_info_flags = V4L2_CHIP_FL_READABLE, V4L2_CHIP_FL_WRITABLE
-v4l2_standard_std = V4L2_STD_PAL_B, V4L2_STD_PAL_B1, V4L2_STD_PAL_G, V4L2_STD_PAL_H, V4L2_STD_PAL_I, V4L2_STD_PAL_D, V4L2_STD_PAL_D1, V4L2_STD_PAL_K, V4L2_STD_PAL_M, V4L2_STD_PAL_N, V4L2_STD_PAL_Nc, V4L2_STD_PAL_60, V4L2_STD_NTSC_M, V4L2_STD_NTSC_M_JP, V4L2_STD_NTSC_443, V4L2_STD_NTSC_M_KR, V4L2_STD_SECAM_B, V4L2_STD_SECAM_D, V4L2_STD_SECAM_G, V4L2_STD_SECAM_H, V4L2_STD_SECAM_K, V4L2_STD_SECAM_K1, V4L2_STD_SECAM_L, V4L2_STD_SECAM_LC, V4L2_STD_ATSC_8_VSB, V4L2_STD_ATSC_16_VSB, V4L2_STD_NTSC, V4L2_STD_SECAM_DK, V4L2_STD_SECAM, V4L2_STD_PAL_BG, V4L2_STD_PAL_DK, V4L2_STD_PAL, V4L2_STD_B, V4L2_STD_G, V4L2_STD_H, V4L2_STD_L, V4L2_STD_GH, V4L2_STD_DK, V4L2_STD_BG, V4L2_STD_MN, V4L2_STD_MTS, V4L2_STD_525_60, V4L2_STD_625_50, V4L2_STD_ATSC, V4L2_STD_UNKNOWN, V4L2_STD_ALL
+v4l2_std_id = V4L2_STD_PAL_B, V4L2_STD_PAL_B1, V4L2_STD_PAL_G, V4L2_STD_PAL_H, V4L2_STD_PAL_I, V4L2_STD_PAL_D, V4L2_STD_PAL_D1, V4L2_STD_PAL_K, V4L2_STD_PAL_M, V4L2_STD_PAL_N, V4L2_STD_PAL_Nc, V4L2_STD_PAL_60, V4L2_STD_NTSC_M, V4L2_STD_NTSC_M_JP, V4L2_STD_NTSC_443, V4L2_STD_NTSC_M_KR, V4L2_STD_SECAM_B, V4L2_STD_SECAM_D, V4L2_STD_SECAM_G, V4L2_STD_SECAM_H, V4L2_STD_SECAM_K, V4L2_STD_SECAM_K1, V4L2_STD_SECAM_L, V4L2_STD_SECAM_LC, V4L2_STD_ATSC_8_VSB, V4L2_STD_ATSC_16_VSB, V4L2_STD_NTSC, V4L2_STD_SECAM_DK, V4L2_STD_SECAM, V4L2_STD_PAL_BG, V4L2_STD_PAL_DK, V4L2_STD_PAL, V4L2_STD_B, V4L2_STD_G, V4L2_STD_H, V4L2_STD_L, V4L2_STD_GH, V4L2_STD_DK, V4L2_STD_BG, V4L2_STD_MN, V4L2_STD_MTS, V4L2_STD_525_60, V4L2_STD_625_50, V4L2_STD_ATSC, V4L2_STD_UNKNOWN, V4L2_STD_ALL
v4l2_input_status = V4L2_IN_ST_NO_POWER, V4L2_IN_ST_NO_SIGNAL, V4L2_IN_ST_NO_COLOR, V4L2_IN_ST_HFLIP, V4L2_IN_ST_VFLIP, V4L2_IN_ST_NO_H_LOCK, V4L2_IN_ST_COLOR_KILL, V4L2_IN_ST_NO_V_LOCK, V4L2_IN_ST_NO_STD_LOCK, V4L2_IN_ST_NO_SYNC, V4L2_IN_ST_NO_EQU, V4L2_IN_ST_NO_CARRIER, V4L2_IN_ST_MACROVISION, V4L2_IN_ST_NO_ACCESS, V4L2_IN_ST_VTR
v4l2_input_type = V4L2_INPUT_TYPE_TUNER, V4L2_INPUT_TYPE_CAMERA, V4L2_INPUT_TYPE_TOUCH
v4l2_input_capabilities = V4L2_IN_CAP_DV_TIMINGS, V4L2_IN_CAP_CUSTOM_TIMINGS, V4L2_IN_CAP_STD, V4L2_IN_CAP_NATIVE_SIZE
diff --git a/sys/linux/dev_video4linux.txt.warn b/sys/linux/dev_video4linux.txt.warn
index 097f3bac0..12fd25cf4 100644
--- a/sys/linux/dev_video4linux.txt.warn
+++ b/sys/linux/dev_video4linux.txt.warn
@@ -1,71 +1,16 @@
-struct v4l2_capability: bad size: syz=88 kernel=104
-field v4l2_capability.card: bad size: syz=16 kernel=32
-field v4l2_capability.bus_version/bus_info: bad offset: syz=32 kernel=48
-field v4l2_capability.version: bad offset: syz=64 kernel=80
-field v4l2_capability.capabilities: bad offset: syz=68 kernel=84
-field v4l2_capability.device_caps: bad offset: syz=72 kernel=88
-field v4l2_capability.reserved: bad offset: syz=76 kernel=92
struct v4l2_format_fmt: no corresponding struct in kernel
-struct v4l2_requestbuffers: bad number of fields: syz=4 kernel=5
-field v4l2_requestbuffers.reserved/capabilities: bad size: syz=8 kernel=4
-struct v4l2_buffer: bad number of fields: syz=12 kernel=13
-struct v4l2_buffer: bad size: syz=80 kernel=88
-field v4l2_buffer.timestamp/field: bad size: syz=16 kernel=4
-field v4l2_buffer.timecode/timestamp: bad offset: syz=32 kernel=24
-field v4l2_buffer.sequence/timecode: bad offset: syz=48 kernel=40
-field v4l2_buffer.sequence/timecode: bad size: syz=4 kernel=16
-field v4l2_buffer.memory/sequence: bad offset: syz=52 kernel=56
-field v4l2_buffer.m/memory: bad offset: syz=56 kernel=60
-field v4l2_buffer.m/memory: bad size: syz=8 kernel=4
-field v4l2_buffer.length/m: bad size: syz=4 kernel=8
-field v4l2_buffer.reserved2/length: bad offset: syz=68 kernel=72
-field v4l2_buffer.reserved/reserved2: bad offset: syz=72 kernel=76
struct v4l2_buffer_union: no corresponding struct in kernel
struct v4l2_plane_union: no corresponding struct in kernel
struct v4l2_framebuffer_union: no corresponding struct in kernel
struct v4l2_streamparm_union: no corresponding struct in kernel
struct v4l2_querymenu_union: no corresponding struct in kernel
-struct v4l2_ext_controls: bad number of fields: syz=5 kernel=6
-field v4l2_ext_controls.reserved/request_fd: bad size: syz=8 kernel=4
-field v4l2_ext_controls.controls/reserved: bad offset: syz=24 kernel=16
-field v4l2_ext_controls.controls/reserved: bad size: syz=8 kernel=4
struct v4l2_ext_u: no corresponding struct in kernel
struct v4l2_frmsizeenum_union: no corresponding struct in kernel
struct v4l2_frmivalenum_union: no corresponding struct in kernel
struct v4l2_dbg_match_union: no corresponding struct in kernel
struct v4l2_dv_timings_union: no corresponding struct in kernel
-struct v4l2_bt_timings: bad number of fields: syz=17 kernel=20
-field v4l2_bt_timings.reserved/picture_aspect: bad size: syz=56 kernel=8
struct v4l2_event_union: no corresponding struct in kernel
struct v4l2_event_ctrl_union: no corresponding struct in kernel
-struct v4l2_create_buffers: bad number of fields: syz=5 kernel=6
-field v4l2_create_buffers.reserved/capabilities: bad size: syz=32 kernel=4
struct v4l2_decoder_cmd_u: no corresponding struct in kernel
struct v4l2_decoder_cmd_start: no corresponding struct in kernel
struct v4l2_dv_timings_cap_u: no corresponding struct in kernel
-struct v4l2_standard: bad size: syz=60 kernel=72
-field v4l2_standard.id: bad offset: syz=4 kernel=8
-field v4l2_standard.id: bad size: syz=4 kernel=8
-field v4l2_standard.name: bad offset: syz=8 kernel=16
-field v4l2_standard.frameperiod: bad offset: syz=32 kernel=40
-field v4l2_standard.framelines: bad offset: syz=40 kernel=48
-field v4l2_standard.reserved: bad offset: syz=44 kernel=52
-struct v4l2_input: bad size: syz=72 kernel=80
-field v4l2_input.std: bad size: syz=4 kernel=8
-field v4l2_input.status: bad offset: syz=52 kernel=56
-field v4l2_input.capabilities: bad offset: syz=56 kernel=60
-field v4l2_input.reserved: bad offset: syz=60 kernel=64
-struct v4l2_output: bad size: syz=68 kernel=72
-field v4l2_output.std: bad size: syz=4 kernel=8
-field v4l2_output.capabilities: bad offset: syz=52 kernel=56
-field v4l2_output.reserved: bad offset: syz=56 kernel=60
-struct v4l2_subdev_format: bad size: syz=72 kernel=88
-field v4l2_subdev_format.format: bad size: syz=32 kernel=48
-field v4l2_subdev_format.reserved: bad offset: syz=40 kernel=56
-struct v4l2_mbus_framefmt: bad number of fields: syz=8 kernel=9
-struct v4l2_mbus_framefmt: bad size: syz=32 kernel=48
-field v4l2_mbus_framefmt.ycbcr_enc: bad size: syz=4 kernel=2
-field v4l2_mbus_framefmt.quantization: bad offset: syz=24 kernel=22
-field v4l2_mbus_framefmt.quantization: bad size: syz=4 kernel=2
-field v4l2_mbus_framefmt.xfer_func: bad offset: syz=28 kernel=24
-field v4l2_mbus_framefmt.xfer_func: bad size: syz=4 kernel=2
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 4aa807727..8edec2995 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -251,7 +251,6 @@ var resources_386 = []*ResourceDesc{
{Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}},
{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}},
{Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}},
- {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}},
{Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}},
{Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615}},
{Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615}},
@@ -28777,7 +28776,10 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 1}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 1}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings", TypeSize: 124, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
@@ -28796,7 +28798,10 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap", TypeSize: 104, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_width", TypeSize: 4, ArgDir: 2}}},
@@ -28809,19 +28814,20 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
- {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 64, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 68, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytesused", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256, 1024, 2048, 4096, 57344, 0, 8192, 16384, 458752, 0, 65536, 1048576, 131072, 262144, 524288, 2097152, 4194304, 16777216, 33554432, 67108864, 536870912, 1073741824, 2147483648}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field", TypeSize: 4, ArgDir: 2}}},
&StructType{Key: StructKey{Name: "timeval", Dir: 2}, FldName: "timestamp"},
&StructType{Key: StructKey{Name: "v4l2_timecode", Dir: 2}, FldName: "timecode"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sequence", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&UnionType{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, FldName: "m"},
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "length", TypeSize: 4, ArgDir: 2}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_union", TypeSize: 4, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 2}}},
@@ -28829,10 +28835,10 @@ var structDescs_386 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "planes", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "v4l2_plane", Dir: 2}}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_v4l2_buffer", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
- {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 88, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 104, ArgDir: 1}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_version", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_info", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "version", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_capability_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 268435456, 2147483648}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_caps", TypeSize: 4, ArgDir: 1}}},
@@ -28859,7 +28865,8 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&StructType{Key: StructKey{Name: "v4l2_format", Dir: 2}, FldName: "format"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 28, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 7, RangeEnd: 7},
}}},
{Key: StructKey{Name: "v4l2_crop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_crop", TypeSize: 20}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29052,7 +29059,8 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ext_ctrl_class", FldName: "ctrl_class", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{9961472, 10027008, 10092544, 10158080, 10223616, 10289152, 10354688, 10420224, 10485760, 10551296, 10616832, 10682368, 268435455, 4, 0, 251658240}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "error_idx", TypeSize: 4, ArgDir: 2}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "controls", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "v4l2_ext_control", Dir: 2}}},
}}},
{Key: StructKey{Name: "v4l2_ext_u", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_ext_u", TypeSize: 8, ArgDir: 2}, Fields: []Type{
@@ -29085,6 +29093,10 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, FldName: "sdr"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 200, ArgDir: 2}, Kind: 1, RangeBegin: 200, RangeEnd: 200},
}}},
+ {Key: StructKey{Name: "v4l2_fract", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 1}}},
+ }}},
{Key: StructKey{Name: "v4l2_fract", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 2}}},
@@ -29194,16 +29206,17 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rangehigh", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 20}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5},
}}},
- {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 80, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "tuner", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_status", FldName: "status", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 16, 32, 256, 512, 1024, 2048, 65536, 131072, 262144, 16777216, 33554432, 67108864}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_jpegcompression"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_jpegcompression", TypeSize: 140}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}},
@@ -29223,15 +29236,16 @@ var structDescs_386 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "COM_data", TypeSize: 60, ArgDir: 1}, Kind: 1, RangeBegin: 60, RangeEnd: 60},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_jpeg_markers", FldName: "jpeg_markers", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{8, 16, 32, 64, 128}, BitMask: true},
}}},
- {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 32, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 48, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "media_bus_fmt", FldName: "code", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 4118, 4097, 4098, 4099, 4100, 4119, 4101, 4102, 4103, 4104, 4105, 4110, 4117, 4112, 4115, 4116, 4106, 4107, 4108, 4113, 4114, 4109, 4111, 8193, 8213, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8216, 8217, 8203, 8204, 8211, 8220, 8221, 8222, 8223, 8207, 8208, 8209, 8210, 8212, 8218, 8219, 8205, 8206, 8228, 8229, 8224, 8225, 8226, 8227, 8214, 8215, 12289, 12307, 12290, 12308, 12309, 12310, 12311, 12312, 12299, 12300, 12297, 12301, 12291, 12292, 12293, 12294, 12295, 12302, 12298, 12303, 12296, 12304, 12305, 12306, 16385, 20481, 24577}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_field", FldName: "field", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 22, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 2}}}, Kind: 1, RangeBegin: 11, RangeEnd: 11},
}}},
{Key: StructKey{Name: "v4l2_modulator"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_modulator", TypeSize: 68}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}},
@@ -29253,13 +29267,13 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
- {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 68, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "modulator", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
@@ -29368,7 +29382,8 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
}}},
{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_sdr_format", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_pix_format_pixelformat", FldName: "pixelformat", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{826427218, 875836498, 842093121, 842093144, 1329743698, 892424769, 892424792, 1346520914, 1363298130, 3039908417, 3039908440, 1380075346, 1213351746, 861030210, 859981650, 877807426, 875713089, 875713112, 876758866, 875708738, 875714626, 1111970385, 1497715271, 540291161, 540422233, 540029273, 540160345, 540422489, 2687906137, 1110454617, 944521552, 540563029, 1448695129, 1448434009, 1431918169, 1498831189, 1498765654, 1345401945, 875836505, 1331058009, 1347835225, 878073177, 875710792, 842091848, 808596557, 842094158, 825382478, 909203022, 825644622, 875714126, 842290766, 942813521, 1093808465, 1110585681, 842091854, 825380174, 909200718, 825642318, 842091860, 842091862, 961959257, 961893977, 1345401140, 842093913, 842094169, 1345466932, 842091865, 825380185, 909200729, 825642329, 875711833, 842288473, 825770306, 1196573255, 1195528775, 1111967570, 808535874, 808534599, 808534338, 808535890, 1094795888, 1094797168, 1094805360, 1094799984, 943800929, 943802209, 943810401, 943805025, 943800930, 943802210, 808535106, 943805026, 842090306, 842089031, 842088770, 842090322, 844257602, 1196444237, 1195724874, 1685288548, 1195724877, 875967048, 826496577, 875967053, 859189832, 826757197, 843534413, 877088845, 1145656920, 1194410838, 1278296918, 808996950, 809062486, 1129727304, 809848148, 1095323715, 1096175191, 808532307, 808597843, 826496848, 843274064, 892483141, 825242963, 892351827, 942683475, 825636179, 925905488, 808530765, 808602698, 1481527123, 1127559225, 1196444240, 825308495, 942749007, 808990291, 808865108, 1448364355, 1229868875, 1279742026, 825242707, 1229141331, 541669465, 1228026201, 540422490}},
@@ -29396,13 +29411,15 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "io_size", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
}}},
- {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 60, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "id", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "id", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 24, ArgDir: 2}, Kind: 1, RangeBegin: 24, RangeEnd: 24},
&StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "frameperiod"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framelines", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_streamparm", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_streamparm", TypeSize: 204, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29419,7 +29436,7 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_rect", Dir: 2}, FldName: "rect"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
- {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 88, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format_whence", FldName: "which", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}},
&StructType{Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, FldName: "format"},
@@ -40342,7 +40359,7 @@ var syscalls_386 = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_G_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148029975},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_G_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40392,7 +40409,7 @@ var syscalls_386 = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_QUERYSTD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148030015},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_QUERY_DV_TIMINGS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40612,7 +40629,7 @@ var syscalls_386 = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_S_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074288152},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_S_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -57424,4 +57441,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "c8c9ccd410416c508e538ab857875b6e2f1a466c"
+const revision_386 = "bbe027309346335e0fac83de8564a6cf5cf26626"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 5b0c7998b..d201942ec 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -252,7 +252,6 @@ var resources_amd64 = []*ResourceDesc{
{Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}},
{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}},
{Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}},
- {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}},
{Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}},
{Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615}},
{Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615}},
@@ -29175,7 +29174,10 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 1}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 1}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings", TypeSize: 124, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
@@ -29194,7 +29196,10 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap", TypeSize: 104, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_width", TypeSize: 4, ArgDir: 2}}},
@@ -29207,19 +29212,21 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
- {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 80, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 88, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytesused", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256, 1024, 2048, 4096, 57344, 0, 8192, 16384, 458752, 0, 65536, 1048576, 131072, 262144, 524288, 2097152, 4194304, 16777216, 33554432, 67108864, 536870912, 1073741824, 2147483648}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field", TypeSize: 4, ArgDir: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "timeval", Dir: 2}, FldName: "timestamp"},
&StructType{Key: StructKey{Name: "v4l2_timecode", Dir: 2}, FldName: "timecode"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sequence", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&UnionType{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, FldName: "m"},
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "length", TypeSize: 4, ArgDir: 2}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_union", TypeSize: 8, ArgDir: 2}, Fields: []Type{
@@ -29228,10 +29235,10 @@ var structDescs_amd64 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "planes", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "v4l2_plane", Dir: 2}}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_v4l2_buffer", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
- {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 88, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 104, ArgDir: 1}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_version", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_info", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "version", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_capability_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 268435456, 2147483648}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_caps", TypeSize: 4, ArgDir: 1}}},
@@ -29259,7 +29266,8 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "v4l2_format", Dir: 2}, FldName: "format"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 28, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 7, RangeEnd: 7},
}}},
{Key: StructKey{Name: "v4l2_crop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_crop", TypeSize: 20}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29452,7 +29460,8 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ext_ctrl_class", FldName: "ctrl_class", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{9961472, 10027008, 10092544, 10158080, 10223616, 10289152, 10354688, 10420224, 10485760, 10551296, 10616832, 10682368, 268435455, 4, 0, 251658240}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "error_idx", TypeSize: 4, ArgDir: 2}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "controls", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "v4l2_ext_control", Dir: 2}}},
}}},
@@ -29487,6 +29496,10 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, FldName: "sdr"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 200, ArgDir: 2}, Kind: 1, RangeBegin: 200, RangeEnd: 200},
}}},
+ {Key: StructKey{Name: "v4l2_fract", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 1}}},
+ }}},
{Key: StructKey{Name: "v4l2_fract", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 2}}},
@@ -29596,16 +29609,17 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rangehigh", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 20}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5},
}}},
- {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 80, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "tuner", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_status", FldName: "status", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 16, 32, 256, 512, 1024, 2048, 65536, 131072, 262144, 16777216, 33554432, 67108864}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_jpegcompression"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_jpegcompression", TypeSize: 140}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}},
@@ -29625,15 +29639,16 @@ var structDescs_amd64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "COM_data", TypeSize: 60, ArgDir: 1}, Kind: 1, RangeBegin: 60, RangeEnd: 60},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_jpeg_markers", FldName: "jpeg_markers", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{8, 16, 32, 64, 128}, BitMask: true},
}}},
- {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 32, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 48, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "media_bus_fmt", FldName: "code", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 4118, 4097, 4098, 4099, 4100, 4119, 4101, 4102, 4103, 4104, 4105, 4110, 4117, 4112, 4115, 4116, 4106, 4107, 4108, 4113, 4114, 4109, 4111, 8193, 8213, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8216, 8217, 8203, 8204, 8211, 8220, 8221, 8222, 8223, 8207, 8208, 8209, 8210, 8212, 8218, 8219, 8205, 8206, 8228, 8229, 8224, 8225, 8226, 8227, 8214, 8215, 12289, 12307, 12290, 12308, 12309, 12310, 12311, 12312, 12299, 12300, 12297, 12301, 12291, 12292, 12293, 12294, 12295, 12302, 12298, 12303, 12296, 12304, 12305, 12306, 16385, 20481, 24577}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_field", FldName: "field", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 22, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 2}}}, Kind: 1, RangeBegin: 11, RangeEnd: 11},
}}},
{Key: StructKey{Name: "v4l2_modulator"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_modulator", TypeSize: 68}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}},
@@ -29655,13 +29670,13 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
- {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 68, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "modulator", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
@@ -29770,7 +29785,8 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
}}},
{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_sdr_format", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_pix_format_pixelformat", FldName: "pixelformat", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{826427218, 875836498, 842093121, 842093144, 1329743698, 892424769, 892424792, 1346520914, 1363298130, 3039908417, 3039908440, 1380075346, 1213351746, 861030210, 859981650, 877807426, 875713089, 875713112, 876758866, 875708738, 875714626, 1111970385, 1497715271, 540291161, 540422233, 540029273, 540160345, 540422489, 2687906137, 1110454617, 944521552, 540563029, 1448695129, 1448434009, 1431918169, 1498831189, 1498765654, 1345401945, 875836505, 1331058009, 1347835225, 878073177, 875710792, 842091848, 808596557, 842094158, 825382478, 909203022, 825644622, 875714126, 842290766, 942813521, 1093808465, 1110585681, 842091854, 825380174, 909200718, 825642318, 842091860, 842091862, 961959257, 961893977, 1345401140, 842093913, 842094169, 1345466932, 842091865, 825380185, 909200729, 825642329, 875711833, 842288473, 825770306, 1196573255, 1195528775, 1111967570, 808535874, 808534599, 808534338, 808535890, 1094795888, 1094797168, 1094805360, 1094799984, 943800929, 943802209, 943810401, 943805025, 943800930, 943802210, 808535106, 943805026, 842090306, 842089031, 842088770, 842090322, 844257602, 1196444237, 1195724874, 1685288548, 1195724877, 875967048, 826496577, 875967053, 859189832, 826757197, 843534413, 877088845, 1145656920, 1194410838, 1278296918, 808996950, 809062486, 1129727304, 809848148, 1095323715, 1096175191, 808532307, 808597843, 826496848, 843274064, 892483141, 825242963, 892351827, 942683475, 825636179, 925905488, 808530765, 808602698, 1481527123, 1127559225, 1196444240, 825308495, 942749007, 808990291, 808865108, 1448364355, 1229868875, 1279742026, 825242707, 1229141331, 541669465, 1228026201, 540422490}},
@@ -29798,13 +29814,15 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "io_size", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
}}},
- {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 60, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "id", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "id", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 24, ArgDir: 2}, Kind: 1, RangeBegin: 24, RangeEnd: 24},
&StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "frameperiod"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framelines", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_streamparm", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_streamparm", TypeSize: 204, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29821,7 +29839,7 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_rect", Dir: 2}, FldName: "rect"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
- {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 88, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format_whence", FldName: "which", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}},
&StructType{Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, FldName: "format"},
@@ -40873,7 +40891,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 16, Name: "ioctl$VIDIOC_G_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148029975},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 16, Name: "ioctl$VIDIOC_G_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40923,7 +40941,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 16, Name: "ioctl$VIDIOC_QUERYSTD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148030015},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 16, Name: "ioctl$VIDIOC_QUERY_DV_TIMINGS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -41143,7 +41161,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 16, Name: "ioctl$VIDIOC_S_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074288152},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 16, Name: "ioctl$VIDIOC_S_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -57969,4 +57987,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "18a91f6b216e971743f0cbd71deca9e80b9bd20b"
+const revision_amd64 = "812cdaf421f1cea097ef19be54049bc825666a43"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 6370c238c..855eec485 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -251,7 +251,6 @@ var resources_arm = []*ResourceDesc{
{Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}},
{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}},
{Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}},
- {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}},
{Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}},
{Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615}},
{Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615}},
@@ -28574,7 +28573,10 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 1}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 1}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings", TypeSize: 124, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
@@ -28593,7 +28595,10 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap", TypeSize: 104, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_width", TypeSize: 4, ArgDir: 2}}},
@@ -28606,19 +28611,20 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
- {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 64, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 68, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytesused", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256, 1024, 2048, 4096, 57344, 0, 8192, 16384, 458752, 0, 65536, 1048576, 131072, 262144, 524288, 2097152, 4194304, 16777216, 33554432, 67108864, 536870912, 1073741824, 2147483648}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field", TypeSize: 4, ArgDir: 2}}},
&StructType{Key: StructKey{Name: "timeval", Dir: 2}, FldName: "timestamp"},
&StructType{Key: StructKey{Name: "v4l2_timecode", Dir: 2}, FldName: "timecode"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sequence", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&UnionType{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, FldName: "m"},
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "length", TypeSize: 4, ArgDir: 2}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_union", TypeSize: 4, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 2}}},
@@ -28626,10 +28632,10 @@ var structDescs_arm = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "planes", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "v4l2_plane", Dir: 2}}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_v4l2_buffer", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
- {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 88, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 104, ArgDir: 1}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_version", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_info", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "version", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_capability_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 268435456, 2147483648}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_caps", TypeSize: 4, ArgDir: 1}}},
@@ -28656,7 +28662,8 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&StructType{Key: StructKey{Name: "v4l2_format", Dir: 2}, FldName: "format"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 28, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 7, RangeEnd: 7},
}}},
{Key: StructKey{Name: "v4l2_crop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_crop", TypeSize: 20}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -28849,7 +28856,8 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ext_ctrl_class", FldName: "ctrl_class", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{9961472, 10027008, 10092544, 10158080, 10223616, 10289152, 10354688, 10420224, 10485760, 10551296, 10616832, 10682368, 268435455, 4, 0, 251658240}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "error_idx", TypeSize: 4, ArgDir: 2}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "controls", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "v4l2_ext_control", Dir: 2}}},
}}},
{Key: StructKey{Name: "v4l2_ext_u", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_ext_u", TypeSize: 8, ArgDir: 2}, Fields: []Type{
@@ -28882,6 +28890,10 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, FldName: "sdr"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 200, ArgDir: 2}, Kind: 1, RangeBegin: 200, RangeEnd: 200},
}}},
+ {Key: StructKey{Name: "v4l2_fract", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 1}}},
+ }}},
{Key: StructKey{Name: "v4l2_fract", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 2}}},
@@ -28991,16 +29003,17 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rangehigh", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 20}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5},
}}},
- {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 80, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "tuner", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_status", FldName: "status", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 16, 32, 256, 512, 1024, 2048, 65536, 131072, 262144, 16777216, 33554432, 67108864}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_jpegcompression"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_jpegcompression", TypeSize: 140}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}},
@@ -29020,15 +29033,16 @@ var structDescs_arm = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "COM_data", TypeSize: 60, ArgDir: 1}, Kind: 1, RangeBegin: 60, RangeEnd: 60},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_jpeg_markers", FldName: "jpeg_markers", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{8, 16, 32, 64, 128}, BitMask: true},
}}},
- {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 32, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 48, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "media_bus_fmt", FldName: "code", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 4118, 4097, 4098, 4099, 4100, 4119, 4101, 4102, 4103, 4104, 4105, 4110, 4117, 4112, 4115, 4116, 4106, 4107, 4108, 4113, 4114, 4109, 4111, 8193, 8213, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8216, 8217, 8203, 8204, 8211, 8220, 8221, 8222, 8223, 8207, 8208, 8209, 8210, 8212, 8218, 8219, 8205, 8206, 8228, 8229, 8224, 8225, 8226, 8227, 8214, 8215, 12289, 12307, 12290, 12308, 12309, 12310, 12311, 12312, 12299, 12300, 12297, 12301, 12291, 12292, 12293, 12294, 12295, 12302, 12298, 12303, 12296, 12304, 12305, 12306, 16385, 20481, 24577}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_field", FldName: "field", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 22, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 2}}}, Kind: 1, RangeBegin: 11, RangeEnd: 11},
}}},
{Key: StructKey{Name: "v4l2_modulator"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_modulator", TypeSize: 68}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}},
@@ -29050,13 +29064,13 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
- {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 68, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "modulator", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
@@ -29165,7 +29179,8 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
}}},
{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_sdr_format", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_pix_format_pixelformat", FldName: "pixelformat", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{826427218, 875836498, 842093121, 842093144, 1329743698, 892424769, 892424792, 1346520914, 1363298130, 3039908417, 3039908440, 1380075346, 1213351746, 861030210, 859981650, 877807426, 875713089, 875713112, 876758866, 875708738, 875714626, 1111970385, 1497715271, 540291161, 540422233, 540029273, 540160345, 540422489, 2687906137, 1110454617, 944521552, 540563029, 1448695129, 1448434009, 1431918169, 1498831189, 1498765654, 1345401945, 875836505, 1331058009, 1347835225, 878073177, 875710792, 842091848, 808596557, 842094158, 825382478, 909203022, 825644622, 875714126, 842290766, 942813521, 1093808465, 1110585681, 842091854, 825380174, 909200718, 825642318, 842091860, 842091862, 961959257, 961893977, 1345401140, 842093913, 842094169, 1345466932, 842091865, 825380185, 909200729, 825642329, 875711833, 842288473, 825770306, 1196573255, 1195528775, 1111967570, 808535874, 808534599, 808534338, 808535890, 1094795888, 1094797168, 1094805360, 1094799984, 943800929, 943802209, 943810401, 943805025, 943800930, 943802210, 808535106, 943805026, 842090306, 842089031, 842088770, 842090322, 844257602, 1196444237, 1195724874, 1685288548, 1195724877, 875967048, 826496577, 875967053, 859189832, 826757197, 843534413, 877088845, 1145656920, 1194410838, 1278296918, 808996950, 809062486, 1129727304, 809848148, 1095323715, 1096175191, 808532307, 808597843, 826496848, 843274064, 892483141, 825242963, 892351827, 942683475, 825636179, 925905488, 808530765, 808602698, 1481527123, 1127559225, 1196444240, 825308495, 942749007, 808990291, 808865108, 1448364355, 1229868875, 1279742026, 825242707, 1229141331, 541669465, 1228026201, 540422490}},
@@ -29193,13 +29208,15 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "io_size", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
}}},
- {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 60, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "id", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "id", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 24, ArgDir: 2}, Kind: 1, RangeBegin: 24, RangeEnd: 24},
&StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "frameperiod"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framelines", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_streamparm", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_streamparm", TypeSize: 204, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29216,7 +29233,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_rect", Dir: 2}, FldName: "rect"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
- {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 88, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format_whence", FldName: "which", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}},
&StructType{Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, FldName: "format"},
@@ -40022,7 +40039,7 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_G_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148029975},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_G_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40072,7 +40089,7 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_QUERYSTD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148030015},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_QUERY_DV_TIMINGS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40292,7 +40309,7 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_S_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074288152},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_S_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -56992,4 +57009,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "faec5e38eacbfab68fa98d6541183ced33840fe6"
+const revision_arm = "9f50d24dc1c804ae35176c3c42278604b026b500"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 590d9e6c7..54acc9bda 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -252,7 +252,6 @@ var resources_arm64 = []*ResourceDesc{
{Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}},
{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}},
{Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}},
- {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}},
{Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}},
{Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615}},
{Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615}},
@@ -28959,7 +28958,10 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 1}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 1}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings", TypeSize: 124, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
@@ -28978,7 +28980,10 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap", TypeSize: 104, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_width", TypeSize: 4, ArgDir: 2}}},
@@ -28991,19 +28996,21 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
- {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 80, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 88, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytesused", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256, 1024, 2048, 4096, 57344, 0, 8192, 16384, 458752, 0, 65536, 1048576, 131072, 262144, 524288, 2097152, 4194304, 16777216, 33554432, 67108864, 536870912, 1073741824, 2147483648}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field", TypeSize: 4, ArgDir: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "timeval", Dir: 2}, FldName: "timestamp"},
&StructType{Key: StructKey{Name: "v4l2_timecode", Dir: 2}, FldName: "timecode"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sequence", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&UnionType{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, FldName: "m"},
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "length", TypeSize: 4, ArgDir: 2}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_union", TypeSize: 8, ArgDir: 2}, Fields: []Type{
@@ -29012,10 +29019,10 @@ var structDescs_arm64 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "planes", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "v4l2_plane", Dir: 2}}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_v4l2_buffer", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
- {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 88, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 104, ArgDir: 1}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_version", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_info", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "version", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_capability_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 268435456, 2147483648}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_caps", TypeSize: 4, ArgDir: 1}}},
@@ -29043,7 +29050,8 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "v4l2_format", Dir: 2}, FldName: "format"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 28, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 7, RangeEnd: 7},
}}},
{Key: StructKey{Name: "v4l2_crop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_crop", TypeSize: 20}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29236,7 +29244,8 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ext_ctrl_class", FldName: "ctrl_class", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{9961472, 10027008, 10092544, 10158080, 10223616, 10289152, 10354688, 10420224, 10485760, 10551296, 10616832, 10682368, 268435455, 4, 0, 251658240}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "error_idx", TypeSize: 4, ArgDir: 2}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "controls", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "v4l2_ext_control", Dir: 2}}},
}}},
@@ -29271,6 +29280,10 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, FldName: "sdr"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 200, ArgDir: 2}, Kind: 1, RangeBegin: 200, RangeEnd: 200},
}}},
+ {Key: StructKey{Name: "v4l2_fract", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 1}}},
+ }}},
{Key: StructKey{Name: "v4l2_fract", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 2}}},
@@ -29380,16 +29393,17 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rangehigh", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 20}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5},
}}},
- {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 80, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "tuner", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_status", FldName: "status", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 16, 32, 256, 512, 1024, 2048, 65536, 131072, 262144, 16777216, 33554432, 67108864}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_jpegcompression"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_jpegcompression", TypeSize: 140}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}},
@@ -29409,15 +29423,16 @@ var structDescs_arm64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "COM_data", TypeSize: 60, ArgDir: 1}, Kind: 1, RangeBegin: 60, RangeEnd: 60},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_jpeg_markers", FldName: "jpeg_markers", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{8, 16, 32, 64, 128}, BitMask: true},
}}},
- {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 32, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 48, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "media_bus_fmt", FldName: "code", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 4118, 4097, 4098, 4099, 4100, 4119, 4101, 4102, 4103, 4104, 4105, 4110, 4117, 4112, 4115, 4116, 4106, 4107, 4108, 4113, 4114, 4109, 4111, 8193, 8213, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8216, 8217, 8203, 8204, 8211, 8220, 8221, 8222, 8223, 8207, 8208, 8209, 8210, 8212, 8218, 8219, 8205, 8206, 8228, 8229, 8224, 8225, 8226, 8227, 8214, 8215, 12289, 12307, 12290, 12308, 12309, 12310, 12311, 12312, 12299, 12300, 12297, 12301, 12291, 12292, 12293, 12294, 12295, 12302, 12298, 12303, 12296, 12304, 12305, 12306, 16385, 20481, 24577}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_field", FldName: "field", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 22, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 2}}}, Kind: 1, RangeBegin: 11, RangeEnd: 11},
}}},
{Key: StructKey{Name: "v4l2_modulator"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_modulator", TypeSize: 68}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}},
@@ -29439,13 +29454,13 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
- {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 68, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "modulator", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
@@ -29554,7 +29569,8 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
}}},
{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_sdr_format", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_pix_format_pixelformat", FldName: "pixelformat", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{826427218, 875836498, 842093121, 842093144, 1329743698, 892424769, 892424792, 1346520914, 1363298130, 3039908417, 3039908440, 1380075346, 1213351746, 861030210, 859981650, 877807426, 875713089, 875713112, 876758866, 875708738, 875714626, 1111970385, 1497715271, 540291161, 540422233, 540029273, 540160345, 540422489, 2687906137, 1110454617, 944521552, 540563029, 1448695129, 1448434009, 1431918169, 1498831189, 1498765654, 1345401945, 875836505, 1331058009, 1347835225, 878073177, 875710792, 842091848, 808596557, 842094158, 825382478, 909203022, 825644622, 875714126, 842290766, 942813521, 1093808465, 1110585681, 842091854, 825380174, 909200718, 825642318, 842091860, 842091862, 961959257, 961893977, 1345401140, 842093913, 842094169, 1345466932, 842091865, 825380185, 909200729, 825642329, 875711833, 842288473, 825770306, 1196573255, 1195528775, 1111967570, 808535874, 808534599, 808534338, 808535890, 1094795888, 1094797168, 1094805360, 1094799984, 943800929, 943802209, 943810401, 943805025, 943800930, 943802210, 808535106, 943805026, 842090306, 842089031, 842088770, 842090322, 844257602, 1196444237, 1195724874, 1685288548, 1195724877, 875967048, 826496577, 875967053, 859189832, 826757197, 843534413, 877088845, 1145656920, 1194410838, 1278296918, 808996950, 809062486, 1129727304, 809848148, 1095323715, 1096175191, 808532307, 808597843, 826496848, 843274064, 892483141, 825242963, 892351827, 942683475, 825636179, 925905488, 808530765, 808602698, 1481527123, 1127559225, 1196444240, 825308495, 942749007, 808990291, 808865108, 1448364355, 1229868875, 1279742026, 825242707, 1229141331, 541669465, 1228026201, 540422490}},
@@ -29582,13 +29598,15 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "io_size", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
}}},
- {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 60, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "id", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "id", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 24, ArgDir: 2}, Kind: 1, RangeBegin: 24, RangeEnd: 24},
&StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "frameperiod"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framelines", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_streamparm", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_streamparm", TypeSize: 204, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29605,7 +29623,7 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_rect", Dir: 2}, FldName: "rect"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
- {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 88, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format_whence", FldName: "which", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}},
&StructType{Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, FldName: "format"},
@@ -40462,7 +40480,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 29, Name: "ioctl$VIDIOC_G_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148029975},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 29, Name: "ioctl$VIDIOC_G_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40512,7 +40530,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 29, Name: "ioctl$VIDIOC_QUERYSTD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148030015},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 29, Name: "ioctl$VIDIOC_QUERY_DV_TIMINGS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40732,7 +40750,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 29, Name: "ioctl$VIDIOC_S_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074288152},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 29, Name: "ioctl$VIDIOC_S_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -57314,4 +57332,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "75fc019821c9437a8d33a5ab43d33c3a292e8faa"
+const revision_arm64 = "d2286ec9a1ed2466e483fcbde92dba45b9baf8b9"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 39c90281c..b02354f3e 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -251,7 +251,6 @@ var resources_ppc64le = []*ResourceDesc{
{Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}},
{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}},
{Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}},
- {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}},
{Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}},
{Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615}},
{Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615}},
@@ -28848,7 +28847,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 1}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 1}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 1}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings", TypeSize: 124, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
@@ -28867,7 +28869,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "il_vbackporch", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_standards", FldName: "standards", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 56, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 14, RangeEnd: 14},
+ &StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "picture_aspect"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cea861_vic", TypeSize: 1, ArgDir: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdmi_vic", TypeSize: 1, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 46, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 46, RangeEnd: 46},
}}},
{Key: StructKey{Name: "v4l2_bt_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap", TypeSize: 104, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_width", TypeSize: 4, ArgDir: 2}}},
@@ -28880,19 +28885,21 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_bt_timings_cap_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 64, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
- {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 80, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_buffer", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer", TypeSize: 88, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bytesused", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256, 1024, 2048, 4096, 57344, 0, 8192, 16384, 458752, 0, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field", TypeSize: 4, ArgDir: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "timeval", Dir: 2}, FldName: "timestamp"},
&StructType{Key: StructKey{Name: "v4l2_timecode", Dir: 2}, FldName: "timecode"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sequence", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&UnionType{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, FldName: "m"},
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4, ArgDir: 2}}, Path: []string{"type"}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "length", TypeSize: 4, ArgDir: 2}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_buffer_union", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_buffer_union", TypeSize: 8, ArgDir: 2}, Fields: []Type{
@@ -28901,10 +28908,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "planes", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "v4l2_plane", Dir: 2}}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_v4l2_buffer", FldName: "fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
}}},
- {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 88, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_capability", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_capability", TypeSize: 104, ArgDir: 1}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
- &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_version", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "card", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bus_info", TypeSize: 32, ArgDir: 1}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "version", TypeSize: 4, ArgDir: 1}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_capability_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 268435456, 2147483648}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_caps", TypeSize: 4, ArgDir: 1}}},
@@ -28932,7 +28939,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "v4l2_format", Dir: 2}, FldName: "format"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 28, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 7, RangeEnd: 7},
}}},
{Key: StructKey{Name: "v4l2_crop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_crop", TypeSize: 20}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29125,7 +29133,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ext_ctrl_class", FldName: "ctrl_class", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{9961472, 10027008, 10092544, 10158080, 10223616, 10289152, 10354688, 10420224, 10485760, 10551296, 10616832, 10682368, 268435455, 4, 0, 251658240}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "error_idx", TypeSize: 4, ArgDir: 2}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "request_fd", TypeSize: 4, ArgDir: 2, IsOptional: true}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "controls", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "v4l2_ext_control", Dir: 2}}},
}}},
@@ -29160,6 +29169,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, FldName: "sdr"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 200, ArgDir: 2}, Kind: 1, RangeBegin: 200, RangeEnd: 200},
}}},
+ {Key: StructKey{Name: "v4l2_fract", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 1}}},
+ }}},
{Key: StructKey{Name: "v4l2_fract", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_fract", TypeSize: 8, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numerator", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "denominator", TypeSize: 4, ArgDir: 2}}},
@@ -29269,16 +29282,17 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rangehigh", TypeSize: 4}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 20}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5},
}}},
- {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_input", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_input", TypeSize: 80, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "tuner", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_status", FldName: "status", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 16, 32, 256, 512, 1024, 2048, 65536, 131072, 262144, 16777216, 33554432, 67108864}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_input_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_jpegcompression"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_jpegcompression", TypeSize: 140}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}},
@@ -29298,15 +29312,16 @@ var structDescs_ppc64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "COM_data", TypeSize: 60, ArgDir: 1}, Kind: 1, RangeBegin: 60, RangeEnd: 60},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_jpeg_markers", FldName: "jpeg_markers", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{8, 16, 32, 64, 128}, BitMask: true},
}}},
- {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 32, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_mbus_framefmt", TypeSize: 48, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "media_bus_fmt", FldName: "code", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 4118, 4097, 4098, 4099, 4100, 4119, 4101, 4102, 4103, 4104, 4105, 4110, 4117, 4112, 4115, 4116, 4106, 4107, 4108, 4113, 4114, 4109, 4111, 8193, 8213, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8216, 8217, 8203, 8204, 8211, 8220, 8221, 8222, 8223, 8207, 8208, 8209, 8210, 8212, 8218, 8219, 8205, 8206, 8228, 8229, 8224, 8225, 8226, 8227, 8214, 8215, 12289, 12307, 12290, 12308, 12309, 12310, 12311, 12312, 12299, 12300, 12297, 12301, 12291, 12292, 12293, 12294, 12295, 12302, 12298, 12303, 12296, 12304, 12305, 12306, 16385, 20481, 24577}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_field", FldName: "field", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_ycbcr_encoding", FldName: "ycbcr_enc", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 6, 7, 8}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_quantization", FldName: "quantization", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_xfer_func", FldName: "xfer_func", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 4, 5, 6, 7}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 22, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 2}}}, Kind: 1, RangeBegin: 11, RangeEnd: 11},
}}},
{Key: StructKey{Name: "v4l2_modulator"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_modulator", TypeSize: 68}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}},
@@ -29328,13 +29343,13 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_tuner_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
- {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 68, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_output", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_output", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32, ArgDir: 2}, Kind: 1, RangeBegin: 32, RangeEnd: 32},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "audioset", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "modulator", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "std", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "std", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_output_capabilities", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2, 2, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
}}},
@@ -29443,7 +29458,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_memory", FldName: "memory", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "capabilities", TypeSize: 4, ArgDir: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}},
}}},
{Key: StructKey{Name: "v4l2_sdr_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_sdr_format", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_pix_format_pixelformat", FldName: "pixelformat", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{826427218, 875836498, 842093121, 842093144, 1329743698, 892424769, 892424792, 1346520914, 1363298130, 3039908417, 3039908440, 1380075346, 1213351746, 861030210, 859981650, 877807426, 875713089, 875713112, 876758866, 875708738, 875714626, 1497715271, 540291161, 540422233, 540029273, 540160345, 540422489, 2687906137, 1110454617, 944521552, 540563029, 1448695129, 1448434009, 1431918169, 1498831189, 1498765654, 1345401945, 875836505, 1331058009, 1347835225, 878073177, 875710792, 842091848, 808596557, 842094158, 825382478, 909203022, 825644622, 875714126, 842290766, 842091854, 825380174, 909200718, 825642318, 842091860, 842091862, 961959257, 961893977, 1345401140, 842093913, 842094169, 1345466932, 842091865, 825380185, 909200729, 825642329, 875711833, 842288473, 825770306, 1196573255, 1195528775, 1111967570, 808535874, 808534599, 808534338, 808535890, 1094795888, 1094797168, 1094805360, 1094799984, 943800929, 943802209, 943810401, 943805025, 943800930, 943802210, 808535106, 943805026, 842090306, 842089031, 842088770, 842090322, 844257602, 1196444237, 1195724874, 1685288548, 1195724877, 875967048, 826496577, 875967053, 859189832, 826757197, 843534413, 877088845, 1145656920, 1194410838, 1278296918, 808996950, 809062486, 1129727304, 1095323715, 1096175191, 808532307, 808597843, 826496848, 843274064, 892483141, 825242963, 892351827, 942683475, 825636179, 925905488, 808530765, 808602698, 1481527123, 1127559225, 1196444240, 825308495, 942749007, 808990291, 808865108, 1448364355, 1229868875, 1279742026, 825242707, 1229141331, 541669465, 1228026201, 540422490}},
@@ -29471,13 +29487,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "io_size", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2},
}}},
- {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 60, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_standard", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_standard", TypeSize: 72, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_standard_std", FldName: "id", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", FldName: "id", TypeSize: 8, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 24, ArgDir: 2}, Kind: 1, RangeBegin: 24, RangeEnd: 24},
&StructType{Key: StructKey{Name: "v4l2_fract", Dir: 2}, FldName: "frameperiod"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framelines", TypeSize: 4, ArgDir: 2}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
{Key: StructKey{Name: "v4l2_streamparm", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_streamparm", TypeSize: 204, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_buf_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
@@ -29494,7 +29512,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "v4l2_rect", Dir: 2}, FldName: "rect"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 32, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
- {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 72, ArgDir: 2}, Fields: []Type{
+ {Key: StructKey{Name: "v4l2_subdev_format", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format", TypeSize: 88, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_subdev_format_whence", FldName: "which", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}},
&StructType{Key: StructKey{Name: "v4l2_mbus_framefmt", Dir: 2}, FldName: "format"},
@@ -40327,7 +40345,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_G_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074288151},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_G_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40377,7 +40395,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_QUERYSTD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074288191},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_QUERY_DV_TIMINGS", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -40592,7 +40610,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 54, Name: "ioctl$VIDIOC_S_STD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148029976},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_std_id", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 45056, 3276800, 16711680, 7, 224, 255, 65539, 262148, 524296, 12582912, 786444, 3277024, 327687, 46848, 5888, 63744, 16713471, 50331648, 0, 16777215}}},
}},
{NR: 54, Name: "ioctl$VIDIOC_S_TUNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_video", FldName: "fd", TypeSize: 4}},
@@ -57273,4 +57291,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "17b465ac557047b44f5ba97c4e06a480d4b89026"
+const revision_ppc64le = "80d2fa706e6b07d249829824096cc6e1f76ec38d"