• Home
  • Raw
  • Download

Lines Matching refs:this_opt

273 	char *this_opt;  in grvga_parse_custom()  local
278 while ((this_opt = strsep(&options, " ")) != NULL) { in grvga_parse_custom()
279 if (!*this_opt) in grvga_parse_custom()
284 screendata->pixclock = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
288 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
292 screendata->right_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
296 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
300 screendata->left_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
304 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
308 screendata->lower_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
312 screendata->vsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
316 screendata->upper_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
320 screendata->bits_per_pixel = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
364 char *this_opt = strsep(&options, ","); in grvga_probe() local
366 if (!this_opt) in grvga_probe()
369 if (!strncmp(this_opt, "custom", 6)) { in grvga_probe()
370 if (grvga_parse_custom(this_opt, &info->var) < 0) { in grvga_probe()
371 dev_err(&dev->dev, "Failed to parse custom mode (%s).\n", this_opt); in grvga_probe()
375 } else if (!strncmp(this_opt, "addr", 4)) in grvga_probe()
376 grvga_fix_addr = simple_strtoul(this_opt + 5, NULL, 16); in grvga_probe()
377 else if (!strncmp(this_opt, "size", 4)) in grvga_probe()
378 grvga_mem_size = simple_strtoul(this_opt + 5, NULL, 0); in grvga_probe()
380 mode_opt = this_opt; in grvga_probe()