Home
last modified time | relevance | path

Searched refs:plat_info (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/cadence/
H A Dmacb_pci.c32 struct platform_device_info plat_info; in macb_probe() local
77 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 …]
/openbmc/linux/drivers/usb/cdns3/
H A Dcdns3-pci-wrap.c74 struct platform_device_info plat_info; in cdns3_pci_probe() local
154 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()
/openbmc/linux/drivers/platform/x86/intel/
H A Dtpmi.c120 struct intel_tpmi_plat_info plat_info; member
602 feature_vsec_dev->priv_data = &tpmi_info->plat_info; in tpmi_create_device()
603 feature_vsec_dev->priv_data_size = sizeof(tpmi_info->plat_info); in tpmi_create_device()
653 tpmi_info->plat_info.package_id = header.pkg; in tpmi_process_info()
654 tpmi_info->plat_info.bus_number = header.bus; in tpmi_process_info()
655 tpmi_info->plat_info.device_number = header.dev; in tpmi_process_info()
656 tpmi_info->plat_info.function_number = header.fn; in tpmi_process_info()
694 tpmi_info->plat_info.bus_number = pci_dev->bus->number; in intel_vsec_tpmi_init()
/openbmc/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-tpmi.c235 struct intel_tpmi_plat_info *plat_info; in uncore_probe() local
271 plat_info = tpmi_get_platform_data(auxdev); in uncore_probe()
272 if (plat_info) in uncore_probe()
273 pkg = plat_info->package_id; in uncore_probe()
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/
H A D0001-Platform-ARM-N1sdp-Add-support-to-parse-NT_FW_CONFIG.patch335 + @param [out] plat_info Pointer to the NeoverseN1Soc PLATFORM_INFO HOB
342 + OUT NEOVERSEN1SOC_PLAT_INFO *plat_info
385 + plat_info->LocalDdrSize = fdt32_to_cpu (*Property);
393 + plat_info->RemoteDdrSize = fdt32_to_cpu (*Property);
401 + plat_info->SecondaryChipCount = fdt32_to_cpu (*Property);
409 + plat_info->MultichipMode = fdt32_to_cpu (*Property);
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_interface.h95 struct sfh_platform_info plat_info; member
/openbmc/linux/drivers/cpufreq/
H A Dintel_pstate.c1875 static int core_get_tdp_ratio(int cpu, u64 plat_info) in core_get_tdp_ratio() argument
1878 if (plat_info & 0x600000000) { in core_get_tdp_ratio()
1911 u64 plat_info; in core_get_max_pstate() local
1916 rdmsrl_on_cpu(cpu, MSR_PLATFORM_INFO, &plat_info); in core_get_max_pstate()
1917 max_pstate = (plat_info >> 8) & 0xFF; in core_get_max_pstate()
1919 tdp_ratio = core_get_tdp_ratio(cpu, plat_info); in core_get_max_pstate()
3319 static struct acpi_platform_list plat_info[] __initdata = { variable
3356 idx = acpi_match_platform_list(plat_info); in intel_pstate_platform_pwr_mgmt_exists()
3360 switch (plat_info[idx].data) { in intel_pstate_platform_pwr_mgmt_exists()
/openbmc/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c1255 struct intel_tpmi_plat_info *plat_info; in tpmi_sst_dev_add() local
1260 plat_info = tpmi_get_platform_data(auxdev); in tpmi_sst_dev_add()
1261 if (!plat_info) { in tpmi_sst_dev_add()
1266 pkg = plat_info->package_id; in tpmi_sst_dev_add()