Home
last modified time | relevance | path

Searched refs:sync_wait (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/tools/testing/selftests/sync/
Dsync_fence.c45 ret = sync_wait(fence, 0); in test_fence_one_timeline_wait()
53 ret = sync_wait(fence, 0); in test_fence_one_timeline_wait()
61 ret = sync_wait(fence, 0); in test_fence_one_timeline_wait()
67 ret = sync_wait(fence, 0); in test_fence_one_timeline_wait()
Dsync_wait.c56 ret = sync_wait(merged, 0); in test_fence_multi_timeline_wait()
79 ret = sync_wait(merged, 100); in test_fence_multi_timeline_wait()
Dsync_stress_merge.c97 ret = sync_wait(fence, 0); in test_merge_stress_random_merge()
106 ret = sync_wait(fence, 0); in test_merge_stress_random_merge()
Dsync_stress_consumer.c82 ASSERT(sync_wait(fence, -1) > 0, in mpsc_producer_thread()
133 ASSERT(sync_wait(fence, -1) > 0, in mpcs_consumer_thread()
Dsync.h35 int sync_wait(int fd, int timeout);
DMakefile21 TESTS += sync_wait.o
Dsync_stress_parallelism.c54 ret = sync_wait(fence, -1); in test_stress_two_threads_shared_timeline_thread()
Dsync.c58 int sync_wait(int fd, int timeout) in sync_wait() function
/Linux-v5.10/drivers/media/dvb-frontends/
Ddib8000.c469 u16 tmp, sync_wait = dib8000_read_word(state, 273) & 0xfff0; in dib8000_set_diversity_in() local
474 dib8000_write_word(state, 273, sync_wait | (1 << 2) | 2); // sync_enable = 1; comb_mode = 2 in dib8000_set_diversity_in()
477 dib8000_write_word(state, 273, sync_wait); // sync_enable = 0; comb_mode = 0 in dib8000_set_diversity_in()
2824 u16 sync_wait = 64; in dib8000_set_sync_wait() local
2829 sync_wait = 256; in dib8000_set_sync_wait()
2832 sync_wait = 128; in dib8000_set_sync_wait()
2836 sync_wait = 64; in dib8000_set_sync_wait()
2841sync_wait = (sync_wait * (1 << (c->guard_interval)) * 3) / 2 + 48; /* add 50% SFN margin + compens… in dib8000_set_sync_wait()
2843sync_wait = (sync_wait * (1 << (c->guard_interval)) * 3) / 2 + state->cfg.diversity_delay; /* add … in dib8000_set_sync_wait()
2845 dib8000_write_word(state, 273, (dib8000_read_word(state, 273) & 0x000f) | (sync_wait << 4)); in dib8000_set_sync_wait()
/Linux-v5.10/drivers/tty/hvc/
Dhvc_iucv.c544 int sync_wait; in flush_sndbuf_sync() local
550 sync_wait = !list_empty(&priv->tty_outqueue); /* anything queued ? */ in flush_sndbuf_sync()
553 if (sync_wait) in flush_sndbuf_sync()
/Linux-v5.10/drivers/usb/atm/
Dueagle-atm.c529 static bool sync_wait[NB_MODEM]; variable
538 module_param_array(sync_wait, bool, NULL, 0644);
539 MODULE_PARM_DESC(sync_wait, "wait the synchronisation before starting ATM");
2504 usbatm->flags = (sync_wait[modem_index] ? 0 : UDSL_SKIP_HEAVY_INIT); in uea_bind()