Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/acpi/
Dac.c202 if (!acpi_device_dir(device)) { in acpi_ac_add_fs()
203 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_ac_add_fs()
205 if (!acpi_device_dir(device)) in acpi_ac_add_fs()
211 S_IRUGO, acpi_device_dir(device), in acpi_ac_add_fs()
221 if (acpi_device_dir(device)) { in acpi_ac_remove_fs()
222 remove_proc_entry(ACPI_AC_FILE_STATE, acpi_device_dir(device)); in acpi_ac_remove_fs()
225 acpi_device_dir(device) = NULL; in acpi_ac_remove_fs()
Dbutton.c166 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), acpi_lid_dir); in acpi_button_add_fs()
167 if (!acpi_device_dir(device)) { in acpi_button_add_fs()
174 S_IRUGO, acpi_device_dir(device), in acpi_button_add_fs()
187 acpi_device_dir(device) = NULL; in acpi_button_add_fs()
203 acpi_device_dir(device)); in acpi_button_remove_fs()
206 acpi_device_dir(device) = NULL; in acpi_button_remove_fs()
Dbattery.c982 if (!acpi_device_dir(device)) { in acpi_battery_add_fs()
983 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_battery_add_fs()
985 if (!acpi_device_dir(device)) in acpi_battery_add_fs()
992 acpi_device_dir(device), in acpi_battery_add_fs()
1004 if (!acpi_device_dir(device)) in acpi_battery_remove_fs()
1008 acpi_device_dir(device)); in acpi_battery_remove_fs()
1011 acpi_device_dir(device) = NULL; in acpi_battery_remove_fs()
/linux-3.4.99/include/acpi/
Dacpi_bus.h156 struct acpi_device_dir { struct
160 #define acpi_device_dir(d) ((d)->dir.entry) argument
270 struct acpi_device_dir dir;