Searched refs:plat_info (Results 1 – 3 of 3) sorted by relevance
32 struct platform_device_info plat_info; in macb_probe() local77 memset(&plat_info, 0, sizeof(plat_info)); in macb_probe()78 plat_info.parent = &pdev->dev; in macb_probe()79 plat_info.fwnode = pdev->dev.fwnode; in macb_probe()80 plat_info.name = PLAT_DRIVER_NAME; in macb_probe()81 plat_info.id = pdev->devfn; in macb_probe()82 plat_info.res = res; in macb_probe()83 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()84 plat_info.data = &plat_data; in macb_probe()85 plat_info.size_data = sizeof(plat_data); in macb_probe()[all …]
74 struct platform_device_info plat_info; in cdns3_pci_probe() local154 memset(&plat_info, 0, sizeof(plat_info)); in cdns3_pci_probe()155 plat_info.parent = &pdev->dev; in cdns3_pci_probe()156 plat_info.fwnode = pdev->dev.fwnode; in cdns3_pci_probe()157 plat_info.name = PLAT_DRIVER_NAME; in cdns3_pci_probe()158 plat_info.id = pdev->devfn; in cdns3_pci_probe()160 plat_info.res = wrap->dev_res; in cdns3_pci_probe()161 plat_info.num_res = ARRAY_SIZE(wrap->dev_res); in cdns3_pci_probe()162 plat_info.dma_mask = pdev->dma_mask; in cdns3_pci_probe()164 wrap->plat_dev = platform_device_register_full(&plat_info); in cdns3_pci_probe()
1571 static int core_get_tdp_ratio(u64 plat_info) in core_get_tdp_ratio() argument1574 if (plat_info & 0x600000000) { in core_get_tdp_ratio()1607 u64 plat_info; in core_get_max_pstate() local1612 rdmsrl(MSR_PLATFORM_INFO, plat_info); in core_get_max_pstate()1613 max_pstate = (plat_info >> 8) & 0xFF; in core_get_max_pstate()1615 tdp_ratio = core_get_tdp_ratio(plat_info); in core_get_max_pstate()2928 static struct acpi_platform_list plat_info[] __initdata = { variable2965 idx = acpi_match_platform_list(plat_info); in intel_pstate_platform_pwr_mgmt_exists()2969 switch (plat_info[idx].data) { in intel_pstate_platform_pwr_mgmt_exists()