Lines Matching refs:pdevinfo
127 struct platform_device_info pdevinfo[ACP5x_DEVS]; in snd_acp5x_probe() local
199 memset(&pdevinfo, 0, sizeof(pdevinfo)); in snd_acp5x_probe()
200 pdevinfo[0].name = "acp5x_i2s_dma"; in snd_acp5x_probe()
201 pdevinfo[0].id = 0; in snd_acp5x_probe()
202 pdevinfo[0].parent = &pci->dev; in snd_acp5x_probe()
203 pdevinfo[0].num_res = 4; in snd_acp5x_probe()
204 pdevinfo[0].res = &adata->res[0]; in snd_acp5x_probe()
205 pdevinfo[0].data = &irqflags; in snd_acp5x_probe()
206 pdevinfo[0].size_data = sizeof(irqflags); in snd_acp5x_probe()
208 pdevinfo[1].name = "acp5x_i2s_playcap"; in snd_acp5x_probe()
209 pdevinfo[1].id = 0; in snd_acp5x_probe()
210 pdevinfo[1].parent = &pci->dev; in snd_acp5x_probe()
211 pdevinfo[1].num_res = 1; in snd_acp5x_probe()
212 pdevinfo[1].res = &adata->res[1]; in snd_acp5x_probe()
214 pdevinfo[2].name = "acp5x_i2s_playcap"; in snd_acp5x_probe()
215 pdevinfo[2].id = 1; in snd_acp5x_probe()
216 pdevinfo[2].parent = &pci->dev; in snd_acp5x_probe()
217 pdevinfo[2].num_res = 1; in snd_acp5x_probe()
218 pdevinfo[2].res = &adata->res[2]; in snd_acp5x_probe()
220 pdevinfo[3].name = "acp5x_mach"; in snd_acp5x_probe()
221 pdevinfo[3].id = 0; in snd_acp5x_probe()
222 pdevinfo[3].parent = &pci->dev; in snd_acp5x_probe()
225 platform_device_register_full(&pdevinfo[i]); in snd_acp5x_probe()
228 pdevinfo[i].name); in snd_acp5x_probe()