Home
last modified time | relevance | path

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

/drivers/acpi/
Dacpi_platform.c67 struct platform_device_info pdevinfo; in acpi_create_platform_device() local
100 memset(&pdevinfo, 0, sizeof(pdevinfo)); in acpi_create_platform_device()
106 pdevinfo.parent = adev->parent ? in acpi_create_platform_device()
108 pdevinfo.name = dev_name(&adev->dev); in acpi_create_platform_device()
109 pdevinfo.id = -1; in acpi_create_platform_device()
110 pdevinfo.res = resources; in acpi_create_platform_device()
111 pdevinfo.num_res = count; in acpi_create_platform_device()
112 pdevinfo.fwnode = acpi_fwnode_handle(adev); in acpi_create_platform_device()
113 pdevinfo.properties = properties; in acpi_create_platform_device()
116 pdevinfo.dma_mask = DMA_BIT_MASK(32); in acpi_create_platform_device()
[all …]
Ddock.c601 struct platform_device_info pdevinfo; in acpi_dock_add() local
606 memset(&pdevinfo, 0, sizeof(pdevinfo)); in acpi_dock_add()
607 pdevinfo.name = "dock"; in acpi_dock_add()
608 pdevinfo.id = dock_station_count; in acpi_dock_add()
609 pdevinfo.fwnode = acpi_fwnode_handle(adev); in acpi_dock_add()
610 pdevinfo.data = &ds; in acpi_dock_add()
611 pdevinfo.size_data = sizeof(ds); in acpi_dock_add()
612 dd = platform_device_register_full(&pdevinfo); in acpi_dock_add()
/drivers/dma/qcom/
Dhidma_mgmt.c308 struct platform_device_info pdevinfo; in hidma_mgmt_of_populate_channels() local
363 memset(&pdevinfo, 0, sizeof(pdevinfo)); in hidma_mgmt_of_populate_channels()
364 pdevinfo.fwnode = &child->fwnode; in hidma_mgmt_of_populate_channels()
365 pdevinfo.parent = pdev_parent ? &pdev_parent->dev : NULL; in hidma_mgmt_of_populate_channels()
366 pdevinfo.name = child->name; in hidma_mgmt_of_populate_channels()
367 pdevinfo.id = object_counter++; in hidma_mgmt_of_populate_channels()
368 pdevinfo.res = res; in hidma_mgmt_of_populate_channels()
369 pdevinfo.num_res = num; in hidma_mgmt_of_populate_channels()
370 pdevinfo.data = NULL; in hidma_mgmt_of_populate_channels()
371 pdevinfo.size_data = 0; in hidma_mgmt_of_populate_channels()
[all …]
/drivers/base/
Dplatform.c495 const struct platform_device_info *pdevinfo) in platform_device_register_full() argument
500 pdev = platform_device_alloc(pdevinfo->name, pdevinfo->id); in platform_device_register_full()
504 pdev->dev.parent = pdevinfo->parent; in platform_device_register_full()
505 pdev->dev.fwnode = pdevinfo->fwnode; in platform_device_register_full()
507 if (pdevinfo->dma_mask) { in platform_device_register_full()
519 *pdev->dev.dma_mask = pdevinfo->dma_mask; in platform_device_register_full()
520 pdev->dev.coherent_dma_mask = pdevinfo->dma_mask; in platform_device_register_full()
524 pdevinfo->res, pdevinfo->num_res); in platform_device_register_full()
529 pdevinfo->data, pdevinfo->size_data); in platform_device_register_full()
533 if (pdevinfo->properties) { in platform_device_register_full()
[all …]
/drivers/platform/x86/
Dintel_pmc_ipc.c525 const struct platform_device_info pdevinfo = { in ipc_create_punit_device() local
533 pdev = platform_device_register_full(&pdevinfo); in ipc_create_punit_device()
546 const struct platform_device_info pdevinfo = { in ipc_create_tco_device() local
568 pdev = platform_device_register_full(&pdevinfo); in ipc_create_tco_device()
581 const struct platform_device_info pdevinfo = { in ipc_create_telemetry_device() local
597 pdev = platform_device_register_full(&pdevinfo); in ipc_create_telemetry_device()
/drivers/gpu/drm/bridge/
Ddw-hdmi.c1640 struct platform_device_info pdevinfo; in dw_hdmi_bind() local
1769 memset(&pdevinfo, 0, sizeof(pdevinfo)); in dw_hdmi_bind()
1770 pdevinfo.parent = dev; in dw_hdmi_bind()
1771 pdevinfo.id = PLATFORM_DEVID_AUTO; in dw_hdmi_bind()
1780 pdevinfo.name = "dw-hdmi-ahb-audio"; in dw_hdmi_bind()
1781 pdevinfo.data = &audio; in dw_hdmi_bind()
1782 pdevinfo.size_data = sizeof(audio); in dw_hdmi_bind()
1783 pdevinfo.dma_mask = DMA_BIT_MASK(32); in dw_hdmi_bind()
1784 hdmi->audio = platform_device_register_full(&pdevinfo); in dw_hdmi_bind()