Home | History | Annotate | Download | only in tusb

Lines Matching refs:pdev

349 	struct pci_dev *pdev =
352 ltp_usb.pdev = pdev;
356 pdev = pci_find_class(PCI_CLASS_SERIAL_USB << 8, NULL);
357 if (pdev) {
359 printk("tusb: Slot number: %d\n", pdev->devfn);
361 memcpy(ltp_usb.pdev, pdev, sizeof(struct pci_dev));
363 if (pdev->driver->id_table)
388 struct pci_dev *pdev = ltp_usb.pdev;
391 if (!pdev) {
392 printk("tusb: pdev pointer not set\n");
396 id = (struct pci_device_id *)pdev->driver->id_table;
404 hcd = pci_get_drvdata(pdev);
410 release_region(pci_resource_start(pdev, hcd->region),
411 pci_resource_len(pdev, hcd->region));
414 rc = usb_hcd_pci_probe(pdev, id);
434 struct pci_dev *pdev = NULL;
439 if (!ltp_usb.pdev) {
440 printk("tusb: pdev pointer not found\n");
443 pdev = ltp_usb.pdev;
444 hcd = pci_get_drvdata(pdev);
465 struct pci_dev *pdev = NULL;
467 /* check that pdev is set */
468 if (!(pdev = ltp_usb.pdev)) {
474 rc = usb_hcd_pci_suspend(pdev, (u32) 2);
492 struct pci_dev *pdev = NULL;
494 /* check that pdev is set */
495 if (!(pdev = ltp_usb.pdev)) {
501 rc = usb_hcd_pci_resume(pdev);