forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimer.c
More file actions
37 lines (31 loc) · 824 Bytes
/
timer.c
File metadata and controls
37 lines (31 loc) · 824 Bytes
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
37
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright(c) 2018 Intel Corporation. All rights reserved.
//
// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
// Keyon Jie <yang.jie@linux.intel.com>
// Rander Wang <rander.wang@intel.com>
// Janusz Jankowski <janusz.jankowski@linux.intel.com>
#include <rtos/timer.h>
void platform_host_timestamp(struct comp_dev *host,
struct sof_ipc_stream_posn *posn)
{
}
/* get timestamp for DAI stream DMA position */
void platform_dai_timestamp(struct comp_dev *dai,
struct sof_ipc_stream_posn *posn)
{
}
#ifndef __ZEPHYR__
uint64_t platform_timer_get(struct timer *timer)
{
return 0;
}
uint64_t platform_timer_get_atomic(struct timer *timer)
{
return 0;
}
void platform_timer_stop(struct timer *timer)
{
}
#endif /* __ZEPHYR__ */