summaryrefslogtreecommitdiff
path: root/snd-pcxhr/src/pcxhr_clock_monitoring.h
blob: 9825f9de13ddec6182ac53fc777da44853b4701a (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-or-later
/*
 * Driver for Digigram pcxhr compatible soundcards
 *
 * Copyright (c) 2004 by Digigram <alsa@digigram.com>
 */


#ifndef __SOUND_PCXHR_CLOCK_MONITORING_H
#define __SOUND_PCXHR_CLOCK_MONITORING_H
#include "pcxhr.h"



/*
A timer wake up a hread wich monitor clock.
*/


//initialise clock management
int clockMonitor_init(struct pcxhr_mgr *mgr);
//clean all kmalloc,etc...
int clockMonitor_free(struct pcxhr_mgr *mgr);

//stop clock management
int clockMonitor_stop(struct pcxhr_mgr *mgr);
//start clock management. needs clockMonitor_init before
int clockMonitor_start(struct pcxhr_mgr *mgr);





#endif //__SOUND_PCXHR_CLOCK_MONITORING_H