Lines Matching refs:cmdlist

218 	struct g2d_cmdlist	*cmdlist;  member
298 node[nr].cmdlist = in g2d_init_cmdlist()
369 lnode->cmdlist->data[lnode->cmdlist->last] = node->dma_addr; in g2d_add_cmdlist_to_inuse()
686 struct g2d_cmdlist *cmdlist = node->cmdlist; in g2d_map_cmdlist_gem() local
699 reg_pos = cmdlist->last - 2 * (i + 1); in g2d_map_cmdlist_gem()
701 offset = cmdlist->data[reg_pos]; in g2d_map_cmdlist_gem()
702 handle = cmdlist->data[reg_pos + 1]; in g2d_map_cmdlist_gem()
757 cmdlist->data[reg_pos + 1] = *addr; in g2d_map_cmdlist_gem()
1027 struct g2d_cmdlist *cmdlist = node->cmdlist; in g2d_check_reg_offset() local
1038 index = cmdlist->last - 2 * (i + 1); in g2d_check_reg_offset()
1040 reg_offset = cmdlist->data[index] & ~0xfffff000; in g2d_check_reg_offset()
1059 if ((cmdlist->data[index] & ~0x7fffffff) >> 31) { in g2d_check_reg_offset()
1061 cmdlist->data[index] &= ~G2D_BUF_USERPTR; in g2d_check_reg_offset()
1073 buf_desc->stride = cmdlist->data[index + 1]; in g2d_check_reg_offset()
1083 value = cmdlist->data[index + 1]; in g2d_check_reg_offset()
1095 value = cmdlist->data[index + 1]; in g2d_check_reg_offset()
1108 value = cmdlist->data[index + 1]; in g2d_check_reg_offset()
1123 dev_err(g2d->dev, "Bad register offset: 0x%lx\n", cmdlist->data[index]); in g2d_check_reg_offset()
1149 struct g2d_cmdlist *cmdlist; in exynos_g2d_set_cmdlist_ioctl() local
1190 cmdlist = node->cmdlist; in exynos_g2d_set_cmdlist_ioctl()
1192 cmdlist->last = 0; in exynos_g2d_set_cmdlist_ioctl()
1201 cmdlist->data[cmdlist->last++] = G2D_SOFT_RESET; in exynos_g2d_set_cmdlist_ioctl()
1202 cmdlist->data[cmdlist->last++] = G2D_SFRCLEAR; in exynos_g2d_set_cmdlist_ioctl()
1203 cmdlist->data[cmdlist->last++] = G2D_SRC_BASE_ADDR; in exynos_g2d_set_cmdlist_ioctl()
1204 cmdlist->data[cmdlist->last++] = 0; in exynos_g2d_set_cmdlist_ioctl()
1216 cmdlist->data[cmdlist->last++] = G2D_INTEN; in exynos_g2d_set_cmdlist_ioctl()
1217 cmdlist->data[cmdlist->last++] = G2D_INTEN_ACF | G2D_INTEN_GCF; in exynos_g2d_set_cmdlist_ioctl()
1218 cmdlist->data[cmdlist->last++] = G2D_DMA_HOLD_CMD; in exynos_g2d_set_cmdlist_ioctl()
1219 cmdlist->data[cmdlist->last++] = G2D_LIST_HOLD; in exynos_g2d_set_cmdlist_ioctl()
1221 cmdlist->data[cmdlist->last++] = G2D_INTEN; in exynos_g2d_set_cmdlist_ioctl()
1222 cmdlist->data[cmdlist->last++] = G2D_INTEN_ACF; in exynos_g2d_set_cmdlist_ioctl()
1230 size = cmdlist->last + req->cmd_nr * 2 + req->cmd_buf_nr * 2 + 2; in exynos_g2d_set_cmdlist_ioctl()
1239 if (copy_from_user(cmdlist->data + cmdlist->last, in exynos_g2d_set_cmdlist_ioctl()
1245 cmdlist->last += req->cmd_nr * 2; in exynos_g2d_set_cmdlist_ioctl()
1258 if (copy_from_user(cmdlist->data + cmdlist->last, in exynos_g2d_set_cmdlist_ioctl()
1264 cmdlist->last += req->cmd_buf_nr * 2; in exynos_g2d_set_cmdlist_ioctl()
1275 cmdlist->data[cmdlist->last++] = G2D_BITBLT_START; in exynos_g2d_set_cmdlist_ioctl()
1276 cmdlist->data[cmdlist->last++] = G2D_START_BITBLT; in exynos_g2d_set_cmdlist_ioctl()
1279 cmdlist->head = cmdlist->last / 2; in exynos_g2d_set_cmdlist_ioctl()
1282 cmdlist->data[cmdlist->last] = 0; in exynos_g2d_set_cmdlist_ioctl()