Lines Matching defs:dev
49 static int is_targeted(struct usb_device *dev)
54 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a &&
55 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd))
63 id->idVendor != le16_to_cpu(dev->descriptor.idVendor))
67 id->idProduct != le16_to_cpu(dev->descriptor.idProduct))
73 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice)))
77 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice)))
81 (id->bDeviceClass != dev->descriptor.bDeviceClass))
85 (id->bDeviceSubClass != dev->descriptor.bDeviceSubClass))
89 (id->bDeviceProtocol != dev->descriptor.bDeviceProtocol))
99 dev_err(&dev->dev, "device v%04x p%04x is not supported\n",
100 le16_to_cpu(dev->descriptor.idVendor),
101 le16_to_cpu(dev->descriptor.idProduct));