Searched refs:ev_idx (Results 1 – 3 of 3) sorted by relevance
106 unsigned int ev_idx = new_ev->event - 1; in cec_queue_event_fh() local108 if (WARN_ON(ev_idx >= ARRAY_SIZE(fh->events))) in cec_queue_event_fh()115 if (ev_idx < CEC_NUM_CORE_EVENTS) in cec_queue_event_fh()116 entry = &fh->core_events[ev_idx]; in cec_queue_event_fh()121 fh->queued_events[ev_idx]) { in cec_queue_event_fh()129 if (fh->queued_events[ev_idx] < max_events[ev_idx]) { in cec_queue_event_fh()131 list_add_tail(&entry->list, &fh->events[ev_idx]); in cec_queue_event_fh()132 fh->queued_events[ev_idx]++; in cec_queue_event_fh()137 if (ev_idx >= CEC_NUM_CORE_EVENTS) { in cec_queue_event_fh()138 list_add_tail(&entry->list, &fh->events[ev_idx]); in cec_queue_event_fh()[all …]
293 unsigned int ev_idx; in cec_dqevent() local314 ev_idx = i; in cec_dqevent()327 if (ev_idx >= CEC_NUM_CORE_EVENTS) in cec_dqevent()329 fh->queued_events[ev_idx]--; in cec_dqevent()
817 int ev_idx = 0, ev_code; in myrs_log_event() local839 ev_code = myrs_ev_list[ev_idx].ev_code; in myrs_log_event()842 ev_idx++; in myrs_log_event()844 ev_type = myrs_ev_list[ev_idx].ev_msg[0]; in myrs_log_event()845 ev_msg = &myrs_ev_list[ev_idx].ev_msg[2]; in myrs_log_event()