Lines Matching refs:work
23 static void rtio_work_handler(struct k_p4wq_work *work) in rtio_work_handler() argument
25 struct rtio_work_req *req = CONTAINER_OF(work, in rtio_work_handler()
27 work); in rtio_work_handler()
48 req->work.thread = NULL; in rtio_work_req_alloc()
49 (void)k_sem_init(&req->work.done_sem, 1, 1); in rtio_work_req_alloc()
67 struct k_p4wq_work *work = &req->work; in rtio_work_req_submit() local
76 work->handler = rtio_work_handler; in rtio_work_req_submit()
77 work->deadline = 0; in rtio_work_req_submit()
80 work->priority = RTIO_WORKQ_PRIO_LOW; in rtio_work_req_submit()
82 work->priority = RTIO_WORKQ_PRIO_HIGH; in rtio_work_req_submit()
84 work->priority = RTIO_WORKQ_PRIO_MED; in rtio_work_req_submit()
88 k_p4wq_submit(&rtio_workq, work); in rtio_work_req_submit()