/Linux-v6.6/drivers/acpi/ |
D | device_sysfs.c | 337 return __acpi_device_modalias(to_acpi_device(dev), buf, 1024); in modalias_show() 344 struct acpi_device *adev = to_acpi_device(dev); in real_power_state_show() 360 struct acpi_device *adev = to_acpi_device(dev); in power_state_show() 371 struct acpi_device *acpi_device = to_acpi_device(d); in eject_store() 402 struct acpi_device *acpi_dev = to_acpi_device(dev); in hid_show() 411 struct acpi_device *acpi_dev = to_acpi_device(dev); in uid_show() 420 struct acpi_device *acpi_dev = to_acpi_device(dev); in adr_show() 432 struct acpi_device *acpi_dev = to_acpi_device(dev); in path_show() 443 struct acpi_device *acpi_dev = to_acpi_device(dev); in description_show() 469 struct acpi_device *acpi_dev = to_acpi_device(dev); in sun_show() [all …]
|
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()
|
D | button.c | 474 struct acpi_device *device = to_acpi_device(dev); in acpi_button_suspend() 483 struct acpi_device *device = to_acpi_device(dev); in acpi_button_resume()
|
D | ac.c | 284 ac = acpi_driver_data(to_acpi_device(dev)); in acpi_ac_resume()
|
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()
|
D | ec.c | 2006 acpi_driver_data(to_acpi_device(dev)); in acpi_ec_suspend() 2015 struct acpi_ec *ec = acpi_driver_data(to_acpi_device(dev)); in acpi_ec_suspend_noirq() 2032 struct acpi_ec *ec = acpi_driver_data(to_acpi_device(dev)); in acpi_ec_resume_noirq() 2046 acpi_driver_data(to_acpi_device(dev)); in acpi_ec_resume()
|
/Linux-v6.6/drivers/platform/x86/ |
D | panasonic-laptop.c | 505 struct acpi_device *acpi = to_acpi_device(dev); in numbatt_show() 517 struct acpi_device *acpi = to_acpi_device(dev); in lcdtype_show() 529 struct acpi_device *acpi = to_acpi_device(dev); in mute_show() 541 struct acpi_device *acpi = to_acpi_device(dev); in mute_store() 559 struct acpi_device *acpi = to_acpi_device(dev); in sticky_key_show() 571 struct acpi_device *acpi = to_acpi_device(dev); in sticky_key_store() 589 struct acpi_device *acpi = to_acpi_device(dev); in eco_mode_show() 613 struct acpi_device *acpi = to_acpi_device(dev); in eco_mode_store() 660 struct acpi_device *acpi = to_acpi_device(dev); in ac_brightness_show() 672 struct acpi_device *acpi = to_acpi_device(dev); in ac_brightness_store() [all …]
|
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() 349 return cmpc_stop_accel_v4(to_acpi_device(dev)->handle); in cmpc_accel_suspend_v4() 363 cmpc_accel_set_sensitivity_v4(to_acpi_device(dev)->handle, in cmpc_accel_resume_v4() 365 cmpc_accel_set_g_select_v4(to_acpi_device(dev)->handle, in cmpc_accel_resume_v4() 368 if (ACPI_FAILURE(cmpc_start_accel_v4(to_acpi_device(dev)->handle))) in cmpc_accel_resume_v4() [all …]
|
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()
|
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()
|
D | xo15-ebook.c | 76 return ebook_send_state(to_acpi_device(dev)); in ebook_switch_resume()
|
D | toshiba_bluetooth.c | 223 bt_dev = acpi_driver_data(to_acpi_device(dev)); in toshiba_bt_resume()
|
/Linux-v6.6/drivers/platform/x86/intel/ |
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()
|
/Linux-v6.6/drivers/hwmon/ |
D | acpi_power_meter.c | 129 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_avg_interval() 143 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_avg_interval() 203 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_cap() 216 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_cap() 292 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_trip() 344 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_power() 360 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_str() 392 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_val() 447 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_accuracy() 936 resource = acpi_driver_data(to_acpi_device(dev)); in acpi_power_meter_resume()
|
/Linux-v6.6/drivers/platform/chrome/ |
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()
|
D | chromeos_tbmc.c | 43 struct acpi_device *adev = to_acpi_device(dev); in chromeos_tbmc_resume()
|
/Linux-v6.6/drivers/platform/x86/dell/ |
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()
|
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()
|
/Linux-v6.6/drivers/platform/surface/ |
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()
|
/Linux-v6.6/arch/arm64/kernel/ |
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()
|
/Linux-v6.6/tools/testing/cxl/ |
D | mock_acpi.c | 24 adev = to_acpi_device(dev); in to_cxl_host_bridge()
|
/Linux-v6.6/drivers/usb/typec/ |
D | port-mapper.c | 41 struct acpi_device *adev = to_acpi_device(dev); in typec_port_match()
|
/Linux-v6.6/arch/loongarch/pci/ |
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()
|
/Linux-v6.6/include/acpi/ |
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() 803 return adev ? to_acpi_device(get_device(&adev->dev)) : NULL; in acpi_dev_get()
|
/Linux-v6.6/drivers/pci/controller/dwc/ |
D | pcie-hisi.c | 79 struct acpi_device *adev = to_acpi_device(dev); in hisi_pcie_init()
|