Lines Matching refs:LINEAR
313 /* convert coordinates into linear offset */
314 #define LINEAR(x, y) ((y * spx_xsize) + x)
316 /* Linear pixel address */
324 /* Recalculate absolute pixel address from linear address */
325 #define SPXg_ADDR(linear) spxaddr[((((linear) % SPXg_WIN_LINEAR) / 4) * 8) + \
326 (((linear) % SPXg_WIN_LINEAR) % 4)]
471 SPX_REG(SPX_DSTPIX) = temp + LINEAR(dxpos, dypos);
472 SPX_REG(SPX_SRCPIX) = temp + LINEAR(sxpos, sypos);
503 SPXg_REG(SPX_DSTPIX) = temp + LINEAR(dxpos, dypos); spxg_delay();
505 SPXg_REG(SPX_SRCPIX) = temp + LINEAR(sxpos, sypos); spxg_delay();
558 SPX_REG(SPX_DSTPIX) = temp + LINEAR(xpos, ypos);
583 SPXg_REG(SPX_DSTPIX) = temp + LINEAR(xpos, ypos); spxg_delay();
760 SPX_REG(SPX_DSTPIX) = temp + LINEAR(col * spx_font.fontwidth,
803 SPXg_REG(SPX_DSTPIX) = temp + LINEAR(col * spx_font.fontwidth,