Lines Matching defs:mode
32 // Return the current DPMS mode.
35 // the current DPMS mode. I'm assuming that reading back the bits that
36 // were set by function SET_DPMS_MODE will give the current DPMS mode.
39 uint32 mode = B_DPMS_ON;
44 mode = B_DPMS_ON;
47 mode = B_DPMS_STAND_BY;
50 mode = B_DPMS_SUSPEND;
53 mode = B_DPMS_OFF;
56 TRACE("Unknown DPMS mode, reg sr0D: 0x%X\n", ReadSeqReg(0x0d));
59 mode = ((ReadSeqReg(0x31) & 0x10) ? B_DPMS_ON : B_DPMS_OFF);
62 TRACE("Savage_GetDPMSMode() mode: %d\n", mode);
63 return mode;
75 TRACE("Savage_SetDPMSMode() mode: %d, display type: %d\n", dpmsMode, si.displayType);
95 TRACE("Invalid DPMS mode %d\n", dpmsMode);
111 TRACE("Invalid DPMS mode %d\n", dpmsMode);