Lines Matching refs:image

973  * Copies a cursor image from user space to the proper place in driver
974 * memory so that the hardware can display the cursor image.
988 * is 24x24, then the first three bytes of 'image' contain the pixel data for
989 * the top line of the cursor. We do a 32-bit read of 'image', but we look
990 * only at the top 24 bits. Then we increment 'image' by 3 bytes. The next
992 * 'image' by 1-3 bytes, but that should not cause any problems.
995 const void *image, uint16_t bg, uint16_t fg,
1007 uint32_t line = be32_to_cpup(image);
1015 image += DIV_ROUND_UP(width, 8);
1020 * Set a hardware cursor. The image data for the cursor is passed via the
1029 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
1037 * all the image data, in expectation of new data. However,
1044 /* The cursor position has changed (cursor->image.dx|dy) */
1048 yy = (cursor->image.dy - info->var.yoffset) & 0x7ff;
1049 xx = (cursor->image.dx - info->var.xoffset) & 0x7ff;
1055 * FB_CUR_SETIMAGE - the cursor image has changed
1061 * Determine the size of the cursor image data. Normally,
1065 DIV_ROUND_UP(cursor->image.width, 8) *
1066 cursor->image.height;
1069 unsigned int bg_idx = cursor->image.bg_color;
1070 unsigned int fg_idx = cursor->image.fg_color;
1071 uint32_t *image, *source, *mask;
1089 image = (uint32_t *)data->next_cursor;
1090 source = (uint32_t *)cursor->image.data;
1095 image[i] = source[i] ^ mask[i];
1098 image[i] = source[i] & mask[i];
1100 fsl_diu_load_cursor_image(info, image, bg, fg,
1101 cursor->image.width, cursor->image.height);