Lines Matching refs:col
137 * @col: new column
139 static void set_cursor_position(struct udevice *dev, int row, int col)
148 if (col >= priv->cols)
149 col = priv->cols - 1;
151 vidconsole_position_cursor(dev, col, row);
159 * @col: column
162 int *row, int *col)
165 *col = VID_TO_PIXEL(priv->xcur_frac - priv->xstart_frac) /
196 int col = priv->col_saved;
198 set_cursor_position(dev, row, col);
232 int row, col, num;
244 get_cursor_position(priv, &row, &col);
248 col += num;
250 col -= num;
254 col = 0;
255 if (col < 0)
256 col = 0;
260 set_cursor_position(dev, row, col);
265 int row, col;
274 s = parsenum(s, &col);
281 if (col)
282 --col;
284 set_cursor_position(dev, row, col);
332 int row, col;
334 get_cursor_position(priv, &row, &col);
791 void vidconsole_position_cursor(struct udevice *dev, unsigned col, unsigned row)
798 x = min_t(short, col * priv->x_charsize, vid_priv->xsize - 1);