Lines Matching defs:this_opt
268 char *this_opt;
273 while ((this_opt = strsep(&options, " ")) != NULL) {
274 if (!*this_opt)
279 screendata->pixclock = simple_strtoul(this_opt, NULL, 0);
283 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0);
287 screendata->right_margin = simple_strtoul(this_opt, NULL, 0);
291 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0);
295 screendata->left_margin = simple_strtoul(this_opt, NULL, 0);
299 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0);
303 screendata->lower_margin = simple_strtoul(this_opt, NULL, 0);
307 screendata->vsync_len = simple_strtoul(this_opt, NULL, 0);
311 screendata->upper_margin = simple_strtoul(this_opt, NULL, 0);
315 screendata->bits_per_pixel = simple_strtoul(this_opt, NULL, 0);
357 char *this_opt = strsep(&options, ",");
359 if (!this_opt)
362 if (!strncmp(this_opt, "custom", 6)) {
363 if (grvga_parse_custom(this_opt, &info->var) < 0) {
364 dev_err(&dev->dev, "Failed to parse custom mode (%s).\n", this_opt);
368 } else if (!strncmp(this_opt, "addr", 4))
369 grvga_fix_addr = simple_strtoul(this_opt + 5, NULL, 16);
370 else if (!strncmp(this_opt, "size", 4))
371 grvga_mem_size = simple_strtoul(this_opt + 5, NULL, 0);
373 mode_opt = this_opt;