Searched refs:igt_global_mmio (Results 1 – 7 of 7) sorted by relevance
74 void *igt_global_mmio; variable103 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 …]
35 extern void *igt_global_mmio;
59 #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)
271 #define REG(x) (volatile uint32_t *)((volatile char *)igt_global_mmio + x)
156 out[i] = *(volatile uint32_t *)(igt_global_mmio + wa_regs[i].addr); in workaround_fail_count()
129 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()
654 if (write(1, igt_global_mmio, config->pci_dev->regions[mmio_bar].size) == -1) in intel_reg_snapshot()