Lines Matching refs:cpu_to_le32
44 #define cpu_to_le32(x) htole32(x) macro
74 uint32_t dwPropertyDataType = cpu_to_le32(USB_EXT_PROP_UNICODE);
81 uint32_t dwPropertyDataLength = cpu_to_le32(PropertyDataLength);
207 .Reserved1 = cpu_to_le32(1),
214 .interface = cpu_to_le32(0),
215 .dwLength = cpu_to_le32(sizeof(os_desc_header) + sizeof(os_desc_compat)),
216 .bcdVersion = cpu_to_le32(1),
217 .wIndex = cpu_to_le32(4),
218 .bCount = cpu_to_le32(1),
219 .Reserved = cpu_to_le32(0),
223 .interface = cpu_to_le32(0),
224 .dwLength = cpu_to_le32(sizeof(os_desc_header) + sizeof(os_prop_values)),
225 .bcdVersion = cpu_to_le32(1),
226 .wIndex = cpu_to_le32(5),
240 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
241 .length = cpu_to_le32(sizeof(strings)),
242 .str_count = cpu_to_le32(1),
243 .lang_count = cpu_to_le32(1),
258 v2_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in open_functionfs()
259 v2_descriptor.header.length = cpu_to_le32(sizeof(v2_descriptor)); in open_functionfs()
285 v1_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC); in open_functionfs()
286 v1_descriptor.header.length = cpu_to_le32(sizeof(v1_descriptor)); in open_functionfs()