Searched refs:pull_pos (Results 1 – 3 of 3) sorted by relevance
63 if (tscm->pull_pos == tscm->push_pos) in tscm_hwdep_read_queue()65 else if (tscm->pull_pos < tscm->push_pos) in tscm_hwdep_read_queue()69 head_pos = tscm->pull_pos; in tscm_hwdep_read_queue()83 tscm->pull_pos = tail_pos % SND_TSCM_QUEUE_COUNT; in tscm_hwdep_read_queue()106 while (!tscm->dev_lock_changed && tscm->push_pos == tscm->pull_pos) { in hwdep_read()119 } else if (tscm->push_pos != tscm->pull_pos) { in hwdep_read()138 if (tscm->dev_lock_changed || tscm->push_pos != tscm->pull_pos) in hwdep_poll()
96 unsigned int pull_pos; member
98 unsigned int pull_pos; member393 if (parser->pull_pos > parser->push_pos) in snd_motu_register_dsp_message_parser_count_event()394 return EVENT_QUEUE_SIZE - parser->pull_pos + parser->push_pos; in snd_motu_register_dsp_message_parser_count_event()396 return parser->push_pos - parser->pull_pos; in snd_motu_register_dsp_message_parser_count_event()402 unsigned int pos = parser->pull_pos; in snd_motu_register_dsp_message_parser_copy_event()415 parser->pull_pos = pos; in snd_motu_register_dsp_message_parser_copy_event()