Searched refs:lastreg (Results 1 – 2 of 2) sorted by relevance
378 static int lastreg = -1; in dafb_setpalette() local390 if (regno != lastreg+1) { in dafb_setpalette()416 lastreg = regno; in dafb_setpalette()582 static int lastreg = -1; in civic_setpalette() local663 lastreg = regno; in civic_setpalette()
329 int reg, lastreg; in qc_detect() local333 lastreg = reg = read_lpstatus(q) & 0xf0; in qc_detect()338 if (reg != lastreg) in qc_detect()340 lastreg = reg; in qc_detect()