Lines Matching defs:buf_info
205 struct g2d_buf_info buf_info;
255 struct g2d_buf_info *buf_info;
284 buf_info = &node[nr].buf_info;
286 buf_info->reg_types[i] = REG_TYPE_NONE;
693 struct g2d_buf_info *buf_info = &node->buf_info;
698 for (i = 0; i < buf_info->map_nr; i++) {
716 buf_desc = &buf_info->descs[reg_type];
718 if (buf_info->types[reg_type] == BUF_TYPE_GEM) {
766 buf_info->reg_types[i] = reg_type;
767 buf_info->handles[reg_type] = handle;
773 buf_info->map_nr = i;
782 struct g2d_buf_info *buf_info = &node->buf_info;
785 for (i = 0; i < buf_info->map_nr; i++) {
790 reg_type = buf_info->reg_types[i];
792 buf_desc = &buf_info->descs[reg_type];
793 handle = buf_info->handles[reg_type];
795 if (buf_info->types[reg_type] == BUF_TYPE_GEM)
802 buf_info->reg_types[i] = REG_TYPE_NONE;
803 buf_info->handles[reg_type] = 0;
804 buf_info->types[reg_type] = 0;
808 buf_info->map_nr = 0;
952 struct g2d_buf_info *buf_info = &node->buf_info;
981 buf_info->types[reg_type] = BUF_TYPE_USERPTR;
984 buf_info->types[reg_type] = BUF_TYPE_GEM;
995 buf_desc = &buf_info->descs[reg_type];
1009 buf_desc = &buf_info->descs[reg_type];
1024 buf_desc = &buf_info->descs[reg_type];
1192 node->buf_info.map_nr = req->cmd_buf_nr;