summaryrefstree
path: root/kernel/sound/soc/codecs/dbmdx/dbmdx-customer.h
blob: b4368d1b03305b0e67832a785a489b831cb81aa4 (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
/*
 * dbmdx-customer.h  --  DBMDX customer api
 *
 * Copyright (C) 2014 DSP Group
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef _DBMDX_CUSTOMER_API_H
#define _DBMDX_CUSTOMER_API_H

#include "dbmdx-interface.h"

unsigned long customer_dbmdx_clk_get_rate(struct dbmdx_private *p,
					enum dbmdx_clocks clk);
long customer_dbmdx_clk_set_rate(struct dbmdx_private *p,
				enum dbmdx_clocks clk);
int customer_dbmdx_clk_enable(struct dbmdx_private *p, enum dbmdx_clocks clk);
void customer_dbmdx_clk_disable(struct dbmdx_private *p, enum dbmdx_clocks clk);
void dbmdx_uart_clk_enable(struct dbmdx_private *p, bool enable);

#endif