Home
last modified time | relevance | path

Searched refs:pdevinfo (Results 1 – 17 of 17) sorted by relevance

/linux/sound/soc/amd/raven/
H A Dpci-acp3x.c131 struct platform_device_info pdevinfo[ACP3x_DEVS]; in snd_acp3x_probe() local
208 memset(&pdevinfo, 0, sizeof(pdevinfo)); in snd_acp3x_probe()
209 pdevinfo[0].name = "acp3x_rv_i2s_dma"; in snd_acp3x_probe()
210 pdevinfo[0].id = 0; in snd_acp3x_probe()
211 pdevinfo[0].parent = &pci->dev; in snd_acp3x_probe()
212 pdevinfo[0].num_res = 4; in snd_acp3x_probe()
213 pdevinfo[0].res = &adata->res[0]; in snd_acp3x_probe()
214 pdevinfo[0].data = &irqflags; in snd_acp3x_probe()
215 pdevinfo[0].size_data = sizeof(irqflags); in snd_acp3x_probe()
217 pdevinfo[1].name = "acp3x_i2s_playcap"; in snd_acp3x_probe()
[all …]
/linux/sound/soc/amd/vangogh/
H A Dpci-acp5x.c128 struct platform_device_info pdevinfo[ACP5x_DEVS]; in snd_acp5x_probe() local
209 memset(&pdevinfo, 0, sizeof(pdevinfo)); in snd_acp5x_probe()
210 pdevinfo[0].name = "acp5x_i2s_dma"; in snd_acp5x_probe()
211 pdevinfo[0].id = 0; in snd_acp5x_probe()
212 pdevinfo[0].parent = &pci->dev; in snd_acp5x_probe()
213 pdevinfo[0].num_res = 4; in snd_acp5x_probe()
214 pdevinfo[0].res = &adata->res[0]; in snd_acp5x_probe()
215 pdevinfo[0].data = &irqflags; in snd_acp5x_probe()
216 pdevinfo[0].size_data = sizeof(irqflags); in snd_acp5x_probe()
218 pdevinfo[1].name = "acp5x_i2s_playcap"; in snd_acp5x_probe()
[all …]
/linux/drivers/acpi/
H A Dacpi_platform.c115 struct platform_device_info pdevinfo; in acpi_create_platform_device() local
158 memset(&pdevinfo, 0, sizeof(pdevinfo)); in acpi_create_platform_device()
164 pdevinfo.parent = parent ? acpi_get_first_physical_node(parent) : NULL; in acpi_create_platform_device()
165 pdevinfo.name = dev_name(&adev->dev); in acpi_create_platform_device()
166 pdevinfo.id = PLATFORM_DEVID_NONE; in acpi_create_platform_device()
167 pdevinfo.res = resources; in acpi_create_platform_device()
168 pdevinfo.num_res = count; in acpi_create_platform_device()
169 pdevinfo.fwnode = acpi_fwnode_handle(adev); in acpi_create_platform_device()
170 pdevinfo.properties = properties; in acpi_create_platform_device()
173 pdevinfo.dma_mask = DMA_BIT_MASK(32); in acpi_create_platform_device()
[all …]
H A Ddock.c578 struct platform_device_info pdevinfo; in acpi_dock_add() local
583 memset(&pdevinfo, 0, sizeof(pdevinfo)); in acpi_dock_add()
584 pdevinfo.name = "dock"; in acpi_dock_add()
585 pdevinfo.id = dock_station_count; in acpi_dock_add()
586 pdevinfo.fwnode = acpi_fwnode_handle(adev); in acpi_dock_add()
587 pdevinfo.data = &ds; in acpi_dock_add()
588 pdevinfo.size_data = sizeof(ds); in acpi_dock_add()
589 dd = platform_device_register_full(&pdevinfo); in acpi_dock_add()
/linux/sound/soc/amd/renoir/
H A Drn-pci-acp3x.c209 struct platform_device_info pdevinfo[ACP_DEVS]; in snd_rn_acp_probe() local
309 memset(&pdevinfo, 0, sizeof(pdevinfo)); in snd_rn_acp_probe()
310 pdevinfo[0].name = "acp_rn_pdm_dma"; in snd_rn_acp_probe()
311 pdevinfo[0].id = 0; in snd_rn_acp_probe()
312 pdevinfo[0].parent = &pci->dev; in snd_rn_acp_probe()
313 pdevinfo[0].num_res = 2; in snd_rn_acp_probe()
314 pdevinfo[0].res = adata->res; in snd_rn_acp_probe()
315 pdevinfo[0].data = &irqflags; in snd_rn_acp_probe()
316 pdevinfo[0].size_data = sizeof(irqflags); in snd_rn_acp_probe()
318 pdevinfo[1].name = "dmic-codec"; in snd_rn_acp_probe()
[all …]
/linux/sound/soc/amd/yc/
H A Dpci-acp6x.c148 struct platform_device_info pdevinfo[ACP6x_DEVS]; in snd_acp6x_probe() local
227 memset(&pdevinfo, 0, sizeof(pdevinfo)); in snd_acp6x_probe()
228 pdevinfo[0].name = "acp_yc_pdm_dma"; in snd_acp6x_probe()
229 pdevinfo[0].id = 0; in snd_acp6x_probe()
230 pdevinfo[0].parent = &pci->dev; in snd_acp6x_probe()
231 pdevinfo[0].num_res = 1; in snd_acp6x_probe()
232 pdevinfo[0].res = adata->res; in snd_acp6x_probe()
234 pdevinfo[1].name = "dmic-codec"; in snd_acp6x_probe()
235 pdevinfo[1].id = 0; in snd_acp6x_probe()
236 pdevinfo[1].parent = &pci->dev; in snd_acp6x_probe()
[all …]
/linux/drivers/soundwire/
H A Damd_init.c74 struct platform_device_info pdevinfo[2]; in sdw_amd_probe_controller() local
116 memset(&pdevinfo, 0, sizeof(pdevinfo)); in sdw_amd_probe_controller()
125 pdevinfo[index].name = "amd_sdw_manager"; in sdw_amd_probe_controller()
126 pdevinfo[index].id = index; in sdw_amd_probe_controller()
127 pdevinfo[index].parent = res->parent; in sdw_amd_probe_controller()
128 pdevinfo[index].num_res = 1; in sdw_amd_probe_controller()
129 pdevinfo[index].res = sdw_res; in sdw_amd_probe_controller()
130 pdevinfo[index].data = &sdw_pdata[index]; in sdw_amd_probe_controller()
131 pdevinfo[index].size_data = sizeof(struct acp_sdw_pdata); in sdw_amd_probe_controller()
132 pdevinfo[index].fwnode = acpi_fwnode_handle(adev); in sdw_amd_probe_controller()
[all …]
/linux/sound/soc/amd/acp/
H A Dacp-pci.c49 struct platform_device_info pdevinfo; in acp_pci_probe() local
142 memset(&pdevinfo, 0, sizeof(pdevinfo)); in acp_pci_probe()
144 pdevinfo.name = chip->name; in acp_pci_probe()
145 pdevinfo.id = 0; in acp_pci_probe()
146 pdevinfo.parent = &pci->dev; in acp_pci_probe()
147 pdevinfo.num_res = num_res; in acp_pci_probe()
148 pdevinfo.res = &res[0]; in acp_pci_probe()
149 pdevinfo.data = chip; in acp_pci_probe()
150 pdevinfo.size_data = sizeof(*chip); in acp_pci_probe()
152 pdev = platform_device_register_full(&pdevinfo); in acp_pci_probe()
[all …]
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-i2s-audio.c192 struct platform_device_info pdevinfo; in snd_dw_hdmi_probe() local
202 memset(&pdevinfo, 0, sizeof(pdevinfo)); in snd_dw_hdmi_probe()
203 pdevinfo.parent = pdev->dev.parent; in snd_dw_hdmi_probe()
204 pdevinfo.id = PLATFORM_DEVID_AUTO; in snd_dw_hdmi_probe()
205 pdevinfo.name = HDMI_CODEC_DRV_NAME; in snd_dw_hdmi_probe()
206 pdevinfo.data = &pdata; in snd_dw_hdmi_probe()
207 pdevinfo.size_data = sizeof(pdata); in snd_dw_hdmi_probe()
208 pdevinfo.dma_mask = DMA_BIT_MASK(32); in snd_dw_hdmi_probe()
210 platform = platform_device_register_full(&pdevinfo); in snd_dw_hdmi_probe()
H A Ddw-hdmi.c3322 struct platform_device_info pdevinfo; in dw_hdmi_probe() local
3509 memset(&pdevinfo, 0, sizeof(pdevinfo)); in dw_hdmi_probe()
3510 pdevinfo.parent = dev; in dw_hdmi_probe()
3511 pdevinfo.id = PLATFORM_DEVID_AUTO; in dw_hdmi_probe()
3527 pdevinfo.name = "dw-hdmi-ahb-audio"; in dw_hdmi_probe()
3528 pdevinfo.data = &audio; in dw_hdmi_probe()
3529 pdevinfo.size_data = sizeof(audio); in dw_hdmi_probe()
3530 pdevinfo.dma_mask = DMA_BIT_MASK(32); in dw_hdmi_probe()
3531 hdmi->audio = platform_device_register_full(&pdevinfo); in dw_hdmi_probe()
3542 pdevinfo.name = "dw-hdmi-i2s-audio"; in dw_hdmi_probe()
[all …]
/linux/sound/soc/amd/ps/
H A Dpci-ps.c434 static void acp63_fill_platform_dev_info(struct platform_device_info *pdevinfo, in acp63_fill_platform_dev_info() argument
443 pdevinfo->name = name; in acp63_fill_platform_dev_info()
444 pdevinfo->id = id; in acp63_fill_platform_dev_info()
445 pdevinfo->parent = parent; in acp63_fill_platform_dev_info()
446 pdevinfo->num_res = num_res; in acp63_fill_platform_dev_info()
447 pdevinfo->res = res; in acp63_fill_platform_dev_info()
448 pdevinfo->data = data; in acp63_fill_platform_dev_info()
449 pdevinfo->size_data = size_data; in acp63_fill_platform_dev_info()
450 pdevinfo->fwnode = fw_node; in acp63_fill_platform_dev_info()
455 struct platform_device_info pdevinfo; in create_acp63_platform_devs() local
[all …]
/linux/drivers/base/
H A Dplatform.c807 const struct platform_device_info *pdevinfo) in platform_device_register_full() argument
812 pdev = platform_device_alloc(pdevinfo->name, pdevinfo->id); in platform_device_register_full()
816 pdev->dev.parent = pdevinfo->parent; in platform_device_register_full()
817 pdev->dev.fwnode = pdevinfo->fwnode; in platform_device_register_full()
819 pdev->dev.of_node_reused = pdevinfo->of_node_reused; in platform_device_register_full()
821 if (pdevinfo->dma_mask) { in platform_device_register_full()
822 pdev->platform_dma_mask = pdevinfo->dma_mask; in platform_device_register_full()
824 pdev->dev.coherent_dma_mask = pdevinfo->dma_mask; in platform_device_register_full()
828 pdevinfo->res, pdevinfo->num_res); in platform_device_register_full()
833 pdevinfo->data, pdevinfo->size_data); in platform_device_register_full()
[all …]
/linux/drivers/fpga/
H A Ddfl-n3000-nios.c418 struct platform_device_info pdevinfo = { 0 }; in create_altera_spi_controller() local
441 pdevinfo.name = "subdev_spi_altera"; in create_altera_spi_controller()
442 pdevinfo.id = PLATFORM_DEVID_AUTO; in create_altera_spi_controller()
443 pdevinfo.parent = nn->dev; in create_altera_spi_controller()
444 pdevinfo.data = &pdata; in create_altera_spi_controller()
445 pdevinfo.size_data = sizeof(pdata); in create_altera_spi_controller()
447 nn->altera_spi = platform_device_register_full(&pdevinfo); in create_altera_spi_controller()
/linux/drivers/gpio/
H A Dgpio-mockup.c521 struct platform_device_info pdevinfo; in gpio_mockup_register_chip() local
530 memset(&pdevinfo, 0, sizeof(pdevinfo)); in gpio_mockup_register_chip()
558 pdevinfo.name = "gpio-mockup"; in gpio_mockup_register_chip()
559 pdevinfo.id = idx; in gpio_mockup_register_chip()
560 pdevinfo.fwnode = fwnode; in gpio_mockup_register_chip()
562 pdev = platform_device_register_full(&pdevinfo); in gpio_mockup_register_chip()
H A Dgpio-virtuser.c1470 struct platform_device_info pdevinfo; in gpio_virtuser_device_activate() local
1484 memset(&pdevinfo, 0, sizeof(pdevinfo)); in gpio_virtuser_device_activate()
1485 pdevinfo.name = "gpio-virtuser"; in gpio_virtuser_device_activate()
1486 pdevinfo.id = dev->id; in gpio_virtuser_device_activate()
1487 pdevinfo.fwnode = swnode; in gpio_virtuser_device_activate()
1499 pdev = platform_device_register_full(&pdevinfo); in gpio_virtuser_device_activate()
/linux/include/linux/
H A Dplatform_device.h137 const struct platform_device_info *pdevinfo);
158 struct platform_device_info pdevinfo = { in platform_device_register_resndata() local
169 return platform_device_register_full(&pdevinfo); in platform_device_register_resndata()
/linux/drivers/mfd/
H A Dkempld-core.c134 const struct platform_device_info pdevinfo = { in kempld_create_platform_device() local
143 kempld_pdev = platform_device_register_full(&pdevinfo); in kempld_create_platform_device()