/external/igt-gpu-tools/lib/ |
D | igt_dummyload.c | 72 emit_recursive_batch(igt_spin_t *spin, in emit_recursive_batch() argument 103 memset(&spin->execbuf, 0, sizeof(spin->execbuf)); in emit_recursive_batch() 104 execbuf = &spin->execbuf; in emit_recursive_batch() 105 memset(spin->obj, 0, sizeof(spin->obj)); in emit_recursive_batch() 106 obj = spin->obj; in emit_recursive_batch() 146 spin->poll_handle = gem_create(fd, 4096); in emit_recursive_batch() 147 obj[SCRATCH].handle = spin->poll_handle; in emit_recursive_batch() 149 if (__gem_set_caching(fd, spin->poll_handle, in emit_recursive_batch() 151 spin->poll = gem_mmap__cpu(fd, spin->poll_handle, in emit_recursive_batch() 155 spin->poll = gem_mmap__wc(fd, spin->poll_handle, in emit_recursive_batch() [all …]
|
D | igt_dummyload.h | 74 void igt_spin_set_timeout(igt_spin_t *spin, int64_t ns); 75 void igt_spin_reset(igt_spin_t *spin); 76 void igt_spin_end(igt_spin_t *spin); 77 void igt_spin_free(int fd, igt_spin_t *spin); 79 static inline bool igt_spin_has_poll(const igt_spin_t *spin) in igt_spin_has_poll() argument 81 return spin->poll; in igt_spin_has_poll() 84 static inline bool igt_spin_has_started(igt_spin_t *spin) in igt_spin_has_started() argument 86 return READ_ONCE(spin->poll[SPIN_POLL_START_IDX]); in igt_spin_has_started() 89 static inline void igt_spin_busywait_until_started(igt_spin_t *spin) in igt_spin_busywait_until_started() argument 91 while (!igt_spin_has_started(spin)) in igt_spin_busywait_until_started()
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_editmenu.py | 25 cls.spin = tk.Spinbox(root) 31 del cls.text, cls.entry, cls.spin 81 spin = self.spin 83 spin.delete(0, 'end') 84 spin.insert(0, 'one') 85 spin.selection('range', 0, end) # see note 86 spin.event_generate('<<Paste>>') 87 self.assertEqual(spin.get(), ans) 91 spin = self.spin 93 spin.delete(0, 'end') [all …]
|
/external/igt-gpu-tools/tests/ |
D | perf_pmu.c | 182 static unsigned long __spin_wait(int fd, igt_spin_t *spin) in __spin_wait() argument 188 if (igt_spin_has_poll(spin)) { in __spin_wait() 191 while (!igt_spin_has_started(spin)) { in __spin_wait() 211 igt_spin_t *spin = __spin_poll(fd, ctx, e); in __spin_sync() local 213 __spin_wait(fd, spin); in __spin_sync() 215 return spin; in __spin_sync() 238 static void end_spin(int fd, igt_spin_t *spin, unsigned int flags) in end_spin() argument 240 if (!spin) in end_spin() 243 igt_spin_end(spin); in end_spin() 246 gem_sync(fd, spin->handle); in end_spin() [all …]
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_spin_batch.c | 35 static void spin(int fd, const struct intel_execution_engine2 *e2, in spin() function 40 igt_spin_t *spin; in spin() local 45 spin = __igt_spin_new(fd, .engine = e2->flags); in spin() 49 igt_spin_set_timeout(spin, in spin() 51 gem_sync(fd, spin->handle); in spin() 58 igt_spin_free(fd, spin); in spin() 59 spin = next; in spin() 62 igt_spin_free(fd, spin); in spin() 79 igt_spin_t *spin = __igt_spin_new(fd, .ctx = ctx0, .engine = e2->flags); in spin_resubmit() local 84 .buffers_ptr = to_user_pointer(&spin->obj[IGT_SPIN_BATCH]), in spin_resubmit() [all …]
|
D | gem_exec_latency.c | 74 igt_spin_t *spin[2]; in poll_ring() local 80 spin[0] = __igt_spin_factory(fd, &opts); in poll_ring() 81 igt_assert(igt_spin_has_poll(spin[0])); in poll_ring() 83 spin[1] = __igt_spin_factory(fd, &opts); in poll_ring() 84 igt_assert(igt_spin_has_poll(spin[1])); in poll_ring() 86 igt_spin_end(spin[0]); in poll_ring() 87 igt_spin_busywait_until_started(spin[1]); in poll_ring() 89 igt_assert(!gem_bo_busy(fd, spin[0]->handle)); in poll_ring() 95 igt_spin_reset(spin[idx]); in poll_ring() 97 gem_execbuf(fd, &spin[idx]->execbuf); in poll_ring() [all …]
|
D | gem_exec_schedule.c | 166 igt_spin_t *spin[MAX_ELSP_QLEN]; in unplug_show_queue() local 178 spin[n] = __igt_spin_factory(fd, &opts); in unplug_show_queue() 186 igt_spin_free(fd, spin[n]); in unplug_show_queue() 217 igt_spin_t *spin = NULL; in independent() local 237 if (spin == NULL) { in independent() 238 spin = __igt_spin_new(fd, .engine = other); in independent() 242 .buffers_ptr = to_user_pointer(&spin->obj[IGT_SPIN_BATCH]), in independent() 250 igt_require(spin); in independent() 260 igt_assert(gem_bo_busy(fd, spin->handle)); in independent() 267 igt_spin_free(fd, spin); in independent() [all …]
|
D | gem_ctx_shared.c | 111 igt_spin_t *spin[2]; in disjoint_timelines() local 124 spin[0] = __igt_spin_new(i915, .ctx = 0, .dependency = plug); in disjoint_timelines() 125 spin[1] = __igt_spin_new(i915, .ctx = child); in disjoint_timelines() 128 igt_spin_end(spin[1]); in disjoint_timelines() 129 gem_sync(i915, spin[1]->handle); in disjoint_timelines() 133 igt_spin_free(i915, spin[1]); in disjoint_timelines() 134 igt_spin_free(i915, spin[0]); in disjoint_timelines() 365 igt_spin_t *spin; in exec_single_timeline() local 376 spin = NULL; in exec_single_timeline() 381 if (spin == NULL) { in exec_single_timeline() [all …]
|
D | gem_sync.c | 212 igt_spin_t *spin; in wakeup_ring() local 223 spin = __igt_spin_new(fd, in wakeup_ring() 227 igt_assert(igt_spin_has_poll(spin)); in wakeup_ring() 231 igt_spin_end(spin); in wakeup_ring() 239 igt_spin_reset(spin); in wakeup_ring() 241 gem_execbuf(fd, &spin->execbuf); in wakeup_ring() 242 igt_spin_busywait_until_started(spin); in wakeup_ring() 245 igt_spin_end(spin); in wakeup_ring() 246 gem_sync(fd, spin->handle); in wakeup_ring() 263 igt_spin_reset(spin); in wakeup_ring() [all …]
|
D | i915_pm_rps.c | 247 igt_spin_t *spin[2] = {}; in load_helper_run() local 257 spin[0] = __igt_spin_new(drm_fd); in load_helper_run() 259 spin[1] = __igt_spin_new(drm_fd); in load_helper_run() 264 handle = spin[0]->handle; in load_helper_run() 265 igt_spin_end(spin[0]); in load_helper_run() 269 igt_spin_free(drm_fd, spin[0]); in load_helper_run() 273 if (!high_load && spin[1]) { in load_helper_run() 274 igt_spin_free(drm_fd, spin[1]); in load_helper_run() 275 spin[1] = NULL; in load_helper_run() 277 spin[0] = spin[1]; in load_helper_run() [all …]
|
D | gem_busy.c | 105 igt_spin_t *spin; in semaphore() local 117 spin = igt_spin_new(fd, in semaphore() 148 igt_spin_free(fd, spin); in semaphore() 363 igt_spin_t *spin[nhandles]; in close_race() local 369 spin[i] = __igt_spin_new(fd, in close_race() 371 handles[i] = spin[i]->handle; in close_race() 376 igt_spin_free(fd, spin[i]); in close_race() 377 spin[i] = __igt_spin_new(fd, in close_race() 379 handles[i] = spin[i]->handle; in close_race() 388 igt_spin_free(fd, spin[i]); in close_race() [all …]
|
D | gem_exec_balancer.c | 509 igt_spin_t *spin; in check_individual_engine() local 516 spin = igt_spin_new(i915, .ctx = ctx, .engine = idx + 1); in check_individual_engine() 518 igt_spin_free(i915, spin); in check_individual_engine() 627 igt_spin_t *spin, *plug; in bonded() local 649 spin = __igt_spin_new(i915, in bonded() 654 eb = spin->execbuf; in bonded() 656 eb.rsvd2 = spin->out_fence; in bonded() 666 igt_spin_free(i915, spin); in bonded() 815 igt_spin_t *spin[2]; in busy() local 825 spin[0] = __igt_spin_new(i915, in busy() [all …]
|
D | gem_vm_create.c | 352 igt_spin_t *spin[2]; in async_destroy() local 354 spin[0] = igt_spin_new(i915, in async_destroy() 357 igt_spin_busywait_until_started(spin[0]); in async_destroy() 360 spin[1] = __igt_spin_new(i915, .ctx = arg.ctx_id); in async_destroy() 362 igt_spin_end(spin[0]); in async_destroy() 363 gem_sync(i915, spin[0]->handle); in async_destroy() 368 igt_spin_end(spin[1]); in async_destroy() 369 gem_sync(i915, spin[1]->handle); in async_destroy() 371 for (int i = 0; i < ARRAY_SIZE(spin); i++) in async_destroy() 372 igt_spin_free(i915, spin[i]); in async_destroy()
|
D | gem_ctx_exec.c | 174 igt_spin_t *spin; in norecovery() local 182 spin = __igt_spin_new(i915, in norecovery() 185 igt_spin_busywait_until_started(spin); in norecovery() 189 igt_spin_end(spin); in norecovery() 190 igt_assert_eq(__gem_execbuf(i915, &spin->execbuf), expect); in norecovery() 191 igt_spin_free(i915, spin); in norecovery()
|
D | gem_exec_fence.c | 321 igt_spin_t *spin; in test_fence_await() local 332 spin = igt_spin_new(fd, in test_fence_await() 335 igt_assert(spin->out_fence != -1); in test_fence_await() 343 store(fd, engine, spin->out_fence, scratch, i); in test_fence_await() 346 store(fd, engine, spin->out_fence, scratch, i); in test_fence_await() 355 igt_assert(fence_busy(spin->out_fence)); in test_fence_await() 360 igt_spin_end(spin); in test_fence_await() 369 igt_spin_free(fd, spin); in test_fence_await() 413 igt_spin_t *spin; in test_parallel() local 424 spin = igt_spin_new(fd, .engine = master, .dependency = plug); in test_parallel() [all …]
|
D | gem_ctx_engines.c | 276 igt_spin_t *spin; in execute_one() local 284 spin = igt_spin_new(i915, in execute_one() 299 igt_spin_busywait_until_started(spin); in execute_one() 312 igt_spin_free(i915, spin); in execute_one() 351 igt_spin_t *spin; in execute_oneforall() local 353 spin = __igt_spin_new(i915, in execute_oneforall() 357 busy.handle = spin->handle; in execute_oneforall() 361 igt_spin_free(i915, spin); in execute_oneforall() 392 igt_spin_t *spin; in execute_allforone() local 394 spin = __igt_spin_new(i915, in execute_allforone() [all …]
|
D | gem_ctx_isolation.c | 567 igt_spin_t *spin = NULL; in nonpriv() local 576 spin = igt_spin_new(fd, .ctx = ctx, .engine = engine); in nonpriv() 590 igt_spin_free(fd, spin); in nonpriv() 621 igt_spin_t *spin = NULL; in isolation() local 627 spin = igt_spin_new(fd, .ctx = ctx[0], .engine = engine); in isolation() 659 igt_spin_free(fd, spin); in isolation() 687 igt_spin_t *spin; in inject_reset_context() local 698 spin = __igt_spin_factory(fd, &opts); in inject_reset_context() 700 if (igt_spin_has_poll(spin)) in inject_reset_context() 701 igt_spin_busywait_until_started(spin); in inject_reset_context() [all …]
|
/external/jemalloc/include/jemalloc/internal/ |
D | spin.h | 23 void spin_init(spin_t *spin); 24 void spin_adaptive(spin_t *spin); 29 spin_init(spin_t *spin) in spin_init() argument 32 spin->iteration = 0; in spin_init() 36 spin_adaptive(spin_t *spin) in spin_adaptive() argument 40 for (i = 0; i < (KQU(1) << spin->iteration); i++) in spin_adaptive() 43 if (spin->iteration < 63) in spin_adaptive() 44 spin->iteration++; in spin_adaptive()
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_editmenu.py | 25 cls.spin = tk.Spinbox(root) 63 spin = self.spin 66 spin.delete(0, 'end') 67 spin.insert(0, 'one') 68 spin.selection('range', 0, end) # see note 69 spin.event_generate('<<Paste>>') 70 self.assertEqual(spin.get(), ans)
|
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_widgets.py | 1124 self.spin = self.create() 1125 self.spin.pack() 1131 width = self.spin.winfo_width() 1132 height = self.spin.winfo_height() 1135 self.spin.event_generate('<ButtonPress-1>', x=x, y=y) 1136 self.spin.event_generate('<ButtonRelease-1>', x=x, y=y) 1137 self.spin.update_idletasks() 1140 width = self.spin.winfo_width() 1141 height = self.spin.winfo_height() 1144 self.spin.event_generate('<ButtonPress-1>', x=x, y=y) [all …]
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | spin.h | 21 spin_adaptive(spin_t *spin) { in spin_adaptive() argument 24 if (spin->iteration < 5) { in spin_adaptive() 25 for (i = 0; i < (1U << spin->iteration); i++) { in spin_adaptive() 28 spin->iteration++; in spin_adaptive()
|
/external/u-boot/doc/ |
D | README.mpc85xx-spin-table | 3 As specified by ePAPR v1.1, the spin table needs to be in cached memory. After 4 DDR is initialized and U-Boot relocates itself into DDR, the spin table is 6 __secondary_start_page. For other cores to use the spin table, the booting 15 core 0 puts the physical address of the spin table (which is in release.S and 21 the new space. The new TLB covers the physical address of the spin table page, 22 with WIMGE =0b00100. Now secondary cores can keep polling the spin table 23 without stress DDR bus because both the code and the spin table is in cache.
|
/external/skia/gm/ |
D | makecolorspace.cpp | 143 sk_sp<SkColorSpace> spin = srgb->makeColorSpin(); variable 152 canvas->drawImage(image->reinterpretColorSpace(spin), 128.0f, 0.0f); 153 canvas->drawImage(image->makeColorSpace(spin)->reinterpretColorSpace(srgb), 256.0f, 0.0f); 160 canvas->drawImage(image->reinterpretColorSpace(spin), 128.0f, 0.0f); 161 canvas->drawImage(image->makeColorSpace(spin)->reinterpretColorSpace(srgb), 256.0f, 0.0f); 171 canvas->drawImage(image->reinterpretColorSpace(spin), 128.0f, 0.0f); 172 canvas->drawImage(image->makeColorSpace(spin)->reinterpretColorSpace(srgb), 256.0f, 0.0f);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAnimationSetTest.java | 29 final Animation spin = new RotateAnimation(0, 360); in start_shouldRunAnimation() local 30 spin.setDuration(1000); in start_shouldRunAnimation() 31 spin.setStartOffset(1000); in start_shouldRunAnimation() 32 spin.setAnimationListener(spinListener); in start_shouldRunAnimation()
|
/external/u-boot/arch/arm/dts/ |
D | bcm2837.dtsi | 45 enable-method = "spin-table"; 53 enable-method = "spin-table"; 61 enable-method = "spin-table"; 69 enable-method = "spin-table";
|