Lines Matching refs:str
1390 static int drm_mode_parse_cmdline_bpp(const char *str, char **end_ptr,
1395 if (str[0] != '-')
1398 str++;
1399 bpp = simple_strtol(str, end_ptr, 10);
1400 if (*end_ptr == str)
1409 static int drm_mode_parse_cmdline_refresh(const char *str, char **end_ptr,
1414 if (str[0] != '@')
1417 str++;
1418 refresh = simple_strtol(str, end_ptr, 10);
1419 if (*end_ptr == str)
1428 static int drm_mode_parse_cmdline_extra(const char *str, int length,
1436 switch (str[i]) {
1479 static int drm_mode_parse_cmdline_res_mode(const char *str, unsigned int length,
1484 const char *str_start = str;
1490 xres = simple_strtol(str, &end_ptr, 10);
1491 if (end_ptr == str)
1498 str = end_ptr;
1499 yres = simple_strtol(str, &end_ptr, 10);
1500 if (end_ptr == str)
1593 static int drm_mode_parse_cmdline_options(const char *str,
1601 option = str;