Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
qi_lb60.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <linux/gpio.h>

Go to the source code of this file.

Macros

#define QI_LB60_SND_GPIO   JZ_GPIO_PORTB(29)
 
#define QI_LB60_AMP_GPIO   JZ_GPIO_PORTD(4)
 
#define QI_LB60_DAIFMT
 

Functions

 module_platform_driver (qi_lb60_driver)
 
 MODULE_AUTHOR ("Lars-Peter Clausen <[email protected]>")
 
 MODULE_DESCRIPTION ("ALSA SoC QI LB60 Audio support")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("platform:qi-lb60-audio")
 

Macro Definition Documentation

#define QI_LB60_AMP_GPIO   JZ_GPIO_PORTD(4)

Definition at line 25 of file qi_lb60.c.

#define QI_LB60_DAIFMT
Value:
SND_SOC_DAIFMT_NB_NF | \
SND_SOC_DAIFMT_CBM_CFM)

Definition at line 49 of file qi_lb60.c.

#define QI_LB60_SND_GPIO   JZ_GPIO_PORTB(29)

Definition at line 24 of file qi_lb60.c.

Function Documentation

MODULE_ALIAS ( "platform:qi-lb60-audio )
MODULE_AUTHOR ( "Lars-Peter Clausen <[email protected]>"  )
MODULE_DESCRIPTION ( "ALSA SoC QI LB60 Audio support )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( qi_lb60_driver  )