Sound Open Firmware
Loading...
Searching...
No Matches
edf_schedule.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
*
3
* Copyright(c) 2017 Intel Corporation. All rights reserved.
4
*
5
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
6
*/
7
8
#ifndef __SOF_SCHEDULE_EDF_SCHEDULE_H__
9
#define __SOF_SCHEDULE_EDF_SCHEDULE_H__
10
11
#include <
rtos/task.h
>
12
#include <sof/trace/trace.h>
13
#include <
user/trace.h
>
14
#include <stdint.h>
15
16
#define edf_sch_set_pdata(task, data) \
17
(task->priv_data = data)
18
19
#define edf_sch_get_pdata(task) task->priv_data
20
21
struct
edf_task_pdata
{
22
void
*
ctx
;
23
};
24
25
int
scheduler_init_edf
(
void
);
26
27
int
schedule_task_init_edf
(
struct
task
*
task
,
const
struct
sof_uuid_entry
*uid,
28
const
struct
task_ops
*ops,
29
void
*
data
, uint16_t core, uint32_t flags);
30
31
#endif
/* __SOF_SCHEDULE_EDF_SCHEDULE_H__ */
data
uint32_t data[]
Definition
debug_stream_slot.h:2
scheduler_init_edf
int scheduler_init_edf(void)
schedule_task_init_edf
int schedule_task_init_edf(struct task *task, const struct sof_uuid_entry *uid, const struct task_ops *ops, void *data, uint16_t core, uint32_t flags)
trace.h
edf_task_pdata
Definition
edf_schedule.h:21
edf_task_pdata::ctx
void * ctx
Definition
edf_schedule.h:22
sof_uuid_entry
Connects UUID with component description.
Definition
uuid.h:77
task_ops
Task operations.
Definition
task.h:49
task
Task used by schedulers.
Definition
task.h:56
task.h
src
include
sof
schedule
edf_schedule.h
Generated by
1.15.0