• Home
  • Raw
  • Download

Lines Matching refs:mmio_data

82 } mmio_data;  variable
178 if (mmio_data.inited) in intel_register_access_init()
181 mmio_data.safe = (safe != 0 && in intel_register_access_init()
183 mmio_data.i915_devid = pci_dev->device_id; in intel_register_access_init()
184 if (mmio_data.safe) in intel_register_access_init()
185 mmio_data.map = intel_get_register_map(mmio_data.i915_devid); in intel_register_access_init()
192 mmio_data.key = FAKEKEY; in intel_register_access_init()
194 mmio_data.key = ret; in intel_register_access_init()
196 mmio_data.inited++; in intel_register_access_init()
203 return mmio_data.key != FAKEKEY; in intel_register_access_needs_wake()
214 return mmio_data.key == FAKEKEY; in intel_register_access_needs_fakewake()
226 if (mmio_data.key && intel_register_access_needs_wake()) in intel_register_access_fini()
227 release_forcewake_lock(mmio_data.key); in intel_register_access_fini()
228 mmio_data.inited--; in intel_register_access_fini()
250 igt_assert(mmio_data.inited); in intel_register_read()
252 if (intel_gen(mmio_data.i915_devid) >= 6) in intel_register_read()
253 igt_assert(mmio_data.key != -1); in intel_register_read()
255 if (!mmio_data.safe) in intel_register_read()
258 range = intel_get_register_range(mmio_data.map, in intel_register_read()
290 igt_assert(mmio_data.inited); in intel_register_write()
292 if (intel_gen(mmio_data.i915_devid) >= 6) in intel_register_write()
293 igt_assert(mmio_data.key != -1); in intel_register_write()
295 if (!mmio_data.safe) in intel_register_write()
298 range = intel_get_register_range(mmio_data.map, in intel_register_write()