Searched refs:acpi_device_dir (Results 1 – 4 of 4) sorted by relevance
202 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()
166 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()
982 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()
156 struct acpi_device_dir { struct160 #define acpi_device_dir(d) ((d)->dir.entry) argument270 struct acpi_device_dir dir;