Lines Matching refs:this_opt
1925 char *this_opt; in viafb_setup() local
1936 while ((this_opt = strsep(&options, ",")) != NULL) { in viafb_setup()
1937 if (!*this_opt) in viafb_setup()
1940 if (!strncmp(this_opt, "viafb_mode1=", 12)) { in viafb_setup()
1941 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL); in viafb_setup()
1944 } else if (!strncmp(this_opt, "viafb_mode=", 11)) { in viafb_setup()
1945 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); in viafb_setup()
1948 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { in viafb_setup()
1949 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0) in viafb_setup()
1951 } else if (!strncmp(this_opt, "viafb_bpp=", 10)) { in viafb_setup()
1952 if (kstrtouint(this_opt + 10, 0, &viafb_bpp) < 0) in viafb_setup()
1954 } else if (!strncmp(this_opt, "viafb_refresh1=", 15)) { in viafb_setup()
1955 if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0) in viafb_setup()
1957 } else if (!strncmp(this_opt, "viafb_refresh=", 14)) { in viafb_setup()
1958 if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0) in viafb_setup()
1960 } else if (!strncmp(this_opt, "viafb_lcd_dsp_method=", 21)) { in viafb_setup()
1961 if (kstrtoint(this_opt + 21, 0, in viafb_setup()
1964 } else if (!strncmp(this_opt, "viafb_lcd_panel_id=", 19)) { in viafb_setup()
1965 if (kstrtoint(this_opt + 19, 0, in viafb_setup()
1968 } else if (!strncmp(this_opt, "viafb_accel=", 12)) { in viafb_setup()
1969 if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0) in viafb_setup()
1971 } else if (!strncmp(this_opt, "viafb_SAMM_ON=", 14)) { in viafb_setup()
1972 if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0) in viafb_setup()
1974 } else if (!strncmp(this_opt, "viafb_active_dev=", 17)) { in viafb_setup()
1975 viafb_active_dev = kstrdup(this_opt + 17, GFP_KERNEL); in viafb_setup()
1978 } else if (!strncmp(this_opt, in viafb_setup()
1980 if (kstrtoint(this_opt + 30, 0, in viafb_setup()
1983 } else if (!strncmp(this_opt, "viafb_second_size=", 18)) { in viafb_setup()
1984 if (kstrtoint(this_opt + 18, 0, &viafb_second_size) < 0) in viafb_setup()
1986 } else if (!strncmp(this_opt, in viafb_setup()
1988 if (kstrtoint(this_opt + 24, 0, in viafb_setup()
1991 } else if (!strncmp(this_opt, in viafb_setup()
1993 if (kstrtoint(this_opt + 26, 0, in viafb_setup()
1996 } else if (!strncmp(this_opt, "viafb_bus_width=", 16)) { in viafb_setup()
1997 if (kstrtoint(this_opt + 16, 0, &viafb_bus_width) < 0) in viafb_setup()
1999 } else if (!strncmp(this_opt, "viafb_lcd_mode=", 15)) { in viafb_setup()
2000 if (kstrtoint(this_opt + 15, 0, &viafb_lcd_mode) < 0) in viafb_setup()
2002 } else if (!strncmp(this_opt, "viafb_lcd_port=", 15)) { in viafb_setup()
2003 viafb_lcd_port = kstrdup(this_opt + 15, GFP_KERNEL); in viafb_setup()
2006 } else if (!strncmp(this_opt, "viafb_dvi_port=", 15)) { in viafb_setup()
2007 viafb_dvi_port = kstrdup(this_opt + 15, GFP_KERNEL); in viafb_setup()