Searched refs:bos (Results 1 - 8 of 8) sorted by relevance
/drivers/usb/wusbcore/ |
H A D | devconnect.c | 724 struct usb_bos_descriptor *bos, size_t desc_size) 731 itr = (void *)bos + sizeof(*bos); 732 top = itr + desc_size - sizeof(*bos); 740 (int)(itr - (void *)bos), top - itr); 752 (int)(itr - (void *)bos), 770 cap_size, (int)(itr - (void *)bos)); 798 struct usb_bos_descriptor *bos; local 801 bos = kmalloc(alloc_size, GFP_KERNEL); 802 if (bos 722 wusb_dev_bos_grok(struct usb_device *usb_dev, struct wusb_dev *wusb_dev, struct usb_bos_descriptor *bos, size_t desc_size) argument [all...] |
H A D | wusbhc.h | 89 * @bos: This is allocated when the BOS descriptors are read from 91 * @wusb_cap_descr: points into @bos, and has been verified to be size 104 struct usb_bos_descriptor *bos; member in struct:wusb_dev
|
/drivers/staging/omapdrm/ |
H A D | omap_drv.h | 112 struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object **bos); 170 struct drm_gem_object **bos, uint32_t *handles) 175 bos[i] = drm_gem_object_lookup(dev, filp, handles[i]); 176 if (!bos[i]) { 185 drm_gem_object_unreference_unlocked(bos[i]); 168 objects_lookup(struct drm_device *dev, struct drm_file *filp, uint32_t pixel_format, struct drm_gem_object **bos, uint32_t *handles) argument
|
H A D | omap_fb.c | 301 struct drm_gem_object *bos[4]; local 306 bos, mode_cmd->handles); 310 fb = omap_framebuffer_init(dev, mode_cmd, bos); 314 drm_gem_object_unreference_unlocked(bos[i]); 321 struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object **bos) 377 if (size > (bos[i]->size - mode_cmd->offsets[i])) { 379 bos[i]->size - mode_cmd->offsets[i], size); 384 plane->bo = bos[i]; 320 omap_framebuffer_init(struct drm_device *dev, struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object **bos) argument
|
/drivers/usb/core/ |
H A D | config.c | 761 if (dev->bos) { 762 kfree(dev->bos->desc); 763 kfree(dev->bos); 764 dev->bos = NULL; 772 struct usb_bos_descriptor *bos; local 778 bos = kzalloc(sizeof(struct usb_bos_descriptor), GFP_KERNEL); 779 if (!bos) 783 ret = usb_get_descriptor(dev, USB_DT_BOS, 0, bos, USB_DT_BOS_SIZE); 788 kfree(bos); 792 length = bos [all...] |
H A D | hub.c | 3219 if (udev->bos->ext_cap && (USB_LPM_SUPPORT & 3220 le32_to_cpu(udev->bos->ext_cap->bmAttributes)))
|
/drivers/usb/gadget/ |
H A D | composite.c | 492 * @cdev: pointer to usb_composite device to generate the bos 504 struct usb_bos_descriptor *bos = cdev->req->buf; local 506 bos->bLength = USB_DT_BOS_SIZE; 507 bos->bDescriptorType = USB_DT_BOS; 509 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); 510 bos->bNumDeviceCaps = 0; 516 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); 517 bos->bNumDeviceCaps++; 518 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); 528 ss_cap = cdev->req->buf + le16_to_cpu(bos [all...] |
/drivers/usb/host/ |
H A D | xhci.c | 3638 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes);
|
Completed in 3758 milliseconds