Searched refs:le16_to_cpu (Results 1 – 21 of 21) sorted by relevance
115 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in usb_match_id()121 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in usb_match_id()129 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in usb_match_id()135 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in usb_match_id()
10 uint16_t le16_to_cpu(uint16_t x);14 #define cpu_to_le16(x) le16_to_cpu((x))
101 uint16_t le16_to_cpu(uint16_t x) in le16_to_cpu() function
536 return le16_to_cpu(epd->wMaxPacketSize); in usb_endpoint_maxp()
603 return le16_to_cpu(ep->desc.wMaxPacketSize); in usb_maxpacket()
110 *status = le16_to_cpu(hub->status->port.wPortStatus); in hub_port_status()111 *change = le16_to_cpu(hub->status->port.wPortChange); in hub_port_status()842 *status = le16_to_cpu(hub->status->hub.wHubStatus); in hub_hub_status()843 *change = le16_to_cpu(hub->status->hub.wHubChange); in hub_hub_status()
434 wValue = le16_to_cpu(cmd->wValue); in rh_call_control()435 wIndex = le16_to_cpu(cmd->wIndex); in rh_call_control()436 wLength = le16_to_cpu(cmd->wLength); in rh_call_control()
919 if (le16_to_cpu(udev->ep0.desc.wMaxPacketSize) != i) in hub_port_init()1374 if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0200 in hub_port_connect_change()1471 if (len < le16_to_cpu(udev->config[index].desc.wTotalLength)) in config_descriptors_changed()1473 len = le16_to_cpu(udev->config[index].desc.wTotalLength); in config_descriptors_changed()1491 int old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in config_descriptors_changed()2479 hub->descriptor->wHubCharacteristics = le16_to_cpu(hub->descriptor->wHubCharacteristics); in _hub_config()2612 hubstatus = le16_to_cpu(hubstatus); in _hub_config()
640 length = max((int) le16_to_cpu(desc->wTotalLength), USB_DT_CONFIG_SIZE); in usb_get_all_config_desc_and_parser()
40 #define le16_to_cpu(x) (x) macro
148 buf[i] = le16_to_cpu(buf[i]); in ata_swap_buf_le16()
34 #define le16_to_cpu macro
144 #define le16_to_cpu __le16_to_cpu macro
751 switch (le16_to_cpu(UVCDev->pusb_dev->descriptor.idVendor)) { in uvc_parse_vendor_control()1114 le16_to_cpu(UVCDev->pusb_dev->descriptor.idVendor), in uvc_probe()1115 le16_to_cpu(UVCDev->pusb_dev->descriptor.idProduct)); in uvc_probe()
1001 psize = le16_to_cpu(ep->desc.wMaxPacketSize); in uvc_init_video_isoc()1058 psize = le16_to_cpu(ep->desc.wMaxPacketSize) & 0x07ff; in uvc_init_video_bulk()1144 psize = le16_to_cpu(ep->desc.wMaxPacketSize); in uvc_init_video()
602 HidDev->ReportSize = le16_to_cpu(HidDesc->desc[i].wDescriptorLength); in HidDevScan()
1413 Item->data.Data_u16 = le16_to_cpu(*((__u16 *)Start)); in HidFetchItem()
626 le16_to_cpu((__force __le16)x);
783 #define le16_to_cpu(x) (x) macro
1106 #define le16_to_cpu(x) swap16(x) macro
1547 cfg.size = le16_to_cpu(ep_desc->wMaxPacketSize); in uhd_ep_alloc()
Completed in 64 milliseconds