Lines Matching refs:disp
791 uint8_t b, *disp, red, grn, blu;
803 disp = efb_draw->image;
816 /* disp is 00rrggbb */
817 disp++;
818 red = *disp++;
819 grn = *disp++;
820 blu = *disp++;
832 b = *disp++;
1117 efb_chk_disp_params(efb_private_t *efb_priv, struct vis_consdisplay *disp)
1119 if ((disp->row > efb_priv->h[efb_priv->consinfo.stream]) ||
1120 (disp->col > efb_priv->w[efb_priv->consinfo.stream]))
1123 if (((uint_t)disp->row + disp->height) >
1125 int d = (disp->row + disp->height) -
1127 if (d < disp->height)
1128 disp->height -= d;
1133 if (((uint_t)disp->col + disp->width) >
1135 int d = (disp->col + disp->width) -
1137 if (d < disp->width)
1138 disp->width -= d;
1154 efb_chk_cursor_params(efb_private_t *efb_priv, struct vis_conscursor *disp)
1156 if ((disp->row > efb_priv->h[efb_priv->consinfo.stream]) ||
1157 (disp->col > efb_priv->w[efb_priv->consinfo.stream]))
1160 if (((uint_t)disp->row + disp->height) >
1164 if (((uint_t)disp->col + disp->width) >
1175 efb_chk_copy_params(efb_private_t *efb_priv, struct vis_conscopy *disp)
1180 if ((0 > disp->e_col) || (disp->e_col > efb_priv->w[s]) ||
1181 (0 > disp->s_col) || (disp->s_col > efb_priv->w[s]) ||
1182 (0 > disp->t_col) || (disp->t_col > efb_priv->w[s]))
1185 width = disp->e_col - disp->s_col;
1186 height = disp->e_row - disp->s_row;
1192 if ((disp->t_row + height) > efb_priv->h[s])