Lines Matching refs:this_opt
1852 static int parse_opt_mode(struct device *dev, const char *this_opt, in parse_opt_mode() argument
1855 const char *name = this_opt+5; in parse_opt_mode()
1910 static int parse_opt(struct device *dev, char *this_opt, in parse_opt() argument
1918 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt()
1919 video_mem_size = memparse(this_opt + 5, NULL); in parse_opt()
1920 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt()
1921 return parse_opt_mode(dev, this_opt, inf); in parse_opt()
1922 } else if (!strncmp(this_opt, "pixclock:", 9)) { in parse_opt()
1923 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0); in parse_opt()
1925 } else if (!strncmp(this_opt, "left:", 5)) { in parse_opt()
1926 mode->left_margin = simple_strtoul(this_opt+5, NULL, 0); in parse_opt()
1928 } else if (!strncmp(this_opt, "right:", 6)) { in parse_opt()
1929 mode->right_margin = simple_strtoul(this_opt+6, NULL, 0); in parse_opt()
1931 } else if (!strncmp(this_opt, "upper:", 6)) { in parse_opt()
1932 mode->upper_margin = simple_strtoul(this_opt+6, NULL, 0); in parse_opt()
1934 } else if (!strncmp(this_opt, "lower:", 6)) { in parse_opt()
1935 mode->lower_margin = simple_strtoul(this_opt+6, NULL, 0); in parse_opt()
1937 } else if (!strncmp(this_opt, "hsynclen:", 9)) { in parse_opt()
1938 mode->hsync_len = simple_strtoul(this_opt+9, NULL, 0); in parse_opt()
1940 } else if (!strncmp(this_opt, "vsynclen:", 9)) { in parse_opt()
1941 mode->vsync_len = simple_strtoul(this_opt+9, NULL, 0); in parse_opt()
1943 } else if (!strncmp(this_opt, "hsync:", 6)) { in parse_opt()
1944 if (simple_strtoul(this_opt+6, NULL, 0) == 0) { in parse_opt()
1951 } else if (!strncmp(this_opt, "vsync:", 6)) { in parse_opt()
1952 if (simple_strtoul(this_opt+6, NULL, 0) == 0) { in parse_opt()
1959 } else if (!strncmp(this_opt, "dpc:", 4)) { in parse_opt()
1960 if (simple_strtoul(this_opt+4, NULL, 0) == 0) { in parse_opt()
1967 } else if (!strncmp(this_opt, "outputen:", 9)) { in parse_opt()
1968 if (simple_strtoul(this_opt+9, NULL, 0) == 0) { in parse_opt()
1975 } else if (!strncmp(this_opt, "pixclockpol:", 12)) { in parse_opt()
1976 if (simple_strtoul(this_opt+12, NULL, 0) == 0) { in parse_opt()
1983 } else if (!strncmp(this_opt, "color", 5)) { in parse_opt()
1985 } else if (!strncmp(this_opt, "mono", 4)) { in parse_opt()
1987 } else if (!strncmp(this_opt, "active", 6)) { in parse_opt()
1989 } else if (!strncmp(this_opt, "passive", 7)) { in parse_opt()
1991 } else if (!strncmp(this_opt, "single", 6)) { in parse_opt()
1993 } else if (!strncmp(this_opt, "dual", 4)) { in parse_opt()
1995 } else if (!strncmp(this_opt, "4pix", 4)) { in parse_opt()
1997 } else if (!strncmp(this_opt, "8pix", 4)) { in parse_opt()
2000 dev_err(dev, "unknown option: %s\n", this_opt); in parse_opt()
2013 char *this_opt; in pxafb_parse_options() local
2022 while ((this_opt = strsep(&options, ",")) != NULL) { in pxafb_parse_options()
2023 ret = parse_opt(dev, this_opt, inf); in pxafb_parse_options()