1 #ifndef __DEVICETABLE_OFFSETS_H__
2 #define __DEVICETABLE_OFFSETS_H__
3 /*
4  * DO NOT MODIFY.
5  *
6  * This file was generated by Kbuild
7  */
8 
9 #define SIZE_usb_device_id 32 /* sizeof(struct usb_device_id) */
10 #define OFF_usb_device_id_match_flags 0 /* offsetof(struct usb_device_id, match_flags) */
11 #define OFF_usb_device_id_idVendor 2 /* offsetof(struct usb_device_id, idVendor) */
12 #define OFF_usb_device_id_idProduct 4 /* offsetof(struct usb_device_id, idProduct) */
13 #define OFF_usb_device_id_bcdDevice_lo 6 /* offsetof(struct usb_device_id, bcdDevice_lo) */
14 #define OFF_usb_device_id_bcdDevice_hi 8 /* offsetof(struct usb_device_id, bcdDevice_hi) */
15 #define OFF_usb_device_id_bDeviceClass 10 /* offsetof(struct usb_device_id, bDeviceClass) */
16 #define OFF_usb_device_id_bDeviceSubClass 11 /* offsetof(struct usb_device_id, bDeviceSubClass) */
17 #define OFF_usb_device_id_bDeviceProtocol 12 /* offsetof(struct usb_device_id, bDeviceProtocol) */
18 #define OFF_usb_device_id_bInterfaceClass 13 /* offsetof(struct usb_device_id, bInterfaceClass) */
19 #define OFF_usb_device_id_bInterfaceSubClass 14 /* offsetof(struct usb_device_id, bInterfaceSubClass) */
20 #define OFF_usb_device_id_bInterfaceProtocol 15 /* offsetof(struct usb_device_id, bInterfaceProtocol) */
21 #define OFF_usb_device_id_bInterfaceNumber 16 /* offsetof(struct usb_device_id, bInterfaceNumber) */
22 #define SIZE_hid_device_id 24 /* sizeof(struct hid_device_id) */
23 #define OFF_hid_device_id_bus 0 /* offsetof(struct hid_device_id, bus) */
24 #define OFF_hid_device_id_group 2 /* offsetof(struct hid_device_id, group) */
25 #define OFF_hid_device_id_vendor 4 /* offsetof(struct hid_device_id, vendor) */
26 #define OFF_hid_device_id_product 8 /* offsetof(struct hid_device_id, product) */
27 #define SIZE_ieee1394_device_id 32 /* sizeof(struct ieee1394_device_id) */
28 #define OFF_ieee1394_device_id_match_flags 0 /* offsetof(struct ieee1394_device_id, match_flags) */
29 #define OFF_ieee1394_device_id_vendor_id 4 /* offsetof(struct ieee1394_device_id, vendor_id) */
30 #define OFF_ieee1394_device_id_model_id 8 /* offsetof(struct ieee1394_device_id, model_id) */
31 #define OFF_ieee1394_device_id_specifier_id 12 /* offsetof(struct ieee1394_device_id, specifier_id) */
32 #define OFF_ieee1394_device_id_version 16 /* offsetof(struct ieee1394_device_id, version) */
33 #define SIZE_pci_device_id 40 /* sizeof(struct pci_device_id) */
34 #define OFF_pci_device_id_vendor 0 /* offsetof(struct pci_device_id, vendor) */
35 #define OFF_pci_device_id_device 4 /* offsetof(struct pci_device_id, device) */
36 #define OFF_pci_device_id_subvendor 8 /* offsetof(struct pci_device_id, subvendor) */
37 #define OFF_pci_device_id_subdevice 12 /* offsetof(struct pci_device_id, subdevice) */
38 #define OFF_pci_device_id_class 16 /* offsetof(struct pci_device_id, class) */
39 #define OFF_pci_device_id_class_mask 20 /* offsetof(struct pci_device_id, class_mask) */
40 #define OFF_pci_device_id_override_only 32 /* offsetof(struct pci_device_id, override_only) */
41 #define SIZE_ccw_device_id 16 /* sizeof(struct ccw_device_id) */
42 #define OFF_ccw_device_id_match_flags 0 /* offsetof(struct ccw_device_id, match_flags) */
43 #define OFF_ccw_device_id_cu_type 2 /* offsetof(struct ccw_device_id, cu_type) */
44 #define OFF_ccw_device_id_cu_model 6 /* offsetof(struct ccw_device_id, cu_model) */
45 #define OFF_ccw_device_id_dev_type 4 /* offsetof(struct ccw_device_id, dev_type) */
46 #define OFF_ccw_device_id_dev_model 7 /* offsetof(struct ccw_device_id, dev_model) */
47 #define SIZE_ap_device_id 16 /* sizeof(struct ap_device_id) */
48 #define OFF_ap_device_id_dev_type 2 /* offsetof(struct ap_device_id, dev_type) */
49 #define SIZE_css_device_id 16 /* sizeof(struct css_device_id) */
50 #define OFF_css_device_id_type 1 /* offsetof(struct css_device_id, type) */
51 #define SIZE_serio_device_id 4 /* sizeof(struct serio_device_id) */
52 #define OFF_serio_device_id_type 0 /* offsetof(struct serio_device_id, type) */
53 #define OFF_serio_device_id_proto 3 /* offsetof(struct serio_device_id, proto) */
54 #define OFF_serio_device_id_id 2 /* offsetof(struct serio_device_id, id) */
55 #define OFF_serio_device_id_extra 1 /* offsetof(struct serio_device_id, extra) */
56 #define SIZE_acpi_device_id 32 /* sizeof(struct acpi_device_id) */
57 #define OFF_acpi_device_id_id 0 /* offsetof(struct acpi_device_id, id) */
58 #define OFF_acpi_device_id_cls 24 /* offsetof(struct acpi_device_id, cls) */
59 #define OFF_acpi_device_id_cls_msk 28 /* offsetof(struct acpi_device_id, cls_msk) */
60 #define SIZE_pnp_device_id 16 /* sizeof(struct pnp_device_id) */
61 #define OFF_pnp_device_id_id 0 /* offsetof(struct pnp_device_id, id) */
62 #define SIZE_pnp_card_device_id 80 /* sizeof(struct pnp_card_device_id) */
63 #define OFF_pnp_card_device_id_devs 16 /* offsetof(struct pnp_card_device_id, devs) */
64 #define SIZE_pcmcia_device_id 80 /* sizeof(struct pcmcia_device_id) */
65 #define OFF_pcmcia_device_id_match_flags 0 /* offsetof(struct pcmcia_device_id, match_flags) */
66 #define OFF_pcmcia_device_id_manf_id 2 /* offsetof(struct pcmcia_device_id, manf_id) */
67 #define OFF_pcmcia_device_id_card_id 4 /* offsetof(struct pcmcia_device_id, card_id) */
68 #define OFF_pcmcia_device_id_func_id 6 /* offsetof(struct pcmcia_device_id, func_id) */
69 #define OFF_pcmcia_device_id_function 7 /* offsetof(struct pcmcia_device_id, function) */
70 #define OFF_pcmcia_device_id_device_no 8 /* offsetof(struct pcmcia_device_id, device_no) */
71 #define OFF_pcmcia_device_id_prod_id_hash 12 /* offsetof(struct pcmcia_device_id, prod_id_hash) */
72 #define SIZE_of_device_id 200 /* sizeof(struct of_device_id) */
73 #define OFF_of_device_id_name 0 /* offsetof(struct of_device_id, name) */
74 #define OFF_of_device_id_type 32 /* offsetof(struct of_device_id, type) */
75 #define OFF_of_device_id_compatible 64 /* offsetof(struct of_device_id, compatible) */
76 #define SIZE_vio_device_id 64 /* sizeof(struct vio_device_id) */
77 #define OFF_vio_device_id_type 0 /* offsetof(struct vio_device_id, type) */
78 #define OFF_vio_device_id_compat 32 /* offsetof(struct vio_device_id, compat) */
79 #define SIZE_input_device_id 200 /* sizeof(struct input_device_id) */
80 #define OFF_input_device_id_flags 0 /* offsetof(struct input_device_id, flags) */
81 #define OFF_input_device_id_bustype 8 /* offsetof(struct input_device_id, bustype) */
82 #define OFF_input_device_id_vendor 10 /* offsetof(struct input_device_id, vendor) */
83 #define OFF_input_device_id_product 12 /* offsetof(struct input_device_id, product) */
84 #define OFF_input_device_id_version 14 /* offsetof(struct input_device_id, version) */
85 #define OFF_input_device_id_evbit 16 /* offsetof(struct input_device_id, evbit) */
86 #define OFF_input_device_id_keybit 24 /* offsetof(struct input_device_id, keybit) */
87 #define OFF_input_device_id_relbit 120 /* offsetof(struct input_device_id, relbit) */
88 #define OFF_input_device_id_absbit 128 /* offsetof(struct input_device_id, absbit) */
89 #define OFF_input_device_id_mscbit 136 /* offsetof(struct input_device_id, mscbit) */
90 #define OFF_input_device_id_ledbit 144 /* offsetof(struct input_device_id, ledbit) */
91 #define OFF_input_device_id_sndbit 152 /* offsetof(struct input_device_id, sndbit) */
92 #define OFF_input_device_id_ffbit 160 /* offsetof(struct input_device_id, ffbit) */
93 #define OFF_input_device_id_swbit 176 /* offsetof(struct input_device_id, swbit) */
94 #define SIZE_eisa_device_id 16 /* sizeof(struct eisa_device_id) */
95 #define OFF_eisa_device_id_sig 0 /* offsetof(struct eisa_device_id, sig) */
96 #define SIZE_parisc_device_id 8 /* sizeof(struct parisc_device_id) */
97 #define OFF_parisc_device_id_hw_type 0 /* offsetof(struct parisc_device_id, hw_type) */
98 #define OFF_parisc_device_id_hversion 2 /* offsetof(struct parisc_device_id, hversion) */
99 #define OFF_parisc_device_id_hversion_rev 1 /* offsetof(struct parisc_device_id, hversion_rev) */
100 #define OFF_parisc_device_id_sversion 4 /* offsetof(struct parisc_device_id, sversion) */
101 #define SIZE_sdio_device_id 16 /* sizeof(struct sdio_device_id) */
102 #define OFF_sdio_device_id_class 0 /* offsetof(struct sdio_device_id, class) */
103 #define OFF_sdio_device_id_vendor 2 /* offsetof(struct sdio_device_id, vendor) */
104 #define OFF_sdio_device_id_device 4 /* offsetof(struct sdio_device_id, device) */
105 #define SIZE_ssb_device_id 6 /* sizeof(struct ssb_device_id) */
106 #define OFF_ssb_device_id_vendor 0 /* offsetof(struct ssb_device_id, vendor) */
107 #define OFF_ssb_device_id_coreid 2 /* offsetof(struct ssb_device_id, coreid) */
108 #define OFF_ssb_device_id_revision 4 /* offsetof(struct ssb_device_id, revision) */
109 #define SIZE_bcma_device_id 6 /* sizeof(struct bcma_device_id) */
110 #define OFF_bcma_device_id_manuf 0 /* offsetof(struct bcma_device_id, manuf) */
111 #define OFF_bcma_device_id_id 2 /* offsetof(struct bcma_device_id, id) */
112 #define OFF_bcma_device_id_rev 4 /* offsetof(struct bcma_device_id, rev) */
113 #define OFF_bcma_device_id_class 5 /* offsetof(struct bcma_device_id, class) */
114 #define SIZE_virtio_device_id 8 /* sizeof(struct virtio_device_id) */
115 #define OFF_virtio_device_id_device 0 /* offsetof(struct virtio_device_id, device) */
116 #define OFF_virtio_device_id_vendor 4 /* offsetof(struct virtio_device_id, vendor) */
117 #define SIZE_hv_vmbus_device_id 24 /* sizeof(struct hv_vmbus_device_id) */
118 #define OFF_hv_vmbus_device_id_guid 0 /* offsetof(struct hv_vmbus_device_id, guid) */
119 #define SIZE_rpmsg_device_id 40 /* sizeof(struct rpmsg_device_id) */
120 #define OFF_rpmsg_device_id_name 0 /* offsetof(struct rpmsg_device_id, name) */
121 #define SIZE_i2c_device_id 32 /* sizeof(struct i2c_device_id) */
122 #define OFF_i2c_device_id_name 0 /* offsetof(struct i2c_device_id, name) */
123 #define SIZE_i3c_device_id 16 /* sizeof(struct i3c_device_id) */
124 #define OFF_i3c_device_id_match_flags 0 /* offsetof(struct i3c_device_id, match_flags) */
125 #define OFF_i3c_device_id_dcr 1 /* offsetof(struct i3c_device_id, dcr) */
126 #define OFF_i3c_device_id_manuf_id 2 /* offsetof(struct i3c_device_id, manuf_id) */
127 #define OFF_i3c_device_id_part_id 4 /* offsetof(struct i3c_device_id, part_id) */
128 #define OFF_i3c_device_id_extra_info 6 /* offsetof(struct i3c_device_id, extra_info) */
129 #define SIZE_spi_device_id 40 /* sizeof(struct spi_device_id) */
130 #define OFF_spi_device_id_name 0 /* offsetof(struct spi_device_id, name) */
131 #define SIZE_dmi_system_id 344 /* sizeof(struct dmi_system_id) */
132 #define OFF_dmi_system_id_matches 16 /* offsetof(struct dmi_system_id, matches) */
133 #define SIZE_platform_device_id 32 /* sizeof(struct platform_device_id) */
134 #define OFF_platform_device_id_name 0 /* offsetof(struct platform_device_id, name) */
135 #define SIZE_mdio_device_id 8 /* sizeof(struct mdio_device_id) */
136 #define OFF_mdio_device_id_phy_id 0 /* offsetof(struct mdio_device_id, phy_id) */
137 #define OFF_mdio_device_id_phy_id_mask 4 /* offsetof(struct mdio_device_id, phy_id_mask) */
138 #define SIZE_zorro_device_id 16 /* sizeof(struct zorro_device_id) */
139 #define OFF_zorro_device_id_id 0 /* offsetof(struct zorro_device_id, id) */
140 #define SIZE_isapnp_device_id 16 /* sizeof(struct isapnp_device_id) */
141 #define OFF_isapnp_device_id_vendor 4 /* offsetof(struct isapnp_device_id, vendor) */
142 #define OFF_isapnp_device_id_function 6 /* offsetof(struct isapnp_device_id, function) */
143 #define SIZE_ipack_device_id 12 /* sizeof(struct ipack_device_id) */
144 #define OFF_ipack_device_id_format 0 /* offsetof(struct ipack_device_id, format) */
145 #define OFF_ipack_device_id_vendor 4 /* offsetof(struct ipack_device_id, vendor) */
146 #define OFF_ipack_device_id_device 8 /* offsetof(struct ipack_device_id, device) */
147 #define SIZE_amba_id 16 /* sizeof(struct amba_id) */
148 #define OFF_amba_id_id 0 /* offsetof(struct amba_id, id) */
149 #define OFF_amba_id_mask 4 /* offsetof(struct amba_id, mask) */
150 #define SIZE_mips_cdmm_device_id 1 /* sizeof(struct mips_cdmm_device_id) */
151 #define OFF_mips_cdmm_device_id_type 0 /* offsetof(struct mips_cdmm_device_id, type) */
152 #define SIZE_x86_cpu_id 24 /* sizeof(struct x86_cpu_id) */
153 #define OFF_x86_cpu_id_feature 8 /* offsetof(struct x86_cpu_id, feature) */
154 #define OFF_x86_cpu_id_family 2 /* offsetof(struct x86_cpu_id, family) */
155 #define OFF_x86_cpu_id_model 4 /* offsetof(struct x86_cpu_id, model) */
156 #define OFF_x86_cpu_id_vendor 0 /* offsetof(struct x86_cpu_id, vendor) */
157 #define SIZE_cpu_feature 2 /* sizeof(struct cpu_feature) */
158 #define OFF_cpu_feature_feature 0 /* offsetof(struct cpu_feature, feature) */
159 #define SIZE_mei_cl_device_id 64 /* sizeof(struct mei_cl_device_id) */
160 #define OFF_mei_cl_device_id_name 0 /* offsetof(struct mei_cl_device_id, name) */
161 #define OFF_mei_cl_device_id_uuid 32 /* offsetof(struct mei_cl_device_id, uuid) */
162 #define OFF_mei_cl_device_id_version 48 /* offsetof(struct mei_cl_device_id, version) */
163 #define SIZE_rio_device_id 8 /* sizeof(struct rio_device_id) */
164 #define OFF_rio_device_id_did 0 /* offsetof(struct rio_device_id, did) */
165 #define OFF_rio_device_id_vid 2 /* offsetof(struct rio_device_id, vid) */
166 #define OFF_rio_device_id_asm_did 4 /* offsetof(struct rio_device_id, asm_did) */
167 #define OFF_rio_device_id_asm_vid 6 /* offsetof(struct rio_device_id, asm_vid) */
168 #define SIZE_ulpi_device_id 16 /* sizeof(struct ulpi_device_id) */
169 #define OFF_ulpi_device_id_vendor 0 /* offsetof(struct ulpi_device_id, vendor) */
170 #define OFF_ulpi_device_id_product 2 /* offsetof(struct ulpi_device_id, product) */
171 #define SIZE_hda_device_id 32 /* sizeof(struct hda_device_id) */
172 #define OFF_hda_device_id_vendor_id 0 /* offsetof(struct hda_device_id, vendor_id) */
173 #define OFF_hda_device_id_rev_id 4 /* offsetof(struct hda_device_id, rev_id) */
174 #define OFF_hda_device_id_api_version 8 /* offsetof(struct hda_device_id, api_version) */
175 #define SIZE_sdw_device_id 16 /* sizeof(struct sdw_device_id) */
176 #define OFF_sdw_device_id_mfg_id 0 /* offsetof(struct sdw_device_id, mfg_id) */
177 #define OFF_sdw_device_id_part_id 2 /* offsetof(struct sdw_device_id, part_id) */
178 #define OFF_sdw_device_id_sdw_version 4 /* offsetof(struct sdw_device_id, sdw_version) */
179 #define OFF_sdw_device_id_class_id 5 /* offsetof(struct sdw_device_id, class_id) */
180 #define SIZE_fsl_mc_device_id 18 /* sizeof(struct fsl_mc_device_id) */
181 #define OFF_fsl_mc_device_id_vendor 0 /* offsetof(struct fsl_mc_device_id, vendor) */
182 #define OFF_fsl_mc_device_id_obj_type 2 /* offsetof(struct fsl_mc_device_id, obj_type) */
183 #define SIZE_tb_service_id 40 /* sizeof(struct tb_service_id) */
184 #define OFF_tb_service_id_match_flags 0 /* offsetof(struct tb_service_id, match_flags) */
185 #define OFF_tb_service_id_protocol_key 4 /* offsetof(struct tb_service_id, protocol_key) */
186 #define OFF_tb_service_id_protocol_id 16 /* offsetof(struct tb_service_id, protocol_id) */
187 #define OFF_tb_service_id_protocol_version 20 /* offsetof(struct tb_service_id, protocol_version) */
188 #define OFF_tb_service_id_protocol_revision 24 /* offsetof(struct tb_service_id, protocol_revision) */
189 #define SIZE_typec_device_id 16 /* sizeof(struct typec_device_id) */
190 #define OFF_typec_device_id_svid 0 /* offsetof(struct typec_device_id, svid) */
191 #define OFF_typec_device_id_mode 2 /* offsetof(struct typec_device_id, mode) */
192 #define SIZE_tee_client_device_id 16 /* sizeof(struct tee_client_device_id) */
193 #define OFF_tee_client_device_id_uuid 0 /* offsetof(struct tee_client_device_id, uuid) */
194 #define SIZE_wmi_device_id 48 /* sizeof(struct wmi_device_id) */
195 #define OFF_wmi_device_id_guid_string 0 /* offsetof(struct wmi_device_id, guid_string) */
196 #define SIZE_mhi_device_id 40 /* sizeof(struct mhi_device_id) */
197 #define OFF_mhi_device_id_chan 0 /* offsetof(struct mhi_device_id, chan) */
198 #define SIZE_auxiliary_device_id 40 /* sizeof(struct auxiliary_device_id) */
199 #define OFF_auxiliary_device_id_name 0 /* offsetof(struct auxiliary_device_id, name) */
200 #define SIZE_ssam_device_id 16 /* sizeof(struct ssam_device_id) */
201 #define OFF_ssam_device_id_match_flags 0 /* offsetof(struct ssam_device_id, match_flags) */
202 #define OFF_ssam_device_id_domain 1 /* offsetof(struct ssam_device_id, domain) */
203 #define OFF_ssam_device_id_category 2 /* offsetof(struct ssam_device_id, category) */
204 #define OFF_ssam_device_id_target 3 /* offsetof(struct ssam_device_id, target) */
205 #define OFF_ssam_device_id_instance 4 /* offsetof(struct ssam_device_id, instance) */
206 #define OFF_ssam_device_id_function 5 /* offsetof(struct ssam_device_id, function) */
207 #define SIZE_dfl_device_id 16 /* sizeof(struct dfl_device_id) */
208 #define OFF_dfl_device_id_type 0 /* offsetof(struct dfl_device_id, type) */
209 #define OFF_dfl_device_id_feature_id 2 /* offsetof(struct dfl_device_id, feature_id) */
210 #define SIZE_ishtp_device_id 24 /* sizeof(struct ishtp_device_id) */
211 #define OFF_ishtp_device_id_guid 0 /* offsetof(struct ishtp_device_id, guid) */
212 
213 #endif
214