Lines Matching defs:usb

9 #include <linux/usb.h>
18 #include "usb.h"
169 return bus_if->bus_priv.usb;
518 /* zero length packets indicate usb "failure". Do not refill */
916 /* Wait until the usb device reports it received all
1172 struct brcmf_usbdev_info *devinfo = bus->bus_priv.usb->devinfo;
1258 bus->bus_priv.usb = bus_pub;
1333 struct usb_device *usb = interface_to_usbdev(intf);
1355 devinfo->usbdev = usb;
1356 devinfo->dev = &usb->dev;
1367 if (usb->descriptor.bNumConfigurations != 1) {
1369 usb->descriptor.bNumConfigurations);
1374 if ((usb->descriptor.bDeviceClass != USB_CLASS_VENDOR_SPEC) &&
1375 (usb->descriptor.bDeviceClass != USB_CLASS_MISC) &&
1376 (usb->descriptor.bDeviceClass != USB_CLASS_WIRELESS_CONTROLLER)) {
1378 usb->descriptor.bDeviceClass);
1403 usb_rcvbulkpipe(usb, endpoint_num);
1407 usb_sndbulkpipe(usb, endpoint_num);
1423 if (usb->speed == USB_SPEED_SUPER_PLUS)
1425 else if (usb->speed == USB_SPEED_SUPER)
1427 else if (usb->speed == USB_SPEED_HIGH)
1474 struct usb_device *usb = interface_to_usbdev(intf);
1475 struct brcmf_usbdev_info *devinfo = brcmf_usb_get_businfo(&usb->dev);
1489 struct usb_device *usb = interface_to_usbdev(intf);
1490 struct brcmf_usbdev_info *devinfo = brcmf_usb_get_businfo(&usb->dev);
1502 struct usb_device *usb = interface_to_usbdev(intf);
1503 struct brcmf_usbdev_info *devinfo = brcmf_usb_get_businfo(&usb->dev);
1513 ret = brcmf_fw_get_firmwares(&usb->dev, fwreq, brcmf_usb_probe_phase2);
1552 MODULE_DEVICE_TABLE(usb, brcmf_usb_devid_table);
1568 /* device past is the usb interface so we
1584 brcmf_err("failed to reset all usb devices %d\n", ret);