forked from macchian/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimestamp.h
More file actions
36 lines (29 loc) · 1.26 KB
/
timestamp.h
File metadata and controls
36 lines (29 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright(c) 2019 Intel Corporation. All rights reserved.
*/
#ifndef __SOF_DRIVERS_TIMESTAMP_H__
#define __SOF_DRIVERS_TIMESTAMP_H__
#include <platform/drivers/timestamp.h>
struct dai;
struct timestamp_cfg;
struct timestamp_data;
/* HDA */
int timestamp_hda_config(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_hda_start(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_hda_stop(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_hda_get(struct dai *dai, struct timestamp_cfg *cfg,
struct timestamp_data *tsd);
/* DMIC */
int timestamp_dmic_config(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_dmic_start(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_dmic_stop(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_dmic_get(struct dai *dai, struct timestamp_cfg *cfg,
struct timestamp_data *tsd);
/* SSP */
int timestamp_ssp_config(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_ssp_start(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_ssp_stop(struct dai *dai, struct timestamp_cfg *cfg);
int timestamp_ssp_get(struct dai *dai, struct timestamp_cfg *cfg,
struct timestamp_data *tsd);
#endif /* __SOF_DRIVERS_TIMESTAMP_H__ */