Lines Matching +full:device +full:- +full:width

1 /* SPDX-License-Identifier: GPL-2.0+ */
41 * struct vidconsole_priv - uclass-private data about a console device
46 * @sdev: stdio device, acting as an output sink
51 * @x_charsize: Character width in pixels
53 * @tab_width_frac: Tab width in fractional units
54 * @xsize_frac: Width of the display in fractional units
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
98 * @dev: Device to write to
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
112 * @dev: Device to adjust
116 * @return 0 if OK, -ve on error
122 * set_row() - Set the colour of a text row
126 * @dev: Device to adjust
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
160 /* Get a pointer to the driver operations for a video console device */
161 #define vidconsole_get_ops(dev) ((struct vidconsole_ops *)(dev)->driver->ops)
164 * vidconsole_putc_xy() - write a single character to a position
166 * @dev: Device to write to
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
180 * @dev: Device to adjust
184 * @return 0 if OK, -ve on error
190 * vidconsole_set_row() - Set the colour of a text row
194 * @dev: Device to adjust
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
211 * @dev: Device to adjust
213 * @return 0 if OK, -ve on error
218 * vidconsole_position_cursor() - Move the text cursor
220 * @dev: Device to adjust
223 * @return 0 if OK, -ve on error
231 * vid_console_color() - convert a color code to a pixel's internal
237 * @priv private data of the console device