Home
last modified time | relevance | path

Searched refs:igt_global_mmio (Results 1 – 7 of 7) sorted by relevance

/external/igt-gpu-tools/lib/
Dintel_mmio.c74 void *igt_global_mmio; variable
103 igt_global_mmio = mmap(NULL, st.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in intel_mmio_use_dump_file()
104 igt_fail_on_f(igt_global_mmio == MAP_FAILED, in intel_mmio_use_dump_file()
142 &igt_global_mmio); in intel_mmio_use_pci_bar()
173 if (igt_global_mmio == NULL) in intel_register_access_init()
176 igt_assert(igt_global_mmio != NULL); in intel_register_access_init()
269 ret = *(volatile uint32_t *)((volatile char *)igt_global_mmio + reg); in intel_register_read()
306 *(volatile uint32_t *)((volatile char *)igt_global_mmio + reg) = val; in intel_register_write()
324 return *(volatile uint32_t *)((volatile char *)igt_global_mmio + reg); in INREG()
341 return *(volatile uint16_t *)((volatile char *)igt_global_mmio + reg); in INREG16()
[all …]
Dintel_io.h35 extern void *igt_global_mmio;
/external/igt-gpu-tools/benchmarks/
Dgem_latency.c59 #define REG(x) (volatile uint32_t *)((volatile char *)igt_global_mmio + x)
60 #define REG_OFFSET(x) ((volatile char *)(x) - (volatile char *)igt_global_mmio)
Dgem_wsim.c271 #define REG(x) (volatile uint32_t *)((volatile char *)igt_global_mmio + x)
/external/igt-gpu-tools/tests/i915/
Dgem_workarounds.c156 out[i] = *(volatile uint32_t *)(igt_global_mmio + wa_regs[i].addr); in workaround_fail_count()
Dgem_exec_latency.c129 reg = (volatile uint32_t *)((volatile char *)igt_global_mmio + RCS_TIMESTAMP); in latency_on_ring()
635 mmio = (volatile uint32_t *)((volatile char *)igt_global_mmio + reg); in clockrate()
/external/igt-gpu-tools/tools/
Dintel_reg.c654 if (write(1, igt_global_mmio, config->pci_dev->regions[mmio_bar].size) == -1) in intel_reg_snapshot()