Home
last modified time | relevance | path

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

12

/external/igt-gpu-tools/lib/
Dintel_chipset.c75 struct pci_device *pci_dev; in intel_get_pci_device() local
84 pci_dev = pci_device_find_by_slot(0, 0, 2, 0); in intel_get_pci_device()
85 if (pci_dev == NULL || pci_dev->vendor_id != 0x8086) { in intel_get_pci_device()
100 pci_dev = pci_device_next(iter); in intel_get_pci_device()
103 igt_require_f(pci_dev, "Couldn't find Intel graphics card\n"); in intel_get_pci_device()
105 error = pci_device_probe(pci_dev); in intel_get_pci_device()
109 if (pci_dev->vendor_id != 0x8086) in intel_get_pci_device()
112 return pci_dev; in intel_get_pci_device()
Dintel_mmio.c118 intel_mmio_use_pci_bar(struct pci_device *pci_dev) in intel_mmio_use_pci_bar() argument
124 devid = pci_dev->device_id; in intel_mmio_use_pci_bar()
138 error = pci_device_map_range (pci_dev, in intel_mmio_use_pci_bar()
139 pci_dev->regions[mmio_bar].base_addr, in intel_mmio_use_pci_bar()
168 intel_register_access_init(struct pci_device *pci_dev, int safe, int fd) in intel_register_access_init() argument
174 intel_mmio_use_pci_bar(pci_dev); in intel_register_access_init()
182 intel_gen(pci_dev->device_id) >= 4) ? true : false; in intel_register_access_init()
183 mmio_data.i915_devid = pci_dev->device_id; in intel_register_access_init()
Dintel_io.h36 void intel_mmio_use_pci_bar(struct pci_device *pci_dev);
39 int intel_register_access_init(struct pci_device *pci_dev, int safe, int fd);
Dioctl_wrappers.c1102 struct pci_device *pci_dev = intel_get_pci_device(); in gem_mappable_aperture_size() local
1105 if (intel_gen(pci_dev->device_id) < 3) in gem_mappable_aperture_size()
1110 return pci_dev->regions[bar].size; in gem_mappable_aperture_size()
/external/igt-gpu-tools/tools/
Dintel_gtt.c141 struct pci_device *pci_dev; in main() local
149 pci_dev = intel_get_pci_device(); in main()
150 devid = pci_dev->device_id; in main()
160 if (pci_device_map_range(pci_dev, in main()
161 pci_dev->regions[3].base_addr, in main()
162 pci_dev->regions[3].size, in main()
169 offset = pci_dev->regions[0].size / 2; in main()
174 if (pci_device_map_range(pci_dev, in main()
175 pci_dev->regions[0].base_addr + offset, in main()
187 gtt_size = pci_dev->regions[0].size / 2; in main()
Dintel_stepping.c47 print_clock_info(struct pci_device *pci_dev) in print_clock_info() argument
49 uint32_t devid = pci_dev->device_id; in print_clock_info()
55 pci_device_cfg_read_u16(pci_dev, &gcfgc, I915_GCFGC); in print_clock_info()
75 pci_device_cfg_read_u16(pci_dev, &gcfgc, I915_GCFGC); in print_clock_info()
98 pci_device_cfg_read_u16(pci_dev, &gcfgc, I915_GCFGC); in print_clock_info()
132 pci_device_cfg_read_u16(pci_dev, &gcfgc, I915_GCFGC); in print_clock_info()
Dintel_panel_fitter.c274 struct pci_device *pci_dev; in main() local
282 pci_dev = intel_get_pci_device(); in main()
283 intel_register_access_init(pci_dev, 0, -1); in main()
284 devid = pci_dev->device_id; in main()
Dintel_infoframes.c265 struct pci_device *pci_dev; variable
302 if (IS_VALLEYVIEW(pci_dev->device_id)) in get_dip_ctl_reg()
312 if (IS_VALLEYVIEW(pci_dev->device_id)) in get_dip_data_reg()
322 if (IS_VALLEYVIEW(pci_dev->device_id)) in get_hdmi_port()
398 if (gen == 4 || IS_VALLEYVIEW(pci_dev->device_id)) in dump_port_info()
676 if (IS_VALLEYVIEW(pci_dev->device_id)) { in dump_all_info()
1110 pci_dev = intel_get_pci_device(); in main()
1111 intel_register_access_init(pci_dev, 0, -1); in main()
1114 if (IS_GEN4(pci_dev->device_id)) in main()
1116 else if (IS_GEN5(pci_dev->device_id)) in main()
[all …]
Dintel_reg.c59 struct pci_device *pci_dev; member
557 intel_register_access_init(config->pci_dev, 0, -1); in intel_reg_read()
587 intel_register_access_init(config->pci_dev, 0, -1); in intel_reg_write()
625 intel_register_access_init(config->pci_dev, 0, -1); in intel_reg_dump()
651 intel_mmio_use_pci_bar(config->pci_dev); in intel_reg_snapshot()
654 if (write(1, igt_global_mmio, config->pci_dev->regions[mmio_bar].size) == -1) in intel_reg_snapshot()
1027 config.pci_dev = intel_get_pci_device(); in main()
1028 config.devid = config.pci_dev->device_id; in main()
Dintel_audio_dump.c2466 struct pci_device *pci_dev; in main() local
2468 pci_dev = intel_get_pci_device(); in main()
2469 devid = pci_dev->device_id; /* XXX not true when mapping! */ in main()
2476 intel_mmio_use_pci_bar(pci_dev); in main()
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/
Dltp_tpci.c71 static int ltp_pci_probe(struct pci_dev *pci_dev, in ltp_pci_probe() argument
86 struct pci_dev *dev;
100 struct pci_dev *dev; in probe_pci_dev()
127 struct pci_dev *dev = ltp_pci.dev; in pci_enable()
148 struct pci_dev *dev = ltp_pci.dev; in pci_disable()
213 struct pci_dev *temp = NULL; in test_find_class()
238 struct pci_dev *temp = NULL; in test_find_device()
264 struct pci_dev *temp; in test_find_subsys()
393 struct pci_dev *dev = ltp_pci.dev; in test_match_device()
456 struct pci_dev *dev = ltp_pci.dev; in test_assign_resources()
[all …]
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h26 extern int usb_hcd_pci_probe(struct pci_dev *, const struct pci_device_id *);
27 extern void usb_hcd_pci_remove(struct pci_dev *);
28 extern int usb_hcd_pci_suspend(struct pci_dev *, u32);
29 extern int usb_hcd_pci_resume(struct pci_dev *);
60 struct pci_dev *pdev; /* pci is typical */
102 struct pci_dev *pdev;
Dtusb.c349 struct pci_dev *pdev = in test_find_hcd()
350 (struct pci_dev *)kmalloc(sizeof(struct pci_dev), GFP_KERNEL); in test_find_hcd()
361 memcpy(ltp_usb.pdev, pdev, sizeof(struct pci_dev)); in test_find_hcd()
388 struct pci_dev *pdev = ltp_usb.pdev; in test_hcd_probe()
434 struct pci_dev *pdev = NULL; in test_hcd_remove()
465 struct pci_dev *pdev = NULL; in test_hcd_suspend()
492 struct pci_dev *pdev = NULL; in test_hcd_resume()
/external/libdrm/intel/
Dintel_bufmgr.c331 struct pci_device *pci_dev; in drm_intel_probe_agp_aperture_size() local
340 pci_dev = pci_device_find_by_slot(0, 0, 2, 0); in drm_intel_probe_agp_aperture_size()
341 if (pci_dev == NULL) in drm_intel_probe_agp_aperture_size()
344 ret = pci_device_probe(pci_dev); in drm_intel_probe_agp_aperture_size()
348 size = pci_dev->regions[2].size; in drm_intel_probe_agp_aperture_size()
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dtagp.c579 struct pci_dev *pdev; // = (struct pci_dev *)kmalloc(sizeof(struct pci_dev), GFP_KERNEL); in test_pci_find_device()
619 static int __init agp_test_probe(struct pci_dev *pdev, in agp_test_probe()
628 static void __devexit agp_test_remove(struct pci_dev *pdev) in agp_test_remove()
Dstr_agp.h134 struct pci_dev *dev;
370 int (*chipset_setup) (struct pci_dev *pdev); // used to override generic
/external/angle/src/gpu_info_util/
DSystemInfo_libpci.cpp103 for (pci_dev *device = access->devices; device != nullptr; device = device->next) in GetPCIDevicesWithLibPCI()
/external/mesa3d/src/amd/common/
Dac_gpu_info.h46 uint32_t pci_dev; member
Dac_gpu_info.c200 info->pci_dev = devinfo->businfo.pci->dev; in ac_query_gpu_info()
849 uint_uuid[2] = info->pci_dev; in ac_compute_device_uuid()
857 info->pci_dev, info->pci_func); in ac_print_gpu_info()
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/
DREADME81 and for example in my pci testcase, I need a struct pci_dev *
/external/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c235 return r300screen->info.pci_dev; in r300_get_param()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c327 return sscreen->info.pci_dev; in si_get_param()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.c526 return rscreen->b.info.pci_dev; in r600_get_param()
Dr600_pipe_common.c1311 rscreen->info.pci_dev, rscreen->info.pci_func); in r600_common_screen_init()
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi22153 …<class-decl name="pci_dev" size-in-bits="20224" is-struct="yes" visibility="default" filepath="inc…
45341 …<class-decl name="pci_dev" size-in-bits="20224" is-struct="yes" visibility="default" filepath="inc…

12