Searched refs:pdevinfo (Results 1 – 2 of 2) sorted by relevance
78 struct platform_device_info pdevinfo; in acpi_create_platform_device() local105 memset(&pdevinfo, 0, sizeof(pdevinfo)); in acpi_create_platform_device()111 pdevinfo.parent = NULL; in acpi_create_platform_device()123 pdevinfo.parent = entry->dev; in acpi_create_platform_device()127 pdevinfo.name = dev_name(&adev->dev); in acpi_create_platform_device()128 pdevinfo.id = -1; in acpi_create_platform_device()129 pdevinfo.res = resources; in acpi_create_platform_device()130 pdevinfo.num_res = count; in acpi_create_platform_device()131 pdevinfo.acpi_node.handle = adev->handle; in acpi_create_platform_device()132 pdevinfo.dma_mask = DMA_BIT_MASK(32); in acpi_create_platform_device()[all …]
428 const struct platform_device_info *pdevinfo) in platform_device_register_full() argument433 pdev = platform_device_alloc(pdevinfo->name, pdevinfo->id); in platform_device_register_full()437 pdev->dev.parent = pdevinfo->parent; in platform_device_register_full()438 ACPI_HANDLE_SET(&pdev->dev, pdevinfo->acpi_node.handle); in platform_device_register_full()440 if (pdevinfo->dma_mask) { in platform_device_register_full()452 *pdev->dev.dma_mask = pdevinfo->dma_mask; in platform_device_register_full()453 pdev->dev.coherent_dma_mask = pdevinfo->dma_mask; in platform_device_register_full()457 pdevinfo->res, pdevinfo->num_res); in platform_device_register_full()462 pdevinfo->data, pdevinfo->size_data); in platform_device_register_full()