Lines Matching refs:str
93 void __init acpi_osi_setup(char *str) in acpi_osi_setup() argument
102 if (str == NULL || *str == '\0') { in acpi_osi_setup()
108 if (*str == '!') { in acpi_osi_setup()
109 str++; in acpi_osi_setup()
110 if (*str == '\0') { in acpi_osi_setup()
116 } else if (*str == '*') { in acpi_osi_setup()
123 } else if (*str == '!') { in acpi_osi_setup()
132 if (!strcmp(osi->string, str)) { in acpi_osi_setup()
137 strncpy(osi->string, str, OSI_STRING_LENGTH_MAX); in acpi_osi_setup()
219 char *str; in acpi_osi_setup_late() local
234 str = osi->string; in acpi_osi_setup_late()
235 if (*str == '\0') in acpi_osi_setup_late()
238 status = acpi_install_interface(str); in acpi_osi_setup_late()
240 pr_info("Added _OSI(%s)\n", str); in acpi_osi_setup_late()
242 status = acpi_remove_interface(str); in acpi_osi_setup_late()
244 pr_info("Deleted _OSI(%s)\n", str); in acpi_osi_setup_late()
249 static int __init osi_setup(char *str) in osi_setup() argument
251 if (str && !strcmp("Linux", str)) in osi_setup()
253 else if (str && !strcmp("!Linux", str)) in osi_setup()
255 else if (str && !strcmp("Darwin", str)) in osi_setup()
257 else if (str && !strcmp("!Darwin", str)) in osi_setup()
260 acpi_osi_setup(str); in osi_setup()