Lines Matching refs:this_opt

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