| /netbsd-src/sys/external/bsd/drm2/include/linux/ |
| H A D | pci.h | 64 struct pci_dev; 161 struct pci_dev { struct 241 struct pci_dev *self; 303 void linux_pci_dev_init(struct pci_dev *, device_t, device_t, 305 void linux_pci_dev_destroy(struct pci_dev *); 308 int linux_pci_enable_device(struct pci_dev *); 309 void linux_pci_disable_device(struct pci_dev *); 314 device_t pci_dev_dev(struct pci_dev *); 315 void pci_set_drvdata(struct pci_dev *, void *); 316 void * pci_get_drvdata(struct pci_dev *); [all …]
|
| H A D | vgaarb.h | 38 struct pci_dev; 41 vga_client_register(struct pci_dev *pdev __unused, void *cookie __unused, in vga_client_register() 49 vga_remove_vgacon(struct pci_dev *pdev) in vga_remove_vgacon()
|
| /netbsd-src/sys/external/bsd/drm2/linux/ |
| H A D | linux_pci.c | 50 pci_dev_dev(struct pci_dev *pdev) in pci_dev_dev() 57 pci_set_drvdata(struct pci_dev *pdev, void *drvdata) in pci_set_drvdata() 63 pci_get_drvdata(struct pci_dev *pdev) in pci_get_drvdata() 69 pci_name(struct pci_dev *pdev) in pci_name() 80 static struct pci_dev * 94 struct pci_dev *parentdev = kmem_zalloc(sizeof(*parentdev), KM_SLEEP); in alloc_fake_parent_device() 145 linux_pci_dev_init(struct pci_dev *pdev, device_t dev, device_t parent, in linux_pci_dev_init() 213 pci_find_capability(struct pci_dev *pdev, int cap) in pci_find_capability() 221 pci_read_config_dword(struct pci_dev *pdev, int reg, uint32_t *valuep) in pci_read_config_dword() 230 pci_read_config_word(struct pci_dev *pdev, int reg, uint16_t *valuep) in pci_read_config_word() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/ |
| H A D | nouveau_nvkm_engine_device_pci.c | 1669 nvkm_device_pci_new(struct pci_dev *pci_dev, const char *cfg, const char *dbg, in nvkm_device_pci_new() argument 1680 ret = linux_pci_enable_device(pci_dev); in nvkm_device_pci_new() 1684 switch (pci_dev->vendor) { in nvkm_device_pci_new() 1692 if (pciv = pcid->vendor, pcid->device == pci_dev->device) { in nvkm_device_pci_new() 1694 if (pciv->vendor == pci_dev->subsystem_vendor && in nvkm_device_pci_new() 1695 pciv->device == pci_dev->subsystem_device) { in nvkm_device_pci_new() 1710 linux_pci_disable_device(pci_dev); in nvkm_device_pci_new() 1714 pdev->pdev = pci_dev; in nvkm_device_pci_new() 1717 pci_dev_dev(pci_dev), in nvkm_device_pci_new() 1718 pci_is_pcie(pci_dev) ? NVKM_DEVICE_PCIE : in nvkm_device_pci_new() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ast/ |
| H A D | ast_drv.c | 72 static void ast_kick_out_firmware_fb(struct pci_dev *pdev) in ast_kick_out_firmware_fb() 91 static int ast_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in ast_pci_probe() 132 ast_pci_remove(struct pci_dev *pdev) in ast_pci_remove() 174 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_suspend() 189 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_resume() 196 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_freeze() 206 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_thaw() 213 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_poweroff()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_selftest.h | 31 struct pci_dev; 50 int i915_live_selftests(struct pci_dev *pdev); 51 int i915_perf_selftests(struct pci_dev *pdev); 116 static inline int i915_live_selftests(struct pci_dev *pdev) { return 0; } in i915_live_selftests() 117 static inline int i915_perf_selftests(struct pci_dev *pdev) { return 0; } in i915_perf_selftests()
|
| H A D | i915_switcheroo.c | 16 static void i915_switcheroo_set_state(struct pci_dev *pdev, in i915_switcheroo_set_state() 42 static bool i915_switcheroo_can_switch(struct pci_dev *pdev) in i915_switcheroo_can_switch() 62 struct pci_dev *pdev = i915->drm.pdev; in i915_switcheroo_register() 69 struct pci_dev *pdev = i915->drm.pdev; in i915_switcheroo_unregister()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/ |
| H A D | qxl_drv.c | 71 static bool is_vga(struct pci_dev *pdev) in is_vga() 77 qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in qxl_pci_probe() 141 qxl_pci_remove(struct pci_dev *pdev) in qxl_pci_remove() 162 struct pci_dev *pdev = dev->pdev; in qxl_drm_freeze() 199 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_suspend() 214 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_resume() 242 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_restore()
|
| /netbsd-src/sys/dev/pci/cxgb/ |
| H A D | cxgb_ctl_defs.h | 72 struct pci_dev; 81 struct pci_dev *pdev; 103 struct pci_dev *pdev; 127 struct pci_dev *pdev; /* associated PCI device */
|
| /netbsd-src/sys/external/bsd/drm2/include/drm/ |
| H A D | intel-gtt.h | 41 struct pci_dev; 47 int intel_gmch_probe(struct pci_dev *, struct pci_dev *,
|
| H A D | drm_agp_netbsd.h | 74 agp_find_bridge(struct pci_dev *pdev __unused) in agp_find_bridge() 85 agp_backend_acquire(struct pci_dev *pdev) in agp_backend_acquire()
|
| /netbsd-src/sys/external/bsd/drm2/dist/include/drm/ |
| H A D | drm_pci.h | 50 int drm_get_pci_dev(struct pci_dev *pdev, 67 static inline int drm_get_pci_dev(struct pci_dev *pdev, in drm_get_pci_dev() 79 int drm_pci_attach(struct drm_device *, struct pci_dev *);
|
| H A D | drm_device.h | 30 struct pci_dev; 278 struct pci_dev *pdev;
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| H A D | intel_vga.c | 32 struct pci_dev *pdev = dev_priv->drm.pdev; in intel_vga_disable() 105 struct pci_dev *pdev = i915->drm.pdev; in intel_vga_reset_io_mem() 189 struct pci_dev *pdev = i915->drm.pdev; in intel_vga_register() 211 struct pci_dev *pdev = i915->drm.pdev; in intel_vga_unregister()
|
| H A D | intel_acpi.c | 127 static acpi_handle intel_dsm_pci_probe(struct pci_dev *pdev) in intel_dsm_pci_probe() 200 struct pci_dev *pdev = NULL; in intel_dsm_detect()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
| H A D | nouveau_nvkm_subdev_bios_shadowpci.c | 37 struct pci_dev *pdev; 67 struct pci_dev *pdev; in pcirom_init() 104 struct pci_dev *pdev; in platform_init()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| H A D | nouveau_vga.c | 41 nouveau_switcheroo_set_state(struct pci_dev *pdev, in nouveau_switcheroo_set_state() 64 nouveau_switcheroo_reprobe(struct pci_dev *pdev) in nouveau_switcheroo_reprobe() 71 nouveau_switcheroo_can_switch(struct pci_dev *pdev) in nouveau_switcheroo_can_switch()
|
| H A D | nouveau_acpi.c | 208 static enum vga_switcheroo_client_id nouveau_dsm_get_client_id(struct pci_dev *pdev) in nouveau_dsm_get_client_id() 231 static bool nouveau_pr3_present(struct pci_dev *pdev) in nouveau_pr3_present() 233 struct pci_dev *parent_pdev = pci_upstream_bridge(pdev); in nouveau_pr3_present() 258 static void nouveau_dsm_pci_probe(struct pci_dev *pdev, acpi_handle *dhandle_out, in nouveau_dsm_pci_probe() 308 struct pci_dev *pdev = NULL; in nouveau_dsm_detect()
|
| H A D | nouveau_drm.c | 120 nouveau_pci_name(struct pci_dev *pdev) in nouveau_pci_name() 659 static int nouveau_drm_probe(struct pci_dev *pdev, in nouveau_drm_probe() 774 nouveau_drm_remove(struct pci_dev *pdev) in nouveau_drm_remove() 885 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_suspend() 915 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_resume() 954 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_freeze() 962 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_thaw() 978 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_runtime_suspend() 1000 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_runtime_resume()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/ |
| H A D | pci.h | 10 struct pci_dev *pdev; 18 int nvkm_device_pci_new(struct pci_dev *, const char *cfg, const char *dbg,
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
| H A D | nouveau_nvkm_subdev_fb_ramnv1a.c | 37 struct pci_dev *bridge; in nv1a_ram_new() 40 struct pci_dev *pdev = NULL; in nv1a_ram_new()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
| H A D | firmware.c | 86 struct pci_dev *pdev = gvt->dev_priv->drm.pdev; in expose_firmware_sysfs() 137 struct pci_dev *pdev = gvt->dev_priv->drm.pdev; in clean_firmware_sysfs() 162 struct pci_dev *pdev = dev_priv->drm.pdev; in verify_firmware() 217 struct pci_dev *pdev = dev_priv->drm.pdev; in intel_gvt_load_firmware()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_file.c | 393 struct pci_dev *pci_dev; in drm_open_helper() local 394 pci_dev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, NULL); in drm_open_helper() 395 if (pci_dev) { in drm_open_helper() 396 dev->hose = pci_dev->sysdata; in drm_open_helper() 397 pci_dev_put(pci_dev); in drm_open_helper()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
| H A D | radeon_drv.c | 347 static int radeon_pci_probe(struct pci_dev *pdev, in radeon_pci_probe() 395 radeon_pci_remove(struct pci_dev *pdev) in radeon_pci_remove() 403 radeon_pci_shutdown(struct pci_dev *pdev) in radeon_pci_shutdown() 457 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_runtime_suspend() 484 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_runtime_resume()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| H A D | vmwgfx_drv.c | 275 static int vmw_probe(struct pci_dev *, const struct pci_device_id *); 1310 static void vmw_remove(struct pci_dev *pdev) in vmw_remove() 1357 static int vmw_pci_suspend(struct pci_dev *pdev, pm_message_t state) in vmw_pci_suspend() 1371 static int vmw_pci_resume(struct pci_dev *pdev) in vmw_pci_resume() 1380 struct pci_dev *pdev = to_pci_dev(kdev); in vmw_pm_suspend() 1390 struct pci_dev *pdev = to_pci_dev(kdev); in vmw_pm_resume() 1397 struct pci_dev *pdev = to_pci_dev(kdev); in vmw_pm_freeze() 1446 struct pci_dev *pdev = to_pci_dev(kdev); in vmw_pm_restore() 1553 static int vmw_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in vmw_probe()
|