Lines Matching refs:equeue
296 struct events_queue equeue; member
540 pd = container_of(eq, struct scmi_registered_events_desc, equeue); in scmi_events_dispatcher()
596 if (kfifo_avail(&r_evt->proto->equeue.kfifo) < sizeof(eh) + len) { in scmi_notify()
611 kfifo_in(&r_evt->proto->equeue.kfifo, &eh, sizeof(eh)); in scmi_notify()
612 kfifo_in(&r_evt->proto->equeue.kfifo, buf, len); in scmi_notify()
625 queue_work(r_evt->proto->equeue.wq, in scmi_notify()
626 &r_evt->proto->equeue.notify_work); in scmi_notify()
651 struct events_queue *equeue, size_t sz) in scmi_initialize_events_queue() argument
655 if (kfifo_alloc(&equeue->kfifo, sz, GFP_KERNEL)) in scmi_initialize_events_queue()
658 equeue->sz = kfifo_size(&equeue->kfifo); in scmi_initialize_events_queue()
661 &equeue->kfifo); in scmi_initialize_events_queue()
665 INIT_WORK(&equeue->notify_work, scmi_events_dispatcher); in scmi_initialize_events_queue()
666 equeue->wq = ni->notify_wq; in scmi_initialize_events_queue()
710 ret = scmi_initialize_events_queue(ni, &pd->equeue, queue_sz); in scmi_allocate_registered_events_desc()