• Home
  • Raw
  • Download

Lines Matching refs:cursor

379 	__le16 cursor[MAX_CURS * MAX_CURS] __aligned(32);  member
445 hw->pallete, hw->cursor, hw->curs_pos, hw->diu_mode, in fsl_diu_dump()
1000 __le16 *cursor = data->cursor; in fsl_diu_load_cursor_image() local
1010 cursor[w] = (line & mask) ? _fg : _bg; in fsl_diu_load_cursor_image()
1014 cursor += MAX_CURS; in fsl_diu_load_cursor_image()
1023 static int fsl_diu_cursor(struct fb_info *info, struct fb_cursor *cursor) in fsl_diu_cursor() argument
1029 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) in fsl_diu_cursor()
1033 if (cursor->set & FB_CUR_SETSIZE) { in fsl_diu_cursor()
1041 memset(data->cursor, 0, sizeof(data->cursor)); in fsl_diu_cursor()
1045 if (cursor->set & FB_CUR_SETPOS) { in fsl_diu_cursor()
1048 yy = (cursor->image.dy - info->var.yoffset) & 0x7ff; in fsl_diu_cursor()
1049 xx = (cursor->image.dx - info->var.xoffset) & 0x7ff; in fsl_diu_cursor()
1059 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETCMAP | FB_CUR_SETIMAGE)) { in fsl_diu_cursor()
1061 DIV_ROUND_UP(cursor->image.width, 8) * cursor->image.height; in fsl_diu_cursor()
1064 unsigned int bg_idx = cursor->image.bg_color; in fsl_diu_cursor()
1065 unsigned int fg_idx = cursor->image.fg_color; in fsl_diu_cursor()
1078 image_size = DIV_ROUND_UP(cursor->image.width, 8) * in fsl_diu_cursor()
1079 cursor->image.height; in fsl_diu_cursor()
1093 source = (uint32_t *)cursor->image.data; in fsl_diu_cursor()
1094 mask = (uint32_t *)cursor->mask; in fsl_diu_cursor()
1096 if (cursor->rop == ROP_XOR) in fsl_diu_cursor()
1104 cursor->image.width, cursor->image.height); in fsl_diu_cursor()
1114 if (cursor->enable) in fsl_diu_cursor()
1115 out_be32(&hw->cursor, DMA_ADDR(data, cursor)); in fsl_diu_cursor()
1117 out_be32(&hw->cursor, DMA_ADDR(data, blank_cursor)); in fsl_diu_cursor()