Searched refs:scu_data (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/platform_data/x86/ |
H A D | intel_scu_ipc.h | 22 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)
|
/linux/drivers/platform/x86/ |
H A D | intel_scu_pltdrv.c | 22 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 D | intel_scu_pcidrv.c | 19 struct intel_scu_ipc_data scu_data = {}; in intel_scu_pci_probe() local 27 scu_data.mem = pdev->resource[0]; in intel_scu_pci_probe() 28 scu_data.irq = pdev->irq; in intel_scu_pci_probe() 30 scu = intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_scu_pci_probe()
|
H A D | intel_scu_ipc.c | 575 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()
|
/linux/drivers/mfd/ |
H A D | intel_pmc_bxt.c | 304 struct intel_scu_ipc_data *scu_data) in intel_pmc_get_resources() argument 311 scu_data->irq = platform_get_irq_optional(pdev, 0); in intel_pmc_get_resources() 321 scu_data->mem.flags = res->flags; in intel_pmc_get_resources() 322 scu_data->mem.start = res->start; in intel_pmc_get_resources() 323 scu_data->mem.end = res->start + PLAT_RESOURCE_IPC_SIZE - 1; in intel_pmc_get_resources() 424 struct intel_scu_ipc_data scu_data = {}; in intel_pmc_probe() local 435 ret = intel_pmc_get_resources(pdev, pmc, &scu_data); in intel_pmc_probe() 441 pmc->scu = devm_intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_pmc_probe()
|