Lines Matching +full:resource +full:- +full:id
1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/dma-mapping.h>
17 #include <linux/platform_data/asoc-s3c.h>
18 #include "gpio-cfg.h"
19 #include "gpio-samsung.h"
25 switch (pdev->id) { in s3c64xx_i2s_cfg_gpio()
40 pdev->id); in s3c64xx_i2s_cfg_gpio()
41 return -EINVAL; in s3c64xx_i2s_cfg_gpio()
49 static struct resource s3c64xx_iis0_resource[] = {
58 .name = "samsung-i2s",
59 .id = 0,
61 .resource = s3c64xx_iis0_resource,
68 static struct resource s3c64xx_iis1_resource[] = {
77 .name = "samsung-i2s",
78 .id = 1,
80 .resource = s3c64xx_iis1_resource,
87 static struct resource s3c64xx_iisv4_resource[] = {
99 .name = "samsung-i2s",
100 .id = 2,
102 .resource = s3c64xx_iisv4_resource,
116 switch (pdev->id) { in s3c64xx_pcm_cfg_gpio()
125 pdev->id); in s3c64xx_pcm_cfg_gpio()
126 return -EINVAL; in s3c64xx_pcm_cfg_gpio()
133 static struct resource s3c64xx_pcm0_resource[] = {
142 .name = "samsung-pcm",
143 .id = 0,
145 .resource = s3c64xx_pcm0_resource,
152 static struct resource s3c64xx_pcm1_resource[] = {
161 .name = "samsung-pcm",
162 .id = 1,
164 .resource = s3c64xx_pcm1_resource,
183 static struct resource s3c64xx_ac97_resource[] = {
194 .name = "samsung-ac97",
195 .id = -1,
197 .resource = s3c64xx_ac97_resource,