Lines Matching defs:last
483 long first = 0, last = -1;
492 first = last = strtol(str, &str, 10);
497 last = strtol(str, &str, 10);
514 if (first > last) {
515 fprintf(stderr, "amd: invalid AMD_CU_MASK: range not increasing (%li, %li)\n", first, last);
519 if (last > 31) {
520 fprintf(stderr, "amd: invalid AMD_CU_MASK: index too large (%li)\n", last);
525 spi_cu_en |= BITFIELD_RANGE(first, last - first + 1);
526 last = -1;
554 /* We usually disable 1 or 2 CUs for VS and GS, which means at last 1 other CU