|
Sound Open Firmware
|
RTOS DSP clock frequency management and notification interfaces. More...


Go to the source code of this file.
Data Structures | |
| struct | clock_notify_data |
| struct | freq_table |
| struct | clock_info |
Macros | |
| #define | __SOF_LIB_CLK_H__ |
| #define | CLOCK_NOTIFY_PRE 0 |
| #define | CLOCK_NOTIFY_POST 1 |
Functions | |
| uint32_t | clock_get_freq (int clock) |
| void | clock_set_freq (int clock, uint32_t hz) |
| void | clock_low_power_mode (int clock, bool enable) |
| uint64_t | clock_ticks_per_sample (int clock, uint32_t sample_rate) |
| static k_spinlock_key_t | clock_lock (void) |
| static void | clock_unlock (k_spinlock_key_t key) |
| static struct clock_info * | clocks_get (void) |
Variables | |
| struct k_spinlock | clk_lock |
RTOS DSP clock frequency management and notification interfaces.
| #define __SOF_LIB_CLK_H__ |
| #define CLOCK_NOTIFY_POST 1 |
| #define CLOCK_NOTIFY_PRE 0 |
| uint32_t clock_get_freq | ( | int | clock | ) |
|
inlinestatic |
| void clock_low_power_mode | ( | int | clock, |
| bool | enable | ||
| ) |
| void clock_set_freq | ( | int | clock, |
| uint32_t | hz | ||
| ) |
| uint64_t clock_ticks_per_sample | ( | int | clock, |
| uint32_t | sample_rate | ||
| ) |
|
inlinestatic |
|
inlinestatic |
|
extern |