Lines Matching refs:ver
48 uint32_t ver;
391 ver_in_range(int ver, int min_ver, int max_ver)
393 return ((min_ver == 0 || ver >= min_ver) &&
394 (max_ver == 0 || ver <= max_ver));
400 if (!ctx->parse_skip_depth && !ver_in_range(ctx->devinfo->ver,
415 const char *ver = NULL;
427 ver = atts[i + 1];
438 if (ver == NULL)
439 fail(&ctx->loc, "no ver given");
443 assert(ver_in_range(ctx->devinfo->ver, min_ver, max_ver));
446 int n = sscanf(ver, "%d.%d", &major, &minor);
448 fail(&ctx->loc, "invalid ver given: %s", ver);
452 ctx->spec->ver = major * 10 + minor;
636 if (genxml_files_table[i].ver_10 <= devinfo->ver) {
643 fprintf(stderr, "unable to find gen (%u) data\n", devinfo->ver);