~ubuntu-branches/ubuntu/quantal/zaptel/quantal

« back to all changes in this revision

Viewing changes to vpm450m.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2006-08-23 07:30:22 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20060823073022-nx352q7c5ih5hsdm
Tags: 1:1.2.8.dfsg-1
New Upstream Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2005-2006 Digium, Inc.
 
3
 *
 
4
 * Mark Spencer <markster@digium.com>
 
5
 *
 
6
 * All Rights Reserved
 
7
 */
 
8
 
 
9
#ifndef _VPM450M_H
 
10
#define _VPM450M_H
 
11
 
 
12
 
 
13
struct vpm450m;
 
14
#ifdef HOTPLUG_FIRMWARE
 
15
struct firmware;
 
16
#endif
 
17
 
 
18
/* From driver */
 
19
extern unsigned int oct_get_reg(void *data, unsigned int reg);
 
20
extern void oct_set_reg(void *data, unsigned int reg, unsigned int val);
 
21
 
 
22
/* From vpm450m2 */
 
23
#ifdef HOTPLUG_FIRMWARE
 
24
extern struct vpm450m *init_vpm450m(void *wc, int *isalaw, const struct firmware *firmware);
 
25
#else
 
26
extern struct vpm450m *init_vpm450m(void *wc, int *isalaw);
 
27
#endif
 
28
extern void vpm450m_setec(struct vpm450m *instance, int channel, int eclen);
 
29
extern void vpm450m_setdtmf(struct vpm450m *instance, int channel, int dtmfdetect, int dtmfmute);
 
30
extern int vpm450m_checkirq(struct vpm450m *vpm450m);
 
31
extern int vpm450m_getdtmf(struct vpm450m *vpm450m, int *channel, int *tone, int *start);
 
32
extern void release_vpm450m(struct vpm450m *instance);
 
33
#endif