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