/src/sys/dev/mvme/ |
lpt_mvme.c | 164 int spin; local in function:lptopen 197 for (spin = 0; (sc->sc_funcs->lf_notrdy) (sc, 1); spin += STEP) { 198 if (spin >= TIMEOUT) { 266 int s, error, spin, tic; local in function:pushbytes 270 spin = 0; 272 if (++spin < sc->sc_spinmax) 294 if (spin * 2 + 16 < sc->sc_spinmax)
|
/src/sys/dev/ppbus/ |
ppbus_1284.c | 176 int spin, request_mode, error = 0; local in function:ppbus_peripheral_negotiate 186 spin = 10; 187 while (spin-- && (ppbus_rstr(dev) & nBUSY)) 191 if (!(ppbus_rstr(dev) & SELECT) || !spin) {
|
if_plip.c | 462 clpoutbyte(u_char byte, int spin, device_t ppbus) 464 int s = spin; 471 s = spin; 482 clpinbyte(int spin, device_t ppbus) 485 int s = spin; 495 s = spin; 682 lpoutbyte(u_char byte, int spin, device_t ppbus) 684 int s = spin; 690 s = spin; 769 int err, i, len, spin, count local in function:lpstart [all...] |
/src/sys/dev/ic/ |
lpt.c | 160 int spin; local in function:lptopen 197 for (spin = 0; NOT_READY_ERR(); spin += STEP) { 198 if (spin >= TIMEOUT) { 301 int spin, tic; local in function:lptpushbytes 305 spin = 0; 307 if (++spin < sc->sc_spinmax) 335 if (spin*2 + 16 < sc->sc_spinmax)
|
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
selftest_mocs.c | 36 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) 42 if (spin && !igt_wait_for_spinner(spin, rq)) 316 struct igt_spinner spin; local in function:active_engine_reset 320 err = igt_spinner_init(&spin, ce->engine->gt); 324 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); 326 igt_spinner_fini(&spin); 330 err = request_add_spin(rq, &spin); 334 igt_spinner_end(&spin); 335 igt_spinner_fini(&spin); [all...] |
selftest_workarounds.c | 52 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) 58 if (spin && !igt_wait_for_spinner(spin, rq)) 270 struct igt_spinner *spin) 280 rq = igt_spinner_create_request(spin, ce, MI_NOOP); 284 spin = NULL; 289 err = request_add_spin(rq, spin); 291 if (err && spin) 292 igt_spinner_end(spin); 303 struct igt_spinner spin; local in function:check_whitelist_across_reset 1183 struct igt_spinner spin; local in function:live_engine_reset_workarounds [all...] |
selftest_lrc.c | 81 struct igt_spinner spin; local in function:live_sanitycheck 87 if (igt_spinner_init(&spin, gt)) 100 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); 107 if (!igt_wait_for_spinner(&spin, rq)) { 115 igt_spinner_end(&spin); 127 igt_spinner_fini(&spin); 135 struct igt_spinner spin; local in function:live_unlite_restore 143 if (igt_spinner_init(&spin, gt)) 196 rq[0] = igt_spinner_create_request(&spin, ce[0], MI_ARB_CHECK); 206 if (!igt_wait_for_spinner(&spin, rq[0])) 298 struct igt_spinner spin; local in function:live_hold_reset 1197 struct igt_spinner spin; member in struct:preempt_client 3199 struct igt_spinner spin; local in function:bond_virtual_engine 3425 struct igt_spinner spin; local in function:reset_virtual_engine [all...] |
/src/sys/arch/macppc/dev/ |
obiofan.c | 167 int spin, spins, i; local in function:obiofan_update 171 spin = obio_read_4(sc->sc_reg[i]) >> sc->sc_shift[i]; 172 spins = (spin - sc->sc_count[i]) & 0xffff; 174 sc->sc_count[i] = spin;
|
/src/sys/arch/atari/dev/ |
lpt.c | 194 int spin; local in function:lpopen 215 for (spin = 0; NOT_READY(); spin += STEP) { 216 if (spin >= TIMEOUT) { 290 int spin, tic; local in function:pushbytes 293 spin = 0; 295 if (++spin < sc->sc_spinmax) 319 if (spin*2 + 16 < sc->sc_spinmax)
|
/src/lib/librumpuser/ |
rumpuser_pth.c | 269 pthread_spinlock_t spin; member in struct:rumpuser_rw 333 pthread_spin_lock(&rw->spin); 335 pthread_spin_unlock(&rw->spin); 346 pthread_spin_lock(&rw->spin); 349 pthread_spin_unlock(&rw->spin); 364 NOFAIL_ERRNO(pthread_spin_init(&rw->spin, PTHREAD_PROCESS_PRIVATE)); 472 NOFAIL_ERRNO(pthread_spin_destroy(&rw->spin)); 531 * If the cv interlock is a spin mutex, we must first release 543 * path is taken for spin mutexes.
|
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_request.c | 1164 struct igt_spinner spin; local in function:__live_parallel_spin 1174 if (igt_spinner_init(&spin, engine->gt)) { 1180 rq = igt_spinner_create_request(&spin, 1194 if (igt_wait_for_spinner(&spin, rq)) { 1201 igt_spinner_end(&spin); 1208 igt_spinner_fini(&spin);
|
/src/sys/dev/usb/ |
ulpt.c | 439 int spin, error; local in function:ulptopen 461 for (spin = 0; (ulpt_status(sc) & LPS_SELECT) == 0; spin += STEP) { 463 if (spin >= TIMEOUT) {
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
i915_gem_context.c | 1031 struct igt_spinner **spin) 1036 *spin = NULL; 1040 *spin = kzalloc(sizeof(**spin), GFP_KERNEL); 1041 if (!*spin) 1044 ret = igt_spinner_init(*spin, ce->engine->gt); 1048 rq = igt_spinner_create_request(*spin, ce, MI_NOOP); 1056 if (!igt_wait_for_spinner(*spin, rq)) { 1065 igt_spinner_end(*spin); 1067 igt_spinner_fini(*spin); 1196 struct igt_spinner *spin = NULL; local in function:__sseu_test [all...] |