Home
last modified time | relevance | path

Searched refs:cpu_to_le16 (Results 1 – 4 of 4) sorted by relevance

/tools/testing/cxl/test/
Dmem.c39 #define CXL_CMD_EFFECT_NONE cpu_to_le16(0)
43 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_SUPPORTED_LOGS),
47 .opcode = cpu_to_le16(CXL_MBOX_OP_IDENTIFY),
51 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_LSA),
55 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_PARTITION_INFO),
59 .opcode = cpu_to_le16(CXL_MBOX_OP_SET_LSA),
60 .effect = cpu_to_le16(EFFECT(CONF_CHANGE_IMMEDIATE) |
64 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_HEALTH_INFO),
68 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_POISON),
72 .opcode = cpu_to_le16(CXL_MBOX_OP_INJECT_POISON),
[all …]
/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c61 #define cpu_to_le16(x) (x) macro
64 #define cpu_to_le16(x) ((((x) >> 8) & 0xffu) | (((x) & 0xffu) << 8)) macro
124 .wMaxPacketSize = cpu_to_le16(512),
131 .wMaxPacketSize = cpu_to_le16(512),
152 cpu_to_le16(0x0409), /* en-us */
/tools/include/linux/
Dkernel.h71 #define cpu_to_le16 bswap_16 macro
84 #define cpu_to_le16 macro
/tools/usb/
Dffs-test.c41 #define cpu_to_le16(x) (x) macro
44 #define cpu_to_le16(x) ((((x) >> 8) & 0xffu) | (((x) & 0xffu) << 8)) macro
172 .wMaxPacketSize = cpu_to_le16(512),
179 .wMaxPacketSize = cpu_to_le16(512),
197 .wMaxPacketSize = cpu_to_le16(1024),
211 .wMaxPacketSize = cpu_to_le16(1024),
324 cpu_to_le16(0x0409), /* en-us */