Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel-rst.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()
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 …]
Dpanasonic-laptop.c353 struct acpi_device *acpi = to_acpi_device(dev); in show_numbatt()
365 struct acpi_device *acpi = to_acpi_device(dev); in show_lcdtype()
377 struct acpi_device *acpi = to_acpi_device(dev); in show_mute()
389 struct acpi_device *acpi = to_acpi_device(dev); in show_sticky()
401 struct acpi_device *acpi = to_acpi_device(dev); in set_sticky()
527 pcc = acpi_driver_data(to_acpi_device(dev)); in acpi_pcc_hotkey_resume()
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()
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.c217 haps = acpi_driver_data(to_acpi_device(device)); in toshiba_haps_suspend()
230 haps = acpi_driver_data(to_acpi_device(device)); in toshiba_haps_resume()
Dsurfacepro3_button.c134 struct acpi_device *device = to_acpi_device(dev); in surface_button_suspend()
143 struct acpi_device *device = to_acpi_device(dev); in surface_button_resume()
Dxo15-ebook.c78 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()
/kernel/linux/linux-5.10/drivers/acpi/
Ddevice_sysfs.c330 return __acpi_device_modalias(to_acpi_device(dev), buf, 1024); in modalias_show()
337 struct acpi_device *adev = to_acpi_device(dev); in real_power_state_show()
353 struct acpi_device *adev = to_acpi_device(dev); in power_state_show()
364 struct acpi_device *acpi_device = to_acpi_device(d); in eject_store()
395 struct acpi_device *acpi_dev = to_acpi_device(dev); in hid_show()
404 struct acpi_device *acpi_dev = to_acpi_device(dev); in uid_show()
413 struct acpi_device *acpi_dev = to_acpi_device(dev); in adr_show()
425 struct acpi_device *acpi_dev = to_acpi_device(dev); in path_show()
435 struct acpi_device *acpi_dev = to_acpi_device(dev); in description_show()
460 struct acpi_device *acpi_dev = to_acpi_device(dev); in sun_show()
[all …]
Dbus.c889 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_bus_match()
898 return __acpi_device_uevent_modalias(to_acpi_device(dev), env); in acpi_device_uevent()
903 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_probe()
942 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_remove()
Dbutton.c446 struct acpi_device *device = to_acpi_device(dev); in acpi_button_suspend()
455 struct acpi_device *device = to_acpi_device(dev); in acpi_button_resume()
Dac.c323 ac = acpi_driver_data(to_acpi_device(dev)); in acpi_ac_resume()
Dutils.c788 struct acpi_device *adev = to_acpi_device(dev); in acpi_dev_match_cb()
869 return dev ? to_acpi_device(dev) : NULL; in acpi_dev_get_first_match_dev()
Dec.c1993 acpi_driver_data(to_acpi_device(dev)); in acpi_ec_suspend()
2002 struct acpi_ec *ec = acpi_driver_data(to_acpi_device(dev)); in acpi_ec_suspend_noirq()
2019 struct acpi_ec *ec = acpi_driver_data(to_acpi_device(dev)); in acpi_ec_resume_noirq()
2033 acpi_driver_data(to_acpi_device(dev)); in acpi_ec_resume()
Dpower.c876 struct acpi_device *device = to_acpi_device(dev); in acpi_release_power_resource()
895 resource = to_power_resource(to_acpi_device(dev)); in resource_in_use_show()
/kernel/linux/linux-5.10/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()
201 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_cap()
214 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_cap()
288 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_trip()
339 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_power()
355 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_str()
387 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_val()
442 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_accuracy()
933 resource = acpi_driver_data(to_acpi_device(dev)); in acpi_power_meter_resume()
/kernel/linux/linux-5.10/drivers/firmware/efi/
Ddev-path-parser.c23 struct acpi_device *adev = to_acpi_device(dev); in match_acpi_dev()
55 phys_dev = acpi_get_first_physical_node(to_acpi_device(*child)); in parse_acpi_path()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dpci.c77 struct acpi_device *adev = to_acpi_device(cfg->parent); in acpi_pci_bus_find_domain_nr()
87 struct acpi_device *adev = to_acpi_device(cfg->parent); in pcibios_root_bridge_prepare()
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dchromeos_tbmc.c43 struct acpi_device *adev = to_acpi_device(dev); in chromeos_tbmc_resume()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-hisi.c74 struct acpi_device *adev = to_acpi_device(dev); in hisi_pcie_init()
Dpcie-al.c46 struct acpi_device *adev = to_acpi_device(dev); in al_pcie_init()
/kernel/linux/linux-5.10/drivers/bus/
Dhisi_lpc.c408 host = to_acpi_device(hostdev); in hisi_lpc_acpi_set_io_res()
409 adev = to_acpi_device(child); in hisi_lpc_acpi_set_io_res()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-thunder-pem.c375 struct acpi_device *adev = to_acpi_device(dev); in thunder_pem_acpi_init()
Dpci-xgene.c229 struct acpi_device *adev = to_acpi_device(dev); in xgene_pcie_ecam_init()

12