Lines Matching +full:set +full:- +full:top
1 /* SPDX-License-Identifier: GPL-2.0+ */
41 * struct vidconsole_priv - uclass-private data about a console device
43 * Drivers must set up @rows, @cols, @x_charsize, @y_charsize in their probe()
44 * method. Drivers may set up @xstart_frac if desired.
48 * @ycur: Current Y position in pixels (0=top)
60 * @row_saved: Saved Y position in pixels (0=top)
88 * struct vidconsole_ops - Video console operations
92 * of an entire line of text - typically 16 pixels).
96 * putc_xy() - write a single character to a position
99 * @x_frac: Fractional pixel X position (0=left-most pixel) which
101 * @y: Pixel Y position (0=top-most pixel)
104 * if all is OK, -EAGAIN if we ran out of space on this line, other -ve
110 * move_rows() - Move text rows from one place to another
113 * @rowdst: Destination text row (0=top)
116 * @return 0 if OK, -ve on error
122 * set_row() - Set the colour of a text row
127 * @row: Text row to adjust (0=top)
129 * @return 0 if OK, -ve on error
134 * entry_start() - Indicate that text entry is starting afresh
146 * backspace() - Handle erasing the last character
154 * If not implement, default behaviour will work for fixed-width
161 #define vidconsole_get_ops(dev) ((struct vidconsole_ops *)(dev)->driver->ops)
164 * vidconsole_putc_xy() - write a single character to a position
167 * @x_frac: Fractional pixel X position (0=left-most pixel) which
169 * @y: Pixel Y position (0=top-most pixel)
172 * if all is OK, -EAGAIN if we ran out of space on this line, other -ve
178 * vidconsole_move_rows() - Move text rows from one place to another
181 * @rowdst: Destination text row (0=top)
184 * @return 0 if OK, -ve on error
190 * vidconsole_set_row() - Set the colour of a text row
195 * @row: Text row to adjust (0=top)
197 * @return 0 if OK, -ve on error
202 * vidconsole_put_char() - Output a character to the current console position
208 * The device always starts with the cursor at position 0,0 (top left). It
213 * @return 0 if OK, -ve on error
218 * vidconsole_position_cursor() - Move the text cursor
223 * @return 0 if OK, -ve on error
231 * vid_console_color() - convert a color code to a pixel's internal