Home
last modified time | relevance | path

Searched refs:to_acpi_device (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v6.6/drivers/acpi/
Ddevice_sysfs.c337 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 …]
Dbus.c1007 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()
Dbutton.c474 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()
Dac.c284 ac = acpi_driver_data(to_acpi_device(dev)); in acpi_ac_resume()
Dutils.c858 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()
Dec.c2006 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/
Dpanasonic-laptop.c505 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 …]
Dclassmate-laptop.c209 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 …]
Dfujitsu-laptop.c583 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()
Dtoshiba_haps.c215 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()
Dxo15-ebook.c76 return ebook_send_state(to_acpi_device(dev)); in ebook_switch_resume()
Dtoshiba_bluetooth.c223 bt_dev = acpi_driver_data(to_acpi_device(dev)); in toshiba_bt_resume()
/Linux-v6.6/drivers/platform/x86/intel/
Drst.c20 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/
Dacpi_power_meter.c129 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/
Dchromeos_privacy_screen.c39 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()
Dchromeos_tbmc.c43 struct acpi_device *adev = to_acpi_device(dev); in chromeos_tbmc_resume()
/Linux-v6.6/drivers/platform/x86/dell/
Ddell-rbtn.c254 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()
Ddell-wmi-ddv.c660 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/
Dsurfacepro3_button.c132 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/
Dpci.c75 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/
Dmock_acpi.c24 adev = to_acpi_device(dev); in to_cxl_host_bridge()
/Linux-v6.6/drivers/usb/typec/
Dport-mapper.c41 struct acpi_device *adev = to_acpi_device(dev); in typec_port_match()
/Linux-v6.6/arch/loongarch/pci/
Dacpi.c34 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/
Dacpi_bus.h461 #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/
Dpcie-hisi.c79 struct acpi_device *adev = to_acpi_device(dev); in hisi_pcie_init()

12