Searched refs:pdev (Results 1 - 25 of 58) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/
H A Dath9k.c45 pci_read_config_byte(sc->pdev, PCI_CACHE_LINE_SIZE, &u8tmp);
82 struct pci_device *pdev = sc->pdev; local
85 pci_read_config_byte(pdev, sc->sc_ah->caps.pcie_lcr_offset, &lnkctl);
87 pci_write_config_byte(pdev, sc->sc_ah->caps.pcie_lcr_offset, lnkctl);
97 static int ath_pci_probe(struct pci_device *pdev) argument
108 adjust_pci_device(pdev);
114 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz);
124 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz);
131 pci_write_config_byte(pdev, PCI_LATENCY_TIME
189 ath_pci_remove(struct pci_device *pdev) argument
[all...]
/vbox/src/VBox/Additions/linux/drm/
H A Dvbox_drv.c73 static int vbox_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) argument
75 return drm_get_pci_dev(pdev, ent, &driver);
79 static void vbox_pci_remove(struct pci_dev *pdev) argument
81 struct drm_device *dev = pci_get_drvdata(pdev);
H A Dvbox_ttm.c202 mem->bus.base = pci_resource_start(vbox->dev->pdev, 0);
313 vbox->fb_mtrr = drm_mtrr_add(pci_resource_start(dev->pdev, 0),
314 pci_resource_len(dev->pdev, 0),
317 vbox->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0),
318 pci_resource_len(dev->pdev, 0));
335 pci_resource_start(dev->pdev, 0),
336 pci_resource_len(dev->pdev, 0), DRM_MTRR_WC);
H A Dvbox_fb.c275 struct device *device = &dev->pdev->dev;
349 info->apertures->ranges[0].base = pci_resource_start(dev->pdev, 0);
350 info->apertures->ranges[0].size = pci_resource_len(dev->pdev, 0);
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/vxge/
H A Dvxge_main.c141 hldev = (struct __vxge_hw_device *)pci_get_drvdata(vdev->pdev);
145 vdev->vpath.fifo.pdev = vdev->pdev;
148 vdev->vpath.ring.pdev = vdev->pdev;
239 hldev = (struct __vxge_hw_device *)pci_get_drvdata(vdev->pdev);
267 hldev = (struct __vxge_hw_device *)pci_get_drvdata(vdev->pdev);
301 hldev = (struct __vxge_hw_device *)pci_get_drvdata(vdev->pdev);
373 hldev = (struct __vxge_hw_device *)pci_get_drvdata(vdev->pdev);
428 vdev->pdev
494 vxge_probe(struct pci_device *pdev) argument
673 vxge_remove(struct pci_device *pdev) argument
[all...]
H A Dvxge_main.h173 struct pci_device *pdev; member in struct:vxge_fifo
179 struct pci_device *pdev; member in struct:vxge_ring
200 struct pci_device *pdev; member in struct:vxgedev
H A Dvxge_config.c129 struct pci_device *pdev = hldev->pdev; local
134 pci_read_config_word(pdev, PCI_COMMAND, &cmd);
136 pci_write_config_word(pdev, PCI_COMMAND, cmd);
196 __vxge_hw_device_get_legacy_reg(struct pci_device *pdev, void __iomem *bar0) argument
204 if (pci_bar_size(pdev, PCI_BASE_ADDRESS_0) == 0x1000000)
247 hldev->legacy_reg = __vxge_hw_device_get_legacy_reg(hldev->pdev,
384 vxge_hw_device_hw_info_get(struct pci_device *pdev, void __iomem *bar0, argument
401 legacy_reg = __vxge_hw_device_get_legacy_reg(pdev, bar0);
498 struct pci_device *pdev,
495 vxge_hw_device_initialize( struct __vxge_hw_device **devh, void *bar0, struct pci_device *pdev, u8 titan1) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/tg3/
H A Dtg3_hw.c44 pci_write_config_dword(tp->pdev, TG3PCI_REG_BASE_ADDR, off);
45 pci_write_config_dword(tp->pdev, TG3PCI_REG_DATA, val);
53 pci_write_config_dword(tp->pdev, TG3PCI_REG_BASE_ADDR, off);
54 pci_read_config_dword(tp->pdev, TG3PCI_REG_DATA, &val);
74 pci_write_config_dword(tp->pdev, TG3PCI_RCV_RET_RING_CON_IDX +
79 pci_write_config_dword(tp->pdev, TG3PCI_STD_RING_PROD_IDX +
84 pci_write_config_dword(tp->pdev, TG3PCI_REG_BASE_ADDR, off + 0x5600);
85 pci_write_config_dword(tp->pdev, TG3PCI_REG_DATA, val);
92 pci_write_config_dword(tp->pdev, TG3PCI_MISC_LOCAL_CTRL,
102 pci_write_config_dword(tp->pdev, TG3PCI_REG_BASE_ADD
[all...]
H A Dtg3.c639 DBGC(&tp->pdev->dev,
650 DBGC(&tp->pdev->dev,
661 DBGC(&tp->pdev->dev, "%s: Buffer read failed. "
678 DBGC(&tp->pdev->dev,
711 static int tg3_init_one(struct pci_device *pdev) argument
719 adjust_pci_device(pdev);
723 DBGC(&pdev->dev, "Failed to allocate etherdev\n");
729 pci_set_drvdata(pdev, dev);
731 dev->dev = &pdev->dev;
734 tp->pdev
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.13.0/
H A Dxf86platformBus.h32 struct pci_device *pdev; member in struct:xf86_platform_device
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/
H A Dxf86platformBus.h32 struct pci_device *pdev; member in struct:xf86_platform_device
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.15.0/
H A Dxf86platformBus.h32 struct pci_device *pdev; member in struct:xf86_platform_device
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/igbvf/
H A Digbvf_main.c456 struct pci_device *pdev = adapter->pdev; local
461 hw->vendor_id = pdev->vendor;
462 hw->device_id = pdev->device;
464 pci_read_config_byte ( pdev, PCI_REVISION_ID, &hw->revision_id );
466 pci_read_config_word ( pdev, PCI_COMMAND, &hw->bus.pci_cmd_word );
773 * @pdev: PCI device information struct
782 int igbvf_probe ( struct pci_device *pdev )
805 pci_set_drvdata ( pdev, netdev );
806 netdev->dev = &pdev
[all...]
H A Digbvf.h229 struct pci_dev *pdev;
269 struct pci_device *pdev; member in struct:igbvf_adapter
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Dxf86platformBus.h32 struct pci_device *pdev; member in struct:xf86_platform_device
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dsis190.c50 static int sis190_isa_bridge_probe(struct pci_device *pdev __unused)
55 static void sis190_isa_bridge_remove(struct pci_device *pdev __unused)
872 static int sis190_init_board(struct pci_device *pdev, struct net_device **netdev) argument
886 dev->dev = &pdev->dev;
893 adjust_pci_device(pdev);
895 ioaddr = ioremap(pdev->membase, SIS190_REGS_SIZE);
902 tp->pci_device = pdev;
922 static int sis190_get_mac_addr_from_eeprom(struct pci_device *pdev __unused,
954 * @pdev: PCI device
961 static int sis190_get_mac_addr_from_apc(struct pci_device *pdev, argument
1047 sis190_get_mac_addr(struct pci_device *pdev, struct net_device *dev) argument
1112 sis190_probe(struct pci_device *pdev) argument
1151 sis190_remove(struct pci_device *pdev) argument
[all...]
H A Datl1e.c191 static void atl1e_setup_pcicmd(struct pci_device *pdev) argument
195 pci_read_config_word(pdev, PCI_COMMAND, &cmd);
197 pci_write_config_word(pdev, PCI_COMMAND, cmd);
204 pci_write_config_dword(pdev, REG_PM_CTRLSTAT, 0);
219 struct pci_device *pdev = adapter->pdev; local
227 pci_read_config_byte(pdev, PCI_REVISION_ID, &rev_id);
1103 static void atl1e_init_netdev(struct net_device *netdev, struct pci_device *pdev) argument
1107 netdev->dev = &pdev->dev;
1108 pci_set_drvdata(pdev, netde
1122 atl1e_probe(struct pci_device *pdev) argument
1227 atl1e_remove(struct pci_device *pdev) argument
1617 struct pci_device *pdev = adapter->pdev; local
[all...]
H A Dvia-velocity.c223 static void velocity_init_info(struct pci_device *pdev,
227 struct pci_device *pdev);
633 // pci_set_power_state(vptr->pdev, PCI_D3hot);
761 * @pdev: PCI device
769 static void velocity_init_info(struct pci_device *pdev, argument
775 vptr->pdev = pdev;
794 * @pdev: PCI device it matches
818 unsigned long pci_resource_flags(struct pci_device *pdev, unsigned int bar) argument
823 pci_read_config_dword(pdev, ba
862 velocity_get_pci_info(struct velocity_info *vptr, struct pci_device *pdev) argument
[all...]
H A Damd8111e.c112 struct pci_device *pdev; member in struct:amd8111e_priv
661 static int amd8111e_probe(struct nic *nic, struct pci_device *pdev) argument
666 nic->ioaddr = pdev->ioaddr;
667 nic->irqno = pdev->irq;
669 mmio_start = pci_bar_start(pdev, PCI_BASE_ADDRESS_0);
670 mmio_len = pci_bar_size(pdev, PCI_BASE_ADDRESS_0);
673 lp->pdev = pdev;
677 adjust_pci_device(pdev);
H A Dpcnet32.c1031 * @v pdev PCI device
1037 pcnet32_probe ( struct pci_device *pdev )
1047 pdev->id->name, pdev->id->vendor, pdev->id->device );
1060 pci_set_drvdata ( pdev, netdev );
1061 netdev->dev = &pdev->dev;
1067 priv->pci_dev = pdev;
1070 ioaddr = pdev->ioaddr;
1089 adjust_pci_device ( pdev );
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/
H A Dath5k_attach.c116 struct pci_device *pdev = sc->pdev; local
261 pci_find_capability(pdev, PCI_CAP_ID_EXP)) {
305 sc->pdev->device);
H A Dbase.h89 struct pci_device *pdev; /* for dma mapping */ member in struct:ath5k_softc
H A Dath5k.c160 static int ath5k_probe(struct pci_device *pdev);
161 static void ath5k_remove(struct pci_device *pdev);
286 static int ath5k_probe(struct pci_device *pdev) argument
294 adjust_pci_device(pdev);
300 pci_read_config_byte(pdev, PCI_CACHE_LINE_SIZE, &csz);
308 pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, csz);
315 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0xa8);
321 pci_write_config_byte(pdev, 0x41, 0);
323 mem = ioremap(pdev->membase, 0x10000);
344 sc->pdev
443 ath5k_remove(struct pci_device *pdev) argument
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Dxf86platformBus.h32 struct pci_device *pdev; member in struct:xf86_platform_device
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/rtl818x/
H A Drtl818x.c652 static int rtl818x_probe(struct pci_device *pdev )
669 adjust_pci_device(pdev);
678 priv->pdev = pdev;
679 dev->netdev->dev = &pdev->dev;
681 priv->map = (struct rtl818x_csr *)pdev->ioaddr;
817 pci_set_drvdata(pdev, NULL);
823 static void rtl818x_remove(struct pci_device *pdev) argument
825 struct net80211_device *dev = pci_get_drvdata(pdev);

Completed in 142 milliseconds

123