| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
#ifndef _VPM450M_H |
| 24 |
#define _VPM450M_H |
| 25 |
|
| 26 |
#include <linux/firmware.h> |
| 27 |
|
| 28 |
struct t4; |
| 29 |
struct vpm450m; |
| 30 |
|
| 31 |
|
| 32 |
unsigned int oct_get_reg(void *data, unsigned int reg); |
| 33 |
void oct_set_reg(void *data, unsigned int reg, unsigned int val); |
| 34 |
|
| 35 |
|
| 36 |
struct vpm450m *init_vpm450m(struct device *device, int *isalaw, |
| 37 |
int numspans, const struct firmware *firmware); |
| 38 |
unsigned int get_vpm450m_capacity(struct device *device); |
| 39 |
void vpm450m_setec(struct vpm450m *instance, int channel, int eclen); |
| 40 |
void vpm450m_setdtmf(struct vpm450m *instance, int channel, int dtmfdetect, int dtmfmute); |
| 41 |
int vpm450m_checkirq(struct vpm450m *vpm450m); |
| 42 |
int vpm450m_getdtmf(struct vpm450m *vpm450m, int *channel, int *tone, int *start); |
| 43 |
void release_vpm450m(struct vpm450m *instance); |
| 44 |
void vpm450m_set_alaw_companding(struct vpm450m *vpm450m, |
| 45 |
int channel, bool alaw); |
| 46 |
|
| 47 |
extern int debug; |
| 48 |
|
| 49 |
#endif |