Lines Matching refs:this_opt
1813 char *this_opt;
1818 while ((this_opt = strsep(&options, ",")) != NULL) {
1819 if (!*this_opt) continue;
1821 if (!strcmp(this_opt, "redraw"))
1823 else if (!strcmp(this_opt, "ypan"))
1825 else if (!strcmp(this_opt, "ywrap"))
1827 else if (!strcmp(this_opt, "vgapal"))
1829 else if (!strcmp(this_opt, "pmipal"))
1831 else if (!strncmp(this_opt, "mtrr:", 5))
1832 mtrr = simple_strtoul(this_opt+5, NULL, 0);
1833 else if (!strcmp(this_opt, "nomtrr"))
1835 else if (!strcmp(this_opt, "nocrtc"))
1837 else if (!strcmp(this_opt, "noedid"))
1839 else if (!strcmp(this_opt, "noblank"))
1841 else if (!strncmp(this_opt, "vtotal:", 7))
1842 vram_total = simple_strtoul(this_opt + 7, NULL, 0);
1843 else if (!strncmp(this_opt, "vremap:", 7))
1844 vram_remap = simple_strtoul(this_opt + 7, NULL, 0);
1845 else if (!strncmp(this_opt, "maxhf:", 6))
1846 maxhf = simple_strtoul(this_opt + 6, NULL, 0);
1847 else if (!strncmp(this_opt, "maxvf:", 6))
1848 maxvf = simple_strtoul(this_opt + 6, NULL, 0);
1849 else if (!strncmp(this_opt, "maxclk:", 7))
1850 maxclk = simple_strtoul(this_opt + 7, NULL, 0);
1851 else if (!strncmp(this_opt, "vbemode:", 8))
1852 vbemode = simple_strtoul(this_opt + 8, NULL, 0);
1853 else if (this_opt[0] >= '0' && this_opt[0] <= '9') {
1854 mode_option = this_opt;
1856 pr_warn("unrecognized option %s\n", this_opt);