Lines Matching refs:n

114 #define	LIBUSB20_ME_STRUCT(n, field, arg, ismeta)		\  argument
118 #define LIBUSB20_ME_STRUCT_ARRAY(n, field, arg, ismeta) \ argument
123 #define LIBUSB20_ME_INTEGER(n, field, ismeta, un, u, bits, a, size) \ argument
130 #define LIBUSB20_ME_UINT8_T(n, field, arg, ismeta) \ argument
131 LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 8, , 1)
133 #define LIBUSB20_ME_UINT8_ARRAY_T(n, field, arg, ismeta) \ argument
134 LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 8, [arg], arg)
136 #define LIBUSB20_ME_SINT8_T(n, field, arg, ismeta) \ argument
137 LIBUSB20_ME_INTEGER(n, field, ismeta,,, 8, , 1)
139 #define LIBUSB20_ME_SINT8_ARRAY_T(n, field, arg, ismeta) \ argument
140 LIBUSB20_ME_INTEGER(n, field, ismeta,,, 8, [arg], arg)
142 #define LIBUSB20_ME_UINT16_T(n, field, arg, ismeta) \ argument
143 LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 16, , 1)
145 #define LIBUSB20_ME_UINT16_ARRAY_T(n, field, arg, ismeta) \ argument
146 LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 16, [arg], arg)
148 #define LIBUSB20_ME_SINT16_T(n, field, arg, ismeta) \ argument
149 LIBUSB20_ME_INTEGER(n, field, ismeta,,, 16, , 1)
151 #define LIBUSB20_ME_SINT16_ARRAY_T(n, field, arg, ismeta) \ argument
152 LIBUSB20_ME_INTEGER(n, field, ismeta,,, 16, [arg], arg)
154 #define LIBUSB20_ME_UINT32_T(n, field, arg, ismeta) \ argument
155 LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 32, , 1)
157 #define LIBUSB20_ME_UINT32_ARRAY_T(n, field, arg, ismeta) \ argument
158 LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 32, [arg], arg)
160 #define LIBUSB20_ME_SINT32_T(n, field, arg, ismeta) \ argument
161 LIBUSB20_ME_INTEGER(n, field, ismeta,,, 32, , 1)
163 #define LIBUSB20_ME_SINT32_ARRAY_T(n, field, arg, ismeta) \ argument
164 LIBUSB20_ME_INTEGER(n, field, ismeta,,, 32, [arg], arg)
166 #define LIBUSB20_ME_UINT64_T(n, field, arg, ismeta) \ argument
167 LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 64, , 1)
169 #define LIBUSB20_ME_UINT64_ARRAY_T(n, field, arg, ismeta) \ argument
170 LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 64, [arg], arg)
172 #define LIBUSB20_ME_SINT64_T(n, field, arg, ismeta) \ argument
173 LIBUSB20_ME_INTEGER(n, field, ismeta,,, 64, , 1)
175 #define LIBUSB20_ME_SINT64_ARRAY_T(n, field, arg, ismeta) \ argument
176 LIBUSB20_ME_INTEGER(n, field, ismeta,,, 64, [arg], arg)
178 #define LIBUSB20_MAKE_DECODED_FIELD(n, type, field, arg) \ argument
179 LIBUSB20_ME_##type (n, field, arg, LIBUSB20_NO)
197 #define LIBUSB20_MAKE_FORMAT_SUB(n, type, field, arg) \ argument
198 LIBUSB20_ME_##type (n, field, arg, LIBUSB20_YES)
208 #define LIBUSB20_DEVICE_DESC(m,n) \ argument
209 m(n, UINT8_T, bLength, ) \
210 m(n, UINT8_T, bDescriptorType, ) \
211 m(n, UINT16_T, bcdUSB, ) \
212 m(n, UINT8_T, bDeviceClass, ) \
213 m(n, UINT8_T, bDeviceSubClass, ) \
214 m(n, UINT8_T, bDeviceProtocol, ) \
215 m(n, UINT8_T, bMaxPacketSize0, ) \
216 m(n, UINT16_T, idVendor, ) \
217 m(n, UINT16_T, idProduct, ) \
218 m(n, UINT16_T, bcdDevice, ) \
219 m(n, UINT8_T, iManufacturer, ) \
220 m(n, UINT8_T, iProduct, ) \
221 m(n, UINT8_T, iSerialNumber, ) \
222 m(n, UINT8_T, bNumConfigurations, ) \
226 #define LIBUSB20_ENDPOINT_DESC(m,n) \ argument
227 m(n, UINT8_T, bLength, ) \
228 m(n, UINT8_T, bDescriptorType, ) \
229 m(n, UINT8_T, bEndpointAddress, ) \
230 m(n, UINT8_T, bmAttributes, ) \
231 m(n, UINT16_T, wMaxPacketSize, ) \
232 m(n, UINT8_T, bInterval, ) \
233 m(n, UINT8_T, bRefresh, ) \
234 m(n, UINT8_T, bSynchAddress, ) \
238 #define LIBUSB20_INTERFACE_DESC(m,n) \ argument
239 m(n, UINT8_T, bLength, ) \
240 m(n, UINT8_T, bDescriptorType, ) \
241 m(n, UINT8_T, bInterfaceNumber, ) \
242 m(n, UINT8_T, bAlternateSetting, ) \
243 m(n, UINT8_T, bNumEndpoints, ) \
244 m(n, UINT8_T, bInterfaceClass, ) \
245 m(n, UINT8_T, bInterfaceSubClass, ) \
246 m(n, UINT8_T, bInterfaceProtocol, ) \
247 m(n, UINT8_T, iInterface, ) \
251 #define LIBUSB20_CONFIG_DESC(m,n) \ argument
252 m(n, UINT8_T, bLength, ) \
253 m(n, UINT8_T, bDescriptorType, ) \
254 m(n, UINT16_T, wTotalLength, ) \
255 m(n, UINT8_T, bNumInterfaces, ) \
256 m(n, UINT8_T, bConfigurationValue, ) \
257 m(n, UINT8_T, iConfiguration, ) \
258 m(n, UINT8_T, bmAttributes, ) \
259 m(n, UINT8_T, bMaxPower, ) \
263 #define LIBUSB20_CONTROL_SETUP(m,n) \ argument
264 m(n, UINT8_T, bmRequestType, ) \
265 m(n, UINT8_T, bRequest, ) \
266 m(n, UINT16_T, wValue, ) \
267 m(n, UINT16_T, wIndex, ) \
268 m(n, UINT16_T, wLength, ) \
272 #define LIBUSB20_SS_ENDPT_COMP_DESC(m,n) \ argument
273 m(n, UINT8_T, bLength, ) \
274 m(n, UINT8_T, bDescriptorType, ) \
275 m(n, UINT8_T, bMaxBurst, ) \
276 m(n, UINT8_T, bmAttributes, ) \
277 m(n, UINT16_T, wBytesPerInterval, ) \
281 #define LIBUSB20_USB_20_DEVCAP_DESC(m,n) \ argument
282 m(n, UINT8_T, bLength, ) \
283 m(n, UINT8_T, bDescriptorType, ) \
284 m(n, UINT8_T, bDevCapabilityType, ) \
285 m(n, UINT32_T, bmAttributes, ) \
289 #define LIBUSB20_SS_USB_DEVCAP_DESC(m,n) \ argument
290 m(n, UINT8_T, bLength, ) \
291 m(n, UINT8_T, bDescriptorType, ) \
292 m(n, UINT8_T, bDevCapabilityType, ) \
293 m(n, UINT8_T, bmAttributes, ) \
294 m(n, UINT16_T, wSpeedSupported, ) \
295 m(n, UINT8_T, bFunctionalitySupport, ) \
296 m(n, UINT8_T, bU1DevExitLat, ) \
297 m(n, UINT16_T, wU2DevExitLat, ) \
301 #define LIBUSB20_BOS_DESCRIPTOR(m,n) \ argument
302 m(n, UINT8_T, bLength, ) \
303 m(n, UINT8_T, bDescriptorType, ) \
304 m(n, UINT16_T, wTotalLength, ) \
305 m(n, UINT8_T, bNumDeviceCapabilities, ) \