blob: fd16a89cb20313788b75609a61dcdd9f4608ecae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
*/
#ifndef K210_PLL_H
#define K210_PLL_H
#include <test/export.h>
struct k210_pll_config {
u8 r;
u8 f;
u8 od;
};
#ifdef CONFIG_UNIT_TEST
TEST_STATIC int k210_pll_calc_config(u32 rate, u32 rate_in,
struct k210_pll_config *best);
#ifndef nop
#define nop()
#endif
#endif
#endif /* K210_PLL_H */
|