/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_rw.c | 185 snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait) argument 191 if (snd_seq_oss_readq_poll(dp->readq, file, wait)) 197 if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait))
|
/linux-master/drivers/char/hw_random/ |
H A D | meson-rng.c | 26 int (*read)(struct hwrng *rng, void *buf, size_t max, bool wait); 35 static int meson_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument 59 static int meson_s4_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
|
H A D | timeriomem-rng.c | 14 * has to do is provide the address and 'wait time' that new data becomes 45 size_t max, bool wait) 54 * since the last request. If the caller doesn't want to wait, let them 55 * bail out. Otherwise, wait for the completion. If the new data has 58 if (!wait && !priv->present) 65 * After the first read, all additional reads will need to wait 78 } while (wait && max > sizeof(u32)); 44 timeriomem_rng_read(struct hwrng *hwrng, void *data, size_t max, bool wait) argument
|
H A D | npcm-rng.c | 54 static int npcm_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument 63 if (wait) { 85 return retval || !wait ? retval : -EIO;
|
H A D | via-rng.c | 87 static int via_rng_data_present(struct hwrng *rng, int wait) argument 112 if (bytes_out || !wait)
|
/linux-master/drivers/remoteproc/ |
H A D | mtk_scp_ipi.c | 150 * @wait: number of msecs to wait for ack. 0 to skip waiting. 160 unsigned int wait) 197 if (wait) { 198 /* wait for SCP's ACK */ 201 msecs_to_jiffies(wait)); 159 scp_ipi_send(struct mtk_scp *scp, u32 id, void *buf, unsigned int len, unsigned int wait) argument
|
/linux-master/kernel/module/ |
H A D | dups.c | 120 bool kmod_dup_request_exists_wait(char *module_name, bool wait, int *dup_ret) argument 144 * was with request_module_nowait() we cannot wait for it 153 if (!wait) { 189 if (!wait) { 203 * the return value, so we have no other option but to wait for 240 * and let duplicates suffer, just wait a tad bit longer.
|
/linux-master/drivers/mmc/host/ |
H A D | sdhci-xenon-phy.c | 246 u32 wait, clock; local 261 wait = ((reg >> XENON_FC_SYNC_RST_DURATION_SHIFT) & 264 wait += ((reg >> XENON_FC_SYNC_RST_EN_DURATION_SHIFT) & 267 wait += ((reg >> XENON_FC_SYNC_EN_DURATION_SHIFT) & 270 wait += ((reg >> XENON_WAIT_CYCLE_BEFORE_USING_SHIFT) & 273 wait += 8; 274 wait <<= 20; 280 /* get the wait time */ 281 wait /= clock; 282 wait [all...] |
/linux-master/arch/mips/kernel/ |
H A D | rtlx.c | 128 DEFINE_WAIT(wait); 133 &wait, TASK_INTERRUPTIBLE); 145 &wait); 339 static __poll_t file_poll(struct file *file, poll_table *wait) argument 344 poll_wait(file, &channel_wqs[minor].rt_queue, wait); 345 poll_wait(file, &channel_wqs[minor].lx_queue, wait);
|
/linux-master/sound/soc/intel/common/ |
H A D | sst-ipc.c | 11 #include <linux/wait.h> 51 /* wait for DSP completion (in all cases atm inc pending) */ 80 struct sst_ipc_message *reply, int wait) 97 msg->wait = wait; 109 if (wait) 250 if (!msg->wait) 78 ipc_tx_message(struct sst_generic_ipc *ipc, struct sst_ipc_message request, struct sst_ipc_message *reply, int wait) argument
|
/linux-master/sound/firewire/ |
H A D | fcp.c | 16 #include <linux/wait.h> 203 wait_queue_head_t wait; member in struct:fcp_transaction 208 * fcp_avc_transaction - send an AV/C command and wait for its response 242 init_waitqueue_head(&t.wait); 258 wait_event_timeout(t.wait, t.state != STATE_PENDING, 309 wake_up(&t->wait); 370 wake_up(&t->wait);
|
/linux-master/tools/testing/crypto/chacha20-s390/ |
H A D | test-cipher.c | 47 struct crypto_wait wait; member in struct:skcipher_def 108 &sk->wait); 116 &sk->wait); 150 &sk.wait); 177 crypto_init_wait(&sk.wait); 201 crypto_init_wait(&sk.wait);
|
/linux-master/drivers/interconnect/qcom/ |
H A D | bcm-voter.c | 128 u32 addr, bool commit, bool wait) 150 * Set the wait for completion flag on command that need to be completed 153 cmd->wait = wait; 162 bool commit, wait; local 176 wait = commit && (voter->tcs_wait & BIT(bucket)); 179 bcm->vote_y[bucket], bcm->addr, commit, wait); 382 if (of_property_read_u32(np, "qcom,tcs-wait", &voter->tcs_wait)) 127 tcs_cmd_gen(struct tcs_cmd *cmd, u64 vote_x, u64 vote_y, u32 addr, bool commit, bool wait) argument
|
/linux-master/kernel/sched/ |
H A D | wait.c | 217 * Note: we use "set_current_state()" _after_ the wait-queue add, 219 * wake-function that tests for the wait-queue being active 307 * Note! These two wait functions are entered with the 308 * wait-queue lock held (and interrupts off in the _irq 310 * condition in the caller before they add the wait 313 int do_wait_intr(wait_queue_head_t *wq, wait_queue_entry_t *wait) argument 315 if (likely(list_empty(&wait->entry))) 316 __add_wait_queue_entry_tail(wq, wait); 330 int do_wait_intr_irq(wait_queue_head_t *wq, wait_queue_entry_t *wait) argument 332 if (likely(list_empty(&wait [all...] |
/linux-master/arch/mips/bcm63xx/ |
H A D | cs.c | 66 int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, argument 80 val |= wait << MPI_CSCTL_WAIT_SHIFT;
|
/linux-master/arch/arm/mach-omap2/ |
H A D | sleep24xx.S | 36 * when we get called, but the DLL probably isn't. We will wait a bit more in 37 * case the DPLL isn't quite there yet. The code will wait on DLL for DDR even 45 * CM_IDLEST_CLKGEN does not reflect the full clock change so you need to wait 63 mcr p15, 0, r3, c7, c0, 4 @ wait for interrupt 66 subs r5, r5, #0x1 @ awake, wait just a bit
|
H A D | omap-headsmp.S | 43 wait: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 label 49 bne wait 92 * we've been released from the wait loop,secondary_stack 129 * we've been released from the wait loop,secondary_stack
|
/linux-master/samples/pidfd/ |
H A D | pidfd-metadata.c | 17 #include <sys/wait.h> 117 (void)wait(NULL);
|
/linux-master/drivers/crypto/amcc/ |
H A D | crypto4xx_trng.c | 28 static int ppc4xx_trng_data_present(struct hwrng *rng, int wait) argument 36 if (!busy || !wait) {
|
/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sig_sc_double_restart.c | 23 #include <sys/wait.h> 155 if (wait(&wstatus) == -1) { 156 perror("wait");
|
/linux-master/tools/testing/selftests/arm64/mte/ |
H A D | check_gcr_el1_cswitch.c | 17 #include <sys/wait.h> 111 wait(&res);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | clk.h | 93 wait_queue_head_t wait; member in struct:nvkm_clk 122 int nvkm_clk_astate(struct nvkm_clk *, int req, int rel, bool wait);
|
/linux-master/drivers/block/rnbd/ |
H A D | rnbd-clt.h | 13 #include <linux/wait.h> 39 wait_queue_head_t wait; member in struct:rnbd_iu_comp
|
/linux-master/drivers/input/joystick/iforce/ |
H A D | iforce.h | 97 wait_queue_head_t wait; member in struct:iforce 125 wake_up_all(&iforce->wait);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence.c | 144 wait_queue_head_t *x = &fence->wait; 244 __init_waitqueue_head(&fence->wait, name, key); 260 I915_SW_FENCE_BUG_ON(!list_empty(&fence->wait.head)); 293 list_for_each_entry(wq, &fence->wait.head, entry) { 311 list_for_each_entry(wq, &fence->wait.head, entry) { 383 spin_lock_irqsave(&signaler->wait.lock, flags); 385 __add_wait_queue_entry_tail(&signaler->wait, wq); 391 spin_unlock_irqrestore(&signaler->wait.lock, flags); 437 pr_notice("Asynchronous wait on fence %s:%s:%llx timed out (hint:%ps)\n",
|