M1966_pcm_cset_compression_set, M1966_pcm_activation_set, M1966_pcm_activation_clear – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual
Page 30

73M1866B/73M1966B Reference Driver User Guide
UG_1x66B_015
30
Rev. 2.7
6.1.10 M1966_PCM_CSET_COMPRESSION_SET
Description
Sets PCM data compression mode.
#define M1966_PCM_CSET_COMPRESSION_SET
_IOWR(0xA4,0xD8,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_PCM_CSET_COMPRESSION_SET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
M1966_PCM_CSET_COMPRESSION_SET I/O control identifier for this operation.
unsigned long
param
Compression mode:
0 – Companded mode: A-law.
1 – Companded mode: u-law.
2 – Linear mode.
Return Values
Data Type
Description
int
Always returns 0.
6.1.11 M1966_PCM_ACTIVATION_SET
Description
This service activates the PCM time slots configured for this FXO channel.
#define M1966_PCM_ACTIVATION_SET
_IOWR(0xA4,0xD9,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_PCM_ACTIVATION_SET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
M1966_PCM_ACTIVATION_SET
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type
Description
int
Always returns 0.