Lines Matching defs:mode
48 * Validate a target display mode is both
49 * a) a valid display mode for this device and
52 * If the mode is not (or cannot) be made valid for this device, return B_ERROR.
53 * If a valid mode can be constructed, but it does not fall within the limits,
55 * If the mode is both valid AND falls within the limits, return B_OK.
61 ET6000DisplayMode mode;
63 mode.magic = ET6000_PRIVATE_DATA_MAGIC;
64 mode.mode = *target;
65 mode.memSize = si->memSize;
67 return ioctl(fd, ET6000_PROPOSE_DISPLAY_MODE, &mode, sizeof(mode));
103 create_area("ET6000 accelerant mode info", (void **)&et6000ModesList,
128 /* ask for a compatible mode */
130 /* count it, and move on to next mode */
135 /* advance to next mode */