/openbmc/linux/drivers/platform/x86/intel/ |
H A D | rst.c | 20 acpi = to_acpi_device(dev); in irst_show_wakeup_events() 38 acpi = to_acpi_device(dev); in irst_store_wakeup_events() 64 acpi = to_acpi_device(dev); in irst_show_wakeup_time() 82 acpi = to_acpi_device(dev); in irst_store_wakeup_time()
|
/openbmc/linux/drivers/acpi/ |
H A D | device_sysfs.c | 346 struct acpi_device *adev = to_acpi_device(dev); in real_power_state_show() 362 struct acpi_device *adev = to_acpi_device(dev); in power_state_show() 373 struct acpi_device *acpi_device = to_acpi_device(d); in eject_store() 404 struct acpi_device *acpi_dev = to_acpi_device(dev); in hid_show() 413 struct acpi_device *acpi_dev = to_acpi_device(dev); in uid_show() 422 struct acpi_device *acpi_dev = to_acpi_device(dev); in adr_show() 434 struct acpi_device *acpi_dev = to_acpi_device(dev); in path_show() 445 struct acpi_device *acpi_dev = to_acpi_device(dev); in description_show() 471 struct acpi_device *acpi_dev = to_acpi_device(dev); in sun_show() 487 struct acpi_device *acpi_dev = to_acpi_device(dev); in hrv_show() [all …]
|
H A D | bus.c | 1007 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_bus_match() 1016 return __acpi_device_uevent_modalias(to_acpi_device(dev), env); in acpi_device_uevent() 1021 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_probe() 1060 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_remove() 1100 return adwc->fn(to_acpi_device(dev), adwc->data); in acpi_dev_for_one_check()
|
H A D | button.c | 485 struct acpi_device *device = to_acpi_device(dev); in acpi_button_suspend() 494 struct acpi_device *device = to_acpi_device(dev); in acpi_button_resume()
|
H A D | ac.c | 284 ac = acpi_driver_data(to_acpi_device(dev)); in acpi_ac_resume()
|
H A D | utils.c | 858 struct acpi_device *adev = to_acpi_device(dev); in acpi_dev_match_cb() 944 return dev ? to_acpi_device(dev) : NULL; in acpi_dev_get_next_match_dev()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | panasonic-laptop.c | 506 struct acpi_device *acpi = to_acpi_device(dev); in numbatt_show() 518 struct acpi_device *acpi = to_acpi_device(dev); in lcdtype_show() 530 struct acpi_device *acpi = to_acpi_device(dev); in mute_show() 542 struct acpi_device *acpi = to_acpi_device(dev); in mute_store() 560 struct acpi_device *acpi = to_acpi_device(dev); in sticky_key_show() 572 struct acpi_device *acpi = to_acpi_device(dev); in sticky_key_store() 590 struct acpi_device *acpi = to_acpi_device(dev); in eco_mode_show() 614 struct acpi_device *acpi = to_acpi_device(dev); in eco_mode_store() 661 struct acpi_device *acpi = to_acpi_device(dev); in ac_brightness_show() 673 struct acpi_device *acpi = to_acpi_device(dev); in ac_brightness_store() [all …]
|
H A D | classmate-laptop.c | 209 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_show_v4() 226 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_store_v4() 258 acpi = to_acpi_device(dev); in cmpc_accel_g_select_show_v4() 275 acpi = to_acpi_device(dev); in cmpc_accel_g_select_store_v4() 304 acpi = to_acpi_device(input->dev.parent); in cmpc_accel_open_v4() 322 acpi = to_acpi_device(input->dev.parent); in cmpc_accel_close_v4() 552 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_show() 569 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_store() 593 acpi = to_acpi_device(input->dev.parent); in cmpc_accel_open() 603 acpi = to_acpi_device(input->dev.parent); in cmpc_accel_close() [all …]
|
H A D | fujitsu-laptop.c | 583 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in logolamp_set() 602 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in logolamp_get() 619 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in kblamps_set() 631 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in kblamps_get() 644 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in radio_led_set() 656 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in radio_led_get() 668 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in eco_led_set() 682 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in eco_led_get()
|
H A D | toshiba_haps.c | 215 haps = acpi_driver_data(to_acpi_device(device)); in toshiba_haps_suspend() 228 haps = acpi_driver_data(to_acpi_device(device)); in toshiba_haps_resume()
|
H A D | xo15-ebook.c | 76 return ebook_send_state(to_acpi_device(dev)); in ebook_switch_resume()
|
H A D | toshiba_bluetooth.c | 223 bt_dev = acpi_driver_data(to_acpi_device(dev)); in toshiba_bt_resume()
|
/openbmc/linux/drivers/hwmon/ |
H A D | acpi_power_meter.c | 130 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_avg_interval() 144 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_avg_interval() 204 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_cap() 217 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_cap() 293 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_trip() 345 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_power() 364 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_str() 396 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_val() 451 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_accuracy() 940 resource = acpi_driver_data(to_acpi_device(dev)); in acpi_power_meter_resume()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | chromeos_privacy_screen.c | 39 handle = acpi_device_handle(to_acpi_device(privacy_screen)); in chromeos_privacy_screen_get_hw_state() 72 handle = acpi_device_handle(to_acpi_device(privacy_screen)); in chromeos_privacy_screen_set_sw_state()
|
H A D | chromeos_tbmc.c | 43 struct acpi_device *adev = to_acpi_device(dev); in chromeos_tbmc_resume()
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | dell-rbtn.c | 254 struct acpi_device *device = to_acpi_device(dev); in rbtn_suspend() 264 struct acpi_device *device = to_acpi_device(dev); in rbtn_resume() 312 struct acpi_device *device = to_acpi_device(dev); in rbtn_inc_count() 324 struct acpi_device *device = to_acpi_device(dev); in rbtn_switch_dev()
|
H A D | dell-wmi-ddv.c | 660 ret = dell_wmi_ddv_battery_index(to_acpi_device(dev->parent), &index); in temp_show() 679 ret = dell_wmi_ddv_battery_index(to_acpi_device(dev->parent), &index); in eppid_show() 705 ret = dell_wmi_ddv_battery_index(to_acpi_device(battery->dev.parent), &index); in dell_wmi_ddv_add_battery()
|
/openbmc/linux/drivers/platform/surface/ |
H A D | surfacepro3_button.c | 132 struct acpi_device *device = to_acpi_device(dev); in surface_button_suspend() 141 struct acpi_device *device = to_acpi_device(dev); in surface_button_resume()
|
/openbmc/linux/tools/testing/cxl/ |
H A D | mock_acpi.c | 24 adev = to_acpi_device(dev); in to_cxl_host_bridge()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | pci.c | 75 struct acpi_device *adev = to_acpi_device(cfg->parent); in acpi_pci_bus_find_domain_nr() 100 adev = to_acpi_device(cfg->parent); in pcibios_root_bridge_prepare()
|
/openbmc/linux/drivers/usb/typec/ |
H A D | port-mapper.c | 41 struct acpi_device *adev = to_acpi_device(dev); in typec_port_match()
|
/openbmc/linux/arch/loongarch/pci/ |
H A D | acpi.c | 34 adev = to_acpi_device(cfg->parent); in pcibios_root_bridge_prepare() 45 struct acpi_device *adev = to_acpi_device(cfg->parent); in acpi_pci_bus_find_domain_nr()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-hisi.c | 79 struct acpi_device *adev = to_acpi_device(dev); in hisi_pcie_init()
|
/openbmc/linux/include/acpi/ |
H A D | acpi_bus.h | 461 #define to_acpi_device(d) container_of(d, struct acpi_device, dev) macro 467 return to_acpi_device(adev->dev.parent); in acpi_dev_parent() 804 return adev ? to_acpi_device(get_device(&adev->dev)) : NULL; in acpi_dev_get()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pci-thunder-pem.c | 382 struct acpi_device *adev = to_acpi_device(dev); in thunder_pem_acpi_init()
|