Home | History | Annotate | Download | only in sna

Lines Matching defs:sprite

460 	struct plane *sprite;
464 list_for_each_entry(sprite, &to_sna_crtc(crtc)->sprites, link)
472 struct plane *sprite;
474 list_for_each_entry(sprite, &crtc->sprites, link)
476 return sprite;
483 struct plane *sprite;
487 sprite = lookup_sprite(to_sna_crtc(crtc), idx);
488 return sprite ? sprite->id : 0;
1404 struct plane *sprite;
1407 sprite = lookup_sprite(to_sna_crtc(crtc), idx);
1408 if (!sprite)
1411 DBG(("%s: CRTC:%d [pipe=%d], sprite=%u set-rotation=%x\n",
1414 sprite->id, rotation));
1416 return rotation_set(to_sna(crtc->scrn), sprite,
1417 rotation_reduce(sprite, rotation));
3226 struct plane *sprite, *sn;
3231 list_for_each_entry_safe(sprite, sn, &sna_crtc->sprites, link)
3232 free(sprite);
3471 struct plane *sprite = malloc(sizeof(*sprite));
3472 if (!sprite)
3475 memcpy(sprite, details, sizeof(*sprite));
3476 list_add_tail(&sprite->link, &crtc->sprites);