Lines Matching refs:this_opt
294 get_opt_string(const char *this_opt, const char *name) in get_opt_string() argument
300 p = OPT_STRVAL(this_opt, name); in get_opt_string()
313 get_opt_bool(const char *this_opt, const char *name, int *ret) in get_opt_bool() argument
318 if (OPT_EQUAL(this_opt, name)) { in get_opt_bool()
319 if (this_opt[strlen(name)] == '=') in get_opt_bool()
320 *ret = simple_strtoul(this_opt + strlen(name) + 1, in get_opt_bool()
325 if (OPT_EQUAL(this_opt, "no") && OPT_EQUAL(this_opt + 2, name)) in get_opt_bool()
336 char *this_opt; in intelfb_setup() local
359 while ((this_opt = strsep(&options, ","))) { in intelfb_setup()
360 if (!*this_opt) in intelfb_setup()
362 if (get_opt_bool(this_opt, "accel", &accel)) in intelfb_setup()
364 else if (get_opt_bool(this_opt, "hwcursor", &hwcursor)) in intelfb_setup()
366 else if (get_opt_bool(this_opt, "fixed", &fixed)) in intelfb_setup()
368 else if (get_opt_bool(this_opt, "init", &noinit)) in intelfb_setup()
370 else if (OPT_EQUAL(this_opt, "font=")) in intelfb_setup()
371 font = get_opt_string(this_opt, "font="); in intelfb_setup()
372 else if (OPT_EQUAL(this_opt, "mode=")) in intelfb_setup()
373 mode = get_opt_string(this_opt, "mode="); in intelfb_setup()
375 mode = this_opt; in intelfb_setup()