blob: 8335a4798f31202385b3a0f17dad4d22a561a151 (
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
25
26
27
28
29
30
31
32
33
34
|
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Samsung Exynos SoC series dsp driver
*
* Copyright (c) 2019 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*/
#ifndef __DSP_CLK_H__
#define __DSP_CLK_H__
#include <linux/clk.h>
#include "dsp-hw-clk.h"
struct dsp_system;
struct dsp_clk_format {
struct clk *clk;
const char *name;
};
void dsp_clk_dump(struct dsp_clk *clk);
void dsp_clk_user_dump(struct dsp_clk *clk, struct seq_file *file);
int dsp_clk_enable(struct dsp_clk *clk);
int dsp_clk_disable(struct dsp_clk *clk);
int dsp_clk_open(struct dsp_clk *clk);
int dsp_clk_close(struct dsp_clk *clk);
int dsp_clk_probe(struct dsp_system *sys);
void dsp_clk_remove(struct dsp_clk *clk);
#endif
|