Searched refs:acpi_has_method (Results 1 - 26 of 26) sorted by relevance

/linux-4.4.14/drivers/acpi/
H A Dscan.c869 if (!acpi_has_method(device->handle, "_PRW")) acpi_bus_get_wakeup_device_flags()
921 if (acpi_has_method(device->handle, pathname)) acpi_bus_init_power_state()
937 if (!acpi_has_method(device->handle, "_PS0") && acpi_bus_get_power_flags()
938 !acpi_has_method(device->handle, "_PR0")) acpi_bus_get_power_flags()
946 if (acpi_has_method(device->handle, "_PSC")) acpi_bus_get_power_flags()
949 if (acpi_has_method(device->handle, "_IRC")) acpi_bus_get_power_flags()
952 if (acpi_has_method(device->handle, "_DSW")) acpi_bus_get_power_flags()
977 if (acpi_has_method(device->handle, "_STA")) acpi_bus_get_flags()
981 if (acpi_has_method(device->handle, "_RMV")) acpi_bus_get_flags()
985 if (acpi_has_method(device->handle, "_EJD") || acpi_bus_get_flags()
986 acpi_has_method(device->handle, "_EJ0")) acpi_bus_get_flags()
1036 return acpi_has_method(handle, "_GTF") || acpi_ata_match()
1037 acpi_has_method(handle, "_GTM") || acpi_ata_match()
1038 acpi_has_method(handle, "_STM") || acpi_ata_match()
1039 acpi_has_method(handle, "_SDD"); acpi_ata_match()
1052 if (!acpi_has_method(handle, "_EJ0")) acpi_bay_match()
1077 if (acpi_has_method(handle, "_EJ0") && acpi_device_is_battery(adev)) is_ejectable_bay()
1088 return acpi_has_method(handle, "_DCK"); acpi_dock_match()
1097 if (acpi_has_method(handle, "_BCM") && acpi_backlight_cap_match()
1098 acpi_has_method(handle, "_BCL")) { acpi_backlight_cap_match()
1102 if (!acpi_has_method(handle, "_BQC")) acpi_backlight_cap_match()
1124 if (acpi_has_method(handle, "_DOD") || acpi_has_method(handle, "_DOS")) acpi_is_video_device()
1128 if (acpi_has_method(handle, "_ROM")) acpi_is_video_device()
1132 if (acpi_has_method(handle, "_VPO") && acpi_is_video_device()
1133 acpi_has_method(handle, "_GPD") && acpi_is_video_device()
1134 acpi_has_method(handle, "_SPD")) acpi_is_video_device()
1196 if (acpi_has_method(handle, "SBI") && acpi_ibm_smbus_match()
1197 acpi_has_method(handle, "SBR") && acpi_ibm_smbus_match()
1198 acpi_has_method(handle, "SBW")) acpi_ibm_smbus_match()
1566 if (!acpi_has_method(adev->handle, "_DEP")) acpi_device_dep_initialize()
H A Ddevice_sysfs.c522 if (acpi_has_method(dev->handle, "_STR")) { acpi_device_setup_files()
538 if (acpi_has_method(dev->handle, "_SUN")) { acpi_device_setup_files()
544 if (acpi_has_method(dev->handle, "_STA")) { acpi_device_setup_files()
554 if (acpi_has_method(dev->handle, "_EJ0")) { acpi_device_setup_files()
594 if (acpi_has_method(dev->handle, "_STR")) { acpi_device_remove_files()
601 if (acpi_has_method(dev->handle, "_EJ0")) acpi_device_remove_files()
604 if (acpi_has_method(dev->handle, "_SUN")) acpi_device_remove_files()
613 if (acpi_has_method(dev->handle, "_STA")) acpi_device_remove_files()
H A Dfan.c227 return acpi_has_method(device->handle, "_FIF") && acpi_fan_is_acpi4()
228 acpi_has_method(device->handle, "_FPS") && acpi_fan_is_acpi4()
229 acpi_has_method(device->handle, "_FSL") && acpi_fan_is_acpi4()
230 acpi_has_method(device->handle, "_FST"); acpi_fan_is_acpi4()
H A Dacpi_video.c908 if (acpi_has_method(device->dev->handle, "_ADR")) acpi_video_device_find_cap()
910 if (acpi_has_method(device->dev->handle, "_BCL")) acpi_video_device_find_cap()
912 if (acpi_has_method(device->dev->handle, "_BCM")) acpi_video_device_find_cap()
914 if (acpi_has_method(device->dev->handle, "_BQC")) { acpi_video_device_find_cap()
916 } else if (acpi_has_method(device->dev->handle, "_BCQ")) { acpi_video_device_find_cap()
921 if (acpi_has_method(device->dev->handle, "_DDC")) acpi_video_device_find_cap()
937 if (acpi_has_method(video->device->handle, "_DOS")) acpi_video_bus_find_cap()
939 if (acpi_has_method(video->device->handle, "_DOD")) acpi_video_bus_find_cap()
941 if (acpi_has_method(video->device->handle, "_ROM")) acpi_video_bus_find_cap()
943 if (acpi_has_method(video->device->handle, "_GPD")) acpi_video_bus_find_cap()
945 if (acpi_has_method(video->device->handle, "_SPD")) acpi_video_bus_find_cap()
947 if (acpi_has_method(video->device->handle, "_VPO")) acpi_video_bus_find_cap()
H A Dutils.c547 * acpi_has_method: Check whether @handle has a method named @name
553 bool acpi_has_method(acpi_handle handle, char *name) acpi_has_method() function
559 EXPORT_SYMBOL(acpi_has_method); variable
H A Dioapic.c71 if (!acpi_has_method(handle, "_GSB")) acpi_is_ioapic()
H A Dprocessor_perflib.c155 if (acpi_has_method(handle, "_OST")) acpi_processor_ppc_ost()
433 if (!acpi_has_method(pr->handle, "_PCT")) { acpi_processor_get_performance_info()
459 if (acpi_has_method(pr->handle, "_PPC")) { acpi_processor_get_performance_info()
H A Dbattery.c562 if (!acpi_has_method(battery->device->handle, "_BTP")) { acpi_battery_init_alarm()
1199 if (acpi_has_method(battery->device->handle, "_BIX")) acpi_battery_add()
H A Dthermal.c242 if (!acpi_has_method(tz->device->handle, "_SCP")) { acpi_thermal_set_cooling_mode()
481 && acpi_has_method(tz->device->handle, "_TZD")) { acpi_thermal_trips_update()
H A Dresource.c568 if (!acpi_has_method(adev->handle, METHOD_NAME__CRS)) acpi_dev_get_resources()
H A Dec.c1598 !acpi_has_method(boot_ec->handle, "_INI")) acpi_ec_ecdt_probe()
/linux-4.4.14/drivers/thermal/int340x_thermal/
H A Dint3402_thermal.c51 if (!acpi_has_method(adev->handle, "_TMP")) int3402_thermal_probe()
H A Dacpi_thermal_rel.c84 if (!acpi_has_method(handle, "_TRT")) acpi_parse_trt()
165 if (!acpi_has_method(handle, "_ART")) acpi_parse_art()
/linux-4.4.14/drivers/pnp/pnpacpi/
H A Dcore.c80 if (acpi_has_method(handle, METHOD_NAME__SRS)) { pnpacpi_set_resources()
237 if (!acpi_has_method(device->handle, "_CRS")) pnpacpi_add_device()
255 if (acpi_has_method(device->handle, "_SRS")) pnpacpi_add_device()
262 if (acpi_has_method(device->handle, "_DIS")) pnpacpi_add_device()
/linux-4.4.14/drivers/pci/hotplug/
H A Dacpi_pcihp.c164 if (!acpi_has_method(handle, "_ADR")) pcihp_is_ejectable()
166 if (acpi_has_method(handle, "_EJ0")) pcihp_is_ejectable()
H A Dacpiphp_glue.c305 if (!is_dock_device(adev) && acpi_has_method(handle, "_EJ0")) acpiphp_add_context()
308 if (acpi_has_method(handle, "_STA")) acpiphp_add_context()
/linux-4.4.14/drivers/platform/x86/
H A Dintel_menlow.c162 if (!acpi_has_method(device->handle, MEMORY_GET_BANDWIDTH)) intel_menlow_memory_add()
165 if (!acpi_has_method(device->handle, MEMORY_SET_BANDWIDTH)) intel_menlow_memory_add()
H A Dfujitsu-laptop.c571 if (acpi_has_method(NULL, dmi_check_cb_common()
682 if (acpi_has_method(device->handle, METHOD_NAME__INI)) { acpi_fujitsu_add()
844 if (acpi_has_method(device->handle, METHOD_NAME__INI)) { acpi_fujitsu_hotkey_add()
H A Dsony-laptop.c1580 if (acpi_has_method(sony_nc_acpi_handle, "ECON")) { sony_nc_resume()
1586 if (acpi_has_method(sony_nc_acpi_handle, "SN00")) sony_nc_resume()
3121 } else if (acpi_has_method(sony_nc_acpi_handle, "GBRT")) { sony_nc_backlight_setup()
3189 if (acpi_has_method(sony_nc_acpi_handle, "ECON")) { sony_nc_add()
3195 if (acpi_has_method(sony_nc_acpi_handle, "SN00")) { sony_nc_add()
3214 if (acpi_has_method(sony_nc_acpi_handle, sony_nc_add()
3225 if (acpi_has_method(sony_nc_acpi_handle, sony_nc_add()
H A Dtoshiba_acpi.c2427 if (ec_handle && acpi_has_method(ec_handle, "NTFY")) { toshiba_acpi_setup_keyboard()
2443 if (acpi_has_method(dev->acpi_dev->handle, "INFO")) toshiba_acpi_setup_keyboard()
2619 if (acpi_has_method(handle, "GHCI")) find_hci_method()
2622 if (acpi_has_method(handle, "SPFC")) find_hci_method()
H A Dwmi.c355 if (acpi_has_method(handle, wc_method)) wmi_query_block()
/linux-4.4.14/drivers/gpu/drm/nouveau/
H A Dnouveau_acpi.c224 if (!acpi_has_method(dhandle, "_DSM")) nouveau_dsm_pci_probe()
/linux-4.4.14/drivers/cpufreq/
H A Dpcc-cpufreq.c401 if (!acpi_has_method(handle, "PCCH")) pcc_cpufreq_probe()
H A Dintel_pstate.c1288 if (acpi_has_method(pr->handle, "_PPC")) for_each_possible_cpu()
/linux-4.4.14/include/acpi/
H A Dacpi_bus.h55 bool acpi_has_method(acpi_handle handle, char *name);
/linux-4.4.14/drivers/pci/
H A Dpci-acpi.c429 if (!adev || acpi_has_method(adev->handle, "_EJ0")) acpi_pci_set_power_state()

Completed in 504 milliseconds