Lines Matching defs:str
249 static int __init intel_iommu_setup(char *str)
251 if (!str)
254 while (*str) {
255 if (!strncmp(str, "on", 2)) {
258 } else if (!strncmp(str, "off", 3)) {
262 } else if (!strncmp(str, "igfx_off", 8)) {
265 } else if (!strncmp(str, "forcedac", 8)) {
268 } else if (!strncmp(str, "strict", 6)) {
271 } else if (!strncmp(str, "sp_off", 6)) {
274 } else if (!strncmp(str, "sm_on", 5)) {
277 } else if (!strncmp(str, "sm_off", 6)) {
280 } else if (!strncmp(str, "tboot_noforce", 13)) {
284 pr_notice("Unknown option - '%s'\n", str);
287 str += strcspn(str, ",");
288 while (*str == ',')
289 str++;