Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
cx20442.c File Reference
#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/regulator/consumer.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/soc.h>
#include "cx20442.h"

Go to the source code of this file.

Data Structures

struct  cx20442_priv
 

Macros

#define CX20442_PM   0x0
 
#define CX20442_TELIN   0
 
#define CX20442_TELOUT   1
 
#define CX20442_MIC   2
 
#define CX20442_SPKOUT   3
 
#define CX20442_AGC   4
 

Enumerations

enum  v253_vls {
  V253_VLS_NONE = 0, V253_VLS_T, V253_VLS_L, V253_VLS_LT,
  V253_VLS_S, V253_VLS_ST, V253_VLS_M, V253_VLS_MST,
  V253_VLS_S1, V253_VLS_S1T, V253_VLS_MS1T, V253_VLS_M1,
  V253_VLS_M1ST, V253_VLS_M1S1T, V253_VLS_H, V253_VLS_HT,
  V253_VLS_MS, V253_VLS_MS1, V253_VLS_M1S, V253_VLS_M1S1,
  V253_VLS_TEST
}
 

Functions

 EXPORT_SYMBOL_GPL (v253_ops)
 
 module_platform_driver (cx20442_platform_driver)
 
 MODULE_DESCRIPTION ("ASoC CX20442-11 voice modem codec driver")
 
 MODULE_AUTHOR ("Janusz Krzysztofik")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:cx20442-codec")
 

Variables

struct tty_ldisc_ops v253_ops
 

Macro Definition Documentation

#define CX20442_AGC   4

Definition at line 39 of file cx20442.c.

#define CX20442_MIC   2

Definition at line 37 of file cx20442.c.

#define CX20442_PM   0x0

Definition at line 33 of file cx20442.c.

#define CX20442_SPKOUT   3

Definition at line 38 of file cx20442.c.

#define CX20442_TELIN   0

Definition at line 35 of file cx20442.c.

#define CX20442_TELOUT   1

Definition at line 36 of file cx20442.c.

Enumeration Type Documentation

enum v253_vls
Enumerator:
V253_VLS_NONE 
V253_VLS_T 
V253_VLS_L 
V253_VLS_LT 
V253_VLS_S 
V253_VLS_ST 
V253_VLS_M 
V253_VLS_MST 
V253_VLS_S1 
V253_VLS_S1T 
V253_VLS_MS1T 
V253_VLS_M1 
V253_VLS_M1ST 
V253_VLS_M1S1T 
V253_VLS_H 
V253_VLS_HT 
V253_VLS_MS 
V253_VLS_MS1 
V253_VLS_M1S 
V253_VLS_M1S1 
V253_VLS_TEST 

Definition at line 102 of file cx20442.c.

Function Documentation

EXPORT_SYMBOL_GPL ( v253_ops  )
MODULE_ALIAS ( "platform:cx20442-codec )
MODULE_AUTHOR ( "Janusz Krzysztofik"  )
MODULE_DESCRIPTION ( "ASoC CX20442-11 voice modem codec driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( cx20442_platform_driver  )

Variable Documentation

Initial value:
= {
.magic = TTY_LDISC_MAGIC,
.name = "cx20442",
.owner = THIS_MODULE,
.open = v253_open,
.close = v253_close,
.hangup = v253_hangup,
.receive_buf = v253_receive,
.write_wakeup = v253_wakeup,
}

Definition at line 293 of file cx20442.c.