Searched refs:acpi_driver_data (Results 1 – 14 of 14) sorted by relevance
153 if (!device || !acpi_driver_data(device)) in acpi_button_add_fs()156 button = acpi_driver_data(device); in acpi_button_add_fs()193 entry->data = acpi_driver_data(device); in acpi_button_add_fs()207 entry->data = acpi_driver_data(device); in acpi_button_add_fs()224 button = acpi_driver_data(device); in acpi_button_remove_fs()330 acpi_driver_data(device) = button; in acpi_button_add()464 if (!device || !acpi_driver_data(device)) in acpi_button_remove()467 button = acpi_driver_data(device); in acpi_button_remove()
167 entry->data = acpi_driver_data(device); in acpi_fan_add_fs()217 acpi_driver_data(device) = fan; in acpi_fan_add()251 if (!device || !acpi_driver_data(device)) in acpi_fan_remove()254 fan = (struct acpi_fan *) acpi_driver_data(device); in acpi_fan_remove()
171 entry->data = acpi_driver_data(device); in acpi_ac_add_fs()253 acpi_driver_data(device) = ac; in acpi_ac_add()296 if (!device || !acpi_driver_data(device)) in acpi_ac_remove()299 ac = (struct acpi_ac *) acpi_driver_data(device); in acpi_ac_remove()
250 ec = acpi_driver_data(first_ec); in ec_read()271 ec = acpi_driver_data(first_ec); in ec_write()531 acpi_driver_data(device)); in acpi_ec_add_fs()585 acpi_driver_data(device) = ec; in acpi_ec_add()643 ec = acpi_driver_data(device); in acpi_ec_remove()699 ec = acpi_driver_data(device); in acpi_ec_start()754 ec = acpi_driver_data(device); in acpi_ec_stop()
92 *resource = (struct acpi_power_resource *) acpi_driver_data(device); in acpi_power_get_context()458 entry->data = acpi_driver_data(device); in acpi_power_add_fs()510 acpi_driver_data(device) = resource; in acpi_power_add()561 if (!device || !acpi_driver_data(device)) in acpi_power_remove()564 resource = (struct acpi_power_resource *) acpi_driver_data(device); in acpi_power_remove()
173 acpi_driver_data(device) = root; in acpi_pci_root_add()320 if (!device || !acpi_driver_data(device)) in acpi_pci_root_remove()323 root = (struct acpi_pci_root *) acpi_driver_data(device); in acpi_pci_root_remove()
628 entry->data = acpi_driver_data(device); in acpi_battery_add_fs()641 entry->data = acpi_driver_data(device); in acpi_battery_add_fs()655 entry->data = acpi_driver_data(device); in acpi_battery_add_fs()742 acpi_driver_data(device) = battery; in acpi_battery_add()785 if (!device || !acpi_driver_data(device)) in acpi_battery_remove()788 battery = (struct acpi_battery *) acpi_driver_data(device); in acpi_battery_remove()
814 proc->data = acpi_driver_data(device); in asus_proc_add()824 struct asus_hotk *hotk = acpi_driver_data(device); in asus_hotk_add_fs()846 proc->data = acpi_driver_data(device); in asus_hotk_add_fs()890 struct asus_hotk* hotk = acpi_driver_data(device); in asus_hotk_remove_fs()1113 acpi_driver_data(device) = hotk; in asus_hotk_add()1164 if (!device || !acpi_driver_data(device)) in asus_hotk_remove()1167 hotk = (struct asus_hotk *) acpi_driver_data(device); in asus_hotk_remove()
1079 entry->data = acpi_driver_data(device); in acpi_system_add_fs()1124 entry->data = acpi_driver_data(device); in acpi_system_add_fs()1137 entry->data = acpi_driver_data(device); in acpi_system_add_fs()1256 acpi_driver_data(device) = system; in acpi_system_add()1309 if (!device || !acpi_driver_data(device)) in acpi_system_remove()1312 system = (struct acpi_system *) acpi_driver_data(device); in acpi_system_remove()
594 link = (struct acpi_pci_link *) acpi_driver_data(device); in acpi_pci_link_get_irq()647 acpi_driver_data(device) = link; in acpi_pci_link_add()701 if (!device || !acpi_driver_data(device)) in acpi_pci_link_remove()704 link = (struct acpi_pci_link *) acpi_driver_data(device); in acpi_pci_link_remove()
1073 entry->data = acpi_driver_data(device); in acpi_thermal_add_fs()1086 entry->data = acpi_driver_data(device); in acpi_thermal_add_fs()1100 entry->data = acpi_driver_data(device); in acpi_thermal_add_fs()1114 entry->data = acpi_driver_data(device); in acpi_thermal_add_fs()1128 entry->data = acpi_driver_data(device); in acpi_thermal_add_fs()1269 acpi_driver_data(device) = tz; in acpi_thermal_add()1316 if (!device || !acpi_driver_data(device)) in acpi_thermal_remove()1319 tz = (struct acpi_thermal *) acpi_driver_data(device); in acpi_thermal_remove()
1504 pr = (struct acpi_processor *) acpi_driver_data(device); in acpi_processor_set_thermal_limit()2025 entry->data = acpi_driver_data(device); in acpi_processor_add_fs()2038 entry->data = acpi_driver_data(device); in acpi_processor_add_fs()2052 entry->data = acpi_driver_data(device); in acpi_processor_add_fs()2066 entry->data = acpi_driver_data(device); in acpi_processor_add_fs()2080 entry->data = acpi_driver_data(device); in acpi_processor_add_fs()2257 acpi_driver_data(device) = pr; in acpi_processor_add()2319 if (!device || !acpi_driver_data(device)) in acpi_processor_remove()2322 pr = (struct acpi_processor *) acpi_driver_data(device); in acpi_processor_remove()
1040 acpi_driver_data(device) = NULL; in acpi_bus_driver_init()1155 acpi_driver_data(device) = NULL; in acpi_bus_unattach()
278 #define acpi_driver_data(d) ((d)->driver_data) macro