Lines Matching refs:mdp
388 const struct mousedata *mdp; in vga_setmdp() local
437 mdp = mdpp[best_i]; in vga_setmdp()
438 scp->mouse_data = mdp; in vga_setmdp()
602 const struct mousedata *mdp; in draw_txtmouse() local
612 mdp = scp->mouse_data; in draw_txtmouse()
635 border = mdp->md_border[i] << 8; /* avoid right shifting out */ in draw_txtmouse()
636 interior = mdp->md_interior[i] << 8; in draw_txtmouse()
1182 const struct mousedata *mdp; in draw_pxlmouse_planar() local
1191 mdp = scp->mouse_data; in draw_pxlmouse_planar()
1194 ymax = imin(y + mdp->md_height, scp->ypixel); in draw_pxlmouse_planar()
1207 m = mdp->md_border[j] << 8 >> xoff; in draw_pxlmouse_planar()
1226 m = mdp->md_interior[j] << 8 >> xoff; in draw_pxlmouse_planar()
1253 const struct mousedata *mdp; in remove_pxlmouse_planar() local
1257 mdp = scp->mouse_data; in remove_pxlmouse_planar()
1265 xend = imin(x + mdp->md_width, scp->xpixel); in remove_pxlmouse_planar()
1266 yend = imin(y + mdp->md_height, scp->ypixel); in remove_pxlmouse_planar()
1290 const struct mousedata *mdp; in vga_pxlmouse_direct() local
1296 mdp = scp->mouse_data; in vga_pxlmouse_direct()
1302 xend = imin(x + mdp->md_width, scp->xpixel); in vga_pxlmouse_direct()
1303 yend = imin(y + mdp->md_height, scp->ypixel); in vga_pxlmouse_direct()
1326 if (mdp->md_interior[i] & (1 << (15 - j))) in vga_pxlmouse_direct()
1329 else if (mdp->md_border[i] & (1 << (15 - j))) in vga_pxlmouse_direct()