Home
last modified time | relevance | path

Searched refs:cpu_to_le32 (Results 1 – 7 of 7) sorted by relevance

/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c62 #define cpu_to_le32(x) (x) macro
65 #define cpu_to_le32(x) \ macro
83 .magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2),
84 .flags = cpu_to_le32(FUNCTIONFS_HAS_FS_DESC |
86 .length = cpu_to_le32(sizeof(descriptors)),
88 .fs_count = cpu_to_le32(3),
110 .hs_count = cpu_to_le32(3),
146 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
147 .length = cpu_to_le32(sizeof(strings)),
148 .str_count = cpu_to_le32(1),
[all …]
/tools/usb/
A Dffs-test.c42 #define cpu_to_le32(x) (x) macro
45 #define cpu_to_le32(x) \ macro
129 .flags = cpu_to_le32(FUNCTIONFS_HAS_FS_DESC |
132 .length = cpu_to_le32(sizeof descriptors),
134 .fs_count = cpu_to_le32(3),
158 .hs_count = cpu_to_le32(3),
183 .ss_count = cpu_to_le32(5),
297 out->header.length = cpu_to_le32(length); in descs_to_legacy()
319 .length = cpu_to_le32(sizeof strings),
320 .str_count = cpu_to_le32(1),
[all …]
/tools/include/linux/
A Dkernel.h60 #define cpu_to_le32 bswap_32 macro
73 #define cpu_to_le32 macro
A Dunaligned.h39 __put_unaligned_t(__le32, cpu_to_le32(val), p); in put_unaligned_le32()
/tools/testing/cxl/test/
A Dmem.c139 .size = cpu_to_le32(sizeof(mock_cel)),
622 .lsa_size = cpu_to_le32(LSA_SIZE), in mock_id()
1101 .dirty_shutdowns = cpu_to_le32(10), in mock_health_info()
1102 .volatile_errors = cpu_to_le32(20), in mock_health_info()
1103 .pmem_errors = cpu_to_le32(30), in mock_health_info()
1153 po->record[nr_records].length = cpu_to_le32(1); in cxl_get_injected_po()
1404 feat->flags = cpu_to_le32(CXL_FEATURE_F_CHANGEABLE | in fill_feature_vendor_test()
1685 mdata->test_feat.data = cpu_to_le32(0xdeadbeef); in cxl_mock_test_feat_init()
/tools/testing/selftests/kvm/include/arm64/
A Dprocessor.h236 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c)))
/tools/perf/util/
A Dintel-pt.c1991 raw.flags = cpu_to_le32(flags); in intel_pt_synth_cbr_sample()
1992 raw.freq = cpu_to_le32(raw.cbr * pt->cbr2khz); in intel_pt_synth_cbr_sample()

Completed in 22 milliseconds