Searched refs:pci_dev (Results 1 - 25 of 1372) sorted by relevance

1234567891011>>

/drivers/net/wireless/rt2x00/
H A Drt2x00pci.h39 int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops);
40 void rt2x00pci_remove(struct pci_dev *pci_dev);
42 int rt2x00pci_suspend(struct pci_dev *pci_dev, pm_message_t state);
43 int rt2x00pci_resume(struct pci_dev *pci_dev);
H A Drt2x00pci.c52 struct pci_dev *pci_dev = to_pci_dev(rt2x00dev->dev); local
54 rt2x00dev->csr.base = pci_ioremap_bar(pci_dev, 0);
76 int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops) argument
83 retval = pci_enable_device(pci_dev);
89 retval = pci_request_regions(pci_dev, pci_name(pci_dev));
95 pci_set_master(pci_dev);
97 if (pci_set_mwi(pci_dev))
161 rt2x00pci_remove(struct pci_dev *pci_dev) argument
182 rt2x00pci_suspend(struct pci_dev *pci_dev, pm_message_t state) argument
198 rt2x00pci_resume(struct pci_dev *pci_dev) argument
[all...]
/drivers/usb/host/
H A Dpci-quirks.h5 void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
6 int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
8 int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *pdev);
14 void usb_enable_intel_xhci_ports(struct pci_dev *xhci_pdev);
15 void usb_disable_xhci_ports(struct pci_dev *xhci_pdev);
18 struct pci_dev;
22 static inline void usb_disable_xhci_ports(struct pci_dev *xhci_pdev) {}
/drivers/xen/xen-pciback/
H A Dconf_space_quirks.h17 struct pci_dev *pdev;
20 int xen_pcibk_config_quirks_add_field(struct pci_dev *dev, struct config_field
23 int xen_pcibk_config_quirks_remove_field(struct pci_dev *dev, int reg);
25 int xen_pcibk_config_quirks_init(struct pci_dev *dev);
29 int xen_pcibk_config_quirk_release(struct pci_dev *dev);
31 int xen_pcibk_field_is_dup(struct pci_dev *dev, unsigned int reg);
H A Dconf_space.h14 typedef void *(*conf_field_init) (struct pci_dev *dev, int offset);
15 typedef void (*conf_field_reset) (struct pci_dev *dev, int offset, void *data);
16 typedef void (*conf_field_free) (struct pci_dev *dev, int offset, void *data);
18 typedef int (*conf_dword_write) (struct pci_dev *dev, int offset, u32 value,
20 typedef int (*conf_word_write) (struct pci_dev *dev, int offset, u16 value,
22 typedef int (*conf_byte_write) (struct pci_dev *dev, int offset, u8 value,
24 typedef int (*conf_dword_read) (struct pci_dev *dev, int offset, u32 *value,
26 typedef int (*conf_word_read) (struct pci_dev *dev, int offset, u16 *value,
28 typedef int (*conf_byte_read) (struct pci_dev *dev, int offset, u8 *value,
72 int xen_pcibk_config_add_field_offset(struct pci_dev *de
[all...]
H A Dpciback.h22 struct pci_dev *dev;
62 struct pci_dev *pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev,
65 struct pci_dev *pcistub_get_pci_dev(struct xen_pcibk_device *pdev,
66 struct pci_dev *dev);
67 void pcistub_put_pci_dev(struct pci_dev *dev);
70 void xen_pcibk_reset_device(struct pci_dev *pdev);
74 int xen_pcibk_config_init_dev(struct pci_dev *dev);
75 void xen_pcibk_config_free_dyn_fields(struct pci_dev *dev);
76 void xen_pcibk_config_reset_dev(struct pci_dev *dev);
77 void xen_pcibk_config_free_dev(struct pci_dev *de
[all...]
/drivers/pci/
H A Dpci.h9 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 Dpci-driver.c117 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 Dsetup-irq.c19 void __weak pcibios_update_irq(struct pci_dev *dev, int irq)
25 static void pdev_fixup_irq(struct pci_dev *dev,
26 u8 (*swizzle)(struct pci_dev *, u8 *),
27 int (*map_irq)(const struct pci_dev *, u8, u8))
60 void pci_fixup_irqs(u8 (*swizzle)(struct pci_dev *, u8 *),
61 int (*map_irq)(const struct pci_dev *, u8, u8))
63 struct pci_dev *dev = NULL;
H A Dremove.c6 static void pci_free_resources(struct pci_dev *dev)
18 static void pci_stop_dev(struct pci_dev *dev)
33 static void pci_destroy_dev(struct pci_dev *dev)
62 static void pci_stop_bus_device(struct pci_dev *dev)
65 struct pci_dev *child, *tmp;
82 static void pci_remove_bus_device(struct pci_dev *dev)
85 struct pci_dev *child, *tmp;
111 void pci_stop_and_remove_bus_device(struct pci_dev *dev)
118 void pci_stop_and_remove_bus_device_locked(struct pci_dev *dev)
128 struct pci_dev *chil
[all...]
/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_pm.h26 int rtl8192E_save_state(struct pci_dev *dev, pm_message_t state);
27 int rtl8192E_suspend(struct pci_dev *dev, pm_message_t state);
28 int rtl8192E_resume(struct pci_dev *dev);
29 int rtl8192E_enable_wake(struct pci_dev *dev, pm_message_t state, int enable);
/drivers/staging/xgifb/
H A Dvb_init.h3 extern unsigned char XGIInitNew(struct pci_dev *pdev);
/drivers/pci/pcie/
H A Dportdrv.h24 int pcie_port_device_register(struct pci_dev *dev);
29 void pcie_port_device_remove(struct pci_dev *dev);
33 struct pci_dev;
35 void pcie_clear_root_pme_status(struct pci_dev *dev);
62 void pcie_pme_interrupt_enable(struct pci_dev *dev, bool enable);
66 static inline void pcie_pme_interrupt_enable(struct pci_dev *dev, bool en) {}
70 int pcie_port_acpi_setup(struct pci_dev *port, int *mask);
72 static inline int pcie_port_platform_notify(struct pci_dev *port, int *mask)
77 static inline int pcie_port_platform_notify(struct pci_dev *port, int *mask)
/drivers/pci/pcie/aer/
H A Daerdrv.h36 struct pci_dev *dev[AER_MAX_MULTI_ERR_DEVICES];
111 void aer_print_error(struct pci_dev *dev, struct aer_err_info *info);
112 void aer_print_port_info(struct pci_dev *dev, struct aer_err_info *info);
116 int pcie_aer_get_firmware_first(struct pci_dev *pci_dev);
118 static inline int pcie_aer_get_firmware_first(struct pci_dev *pci_dev) argument
120 if (pci_dev->__aer_firmware_first_valid)
121 return pci_dev->__aer_firmware_first;
126 static inline void pcie_aer_force_firmware_first(struct pci_dev *pci_de argument
[all...]
H A Daerdrv_acpi.c24 struct pci_dev *pci)
33 struct pci_dev *dev)
49 struct pci_dev *pci_dev; member in struct:aer_hest_parse_info
78 if (!info->pci_dev) {
85 if (hest_match_type(hest_hdr, info->pci_dev))
88 if (hest_match_pci(p, info->pci_dev))
94 static void aer_set_firmware_first(struct pci_dev *pci_dev) argument
98 .pci_dev
[all...]
/drivers/misc/genwqe/
H A Dcard_base.c186 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...]
/drivers/iommu/
H A Dirq_remapping.h31 struct pci_dev;
72 void (*compose_msi_msg)(struct pci_dev *,
77 int (*msi_alloc_irq)(struct pci_dev *, int, int);
80 int (*msi_setup_irq)(struct pci_dev *, unsigned int, int, int);
/drivers/xen/
H A Dpci.c38 struct pci_dev *pci_dev = to_pci_dev(dev); local
40 struct pci_dev *physfn = pci_dev->physfn;
48 .add.seg = pci_domain_nr(pci_dev->bus),
49 .add.bus = pci_dev->bus->number,
50 .add.devfn = pci_dev->devfn
59 if (pci_dev->is_virtfn) {
65 if (pci_ari_enabled(pci_dev->bus) && PCI_SLOT(pci_dev
141 struct pci_dev *pci_dev = to_pci_dev(dev); local
[all...]
/drivers/usb/core/
H A Dhcd-pci.c51 static inline int is_ohci_or_uhci(struct pci_dev *pdev)
56 typedef void (*companion_fn)(struct pci_dev *pdev, struct usb_hcd *hcd,
57 struct pci_dev *companion, struct usb_hcd *companion_hcd);
60 static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd,
63 struct pci_dev *companion;
90 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd,
91 struct pci_dev *companion, struct usb_hcd *companion_hcd)
107 static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd,
108 struct pci_dev *companion, struct usb_hcd *companion_hcd)
128 static void non_ehci_add(struct pci_dev *pde
393 powermac_set_asic(struct pci_dev *pci_dev, int enable) argument
408 powermac_set_asic(struct pci_dev *pci_dev, int enable) argument
415 struct pci_dev *pci_dev = to_pci_dev(dev); local
435 struct pci_dev *pci_dev = to_pci_dev(dev); local
490 struct pci_dev *pci_dev = to_pci_dev(dev); local
542 struct pci_dev *pci_dev = to_pci_dev(dev); local
581 struct pci_dev *pci_dev = to_pci_dev(dev); local
[all...]
/drivers/mmc/host/
H A Dsdhci-pci-data.c4 struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev, int slotno);
/drivers/net/wireless/
H A Datmel_pci.c40 static int atmel_pci_probe(struct pci_dev *, const struct pci_device_id *);
41 static void atmel_pci_remove(struct pci_dev *);
51 static int atmel_pci_probe(struct pci_dev *pdev,
71 static void atmel_pci_remove(struct pci_dev *pdev)
/drivers/gpu/drm/nouveau/
H A Dnouveau_acpi.h13 bool nouveau_acpi_rom_supported(struct pci_dev *pdev);
21 static inline bool nouveau_acpi_rom_supported(struct pci_dev *pdev) { return false; }
/drivers/tty/serial/
H A Dm32r_sio.h22 int (*pci_init_one)(struct pci_dev *dev);
23 void (*pci_remove_one)(struct pci_dev *dev);
/drivers/media/pci/tw68/
H A Dtw68-core.c219 static int tw68_initdev(struct pci_dev *pci_dev, argument
226 dev = devm_kzalloc(&pci_dev->dev, sizeof(*dev), GFP_KERNEL);
233 err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev);
238 dev->pci = pci_dev;
239 if (pci_enable_device(pci_dev)) {
249 pci_write_config_byte(pci_dev, PCI_LATENCY_TIMER, latency);
253 pci_read_config_byte(pci_dev, PCI_CLASS_REVISION, &dev->pci_rev);
254 pci_read_config_byte(pci_dev, PCI_LATENCY_TIMER, &dev->pci_lat);
256 dev->name, pci_name(pci_dev), de
348 tw68_finidev(struct pci_dev *pci_dev) argument
391 tw68_resume(struct pci_dev *pci_dev) argument
[all...]
/drivers/staging/comedi/drivers/
H A Damplc_pci236.c98 struct pci_dev *pci_dev = comedi_to_pci_dev(dev); local
104 pci_name(pci_dev));
116 devpriv->lcr_iobase = pci_resource_start(pci_dev, 1);
117 iobase = pci_resource_start(pci_dev, 2);
118 return amplc_pc236_common_attach(dev, iobase, pci_dev->irq,
136 static int amplc_pci236_pci_probe(struct pci_dev *dev,

Completed in 1121 milliseconds

1234567891011>>