Lines Matching refs:next_interface
151 struct acpi_interface_info *next_interface; in acpi_ut_interface_terminate() local
158 next_interface = acpi_gbl_supported_interfaces; in acpi_ut_interface_terminate()
159 while (next_interface) { in acpi_ut_interface_terminate()
160 acpi_gbl_supported_interfaces = next_interface->next; in acpi_ut_interface_terminate()
162 if (next_interface->flags & ACPI_OSI_DYNAMIC) { in acpi_ut_interface_terminate()
166 ACPI_FREE(next_interface->name); in acpi_ut_interface_terminate()
167 ACPI_FREE(next_interface); in acpi_ut_interface_terminate()
171 if (next_interface->flags & ACPI_OSI_DEFAULT_INVALID) { in acpi_ut_interface_terminate()
172 next_interface->flags |= ACPI_OSI_INVALID; in acpi_ut_interface_terminate()
174 next_interface->flags &= ~ACPI_OSI_INVALID; in acpi_ut_interface_terminate()
178 next_interface = acpi_gbl_supported_interfaces; in acpi_ut_interface_terminate()
242 struct acpi_interface_info *next_interface; in acpi_ut_remove_interface() local
244 previous_interface = next_interface = acpi_gbl_supported_interfaces; in acpi_ut_remove_interface()
245 while (next_interface) { in acpi_ut_remove_interface()
246 if (!strcmp(interface_name, next_interface->name)) { in acpi_ut_remove_interface()
251 if (next_interface->flags & ACPI_OSI_DYNAMIC) { in acpi_ut_remove_interface()
255 if (previous_interface == next_interface) { in acpi_ut_remove_interface()
257 next_interface->next; in acpi_ut_remove_interface()
260 next_interface->next; in acpi_ut_remove_interface()
263 ACPI_FREE(next_interface->name); in acpi_ut_remove_interface()
264 ACPI_FREE(next_interface); in acpi_ut_remove_interface()
270 if (next_interface->flags & ACPI_OSI_INVALID) { in acpi_ut_remove_interface()
274 next_interface->flags |= ACPI_OSI_INVALID; in acpi_ut_remove_interface()
280 previous_interface = next_interface; in acpi_ut_remove_interface()
281 next_interface = next_interface->next; in acpi_ut_remove_interface()
306 struct acpi_interface_info *next_interface; in acpi_ut_update_interfaces() local
308 next_interface = acpi_gbl_supported_interfaces; in acpi_ut_update_interfaces()
309 while (next_interface) { in acpi_ut_update_interfaces()
310 if (((next_interface->flags & ACPI_OSI_FEATURE) && in acpi_ut_update_interfaces()
312 (!(next_interface->flags & ACPI_OSI_FEATURE) && in acpi_ut_update_interfaces()
318 next_interface->flags |= ACPI_OSI_INVALID; in acpi_ut_update_interfaces()
322 next_interface->flags &= ~ACPI_OSI_INVALID; in acpi_ut_update_interfaces()
326 next_interface = next_interface->next; in acpi_ut_update_interfaces()
347 struct acpi_interface_info *next_interface; in acpi_ut_get_interface() local
349 next_interface = acpi_gbl_supported_interfaces; in acpi_ut_get_interface()
350 while (next_interface) { in acpi_ut_get_interface()
351 if (!strcmp(interface_name, next_interface->name)) { in acpi_ut_get_interface()
352 return (next_interface); in acpi_ut_get_interface()
355 next_interface = next_interface->next; in acpi_ut_get_interface()