Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A 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)
/openbmc/linux/drivers/platform/x86/
H A 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()
H A Dintel_scu_pcidrv.c20 struct intel_scu_ipc_data scu_data = {}; in intel_scu_pci_probe() local
28 scu_data.mem = pdev->resource[0]; in intel_scu_pci_probe()
29 scu_data.irq = pdev->irq; in intel_scu_pci_probe()
31 scu = intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_scu_pci_probe()
H A Dintel_scu_ipc.c575 const struct intel_scu_ipc_data *scu_data, in __intel_scu_ipc_register() argument
600 if (!request_mem_region(scu_data->mem.start, resource_size(&scu_data->mem), in __intel_scu_ipc_register()
606 ipc_base = ioremap(scu_data->mem.start, resource_size(&scu_data->mem)); in __intel_scu_ipc_register()
613 scu->mem = scu_data->mem; in __intel_scu_ipc_register()
614 scu->irq = scu_data->irq; in __intel_scu_ipc_register()
643 release_mem_region(scu_data->mem.start, resource_size(&scu_data->mem)); in __intel_scu_ipc_register()
692 const struct intel_scu_ipc_data *scu_data, in __devm_intel_scu_ipc_register() argument
702 scu = __intel_scu_ipc_register(parent, scu_data, owner); in __devm_intel_scu_ipc_register()
/openbmc/linux/drivers/mfd/
H A 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()