Lines Matching defs:usb_dev

1282 	return hdw->usb_dev;
1361 &hdw->usb_dev->dev);
1434 usb_clear_halt(hdw->usb_dev, usb_sndbulkpipe(hdw->usb_dev, 0 & 0x7f));
1436 pipe = usb_sndctrlpipe(hdw->usb_dev, 0);
1469 ret += usb_control_msg(hdw->usb_dev, pipe, 0xa0, 0x40, address,
1585 pipe = usb_sndbulkpipe(hdw->usb_dev, PVR2_FIRMWARE_ENDPOINT);
1607 ret |= usb_bulk_msg(hdw->usb_dev, pipe, fw_ptr,bcnt,
2138 if (le16_to_cpu(hdw->usb_dev->descriptor.idVendor) == 0x2040 &&
2139 (le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7502 ||
2140 le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7510)) {
2242 pvr2_stream_setup(hdw->vid_stream,hdw->usb_dev,
2353 struct usb_device *usb_dev;
2359 usb_dev = interface_to_usbdev(intf);
2595 hdw->usb_dev = usb_dev;
2597 usb_make_path(hdw->usb_dev, hdw->bus_info, sizeof(hdw->bus_info));
2600 usb_set_interface(hdw->usb_dev,ifnum,0);
2655 hdw->usb_dev = NULL;
3441 pipe = usb_rcvctrlpipe(hdw->usb_dev, 0);
3444 ret = usb_control_msg(hdw->usb_dev,pipe,
3661 hdw->usb_dev,
3662 usb_sndbulkpipe(hdw->usb_dev,
3691 hdw->usb_dev,
3692 usb_rcvbulkpipe(hdw->usb_dev,
3948 ret = usb_lock_device_for_reset(hdw->usb_dev,NULL);
3950 ret = usb_reset_device(hdw->usb_dev);
3951 usb_unlock_device(hdw->usb_dev);
3972 if (!hdw->usb_dev) return;
3988 pipe = usb_sndctrlpipe(hdw->usb_dev, 0);
3989 ret = usb_control_msg(hdw->usb_dev,pipe,0xa0,0x40,0xe600,0,da,1,1000);
4034 if (le16_to_cpu(hdw->usb_dev->descriptor.idVendor) == 0x2040 &&
4035 (le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7502 ||
4036 le16_to_cpu(hdw->usb_dev->descriptor.idProduct) == 0x7510)) {