Searched refs:push_pos (Results 1 – 5 of 5) sorted by relevance
97 unsigned int push_pos; member130 unsigned int pos = parser->push_pos; in queue_event()142 parser->push_pos = pos; in queue_event()152 unsigned int pos = parser->push_pos; in snd_motu_register_dsp_message_parser_parse()364 if (pos != parser->push_pos) in snd_motu_register_dsp_message_parser_parse()396 if (parser->pull_pos > parser->push_pos) in snd_motu_register_dsp_message_parser_count_event()397 return EVENT_QUEUE_SIZE - parser->pull_pos + parser->push_pos; in snd_motu_register_dsp_message_parser_count_event()399 return parser->push_pos - parser->pull_pos; in snd_motu_register_dsp_message_parser_count_event()408 if (pos == parser->push_pos) in snd_motu_register_dsp_message_parser_copy_event()
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()66 tail_pos = tscm->push_pos; 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()
159 &tscm->queue[tscm->push_pos]; in read_status_messages()166 if (++tscm->push_pos >= SND_TSCM_QUEUE_COUNT) in read_status_messages()167 tscm->push_pos = 0; in read_status_messages()
97 unsigned int push_pos; member
555 size_t push_pos; member563 return (parser->push_pos != parser->pull_pos); in ff400_has_msg()660 parser->msgs[parser->push_pos].msg = quad; in ff400_handle_msg()661 parser->msgs[parser->push_pos].tstamp = tstamp; in ff400_handle_msg()662 ++parser->push_pos; in ff400_handle_msg()663 if (parser->push_pos >= FF400_QUEUE_SIZE) in ff400_handle_msg()664 parser->push_pos = 0; in ff400_handle_msg()688 if (count < sizeof(ev) || parser->pull_pos == parser->push_pos) in ff400_copy_msg_to_user()694 while (count >= sizeof(*parser->msgs) && parser->pull_pos != parser->push_pos) { in ff400_copy_msg_to_user()