Lines Matching refs:proto

181 	r->proto->ops->set_notify_enabled(r->proto->ph,		\
194 r->proto->ops->fill_custom_report(r->proto->ph, \
332 struct scmi_registered_events_desc *proto; member
597 if (kfifo_avail(&r_evt->proto->equeue.kfifo) < sizeof(eh) + len) { in scmi_notify()
612 kfifo_in(&r_evt->proto->equeue.kfifo, &eh, sizeof(eh)); in scmi_notify()
613 kfifo_in(&r_evt->proto->equeue.kfifo, buf, len); in scmi_notify()
626 queue_work(r_evt->proto->equeue.wq, in scmi_notify()
627 &r_evt->proto->equeue.notify_work); in scmi_notify()
797 r_evt->proto = pd; in scmi_register_protocol_events()
816 MAKE_ALL_SRCS_KEY(r_evt->proto->id, r_evt->evt->id)); in scmi_register_protocol_events()
942 mutex_lock(&r_evt->proto->registered_mtx); in scmi_bind_event_handler()
943 hash_add(r_evt->proto->registered_events_handlers, in scmi_bind_event_handler()
945 mutex_unlock(&r_evt->proto->registered_mtx); in scmi_bind_event_handler()
1059 mutex_lock(&r_evt->proto->registered_mtx); in __scmi_event_handler_get_ops()
1060 hndl = KEY_FIND(r_evt->proto->registered_events_handlers, in __scmi_event_handler_get_ops()
1064 mutex_unlock(&r_evt->proto->registered_mtx); in __scmi_event_handler_get_ops()
1123 mutex_lock(&r_evt->proto->registered_mtx); in scmi_get_active_handler()
1124 hndl = KEY_FIND(r_evt->proto->registered_events_handlers, in scmi_get_active_handler()
1128 mutex_unlock(&r_evt->proto->registered_mtx); in scmi_get_active_handler()
1259 protocol_id = r_evt->proto->id; in scmi_put_handler()
1260 mutex_lock(&r_evt->proto->registered_mtx); in scmi_put_handler()
1266 mutex_unlock(&r_evt->proto->registered_mtx); in scmi_put_handler()
1284 u8 protocol_id = r_evt->proto->id; in scmi_put_active_handler()
1286 mutex_lock(&r_evt->proto->registered_mtx); in scmi_put_active_handler()
1288 mutex_unlock(&r_evt->proto->registered_mtx); in scmi_put_active_handler()