Lines Matching refs:optstr

2089     char *optstr;
2104 optstr = (char *)xf86GetOptValString(info->Options, OPTION_TVSTD);
2105 if (optstr) {
2106 if (!strncmp("ntsc", optstr, strlen("ntsc")))
2108 else if (!strncmp("pal", optstr, strlen("pal")))
2110 else if (!strncmp("pal-m", optstr, strlen("pal-m")))
2112 else if (!strncmp("pal-60", optstr, strlen("pal-60")))
2114 else if (!strncmp("ntsc-j", optstr, strlen("ntsc-j")))
2116 else if (!strncmp("scart-pal", optstr, strlen("scart-pal")))
2119 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Invalid TV Standard: %s\n", optstr);
2979 char *optstr;
3003 optstr = (char *)xf86GetOptValString(info->Options, OPTION_MAC_MODEL);
3004 if (optstr) {
3005 if (!strncmp("ibook", optstr, strlen("ibook")))
3007 else if (!strncmp("powerbook-duallink", optstr, strlen("powerbook-duallink"))) /* alias */
3009 else if (!strncmp("powerbook-external", optstr, strlen("powerbook-external")))
3011 else if (!strncmp("powerbook-internal", optstr, strlen("powerbook-internal")))
3013 else if (!strncmp("powerbook-vga", optstr, strlen("powerbook-vga")))
3015 else if (!strncmp("powerbook", optstr, strlen("powerbook"))) /* alias */
3017 else if (!strncmp("mini-internal", optstr, strlen("mini-internal")))
3019 else if (!strncmp("mini-external", optstr, strlen("mini-external")))
3021 else if (!strncmp("mini", optstr, strlen("mini"))) /* alias */
3023 else if (!strncmp("imac-g5-isight", optstr, strlen("imac-g5-isight")))
3025 else if (!strncmp("emac", optstr, strlen("emac")))
3027 else if (!strncmp("sam440ep", optstr, strlen("sam440ep")))
3030 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Invalid Mac Model: %s\n", optstr);
3051 optstr = (char *)xf86GetOptValString(info->Options, OPTION_CONNECTORTABLE);
3053 if (optstr) {
3061 if (sscanf(optstr, "%u,%u,%u,%u,%u,%u,%u,%u",
3070 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Invalid ConnectorTable option: %s\n", optstr);