Lines Matching refs:proto
181 r->proto->ops->set_notify_enabled(r->proto->ph, \
194 r->proto->ops->fill_custom_report(r->proto->ph, \
313 * @proto: A reference to the associated protocol descriptor
332 struct scmi_registered_events_desc *proto;
485 "SKIP UNKNOWN EVT - proto:%X evt:%d\n",
495 "report not available - proto:%X evt:%d\n",
597 if (kfifo_avail(&r_evt->proto->equeue.kfifo) < sizeof(eh) + len) {
612 kfifo_in(&r_evt->proto->equeue.kfifo, &eh, sizeof(eh));
613 kfifo_in(&r_evt->proto->equeue.kfifo, buf, len);
626 queue_work(r_evt->proto->equeue.wq,
627 &r_evt->proto->equeue.notify_work);
797 r_evt->proto = pd;
816 MAKE_ALL_SRCS_KEY(r_evt->proto->id, r_evt->evt->id));
942 mutex_lock(&r_evt->proto->registered_mtx);
943 hash_add(r_evt->proto->registered_events_handlers,
945 mutex_unlock(&r_evt->proto->registered_mtx);
1059 mutex_lock(&r_evt->proto->registered_mtx);
1060 hndl = KEY_FIND(r_evt->proto->registered_events_handlers,
1064 mutex_unlock(&r_evt->proto->registered_mtx);
1123 mutex_lock(&r_evt->proto->registered_mtx);
1124 hndl = KEY_FIND(r_evt->proto->registered_events_handlers,
1128 mutex_unlock(&r_evt->proto->registered_mtx);
1259 protocol_id = r_evt->proto->id;
1260 mutex_lock(&r_evt->proto->registered_mtx);
1266 mutex_unlock(&r_evt->proto->registered_mtx);
1284 u8 protocol_id = r_evt->proto->id;
1286 mutex_lock(&r_evt->proto->registered_mtx);
1288 mutex_unlock(&r_evt->proto->registered_mtx);