/drivers/atm/ |
H A D | eni.h | 116 struct pci_dev *pci_dev; /* PCI stuff */ member in struct:eni_dev
|
H A D | firestream.c | 1298 static void undocumented_pci_fix(struct pci_dev *pdev) 1667 struct pci_dev *pci_dev; local 1672 pci_dev = dev->pci_dev; 1676 (unsigned long long)pci_resource_start(pci_dev, 0), 1677 dev->pci_dev->irq); 1682 undocumented_pci_fix (pci_dev); 1684 dev->hw_base = pci_resource_start(pci_dev, 0); 1841 dev->irq = pci_dev 1900 firestream_init_one(struct pci_dev *pci_dev, const struct pci_device_id *ent) argument [all...] |
H A D | zatm.c | 1102 if ((error = pci_write_config_dword(zatm_dev->pci_dev,cmd,value))) 1113 if ((error = pci_read_config_dword(zatm_dev->pci_dev,cmd,&value))) 1185 struct pci_dev *pci_dev; local 1193 pci_dev = zatm_dev->pci_dev; 1194 zatm_dev->base = pci_resource_start(pci_dev, 0); 1195 zatm_dev->irq = pci_dev->irq; 1196 if ((error = pci_read_config_word(pci_dev,PCI_COMMAND,&command))) { 1201 if ((error = pci_write_config_word(pci_dev,PCI_COMMAN 1586 zatm_init_one(struct pci_dev *pci_dev, const struct pci_device_id *ent) argument [all...] |
/drivers/firmware/ |
H A D | edd.c | 71 static struct pci_dev *edd_get_pci_dev(struct edd_device *edev); 661 * edd_get_pci_dev() - finds pci_dev that matches edev 664 * Returns pci_dev if found, or NULL 666 static struct pci_dev * 684 struct pci_dev *pci_dev = edd_get_pci_dev(edev); local 686 if (!pci_dev) 688 ret = sysfs_create_link(&edev->kobj,&pci_dev->dev.kobj,"pci_dev"); 689 pci_dev_put(pci_dev); [all...] |
H A D | pcdp.h | 45 u8 pci_dev; member in struct:pcdp_uart
|
H A D | iscsi_ibft.c | 583 struct pci_dev *pci_dev; local 669 pci_dev = pci_get_bus_and_slot((nic->pci_bdf & 0xff00) >> 8, 671 if (pci_dev) { 673 &pci_dev->dev.kobj, "device"); 674 pci_dev_put(pci_dev);
|
/drivers/media/pci/cx88/ |
H A D | cx88-mpeg.c | 530 static int cx8802_suspend_common(struct pci_dev *pci_dev, pm_message_t state) argument 532 struct cx8802_dev *dev = pci_get_drvdata(pci_dev); 549 pci_save_state(pci_dev); 550 if (0 != pci_set_power_state(pci_dev, pci_choose_state(pci_dev, state))) { 551 pci_disable_device(pci_dev); 557 static int cx8802_resume_common(struct pci_dev *pci_dev) argument 559 struct cx8802_dev *dev = pci_get_drvdata(pci_dev); 795 cx8802_probe(struct pci_dev *pci_dev, const struct pci_device_id *pci_id) argument 844 cx8802_remove(struct pci_dev *pci_dev) argument [all...] |
/drivers/misc/genwqe/ |
H A D | card_base.c | 186 struct pci_dev *pci_dev = cd->pci_dev; local 194 pci_iounmap(pci_dev, mmio); 196 bars = pci_select_bars(pci_dev, IORESOURCE_MEM); 197 pci_release_selected_regions(pci_dev, bars); 204 dev_dbg(&pci_dev->dev, "[%s] pci_reset function ...\n", __func__); 205 rc = pci_reset_function(pci_dev); 207 dev_err(&pci_dev->dev, 211 dev_dbg(&pci_dev 256 struct pci_dev *pci_dev = cd->pci_dev; local 345 struct pci_dev *pci_dev = cd->pci_dev; local 416 struct pci_dev *pci_dev = cd->pci_dev; local 463 struct pci_dev *pci_dev = cd->pci_dev; local 593 struct pci_dev *pci_dev = cd->pci_dev; local 643 struct pci_dev *pci_dev = cd->pci_dev; local 781 genwqe_pci_fundamental_reset(struct pci_dev *pci_dev) argument 807 struct pci_dev *pci_dev = cd->pci_dev; local 849 struct pci_dev *pci_dev = cd->pci_dev; local 914 struct pci_dev *pci_dev = cd->pci_dev; local 1072 struct pci_dev *pci_dev = cd->pci_dev; local 1158 struct pci_dev *pci_dev = cd->pci_dev; local 1176 genwqe_probe(struct pci_dev *pci_dev, const struct pci_device_id *id) argument 1233 genwqe_remove(struct pci_dev *pci_dev) argument 1255 genwqe_err_error_detected(struct pci_dev *pci_dev, enum pci_channel_state state) argument 1283 genwqe_err_slot_reset(struct pci_dev *pci_dev) argument 1303 genwqe_err_resume(struct pci_dev *pci_dev) argument [all...] |
H A D | card_dev.c | 164 struct pci_dev *pci_dev = cfile->cd->pci_dev; local 188 dev_err(&pci_dev->dev, 201 struct pci_dev *pci_dev = cfile->cd->pci_dev; local 215 dev_err(&pci_dev->dev, 307 struct pci_dev *pci_dev; local 402 struct pci_dev *pci_dev = cd->pci_dev; local 520 struct pci_dev *pci_dev = cd->pci_dev; local 655 struct pci_dev *pci_dev = cd->pci_dev; local 777 struct pci_dev *pci_dev = cfile->cd->pci_dev; local 1056 struct pci_dev *pci_dev = cd->pci_dev; local 1274 struct pci_dev *pci_dev = cd->pci_dev; local 1334 struct pci_dev *pci_dev = cd->pci_dev; local 1386 struct pci_dev *pci_dev = cd->pci_dev; local [all...] |
H A D | card_ddcb.c | 177 struct pci_dev *pci_dev = cd->pci_dev; local 181 dev_info(&pci_dev->dev, 187 dev_err(&pci_dev->dev, 376 struct pci_dev *pci_dev = cd->pci_dev; local 419 dev_err(&pci_dev->dev, 429 dev_dbg(&pci_dev 488 struct pci_dev *pci_dev = cd->pci_dev; local 630 struct pci_dev *pci_dev = cd->pci_dev; local 732 struct pci_dev *pci_dev = cd->pci_dev; local 764 struct pci_dev *pci_dev = cd->pci_dev; local 920 struct pci_dev *pci_dev = cd->pci_dev; local 1029 struct pci_dev *pci_dev = cd->pci_dev; local 1127 struct pci_dev *pci_dev = cd->pci_dev; local 1234 struct pci_dev *pci_dev = cd->pci_dev; local 1346 struct pci_dev *pci_dev = cd->pci_dev; local 1396 struct pci_dev *pci_dev = cd->pci_dev; local [all...] |
/drivers/mmc/host/ |
H A D | sdricoh_cs.c | 96 struct pci_dev *pci_dev; member in struct:sdricoh_host 398 static int sdricoh_init_mmc(struct pci_dev *pci_dev, argument 407 if (pci_resource_len(pci_dev, SDRICOH_PCI_REGION) != 413 pci_iomap(pci_dev, SDRICOH_PCI_REGION, SDRICOH_PCI_REGION_SIZE); 436 host->pci_dev = pci_dev; 467 pci_iounmap(pci_dev, iobase); 477 struct pci_dev *pci_de local [all...] |
/drivers/mtd/nand/ |
H A D | r852.c | 151 pci_unmap_single(dev->pci_dev, dev->phys_dma_addr, R852_DMA_LEN, 197 dev->phys_dma_addr = pci_map_single(dev->pci_dev, (void *)buf, 201 if (pci_dma_mapping_error(dev->pci_dev, dev->phys_dma_addr)) 646 dev->mtd->dev.parent = &dev->pci_dev->dev; 826 static int r852_probe(struct pci_dev *pci_dev, const struct pci_device_id *id) argument 833 error = pci_enable_device(pci_dev); 838 pci_set_master(pci_dev); 840 error = pci_set_dma_mask(pci_dev, DMA_BIT_MASK(32)); 844 error = pci_request_regions(pci_dev, DRV_NAM 966 r852_remove(struct pci_dev *pci_dev) argument 997 r852_shutdown(struct pci_dev *pci_dev) argument [all...] |
H A D | r852.h | 113 struct pci_dev *pci_dev; /* pci backpointer */ member in struct:r852_device
|
/drivers/pci/ |
H A D | pci.h | 9 bool pcie_cap_has_lnkctl(const struct pci_dev *dev); 13 int pci_create_sysfs_dev_files(struct pci_dev *pdev); 14 void pci_remove_sysfs_dev_files(struct pci_dev *pdev); 16 static inline void pci_create_firmware_label_files(struct pci_dev *pdev) 18 static inline void pci_remove_firmware_label_files(struct pci_dev *pdev) 21 void pci_create_firmware_label_files(struct pci_dev *pdev); 22 void pci_remove_firmware_label_files(struct pci_dev *pdev); 24 void pci_cleanup_rom(struct pci_dev *dev); 30 int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vmai, 33 int pci_probe_reset_function(struct pci_dev *de 82 pci_has_subordinate(struct pci_dev *pci_dev) argument [all...] |
H A D | pci-driver.c | 117 struct pci_dev *pdev = kzalloc(sizeof(*pdev), GFP_KERNEL); 225 struct pci_dev *dev) 255 struct pci_dev *dev) 286 struct pci_dev *dev; 293 struct pci_dev *pci_dev = ddi->dev; local 295 struct device *dev = &pci_dev->dev; 307 pci_dev->driver = pci_drv; 308 rc = pci_drv->probe(pci_dev, ddi->id); 312 pci_dev 374 __pci_device_probe(struct pci_driver *drv, struct pci_dev *pci_dev) argument 395 struct pci_dev *pci_dev; local 409 struct pci_dev *pci_dev = to_pci_dev(dev); local 446 struct pci_dev *pci_dev = to_pci_dev(dev); local 477 pci_restore_standard_config(struct pci_dev *pci_dev) argument 495 pci_pm_default_resume_early(struct pci_dev *pci_dev) argument 506 pci_pm_set_unknown_state(struct pci_dev *pci_dev) argument 520 pci_pm_reenable_device(struct pci_dev *pci_dev) argument 538 struct pci_dev *pci_dev = to_pci_dev(dev); local 565 struct pci_dev *pci_dev = to_pci_dev(dev); local 599 struct pci_dev *pci_dev = to_pci_dev(dev); local 608 struct pci_dev *pci_dev = to_pci_dev(dev); local 619 pci_pm_default_resume(struct pci_dev *pci_dev) argument 627 pci_pm_default_suspend(struct pci_dev *pci_dev) argument 634 pci_has_legacy_pm_support(struct pci_dev *pci_dev) argument 682 struct pci_dev *pci_dev = to_pci_dev(dev); local 729 struct pci_dev *pci_dev = to_pci_dev(dev); local 786 struct pci_dev *pci_dev = to_pci_dev(dev); local 803 struct pci_dev *pci_dev = to_pci_dev(dev); local 849 struct pci_dev *pci_dev = to_pci_dev(dev); local 886 struct pci_dev *pci_dev = to_pci_dev(dev); local 914 struct pci_dev *pci_dev = to_pci_dev(dev); local 937 struct pci_dev *pci_dev = to_pci_dev(dev); local 964 struct pci_dev *pci_dev = to_pci_dev(dev); local 999 struct pci_dev *pci_dev = to_pci_dev(dev); local 1039 struct pci_dev *pci_dev = to_pci_dev(dev); local 1062 struct pci_dev *pci_dev = to_pci_dev(dev); local 1111 struct pci_dev *pci_dev = to_pci_dev(dev); local 1156 struct pci_dev *pci_dev = to_pci_dev(dev); local 1183 struct pci_dev *pci_dev = to_pci_dev(dev); local 1321 struct pci_dev *pci_dev = to_pci_dev(dev); local [all...] |
H A D | xen-pcifront.c | 247 static int pci_frontend_enable_msix(struct pci_dev *dev, 303 static void pci_frontend_disable_msix(struct pci_dev *dev) 322 static int pci_frontend_enable_msi(struct pci_dev *dev, int vector[]) 351 static void pci_frontend_disable_msi(struct pci_dev *dev) 393 static int pcifront_claim_resource(struct pci_dev *dev, void *data) 420 struct pci_dev *d; 548 struct pci_dev *dev; 551 dev = container_of(bus->devices.next, struct pci_dev, 588 struct pci_dev *pcidev; 996 struct pci_dev *pci_de local [all...] |
/drivers/crypto/qat/qat_common/ |
H A D | adf_accel_devices.h | 90 struct pci_dev *pci_dev; member in struct:adf_accel_pci 175 #define GET_DEV(accel_dev) ((accel_dev)->accel_pci_dev.pci_dev->dev) 180 #define accel_to_pci_dev(accel_ptr) accel_ptr->accel_pci_dev.pci_dev
|
/drivers/media/pci/cx18/ |
H A D | cx18-driver.c | 658 if (cx->pci_dev->subsystem_vendor == CX18_PCI_ID_HAUPPAUGE) { 668 if (cx->pci_dev->device != 671 if (cx->pci_dev->subsystem_vendor != 674 if (cx->pci_dev->subsystem_device != 687 cx->pci_dev->vendor, cx->pci_dev->device); 689 cx->pci_dev->subsystem_vendor, 690 cx->pci_dev->subsystem_device); 732 cx->base_addr = pci_resource_start(cx->pci_dev, 0); 810 static int cx18_setup_pci(struct cx18 *cx, struct pci_dev *pci_de argument 902 cx18_probe(struct pci_dev *pci_dev, const struct pci_device_id *pci_id) argument 1273 cx18_remove(struct pci_dev *pci_dev) argument [all...] |
/drivers/media/pci/cx25821/ |
H A D | cx25821-core.c | 1038 int cx25821_risc_buffer(struct pci_dev *pci, struct btcx_riscmem *risc, 1148 int cx25821_risc_databuffer_audio(struct pci_dev *pci, 1182 int cx25821_risc_stopper(struct pci_dev *pci, struct btcx_riscmem *risc, 1270 struct cx25821_dev *cx25821_dev_get(struct pci_dev *pci) 1277 static int cx25821_initdev(struct pci_dev *pci_dev, argument 1287 err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); 1292 dev->pci = pci_dev; 1293 if (pci_enable_device(pci_dev)) { 1310 pci_read_config_byte(pci_dev, PCI_CLASS_REVISIO 1347 cx25821_finidev(struct pci_dev *pci_dev) argument [all...] |
/drivers/media/pci/saa7164/ |
H A D | saa7164-core.c | 1188 static int saa7164_initdev(struct pci_dev *pci_dev, argument 1199 err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); 1201 dev_err(&pci_dev->dev, "v4l2_device_register failed\n"); 1206 dev->pci = pci_dev; 1207 if (pci_enable_device(pci_dev)) { 1218 dev->pci_rev = pci_dev->revision; 1219 pci_read_config_byte(pci_dev, PCI_LATENCY_TIMER, &dev->pci_lat); 1222 pci_name(pci_dev), dev->pci_rev, pci_dev 1388 saa7164_finidev(struct pci_dev *pci_dev) argument [all...] |
/drivers/memstick/host/ |
H A D | r592.h | 132 struct pci_dev *pci_dev; member in struct:r592_device
|
/drivers/net/ethernet/8390/ |
H A D | ne2k-pci.c | 185 struct pci_dev *pci_dev; member in struct:ne2k_pci_card 218 static int ne2k_pci_init_one(struct pci_dev *pdev, 640 struct pci_dev *pci_dev = (struct pci_dev *) ei->priv; local 644 strlcpy(info->bus_info, pci_name(pci_dev), sizeof(info->bus_info)); 667 static void ne2k_pci_remove_one(struct pci_dev *pdev) 679 static int ne2k_pci_suspend (struct pci_dev *pdev, pm_message_t state) 691 static int ne2k_pci_resume (struct pci_dev *pde [all...] |
/drivers/net/irda/ |
H A D | donauboe.c | 1488 toshoboe_close (struct pci_dev *pci_dev) argument 1491 struct toshoboe_cb *self = pci_get_drvdata(pci_dev); 1533 toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid) argument 1543 if ((err=pci_enable_device(pci_dev))) 1556 self->pdev = pci_dev; 1557 self->base = pci_resource_start(pci_dev,0); 1561 self->io.irq = pci_dev->irq; 1662 SET_NETDEV_DEV(dev, &pci_dev 1697 toshoboe_gotosleep(struct pci_dev *pci_dev, pm_message_t crap) argument 1726 toshoboe_wakeup(struct pci_dev *pci_dev) argument [all...] |
/drivers/virtio/ |
H A D | virtio_pci.c | 38 struct pci_dev *pci_dev; member in struct:virtio_pci_device 178 synchronize_irq(vp_dev->pci_dev->irq); 266 free_irq(vp_dev->pci_dev->irq, vp_dev); 284 pci_disable_msix(vp_dev->pci_dev); 329 err = pci_enable_msix_exact(vp_dev->pci_dev, 377 err = request_irq(vp_dev->pci_dev->irq, vp_interrupt, 616 return pci_name(vp_dev->pci_dev); 672 static int virtio_pci_probe(struct pci_dev *pci_dev, argument 746 virtio_pci_remove(struct pci_dev *pci_dev) argument 762 struct pci_dev *pci_dev = to_pci_dev(dev); local 775 struct pci_dev *pci_dev = to_pci_dev(dev); local [all...] |
/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 50 struct pci_dev *dev; 51 struct xen_pcibk_device *pdev;/* non-NULL if struct pci_dev is in use */ 66 static struct pcistub_device *pcistub_device_alloc(struct pci_dev *dev) 92 struct pci_dev *dev; 179 static struct pci_dev *pcistub_device_get_pci_dev(struct xen_pcibk_device *pdev, 182 struct pci_dev *pci_dev = NULL; local 190 pci_dev = psdev->dev; 194 if (!pci_dev) 197 return pci_dev; [all...] |