Home
last modified time | relevance | path

Searched defs:task (Results 1 – 21 of 21) sorted by relevance

/sof-2.7.6/src/include/sof/schedule/
Dtask.h58 struct task { struct
61 uint16_t type; /**< type of the task (LL or EDF) */ argument
62 uint16_t priority; /**< priority of the task (used by LL) */ argument
65 enum task_state state; /**< current state */ argument
67 struct list_item list; /**< used by schedulers to hold tasks */ argument
68 void *priv_data; /**< task private data */ argument
69 struct task_ops ops; /**< task operations */ argument
80 struct task task; /**< parent structure */ member
87 static inline enum task_state task_run(struct task *task) in task_run()
94 static inline void task_complete(struct task *task) in task_complete()
[all …]
Dedf_schedule.h16 #define edf_sch_set_pdata(task, data) \ argument
19 #define edf_sch_get_pdata(task) task->priv_data argument
Dll_schedule.h26 #define ll_sch_set_pdata(task, data) \ argument
29 #define ll_sch_get_pdata(task) ((task)->priv_data) argument
Dschedule.h163 static inline int schedule_task_running(struct task *task) in schedule_task_running()
184 static inline int schedule_task_complete(struct task *task) in schedule_task_complete()
206 static inline int schedule_task(struct task *task, uint64_t start, in schedule_task()
225 static inline int reschedule_task(struct task *task, uint64_t start) in reschedule_task()
247 static inline int schedule_task_cancel(struct task *task) in schedule_task_cancel()
264 static inline int schedule_task_free(struct task *task) in schedule_task_free()
Dll_schedule_domain.h121 struct task *task, in domain_register()
144 struct task *task, uint32_t num_tasks) in domain_unregister()
192 struct task *task, struct comp_dev **comp) in domain_is_pending()
/sof-2.7.6/zephyr/
Dedf_schedule.c27 struct task *task = CONTAINER_OF(work, struct task, z_delayed_work); in edf_work_handler() local
37 static int schedule_edf_task(void *data, struct task *task, uint64_t start, in schedule_edf_task()
51 static int schedule_edf_task_cancel(void *data, struct task *task) in schedule_edf_task_cancel()
63 static int schedule_edf_task_complete(void *data, struct task *task) in schedule_edf_task_complete()
69 static int schedule_edf_task_running(void *data, struct task *task) in schedule_edf_task_running()
75 static int schedule_edf_task_free(void *data, struct task *task) in schedule_edf_task_free()
114 int schedule_task_init_edf(struct task *task, const struct sof_uuid_entry *uid, in schedule_task_init_edf()
132 int schedule_task_init_edf_with_budget(struct task *task, in schedule_task_init_edf_with_budget()
/sof-2.7.6/src/platform/library/schedule/
Dedf_schedule.c31 static int schedule_edf_task_complete(struct task *task) in schedule_edf_task_complete()
40 static int schedule_edf_task(void *data, struct task *task, uint64_t start, in schedule_edf_task()
56 int schedule_task_init_edf(struct task *task, const struct sof_uuid_entry *uid, in schedule_task_init_edf()
93 static int schedule_edf_task_cancel(void *data, struct task *task) in schedule_edf_task_cancel()
104 static int schedule_edf_task_free(void *data, struct task *task) in schedule_edf_task_free()
Dll_schedule.c10 int schedule_task_init_ll(struct task *task, in schedule_task_init_ll()
Dschedule.c23 int schedule_task_init(struct task *task, in schedule_task_init()
/sof-2.7.6/src/schedule/
Dedf_schedule.c44 static void schedule_edf_task_run(struct task *task, void *data) in schedule_edf_task_run()
64 struct task *task; in edf_scheduler_run() local
103 static int schedule_edf_task(void *data, struct task *task, uint64_t start, in schedule_edf_task()
134 int schedule_task_init_edf(struct task *task, const struct sof_uuid_entry *uid, in schedule_task_init_edf()
183 static int schedule_edf_task_running(void *data, struct task *task) in schedule_edf_task_running()
200 static int schedule_edf_task_complete(void *data, struct task *task) in schedule_edf_task_complete()
218 static int schedule_edf_task_cancel(void *data, struct task *task) in schedule_edf_task_cancel()
237 static int schedule_edf_task_free(void *data, struct task *task) in schedule_edf_task_free()
Dll_schedule.c62 struct task *task; in schedule_ll_is_pending() local
96 struct task *task) in schedule_ll_task_update_start()
108 struct task *task) in schedule_ll_task_done()
126 struct task *task; in schedule_ll_tasks_execute() local
161 struct task *task; in schedule_ll_client_reschedule() local
249 struct task *task, uint64_t start, in schedule_ll_domain_set()
318 struct task *task) in schedule_ll_domain_clear()
341 static void schedule_ll_task_insert(struct task *task, struct list_item *tasks) in schedule_ll_task_insert()
364 static int schedule_ll_task(void *data, struct task *task, uint64_t start, in schedule_ll_task()
460 int schedule_task_init_ll(struct task *task, in schedule_task_init_ll()
[all …]
Dzephyr_ll.c41 struct task *task) in zephyr_ll_task_done()
65 static void zephyr_ll_task_insert_unlocked(struct zephyr_ll *sch, struct task *task) in zephyr_ll_task_insert_unlocked()
96 static inline enum task_state do_task_run(struct task *task) in do_task_run()
149 struct task *task; in zephyr_ll_run() local
277 static int zephyr_ll_task_schedule(void *data, struct task *task, uint64_t start, in zephyr_ll_task_schedule()
354 static int zephyr_ll_task_free(void *data, struct task *task) in zephyr_ll_task_free()
416 static int zephyr_ll_task_cancel(void *data, struct task *task) in zephyr_ll_task_cancel()
453 int zephyr_ll_task_init(struct task *task, in zephyr_ll_task_init()
Dtimer_domain.c47 struct task *task, in timer_domain_register()
71 struct task *task, uint32_t num_tasks) in timer_domain_unregister()
139 struct task *task, struct comp_dev **comp) in timer_domain_is_pending()
Ddma_multi_chan_domain.c43 struct pipeline_task *task; member
115 struct task *task, in dma_multi_chan_domain_register()
206 struct task *task, in dma_multi_chan_domain_unregister()
270 struct task *task, struct comp_dev **comp) in dma_multi_chan_domain_is_pending()
Dzephyr_domain.c127 struct task *task, in zephyr_domain_register()
180 struct task *task, uint32_t num_tasks) in zephyr_domain_unregister()
211 struct task *task, struct comp_dev **comp) in zephyr_domain_is_pending()
Dschedule.c25 int schedule_task_init(struct task *task, in schedule_task_init()
Ddma_single_chan_domain.c177 struct task *task, in dma_single_chan_domain_register()
361 struct task *task, in dma_single_chan_domain_unregister()
488 struct task *task, struct comp_dev **comp) in dma_single_chan_domain_is_pending()
/sof-2.7.6/test/cmocka/src/audio/pipeline/
Dpipeline_connection_mocks.h33 static inline int schedule_task_mock_free(void *data, struct task *task) in schedule_task_mock_free()
/sof-2.7.6/src/audio/pipeline/
Dpipeline-schedule.c76 struct pipeline_task *task = NULL; in pipeline_task_init() local
/sof-2.7.6/test/cmocka/src/
Dcommon_mocks.c230 int WEAK schedule_task_init(struct task *task, in schedule_task_init()
247 int WEAK schedule_task_init_ll(struct task *task, in schedule_task_init_ll()
/sof-2.7.6/src/include/sof/audio/
Dcomponent.h472 struct task *task; /**< component's processing task used only member