Lines Matching refs:this_opt
265 char *this_opt; in grvga_parse_custom() local
270 while ((this_opt = strsep(&options, " ")) != NULL) { in grvga_parse_custom()
271 if (!*this_opt) in grvga_parse_custom()
276 screendata->pixclock = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
280 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
284 screendata->right_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
288 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
292 screendata->left_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
296 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
300 screendata->lower_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
304 screendata->vsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
308 screendata->upper_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
312 screendata->bits_per_pixel = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
354 char *this_opt = strsep(&options, ","); in grvga_probe() local
356 if (!this_opt) in grvga_probe()
359 if (!strncmp(this_opt, "custom", 6)) { in grvga_probe()
360 if (grvga_parse_custom(this_opt, &info->var) < 0) { in grvga_probe()
361 dev_err(&dev->dev, "Failed to parse custom mode (%s).\n", this_opt); in grvga_probe()
365 } else if (!strncmp(this_opt, "addr", 4)) in grvga_probe()
366 grvga_fix_addr = simple_strtoul(this_opt + 5, NULL, 16); in grvga_probe()
367 else if (!strncmp(this_opt, "size", 4)) in grvga_probe()
368 grvga_mem_size = simple_strtoul(this_opt + 5, NULL, 0); in grvga_probe()
370 mode_opt = this_opt; in grvga_probe()