Searched refs:ev_idx (Results 1 – 3 of 3) sorted by relevance
85 unsigned int ev_idx = new_ev->event - 1; in cec_queue_event_fh() local87 if (WARN_ON(ev_idx >= ARRAY_SIZE(fh->events))) in cec_queue_event_fh()94 if (ev_idx < CEC_NUM_CORE_EVENTS) in cec_queue_event_fh()95 entry = &fh->core_events[ev_idx]; in cec_queue_event_fh()100 fh->queued_events[ev_idx]) { in cec_queue_event_fh()108 if (fh->queued_events[ev_idx] < max_events[ev_idx]) { in cec_queue_event_fh()110 list_add_tail(&entry->list, &fh->events[ev_idx]); in cec_queue_event_fh()111 fh->queued_events[ev_idx]++; in cec_queue_event_fh()116 if (ev_idx >= CEC_NUM_CORE_EVENTS) { in cec_queue_event_fh()117 list_add_tail(&entry->list, &fh->events[ev_idx]); in cec_queue_event_fh()[all …]
314 unsigned int ev_idx; in cec_dqevent() local335 ev_idx = i; in cec_dqevent()348 if (ev_idx >= CEC_NUM_CORE_EVENTS) in cec_dqevent()350 fh->queued_events[ev_idx]--; in cec_dqevent()
814 int ev_idx = 0, ev_code; in myrs_log_event() local836 ev_code = myrs_ev_list[ev_idx].ev_code; in myrs_log_event()839 ev_idx++; in myrs_log_event()841 ev_type = myrs_ev_list[ev_idx].ev_msg[0]; in myrs_log_event()842 ev_msg = &myrs_ev_list[ev_idx].ev_msg[2]; in myrs_log_event()
Completed in 11 milliseconds