Home
last modified time | relevance | path

Searched refs:usb_lo (Results 1 – 3 of 3) sorted by relevance

/qemu/hw/usb/
H A Ddesc-msos.c120 prop->dwPropertyNameLength_lo = usb_lo(length*2); in usb_desc_msos_prop_name()
123 prop->bPropertyName[i*2] = usb_lo(name[i]); in usb_desc_msos_prop_name()
145 data->bPropertyData[i*2] = usb_lo(value[i]); in usb_desc_msos_prop_str()
209 hdr->wCount_lo = usb_lo(count); in usb_desc_msos_prop()
H A Ddesc.c28 d->u.device.bcdUSB_lo = usb_lo(0x0200); in usb_desc_device()
31 d->u.device.bcdUSB_lo = usb_lo(dev->bcdUSB); in usb_desc_device()
39 d->u.device.idVendor_lo = usb_lo(id->idVendor); in usb_desc_device()
41 d->u.device.idProduct_lo = usb_lo(id->idProduct); in usb_desc_device()
43 d->u.device.bcdDevice_lo = usb_lo(id->bcdDevice); in usb_desc_device()
67 d->u.device_qualifier.bcdUSB_lo = usb_lo(dev->bcdUSB); in usb_desc_device_qualifier()
122 d->u.config.wTotalLength_lo = usb_lo(wTotalLength); in usb_desc_config()
221 d->u.endpoint.wMaxPacketSize_lo = usb_lo(ep->wMaxPacketSize); in usb_desc_endpoint()
238 usb_lo(ep->wBytesPerInterval); in usb_desc_endpoint()
361 d->u.bos.wTotalLength_lo = usb_lo(wTotalLength); in usb_desc_bos()
H A Ddesc.h206 static inline uint8_t usb_lo(uint16_t val) in usb_lo() function