Home
last modified time | relevance | path

Searched refs:nextpos (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/mips/
H A Dsnd-n64.c58 int pos, nextpos; member
90 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()
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_task_queue.c86 unsigned int pos, nextpos; in ipc_task_queue_add_task() local
98 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()
/openbmc/qemu/hw/ipmi/
H A Dipmi_bmc_sim.c368 unsigned int nextpos = pos + ipmi_sdr_length(sdrh); in sdr_find_entry() local
372 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()