Home
last modified time | relevance | path

Searched refs:scu_data (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dintel_scu_ipc.h22 const struct intel_scu_ipc_data *scu_data,
25 #define intel_scu_ipc_register(parent, scu_data) \ argument
26 __intel_scu_ipc_register(parent, scu_data, THIS_MODULE)
32 const struct intel_scu_ipc_data *scu_data,
35 #define devm_intel_scu_ipc_register(parent, scu_data) \ argument
36 __devm_intel_scu_ipc_register(parent, scu_data, THIS_MODULE)
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_scu_pltdrv.c22 struct intel_scu_ipc_data scu_data = {}; in intel_scu_platform_probe() local
26 scu_data.irq = platform_get_irq_optional(pdev, 0); in intel_scu_platform_probe()
31 scu_data.mem = *res; in intel_scu_platform_probe()
33 scu = devm_intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_scu_platform_probe()
Dintel_scu_pcidrv.c21 struct intel_scu_ipc_data scu_data = {}; in intel_scu_pci_probe() local
29 scu_data.mem = pdev->resource[0]; in intel_scu_pci_probe()
30 scu_data.irq = pdev->irq; in intel_scu_pci_probe()
32 scu = intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_scu_pci_probe()
Dintel_scu_ipc.c562 const struct intel_scu_ipc_data *scu_data, in __intel_scu_ipc_register() argument
587 if (!request_mem_region(scu_data->mem.start, resource_size(&scu_data->mem), in __intel_scu_ipc_register()
593 ipc_base = ioremap(scu_data->mem.start, resource_size(&scu_data->mem)); in __intel_scu_ipc_register()
600 scu->mem = scu_data->mem; in __intel_scu_ipc_register()
601 scu->irq = scu_data->irq; in __intel_scu_ipc_register()
630 release_mem_region(scu_data->mem.start, resource_size(&scu_data->mem)); in __intel_scu_ipc_register()
679 const struct intel_scu_ipc_data *scu_data, in __devm_intel_scu_ipc_register() argument
689 scu = __intel_scu_ipc_register(parent, scu_data, owner); in __devm_intel_scu_ipc_register()
/kernel/linux/linux-5.10/drivers/mfd/
Dintel_pmc_bxt.c305 struct intel_scu_ipc_data *scu_data) in intel_pmc_get_resources() argument
312 scu_data->irq = platform_get_irq_optional(pdev, 0); in intel_pmc_get_resources()
322 scu_data->mem.flags = res->flags; in intel_pmc_get_resources()
323 scu_data->mem.start = res->start; in intel_pmc_get_resources()
324 scu_data->mem.end = res->start + PLAT_RESOURCE_IPC_SIZE - 1; in intel_pmc_get_resources()
425 struct intel_scu_ipc_data scu_data = {}; in intel_pmc_probe() local
436 ret = intel_pmc_get_resources(pdev, pmc, &scu_data); in intel_pmc_probe()
442 pmc->scu = devm_intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_pmc_probe()