Home
last modified time | relevance | path

Searched refs:acpi_device_dir (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/drivers/acpi/
Dfan.c149 if (!acpi_device_dir(device)) { in acpi_fan_add_fs()
150 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_fan_add_fs()
152 if (!acpi_device_dir(device)) in acpi_fan_add_fs()
154 acpi_device_dir(device)->owner = THIS_MODULE; in acpi_fan_add_fs()
159 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_fan_add_fs()
181 if (acpi_device_dir(device)) { in acpi_fan_remove_fs()
183 acpi_device_dir(device)); in acpi_fan_remove_fs()
185 acpi_device_dir(device) = NULL; in acpi_fan_remove_fs()
Dac.c154 if (!acpi_device_dir(device)) { in acpi_ac_add_fs()
155 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_ac_add_fs()
157 if (!acpi_device_dir(device)) in acpi_ac_add_fs()
159 acpi_device_dir(device)->owner = THIS_MODULE; in acpi_ac_add_fs()
164 S_IRUGO, acpi_device_dir(device)); in acpi_ac_add_fs()
185 if (acpi_device_dir(device)) { in acpi_ac_remove_fs()
187 acpi_device_dir(device)); in acpi_ac_remove_fs()
189 acpi_device_dir(device) = NULL; in acpi_ac_remove_fs()
Dbutton.c179 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), entry); in acpi_button_add_fs()
180 if (!acpi_device_dir(device)) in acpi_button_add_fs()
182 acpi_device_dir(device)->owner = THIS_MODULE; in acpi_button_add_fs()
186 S_IRUGO, acpi_device_dir(device)); in acpi_button_add_fs()
200 S_IRUGO, acpi_device_dir(device)); in acpi_button_add_fs()
225 if (acpi_device_dir(device)) { in acpi_button_remove_fs()
228 acpi_device_dir(device)); in acpi_button_remove_fs()
230 acpi_device_dir(device)); in acpi_button_remove_fs()
233 acpi_device_dir(device)->parent); in acpi_button_remove_fs()
251 acpi_device_dir(device) = NULL; in acpi_button_remove_fs()
Dbattery.c611 if (!acpi_device_dir(device)) { in acpi_battery_add_fs()
612 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_battery_add_fs()
614 if (!acpi_device_dir(device)) in acpi_battery_add_fs()
616 acpi_device_dir(device)->owner = THIS_MODULE; in acpi_battery_add_fs()
621 S_IRUGO, acpi_device_dir(device)); in acpi_battery_add_fs()
634 S_IRUGO, acpi_device_dir(device)); in acpi_battery_add_fs()
647 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_battery_add_fs()
669 if (acpi_device_dir(device)) { in acpi_battery_remove_fs()
671 acpi_device_dir(device)); in acpi_battery_remove_fs()
673 acpi_device_dir(device)); in acpi_battery_remove_fs()
[all …]
Dsystem.c1072 S_IRUGO, acpi_device_dir(device)); in acpi_system_add_fs()
1084 S_IRUSR, acpi_device_dir(device)); in acpi_system_add_fs()
1094 S_IRUSR, acpi_device_dir(device)); in acpi_system_add_fs()
1104 S_IRUSR, acpi_device_dir(device)); in acpi_system_add_fs()
1116 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_system_add_fs()
1129 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_system_add_fs()
1146 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_system_add_fs()
1159 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_system_add_fs()
1185 remove_proc_entry(ACPI_SYSTEM_FILE_INFO, acpi_device_dir(device)); in acpi_system_remove_fs()
1186 remove_proc_entry(ACPI_SYSTEM_FILE_DSDT, acpi_device_dir(device)); in acpi_system_remove_fs()
[all …]
Dpower.c442 if (!acpi_device_dir(device)) { in acpi_power_add_fs()
443 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_power_add_fs()
445 if (!acpi_device_dir(device)) in acpi_power_add_fs()
451 S_IRUGO, acpi_device_dir(device)); in acpi_power_add_fs()
471 if (acpi_device_dir(device)) { in acpi_power_remove_fs()
473 acpi_device_dir(device)); in acpi_power_remove_fs()
475 acpi_device_dir(device) = NULL; in acpi_power_remove_fs()
Dthermal.c1056 if (!acpi_device_dir(device)) { in acpi_thermal_add_fs()
1057 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_thermal_add_fs()
1059 if (!acpi_device_dir(device)) in acpi_thermal_add_fs()
1061 acpi_device_dir(device)->owner = THIS_MODULE; in acpi_thermal_add_fs()
1066 S_IRUGO, acpi_device_dir(device)); in acpi_thermal_add_fs()
1079 S_IRUGO, acpi_device_dir(device)); in acpi_thermal_add_fs()
1092 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_thermal_add_fs()
1106 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_thermal_add_fs()
1120 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_thermal_add_fs()
1142 if (acpi_device_dir(device)) { in acpi_thermal_remove_fs()
[all …]
Dasus_acpi.c807 struct proc_dir_entry *proc = create_proc_entry(name, mode, acpi_device_dir(device)); in asus_proc_add()
839 acpi_device_dir(device) = asus_proc_dir; in asus_hotk_add_fs()
840 if (!acpi_device_dir(device)) in asus_hotk_add_fs()
843 proc = create_proc_entry(PROC_INFO, mode, acpi_device_dir(device)); in asus_hotk_add_fs()
892 if(acpi_device_dir(device)){ in asus_hotk_remove_fs()
893 remove_proc_entry(PROC_INFO,acpi_device_dir(device)); in asus_hotk_remove_fs()
895 remove_proc_entry(PROC_WLED,acpi_device_dir(device)); in asus_hotk_remove_fs()
897 remove_proc_entry(PROC_MLED,acpi_device_dir(device)); in asus_hotk_remove_fs()
899 remove_proc_entry(PROC_TLED,acpi_device_dir(device)); in asus_hotk_remove_fs()
901 remove_proc_entry(PROC_LCD, acpi_device_dir(device)); in asus_hotk_remove_fs()
[all …]
Dec.c522 if (!acpi_device_dir(device)) { in acpi_ec_add_fs()
523 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_ec_add_fs()
525 if (!acpi_device_dir(device)) in acpi_ec_add_fs()
530 acpi_device_dir(device), acpi_ec_read_info, in acpi_ec_add_fs()
547 if (acpi_device_dir(device)) { in acpi_ec_remove_fs()
548 remove_proc_entry(ACPI_EC_FILE_INFO, acpi_device_dir(device)); in acpi_ec_remove_fs()
550 acpi_device_dir(device) = NULL; in acpi_ec_remove_fs()
Dprocessor.c2008 if (!acpi_device_dir(device)) { in acpi_processor_add_fs()
2009 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_processor_add_fs()
2011 if (!acpi_device_dir(device)) in acpi_processor_add_fs()
2014 acpi_device_dir(device)->owner = THIS_MODULE; in acpi_processor_add_fs()
2018 S_IRUGO, acpi_device_dir(device)); in acpi_processor_add_fs()
2031 S_IRUGO, acpi_device_dir(device)); in acpi_processor_add_fs()
2044 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_processor_add_fs()
2058 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_processor_add_fs()
2072 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_processor_add_fs()
2094 if (acpi_device_dir(device)) { in acpi_processor_remove_fs()
[all …]
Dbus.c1980 acpi_device_dir(acpi_root) = proc_mkdir(ACPI_BUS_FILE_ROOT, NULL); in acpi_bus_init()
1985 acpi_root_dir = acpi_device_dir(acpi_root); in acpi_bus_init()
/linux-2.4.37.9/include/acpi/
Dacpi_bus.h169 struct acpi_device_dir { struct
173 #define acpi_device_dir(d) ((d)->dir.entry) macro
269 struct acpi_device_dir dir;