Lines Matching refs:str
99 void __init acpi_osi_setup(char *str) in acpi_osi_setup() argument
108 if (str == NULL || *str == '\0') { in acpi_osi_setup()
114 if (*str == '!') { in acpi_osi_setup()
115 str++; in acpi_osi_setup()
116 if (*str == '\0') { in acpi_osi_setup()
122 } else if (*str == '*') { in acpi_osi_setup()
129 } else if (*str == '!') { in acpi_osi_setup()
138 if (!strcmp(osi->string, str)) { in acpi_osi_setup()
143 strncpy(osi->string, str, OSI_STRING_LENGTH_MAX); in acpi_osi_setup()
225 char *str; in acpi_osi_setup_late() local
240 str = osi->string; in acpi_osi_setup_late()
241 if (*str == '\0') in acpi_osi_setup_late()
244 status = acpi_install_interface(str); in acpi_osi_setup_late()
246 pr_info("Added _OSI(%s)\n", str); in acpi_osi_setup_late()
248 status = acpi_remove_interface(str); in acpi_osi_setup_late()
250 pr_info("Deleted _OSI(%s)\n", str); in acpi_osi_setup_late()
255 static int __init osi_setup(char *str) in osi_setup() argument
257 if (str && !strcmp("Linux", str)) in osi_setup()
259 else if (str && !strcmp("!Linux", str)) in osi_setup()
261 else if (str && !strcmp("Darwin", str)) in osi_setup()
263 else if (str && !strcmp("!Darwin", str)) in osi_setup()
266 acpi_osi_setup(str); in osi_setup()