Lines Matching defs:this_opt
1808 char *this_opt;
1813 while ((this_opt = strsep(&options, ",")) != NULL) {
1814 if (!*this_opt) continue;
1816 if (!strcmp(this_opt, "redraw"))
1818 else if (!strcmp(this_opt, "ypan"))
1820 else if (!strcmp(this_opt, "ywrap"))
1822 else if (!strcmp(this_opt, "vgapal"))
1824 else if (!strcmp(this_opt, "pmipal"))
1826 else if (!strncmp(this_opt, "mtrr:", 5))
1827 mtrr = simple_strtoul(this_opt+5, NULL, 0);
1828 else if (!strcmp(this_opt, "nomtrr"))
1830 else if (!strcmp(this_opt, "nocrtc"))
1832 else if (!strcmp(this_opt, "noedid"))
1834 else if (!strcmp(this_opt, "noblank"))
1836 else if (!strncmp(this_opt, "vtotal:", 7))
1837 vram_total = simple_strtoul(this_opt + 7, NULL, 0);
1838 else if (!strncmp(this_opt, "vremap:", 7))
1839 vram_remap = simple_strtoul(this_opt + 7, NULL, 0);
1840 else if (!strncmp(this_opt, "maxhf:", 6))
1841 maxhf = simple_strtoul(this_opt + 6, NULL, 0);
1842 else if (!strncmp(this_opt, "maxvf:", 6))
1843 maxvf = simple_strtoul(this_opt + 6, NULL, 0);
1844 else if (!strncmp(this_opt, "maxclk:", 7))
1845 maxclk = simple_strtoul(this_opt + 7, NULL, 0);
1846 else if (!strncmp(this_opt, "vbemode:", 8))
1847 vbemode = simple_strtoul(this_opt + 8, NULL, 0);
1848 else if (this_opt[0] >= '0' && this_opt[0] <= '9') {
1849 mode_option = this_opt;
1851 pr_warn("unrecognized option %s\n", this_opt);