Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/platform/x86/
Dintel-rst.c35 acpi = to_acpi_device(dev); in irst_show_wakeup_events()
53 acpi = to_acpi_device(dev); in irst_store_wakeup_events()
81 acpi = to_acpi_device(dev); in irst_show_wakeup_time()
99 acpi = to_acpi_device(dev); in irst_store_wakeup_time()
Dclassmate-laptop.c222 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_show_v4()
239 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_store_v4()
271 acpi = to_acpi_device(dev); in cmpc_accel_g_select_show_v4()
288 acpi = to_acpi_device(dev); in cmpc_accel_g_select_store_v4()
317 acpi = to_acpi_device(input->dev.parent); in cmpc_accel_open_v4()
335 acpi = to_acpi_device(input->dev.parent); in cmpc_accel_close_v4()
362 return cmpc_stop_accel_v4(to_acpi_device(dev)->handle); in cmpc_accel_suspend_v4()
376 cmpc_accel_set_sensitivity_v4(to_acpi_device(dev)->handle, in cmpc_accel_resume_v4()
378 cmpc_accel_set_g_select_v4(to_acpi_device(dev)->handle, in cmpc_accel_resume_v4()
381 if (ACPI_FAILURE(cmpc_start_accel_v4(to_acpi_device(dev)->handle))) in cmpc_accel_resume_v4()
[all …]
Dpanasonic-laptop.c366 struct acpi_device *acpi = to_acpi_device(dev); in show_numbatt()
378 struct acpi_device *acpi = to_acpi_device(dev); in show_lcdtype()
390 struct acpi_device *acpi = to_acpi_device(dev); in show_mute()
402 struct acpi_device *acpi = to_acpi_device(dev); in show_sticky()
414 struct acpi_device *acpi = to_acpi_device(dev); in set_sticky()
540 pcc = acpi_driver_data(to_acpi_device(dev)); in acpi_pcc_hotkey_resume()
Ddell-rbtn.c260 struct acpi_device *device = to_acpi_device(dev); in rbtn_suspend()
270 struct acpi_device *device = to_acpi_device(dev); in rbtn_resume()
318 struct acpi_device *device = to_acpi_device(dev); in rbtn_inc_count()
330 struct acpi_device *device = to_acpi_device(dev); in rbtn_switch_dev()
Dfujitsu-laptop.c596 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in logolamp_set()
615 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in logolamp_get()
632 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in kblamps_set()
644 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in kblamps_get()
657 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in radio_led_set()
669 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in radio_led_get()
681 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in eco_led_set()
695 struct acpi_device *device = to_acpi_device(cdev->dev->parent); in eco_led_get()
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()
Dtoshiba_haps.c227 haps = acpi_driver_data(to_acpi_device(device)); in toshiba_haps_suspend()
240 haps = acpi_driver_data(to_acpi_device(device)); in toshiba_haps_resume()
Dxo15-ebook.c82 return ebook_send_state(to_acpi_device(dev)); in ebook_switch_resume()
Dtoshiba_bluetooth.c226 bt_dev = acpi_driver_data(to_acpi_device(dev)); in toshiba_bt_resume()
/Linux-v4.19/drivers/acpi/
Ddevice_sysfs.c342 return __acpi_device_modalias(to_acpi_device(dev), buf, 1024); in acpi_device_modalias_show()
349 struct acpi_device *adev = to_acpi_device(dev); in real_power_state_show()
365 struct acpi_device *adev = to_acpi_device(dev); in power_state_show()
376 struct acpi_device *acpi_device = to_acpi_device(d); in acpi_eject_store()
407 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_hid_show()
416 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_uid_show()
425 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_adr_show()
435 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_path_show()
445 struct acpi_device *acpi_dev = to_acpi_device(dev); in description_show()
470 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_sun_show()
[all …]
Dbus.c883 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_bus_match()
892 return __acpi_device_uevent_modalias(to_acpi_device(dev), env); in acpi_device_uevent()
897 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_probe()
936 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()
Dpower.c735 struct acpi_device *device = to_acpi_device(dev); in acpi_release_power_resource()
753 resource = to_power_resource(to_acpi_device(dev)); in acpi_power_in_use_show()
Dec.c1917 acpi_driver_data(to_acpi_device(dev)); in acpi_ec_suspend()
1926 struct acpi_ec *ec = acpi_driver_data(to_acpi_device(dev)); in acpi_ec_suspend_noirq()
1944 struct acpi_ec *ec = acpi_driver_data(to_acpi_device(dev)); in acpi_ec_resume_noirq()
1959 acpi_driver_data(to_acpi_device(dev)); in acpi_ec_resume()
Dac.c405 ac = acpi_driver_data(to_acpi_device(dev)); in acpi_ac_resume()
Dutils.c749 struct acpi_device *adev = to_acpi_device(dev); in acpi_dev_match_cb()
/Linux-v4.19/drivers/hwmon/
Dacpi_power_meter.c142 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_avg_interval()
156 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_avg_interval()
214 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_cap()
227 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_cap()
301 struct acpi_device *acpi_dev = to_acpi_device(dev); in set_trip()
352 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_power()
368 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_str()
397 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_val()
452 struct acpi_device *acpi_dev = to_acpi_device(dev); in show_accuracy()
944 resource = acpi_driver_data(to_acpi_device(dev)); in acpi_power_meter_resume()
/Linux-v4.19/drivers/firmware/efi/
Ddev-path-parser.c30 struct acpi_device *adev = to_acpi_device(dev); in match_acpi_dev()
62 phys_dev = acpi_get_first_physical_node(to_acpi_device(*child)); in parse_acpi_path()
/Linux-v4.19/arch/arm64/kernel/
Dpci.c81 struct acpi_device *adev = to_acpi_device(cfg->parent); in acpi_pci_bus_find_domain_nr()
91 struct acpi_device *adev = to_acpi_device(cfg->parent); in pcibios_root_bridge_prepare()
/Linux-v4.19/drivers/platform/chrome/
Dchromeos_tbmc.c43 struct acpi_device *adev = to_acpi_device(dev); in chromeos_tbmc_resume()
/Linux-v4.19/drivers/bus/
Dhisi_lpc.c389 host = to_acpi_device(hostdev); in hisi_lpc_acpi_set_io_res()
390 adev = to_acpi_device(child); in hisi_lpc_acpi_set_io_res()
/Linux-v4.19/drivers/pci/controller/dwc/
Dpcie-hisi.c79 struct acpi_device *adev = to_acpi_device(dev); in hisi_pcie_init()
/Linux-v4.19/drivers/pci/controller/
Dpci-thunder-pem.c373 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()
/Linux-v4.19/include/acpi/
Dacpi_bus.h457 #define to_acpi_device(d) container_of(d, struct acpi_device, dev) macro

12