Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
dev-audio.c File Reference
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/gpio.h>
#include <plat/gpio-cfg.h>
#include <linux/platform_data/asoc-s3c.h>
#include <mach/map.h>
#include <mach/dma.h>
#include <mach/irqs.h>

Go to the source code of this file.

Functions

void __init s5pc100_spdif_setup_gpio (int gpio)
 

Variables

struct platform_device s5pc100_device_iis0
 
struct platform_device s5pc100_device_iis1
 
struct platform_device s5pc100_device_iis2
 
struct platform_device s5pc100_device_pcm0
 
struct platform_device s5pc100_device_pcm1
 
struct platform_device s5pc100_device_ac97
 
struct platform_device s5pc100_device_spdif
 

Function Documentation

void __init s5pc100_spdif_setup_gpio ( int  gpio)

Definition at line 249 of file dev-audio.c.

Variable Documentation

struct platform_device s5pc100_device_ac97
Initial value:
= {
.name = "samsung-ac97",
.id = -1,
.num_resources = ARRAY_SIZE(s5pc100_ac97_resource),
.resource = s5pc100_ac97_resource,
.dev = {
.platform_data = &s3c_ac97_pdata,
.dma_mask = &s5pc100_ac97_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(32),
},
}

Definition at line 199 of file dev-audio.c.

struct platform_device s5pc100_device_iis0
Initial value:
= {
.name = "samsung-i2s",
.id = 0,
.num_resources = ARRAY_SIZE(s5pc100_iis0_resource),
.resource = s5pc100_iis0_resource,
.dev = {
.platform_data = &i2sv5_pdata,
},
}

Definition at line 65 of file dev-audio.c.

struct platform_device s5pc100_device_iis1
Initial value:
= {
.name = "samsung-i2s",
.id = 1,
.num_resources = ARRAY_SIZE(s5pc100_iis1_resource),
.resource = s5pc100_iis1_resource,
.dev = {
.platform_data = &i2sv3_pdata,
},
}

Definition at line 95 of file dev-audio.c.

struct platform_device s5pc100_device_iis2
Initial value:
= {
.name = "samsung-i2s",
.id = 2,
.num_resources = ARRAY_SIZE(s5pc100_iis2_resource),
.resource = s5pc100_iis2_resource,
.dev = {
.platform_data = &i2sv3_pdata,
},
}

Definition at line 111 of file dev-audio.c.

struct platform_device s5pc100_device_pcm0
Initial value:
= {
.name = "samsung-pcm",
.id = 0,
.num_resources = ARRAY_SIZE(s5pc100_pcm0_resource),
.resource = s5pc100_pcm0_resource,
.dev = {
.platform_data = &s3c_pcm_pdata,
},
}

Definition at line 152 of file dev-audio.c.

struct platform_device s5pc100_device_pcm1
Initial value:
= {
.name = "samsung-pcm",
.id = 1,
.num_resources = ARRAY_SIZE(s5pc100_pcm1_resource),
.resource = s5pc100_pcm1_resource,
.dev = {
.platform_data = &s3c_pcm_pdata,
},
}

Definition at line 168 of file dev-audio.c.

struct platform_device s5pc100_device_spdif
Initial value:
= {
.name = "samsung-spdif",
.id = -1,
.num_resources = ARRAY_SIZE(s5pc100_spdif_resource),
.resource = s5pc100_spdif_resource,
.dev = {
.platform_data = &s5p_spdif_pdata,
.dma_mask = &s5pc100_spdif_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(32),
},
}

Definition at line 237 of file dev-audio.c.