Lines Matching +full:string +full:- +full:support

1 // SPDX-License-Identifier: GPL-2.0+
19 #include <linux/pci-acpi.h>
34 /* acpi_run_oshp - get control of hotplug from the firmware
36 * @handle - the handle of the hotplug controller.
41 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_run_oshp() local
43 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp()
50 __func__, (char *)string.pointer, status); in acpi_run_oshp()
53 __func__, (char *)string.pointer); in acpi_run_oshp()
56 (char *)string.pointer); in acpi_run_oshp()
58 kfree(string.pointer); in acpi_run_oshp()
74 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_get_hp_hw_control_from_firmware() local
77 * If there's no ACPI host bridge (i.e., ACPI support is compiled in acpi_get_hp_hw_control_from_firmware()
78 * into the kernel but the hardware platform doesn't support ACPI), in acpi_get_hp_hw_control_from_firmware()
81 host = pci_find_host_bridge(pdev->bus); in acpi_get_hp_hw_control_from_firmware()
82 root = acpi_pci_find_root(ACPI_HANDLE(&host->dev)); in acpi_get_hp_hw_control_from_firmware()
90 if (root->osc_support_set) { in acpi_get_hp_hw_control_from_firmware()
91 if (host->native_shpc_hotplug) in acpi_get_hp_hw_control_from_firmware()
93 return -ENODEV; in acpi_get_hp_hw_control_from_firmware()
105 handle = ACPI_HANDLE(&pdev->dev); in acpi_get_hp_hw_control_from_firmware()
112 for (pbus = pdev->bus; pbus; pbus = pbus->parent) { in acpi_get_hp_hw_control_from_firmware()
120 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware()
122 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
135 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware()
136 return -ENODEV; in acpi_get_hp_hw_control_from_firmware()
139 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
140 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware()
160 * acpi_pci_check_ejectable - check if handle is ejectable ACPI PCI slot
193 * acpi_pci_detect_ejectable - check if the PCI bus has ejectable slots