Searched refs:nextpos (Results 1 – 3 of 3) sorted by relevance
58 int pos, nextpos; member90 memcpy(priv->ring_base + priv->chan.nextpos, in n64audio_push()91 runtime->dma_area + priv->chan.nextpos, count); in n64audio_push()98 n64audio_write_reg(priv, AI_ADDR_REG, priv->ring_base_dma + priv->chan.nextpos); in n64audio_push()102 priv->chan.nextpos += count; in n64audio_push()103 priv->chan.nextpos %= priv->chan.bufsize; in n64audio_push()125 priv->chan.pos = priv->chan.nextpos; in n64audio_isr()227 priv->chan.nextpos = 0; in n64audio_pcm_prepare()
86 unsigned int pos, nextpos; in ipc_task_queue_add_task() local98 nextpos = (pos + 1) % IPC_THREAD_QUEUE_SIZE; in ipc_task_queue_add_task()101 if (nextpos != ipc_task->q_rpos) { in ipc_task_queue_add_task()120 ipc_task->q_wpos = nextpos; in ipc_task_queue_add_task()
368 unsigned int nextpos = pos + ipmi_sdr_length(sdrh); in sdr_find_entry() local372 if (nextpos >= sdr->next_free) { in sdr_find_entry()375 *nextrec = (sdr->sdr[nextpos] | in sdr_find_entry()376 (sdr->sdr[nextpos + 1] << 8)); in sdr_find_entry()382 pos = nextpos; in sdr_find_entry()