Home
last modified time | relevance | path

Searched refs:pci_dev (Results 1 – 25 of 51) sorted by relevance

123

/dragonfly/sys/dev/drm/include/linux/
H A Dpci.h71 struct pci_dev { struct
108 void (*remove)(struct pci_dev *dev);
165 pcie_get_readrq(struct pci_dev *pdev) in pcie_get_readrq()
202 static inline struct pci_dev *
203 pci_dev_get(struct pci_dev *dev) in pci_dev_get()
209 static inline struct pci_dev *
210 pci_dev_put(struct pci_dev *dev) in pci_dev_put()
318 const struct pci_dev *pdev = container_of(&bus, struct pci_dev, bus); in pci_bus_read_config_byte()
327 const struct pci_dev *pdev = container_of(&bus, struct pci_dev, bus); in pci_bus_read_config_word()
334 pci_name(struct pci_dev *pdev) in pci_name()
[all …]
H A Dvga_switcheroo.h36 struct pci_dev;
122 enum vga_switcheroo_client_id (*get_client_id)(struct pci_dev *pdev);
143 void (*reprobe)(struct pci_dev *dev);
144 bool (*can_switch)(struct pci_dev *dev);
148 void vga_switcheroo_unregister_client(struct pci_dev *dev);
149 int vga_switcheroo_register_client(struct pci_dev *dev,
152 int vga_switcheroo_register_audio_client(struct pci_dev *pdev,
156 void vga_switcheroo_client_fb_set(struct pci_dev *dev,
163 int vga_switcheroo_lock_ddc(struct pci_dev *pdev);
164 int vga_switcheroo_unlock_ddc(struct pci_dev *pdev);
[all …]
H A Dvgaarb.h32 struct pci_dev;
35 vga_get_uninterruptible(struct pci_dev *pdev, unsigned int rsrc) in vga_get_uninterruptible()
42 vga_put(struct pci_dev *pdev, unsigned int rsrc) in vga_put()
H A Dpci-dma-compat.h33 pci_alloc_consistent(struct pci_dev *pdev, size_t size, dma_addr_t *dma_handle) in pci_alloc_consistent()
42 pci_free_consistent(struct pci_dev *pdev, in pci_free_consistent()
/dragonfly/sys/dev/drm/
H A Ddrm_dragonfly.c106 static void drm_fill_pdev(device_t dev, struct pci_dev *pdev) in drm_fill_pdev()
136 void drm_init_pdev(device_t dev, struct pci_dev **pdev) in drm_init_pdev()
140 *pdev = kzalloc(sizeof(struct pci_dev), GFP_KERNEL); in drm_init_pdev()
144 (*pdev)->bus->self = kzalloc(sizeof(struct pci_dev), GFP_KERNEL); in drm_init_pdev()
150 void drm_fini_pdev(struct pci_dev **pdev) in drm_fini_pdev()
158 void drm_print_pdev(struct pci_dev *pdev) in drm_print_pdev()
H A Ddrm_pci.c240 int drm_get_pci_dev(struct pci_dev *pdev, const struct pci_device_id *ent, in drm_get_pci_dev()
304 struct pci_dev *pdev = NULL; in drm_legacy_pci_init()
345 struct pci_dev *root; in drm_pcie_get_speed_cap_mask()
383 struct pci_dev *root; in drm_pcie_get_max_link_width()
H A Ddrm_file.c381 struct pci_dev *pci_dev; in drm_open_helper() local
382 pci_dev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, NULL); in drm_open_helper()
383 if (pci_dev) { in drm_open_helper()
384 dev->hose = pci_dev->sysdata; in drm_open_helper()
385 pci_dev_put(pci_dev); in drm_open_helper()
H A Dlinux_pci.c30 pcie_capability_read_dword(struct pci_dev *dev, int pos, u32 *dst) in pcie_capability_read_dword()
/dragonfly/sys/dev/video/vga/
H A Dvga_switcheroo.c129 struct pci_dev *pdev;
300 register_client(struct pci_dev *pdev, in register_client()
345 vga_switcheroo_register_client(struct pci_dev *pdev, in vga_switcheroo_register_client()
466 vga_switcheroo_get_client_state(struct pci_dev *pdev) in vga_switcheroo_get_client_state()
520 vga_switcheroo_client_fb_set(struct pci_dev *pdev, in vga_switcheroo_client_fb_set()
553 vga_switcheroo_lock_ddc(struct pci_dev *pdev) in vga_switcheroo_lock_ddc()
586 vga_switcheroo_unlock_ddc(struct pci_dev *pdev) in vga_switcheroo_unlock_ddc()
1320 vga_switcheroo_power_switch(struct pci_dev *pdev,
1374 struct pci_dev *pdev = to_pci_dev(dev);
1394 struct pci_dev *pdev = to_pci_dev(dev);
[all …]
/dragonfly/sys/dev/drm/include/asm/
H A Dpci-dma-compat.h34 pci_map_page(struct pci_dev *hwdev, struct page *page, in pci_map_page()
41 pci_unmap_page(struct pci_dev *hwdev, dma_addr_t dma_address, in pci_unmap_page()
47 pci_dma_mapping_error(struct pci_dev *hwdev, dma_addr_t dma_address) in pci_dma_mapping_error()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_drv.c376 static int radeon_pci_probe(struct pci_dev *pdev, in radeon_pci_probe()
396 radeon_pci_remove(struct pci_dev *pdev) in radeon_pci_remove()
404 radeon_pci_shutdown(struct pci_dev *pdev) in radeon_pci_shutdown()
415 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_suspend()
422 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_resume()
437 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_freeze()
444 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_thaw()
451 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_runtime_suspend()
479 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_runtime_resume()
506 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_runtime_idle()
[all …]
/dragonfly/sys/dev/drm/i915/
H A Di915_selftest.h29 struct pci_dev;
46 int i915_live_selftests(struct pci_dev *pdev);
85 static inline int i915_live_selftests(struct pci_dev *pdev) { return 0; } in i915_live_selftests()
H A Dintel_acpi.c110 static bool intel_dsm_pci_probe(struct pci_dev *pdev)
134 struct pci_dev *pdev = NULL;
H A Di915_drv.c287 struct pci_dev *pdev = dev_priv->drm.pdev; in i915_getparam()
444 static struct pci_dev i915_bridge_dev; in i915_get_bridge_dev()
771 struct pci_dev *pdev = dev_priv->drm.pdev; in i915_kick_out_firmware_fb()
1011 struct pci_dev *pdev = dev_priv->drm.pdev; in i915_mmio_setup()
1044 struct pci_dev *pdev = dev_priv->drm.pdev; in i915_mmio_cleanup()
1143 struct pci_dev *pdev = dev_priv->drm.pdev; in i915_driver_init_hw()
1261 struct pci_dev *pdev = dev_priv->drm.pdev; in i915_driver_cleanup_hw()
1597 struct pci_dev *pdev = dev_priv->drm.pdev;
2096 struct pci_dev *pdev = to_pci_dev(kdev);
2580 struct pci_dev *pdev = to_pci_dev(kdev);
[all …]
H A Di915_suspend.c61 struct pci_dev *pdev = dev_priv->drm.pdev; in i915_save_state()
106 struct pci_dev *pdev = dev_priv->drm.pdev; in i915_restore_state()
H A Di915_pci.c644 static void i915_pci_remove(struct pci_dev *pdev) in i915_pci_remove()
652 static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in i915_pci_probe()
754 static struct pci_dev *pdev = NULL; in i915_pci_probe_dfly()
H A Dintel_cdclk.c93 struct pci_dev *pdev = dev_priv->drm.pdev; in i85x_get_cdclk()
135 struct pci_dev *pdev = dev_priv->drm.pdev; in i915gm_get_cdclk()
159 struct pci_dev *pdev = dev_priv->drm.pdev; in i945gm_get_cdclk()
251 struct pci_dev *pdev = dev_priv->drm.pdev; in g33_get_cdclk()
299 struct pci_dev *pdev = dev_priv->drm.pdev; in pnv_get_cdclk()
331 struct pci_dev *pdev = dev_priv->drm.pdev; in i965gm_get_cdclk()
375 struct pci_dev *pdev = dev_priv->drm.pdev; in gm45_get_cdclk()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_drv.c958 struct pci_dev *pdev = NULL; in amdgpu_attach_dfly()
984 amdgpu_pci_remove(struct pci_dev *pdev)
1010 struct pci_dev *pdev = to_pci_dev(dev);
1018 struct pci_dev *pdev = to_pci_dev(dev);
1033 struct pci_dev *pdev = to_pci_dev(dev);
1041 struct pci_dev *pdev = to_pci_dev(dev);
1049 struct pci_dev *pdev = to_pci_dev(dev);
1057 struct pci_dev *pdev = to_pci_dev(dev);
1065 struct pci_dev *pdev = to_pci_dev(dev);
1092 struct pci_dev *pdev = to_pci_dev(dev);
[all …]
/dragonfly/sys/dev/raid/hptmv/
H A Dvdevice.h163 ((pChip1)->pci_bus==(pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev)
166 …((pChip1)->pci_bus==(pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev && (pChip1)->pci_fun…
/dragonfly/sys/dev/drm/include/drm/
H A Ddrm_pci.h49 int drm_get_pci_dev(struct pci_dev *pdev,
53 static inline int drm_get_pci_dev(struct pci_dev *pdev, in drm_get_pci_dev()
H A DdrmP.h103 struct pci_dev;
445 void drm_init_pdev(device_t dev, struct pci_dev **pdev);
446 void drm_fini_pdev(struct pci_dev **pdev);
447 void drm_print_pdev(struct pci_dev *pdev);
H A Ddrm_device.h27 struct pci_dev;
167 struct pci_dev *pdev; /**< PCI device structure */
/dragonfly/sys/dev/drm/amd/include/
H A Dkgd_kfd_interface.h35 struct pci_dev;
446 struct kfd_dev* (*probe)(struct kgd_dev *kgd, struct pci_dev *pdev,
/dragonfly/sys/platform/pc64/x86_64/
H A Dmptable.c1017 int pci_pin, pci_dev; in mptable_pci_int_callback() local
1059 pci_dev = (ent->src_bus_irq >> 2) & 0x1f; in mptable_pci_int_callback()
1063 pci_int->mpci_dev == pci_dev && in mptable_pci_int_callback()
1094 pci_int->mpci_dev = pci_dev; in mptable_pci_int_callback()
/dragonfly/sys/dev/netif/mxge/
H A Dif_mxge_var.h140 struct pci_dev *pdev;

123