Searched refs:htole16 (Results 1 - 12 of 12) sorted by relevance

/fuchsia/zircon/system/uapp/audio/
H A Dwav-common.h52 format = htole16(format);
53 channel_count = htole16(channel_count);
56 frame_size = htole16(frame_size);
57 bits_per_sample = htole16(bits_per_sample);
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dendian.h46 #define htole16(x) (uint16_t)(x) macro
65 #define htole16(x) __bswap16(x) macro
/fuchsia/zircon/system/uapp/usbctl/
H A Dusbctl.c63 .bcdUSB = htole16(0x0200),
69 .bcdDevice = htole16(0x0100),
101 device_desc.idVendor = htole16(function->vid);
102 device_desc.idProduct = htole16(function->pid);
/fuchsia/zircon/system/dev/usb/xhci/
H A Dxhci-root-hub.c42 .bcdUSB = htole16(0x0200),
47 .idVendor = htole16(0x18D1),
48 .idProduct = htole16(0xA002),
49 .bcdDevice = htole16(0x0100),
60 .bcdUSB = htole16(0x0300),
65 .idVendor = htole16(0x18D1),
66 .idProduct = htole16(0xA003),
67 .bcdDevice = htole16(0x0100),
90 .wTotalLength = htole16(sizeof(xhci_rh_config_desc)),
113 .wMaxPacketSize = htole16(
[all...]
/fuchsia/zircon/system/dev/usb/usb-peripheral/
H A Dusb-peripheral.c212 config_desc->wTotalLength = htole16(length);
976 .bcdUSB = htole16(0x0200),
981 .idVendor = htole16(USB_DEVICE_VID),
982 .idProduct = htole16(USB_DEVICE_PID),
983 .bcdDevice = htole16(0x0100),
/fuchsia/zircon/system/dev/usb/usb-bus/
H A Dutil.c123 id_desc->wLangIds[0] = htole16(0x0409);
/fuchsia/zircon/system/ulib/ddk/include/hw/
H A Dpci.h212 static inline void pcie_write16(volatile uint16_t* reg, uint16_t val) { *reg = htole16(val); }
/fuchsia/zircon/system/dev/usb/dwc2/
H A Ddwc2.c218 .bcdUSB = htole16(0x0200),
223 .idVendor = htole16(0x18D1),
224 .idProduct = htole16(0xA002),
225 .bcdDevice = htole16(0x0100),
242 .wTotalLength = htole16(sizeof(dwc_rh_config_descriptor)),
265 .wMaxPacketSize = htole16(4),
/fuchsia/zircon/system/dev/block/ums-function/
H A Dums-function.c54 .wMaxPacketSize = htole16(BULK_MAX_PACKET),
62 .wMaxPacketSize = htole16(BULK_MAX_PACKET),
/fuchsia/zircon/system/dev/ethernet/usb-cdc-function/
H A Dcdc-eth-function.c111 .wMaxPacketSize = htole16(INTR_MAX_PACKET),
141 .wMaxPacketSize = htole16(BULK_MAX_PACKET),
149 .wMaxPacketSize = htole16(BULK_MAX_PACKET),
/fuchsia/zircon/system/dev/input/i2c-hid/
H A Di2c-hid.c142 uint16_t buf = htole16(desc_reg);
/fuchsia/zircon/system/dev/ethernet/asix-88179/
H A Dasix-88179.c350 .tx_len = htole16(netbuf->len),

Completed in 89 milliseconds