Home
last modified time | relevance | path

Searched refs:ev_idx (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/media/cec/
Dcec-adap.c80 unsigned int ev_idx = new_ev->event - 1; in cec_queue_event_fh() local
82 if (WARN_ON(ev_idx >= ARRAY_SIZE(fh->events))) in cec_queue_event_fh()
89 if (ev_idx < CEC_NUM_CORE_EVENTS) in cec_queue_event_fh()
90 entry = &fh->core_events[ev_idx]; in cec_queue_event_fh()
95 fh->queued_events[ev_idx]) { in cec_queue_event_fh()
103 if (fh->queued_events[ev_idx] < max_events[ev_idx]) { in cec_queue_event_fh()
105 list_add_tail(&entry->list, &fh->events[ev_idx]); in cec_queue_event_fh()
106 fh->queued_events[ev_idx]++; in cec_queue_event_fh()
111 if (ev_idx >= CEC_NUM_CORE_EVENTS) { in cec_queue_event_fh()
112 list_add_tail(&entry->list, &fh->events[ev_idx]); in cec_queue_event_fh()
[all …]
Dcec-api.c284 unsigned int ev_idx; in cec_dqevent() local
305 ev_idx = i; in cec_dqevent()
318 if (ev_idx >= CEC_NUM_CORE_EVENTS) in cec_dqevent()
320 fh->queued_events[ev_idx]--; in cec_dqevent()