Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wdt.h
Go to the documentation of this file.
1 /*
2  * wdt.h
3  *
4  * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5  *
6  * IO dispatcher for a shared memory channel driver.
7  *
8  * Copyright (C) 2010 Texas Instruments, Inc.
9  *
10  * This package is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License version 2 as
12  * published by the Free Software Foundation.
13  *
14  * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17  */
18 #ifndef __DSP_WDT3_H_
19 #define __DSP_WDT3_H_
20 
21 /* WDT defines */
22 #define OMAP3_WDT3_ISR_OFFSET 0x0018
23 
24 
38  struct shm *sm_wdt;
40  struct clk *fclk;
41  struct clk *iclk;
42 };
43 
50 int dsp_wdt_init(void);
51 
57 void dsp_wdt_exit(void);
58 
66 void dsp_wdt_enable(bool enable);
67 
76 void dsp_wdt_sm_set(void *data);
77 
78 #endif
79