Searched refs:libusb_cpu_to_le16 (Results 1 – 2 of 2) sorted by relevance
42 #define libusb_cpu_to_le16(x) ({ \ macro61 #define libusb_le16_to_cpu libusb_cpu_to_le16886 setup->wValue = libusb_cpu_to_le16(wValue); in libusb_fill_control_setup()887 setup->wIndex = libusb_cpu_to_le16(wIndex); in libusb_fill_control_setup()888 setup->wLength = libusb_cpu_to_le16(wLength); in libusb_fill_control_setup()
167 static inline uint16_t libusb_cpu_to_le16(const uint16_t x) in libusb_cpu_to_le16() function186 #define libusb_le16_to_cpu libusb_cpu_to_le161470 setup->wValue = libusb_cpu_to_le16(wValue); in libusb_fill_control_setup()1471 setup->wIndex = libusb_cpu_to_le16(wIndex); in libusb_fill_control_setup()1472 setup->wLength = libusb_cpu_to_le16(wLength); in libusb_fill_control_setup()