HomeSort by: relevance | last modified time | path
    Searched defs:pdev (Results 1 - 25 of 154) sorted by relevancy

1 2 3 4 5 6 7

  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/
nouveau_nvkm_subdev_pci_nv46.c 40 struct pci_dev *pdev = device->func->pci(device)->pdev; local in function:nv46_pci_msi_rearm
41 pci_write_config_byte(pdev, 0x68, 0xff);
nouveau_nvkm_subdev_pci_nv46.c 40 struct pci_dev *pdev = device->func->pci(device)->pdev; local in function:nv46_pci_msi_rearm
41 pci_write_config_byte(pdev, 0x68, 0xff);
  /src/sys/arch/algor/algor/
autoconf.c 99 device_t pdev; local in function:device_register
110 if ((pdev = device_parent(dev)) != NULL && device_is_a(pdev, "pci")) {
autoconf.c 99 device_t pdev; local in function:device_register
110 if ((pdev = device_parent(dev)) != NULL && device_is_a(pdev, "pci")) {
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_suspend.c 71 struct pci_dev *pdev = dev_priv->drm.pdev; local in function:i915_save_state
77 pci_read_config_word(pdev, GCDGMBUS,
112 struct pci_dev *pdev = dev_priv->drm.pdev; local in function:i915_restore_state
116 pci_write_config_word(pdev, GCDGMBUS,
i915_suspend.c 71 struct pci_dev *pdev = dev_priv->drm.pdev; local in function:i915_save_state
77 pci_read_config_word(pdev, GCDGMBUS,
112 struct pci_dev *pdev = dev_priv->drm.pdev; local in function:i915_restore_state
116 pci_write_config_word(pdev, GCDGMBUS,
i915_switcheroo.c 16 static void i915_switcheroo_set_state(struct pci_dev *pdev,
19 struct drm_i915_private *i915 = pdev_to_i915(pdev);
23 dev_err(&pdev->dev, "DRM not initialized, aborting switch.\n");
31 pci_set_power_state(pdev, PCI_D0);
42 static bool i915_switcheroo_can_switch(struct pci_dev *pdev)
44 struct drm_i915_private *i915 = pdev_to_i915(pdev);
62 struct pci_dev *pdev = i915->drm.pdev; local in function:i915_switcheroo_register
64 return vga_switcheroo_register_client(pdev, &i915_switcheroo_ops, false);
69 struct pci_dev *pdev = i915->drm.pdev local in function:i915_switcheroo_unregister
    [all...]
i915_switcheroo.c 16 static void i915_switcheroo_set_state(struct pci_dev *pdev,
19 struct drm_i915_private *i915 = pdev_to_i915(pdev);
23 dev_err(&pdev->dev, "DRM not initialized, aborting switch.\n");
31 pci_set_power_state(pdev, PCI_D0);
42 static bool i915_switcheroo_can_switch(struct pci_dev *pdev)
44 struct drm_i915_private *i915 = pdev_to_i915(pdev);
62 struct pci_dev *pdev = i915->drm.pdev; local in function:i915_switcheroo_register
64 return vga_switcheroo_register_client(pdev, &i915_switcheroo_ops, false);
69 struct pci_dev *pdev = i915->drm.pdev local in function:i915_switcheroo_unregister
    [all...]
intel_region_lmem.c 34 mem->remap_addr = dma_map_resource(&i915->drm.pdev->dev,
39 if (dma_mapping_error(&i915->drm.pdev->dev, mem->remap_addr)) {
64 dma_unmap_resource(&mem->i915->drm.pdev->dev,
112 struct pci_dev *pdev = i915->drm.pdev; local in function:intel_setup_fake_lmem
122 mappable_end = pci_resource_len(pdev, 2);
123 io_start = pci_resource_start(pdev, 2),
intel_region_lmem.c 34 mem->remap_addr = dma_map_resource(&i915->drm.pdev->dev,
39 if (dma_mapping_error(&i915->drm.pdev->dev, mem->remap_addr)) {
64 dma_unmap_resource(&mem->i915->drm.pdev->dev,
112 struct pci_dev *pdev = i915->drm.pdev; local in function:intel_setup_fake_lmem
122 mappable_end = pci_resource_len(pdev, 2);
123 io_start = pci_resource_start(pdev, 2),
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/
pci.h 10 struct pci_dev *pdev; member in struct:nvkm_device_pci
pci.h 10 struct pci_dev *pdev; member in struct:nvkm_device_pci
  /src/sys/arch/ibmnws/ibmnws/
autoconf.c 132 device_t pdev; local in function:device_register
135 if ((pdev = device_parent(dev)) != NULL && device_is_a(pdev, "pci")) {
autoconf.c 132 device_t pdev; local in function:device_register
135 if ((pdev = device_parent(dev)) != NULL && device_is_a(pdev, "pci")) {
  /src/sys/external/bsd/drm2/dist/drm/i915/selftests/
mock_gem_device.c 80 put_device(&i915->drm.pdev->dev);
94 struct pci_dev *pdev = to_pci_dev(dev); local in function:release_dev
96 kfree(pdev);
119 struct pci_dev *pdev; local in function:mock_gem_device
122 pdev = kzalloc(sizeof(*pdev) + sizeof(*i915), GFP_KERNEL);
123 if (!pdev)
126 device_initialize(&pdev->dev);
127 pdev->class = PCI_BASE_CLASS_DISPLAY << 16;
128 pdev->dev.release = release_dev
    [all...]
mock_gem_device.c 80 put_device(&i915->drm.pdev->dev);
94 struct pci_dev *pdev = to_pci_dev(dev); local in function:release_dev
96 kfree(pdev);
119 struct pci_dev *pdev; local in function:mock_gem_device
122 pdev = kzalloc(sizeof(*pdev) + sizeof(*i915), GFP_KERNEL);
123 if (!pdev)
126 device_initialize(&pdev->dev);
127 pdev->class = PCI_BASE_CLASS_DISPLAY << 16;
128 pdev->dev.release = release_dev
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
nouveau_nvkm_subdev_bios_shadowof.c 65 struct pci_dev *pdev = device->func->pci(device)->pdev; local in function:of_init
68 if (!(dn = pci_device_to_OF_node(pdev)))
nouveau_nvkm_subdev_bios_shadowpci.c 37 struct pci_dev *pdev; member in struct:priv
57 pci_unmap_rom(priv->pdev, priv->rom);
58 pci_disable_rom(priv->pdev);
67 struct pci_dev *pdev; local in function:pcirom_init
71 pdev = device->func->pci(device)->pdev;
75 if (!(ret = pci_enable_rom(pdev))) {
79 (priv->rom = pci_map_rom(pdev, &priv->size))) {
80 priv->pdev = pdev;
104 struct pci_dev *pdev; local in function:platform_init
    [all...]
nouveau_nvkm_subdev_bios_shadowof.c 65 struct pci_dev *pdev = device->func->pci(device)->pdev; local in function:of_init
68 if (!(dn = pci_device_to_OF_node(pdev)))
nouveau_nvkm_subdev_bios_shadowpci.c 37 struct pci_dev *pdev; member in struct:priv
57 pci_unmap_rom(priv->pdev, priv->rom);
58 pci_disable_rom(priv->pdev);
67 struct pci_dev *pdev; local in function:pcirom_init
71 pdev = device->func->pci(device)->pdev;
75 if (!(ret = pci_enable_rom(pdev))) {
79 (priv->rom = pci_map_rom(pdev, &priv->size))) {
80 priv->pdev = pdev;
104 struct pci_dev *pdev; local in function:platform_init
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/virtio/
virtgpu_drv.c 53 struct pci_dev *pdev = to_pci_dev(vdev->dev.parent); local in function:virtio_gpu_pci_quirk
54 const char *pname = dev_name(&pdev->dev);
55 bool vga = (pdev->class >> 8) == PCI_CLASS_DISPLAY_VGA;
61 dev->pdev = pdev;
63 drm_fb_helper_remove_conflicting_pci_framebuffers(pdev,
virtgpu_drv.c 53 struct pci_dev *pdev = to_pci_dev(vdev->dev.parent); local in function:virtio_gpu_pci_quirk
54 const char *pname = dev_name(&pdev->dev);
55 bool vga = (pdev->class >> 8) == PCI_CLASS_DISPLAY_VGA;
61 dev->pdev = pdev;
63 drm_fb_helper_remove_conflicting_pci_framebuffers(pdev,
  /src/sys/arch/cats/cats/
autoconf.c 167 device_t pdev; local in function:device_register
169 if ((pdev = device_parent(dev)) != NULL &&
170 device_is_a(pdev, "pci")) {
autoconf.c 167 device_t pdev; local in function:device_register
169 if ((pdev = device_parent(dev)) != NULL &&
170 device_is_a(pdev, "pci")) {
  /src/sys/external/bsd/drm2/dist/drm/mga/
mga_warp.c 57 struct platform_device *pdev; local in function:mga_warp_install_microcode
78 pdev = platform_device_register_simple("mga_warp", 0, NULL, 0);
79 if (IS_ERR(pdev)) {
81 return PTR_ERR(pdev);
83 rc = request_ihex_firmware(&fw, firmware_name, &pdev->dev);
84 platform_device_unregister(pdev);

Completed in 31 milliseconds

1 2 3 4 5 6 7