Lines Matching refs:this_opt
1925 char *this_opt;
1936 while ((this_opt = strsep(&options, ",")) != NULL) {
1937 if (!*this_opt)
1940 if (!strncmp(this_opt, "viafb_mode1=", 12)) {
1941 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL);
1942 } else if (!strncmp(this_opt, "viafb_mode=", 11)) {
1943 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL);
1944 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) {
1945 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0)
1947 } else if (!strncmp(this_opt, "viafb_bpp=", 10)) {
1948 if (kstrtouint(this_opt + 10, 0, &viafb_bpp) < 0)
1950 } else if (!strncmp(this_opt, "viafb_refresh1=", 15)) {
1951 if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0)
1953 } else if (!strncmp(this_opt, "viafb_refresh=", 14)) {
1954 if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0)
1956 } else if (!strncmp(this_opt, "viafb_lcd_dsp_method=", 21)) {
1957 if (kstrtoint(this_opt + 21, 0,
1960 } else if (!strncmp(this_opt, "viafb_lcd_panel_id=", 19)) {
1961 if (kstrtoint(this_opt + 19, 0,
1964 } else if (!strncmp(this_opt, "viafb_accel=", 12)) {
1965 if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0)
1967 } else if (!strncmp(this_opt, "viafb_SAMM_ON=", 14)) {
1968 if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0)
1970 } else if (!strncmp(this_opt, "viafb_active_dev=", 17)) {
1971 viafb_active_dev = kstrdup(this_opt + 17, GFP_KERNEL);
1972 } else if (!strncmp(this_opt,
1974 if (kstrtoint(this_opt + 30, 0,
1977 } else if (!strncmp(this_opt, "viafb_second_size=", 18)) {
1978 if (kstrtoint(this_opt + 18, 0, &viafb_second_size) < 0)
1980 } else if (!strncmp(this_opt,
1982 if (kstrtoint(this_opt + 24, 0,
1985 } else if (!strncmp(this_opt,
1987 if (kstrtoint(this_opt + 26, 0,
1990 } else if (!strncmp(this_opt, "viafb_bus_width=", 16)) {
1991 if (kstrtoint(this_opt + 16, 0, &viafb_bus_width) < 0)
1993 } else if (!strncmp(this_opt, "viafb_lcd_mode=", 15)) {
1994 if (kstrtoint(this_opt + 15, 0, &viafb_lcd_mode) < 0)
1996 } else if (!strncmp(this_opt, "viafb_lcd_port=", 15)) {
1997 viafb_lcd_port = kstrdup(this_opt + 15, GFP_KERNEL);
1998 } else if (!strncmp(this_opt, "viafb_dvi_port=", 15)) {
1999 viafb_dvi_port = kstrdup(this_opt + 15, GFP_KERNEL);