Lines Matching refs:header
2484 DRM_ERROR("no header 0x%x - 0x%x\n", elts.start, buf->used);
2819 drm_file_t *filp_priv, drm_radeon_cmd_header_t header,
2822 int id = (int)header.packet.packet_id;
2855 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf)
2857 int sz = header.scalars.count;
2858 int start = header.scalars.offset;
2859 int stride = header.scalars.stride;
2878 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf)
2880 int sz = header.scalars.count;
2881 int start = ((unsigned int)header.scalars.offset) + 0x100;
2882 int stride = header.scalars.stride;
2898 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf)
2900 int sz = header.vectors.count;
2901 int start = header.vectors.offset;
2902 int stride = header.vectors.stride;
2920 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf)
2922 int sz = header.veclinear.count * 4;
2923 int start = header.veclinear.addr_lo | (header.veclinear.addr_hi << 8);
3070 drm_radeon_cmd_header_t header;
3137 while (cmdbuf.bufsz >= sizeof (header)) {
3139 header.i = *(int *)(uintptr_t)cmdbuf.buf;
3140 cmdbuf.buf += sizeof (header);
3141 cmdbuf.bufsz -= sizeof (header);
3143 switch (header.header.cmd_type) {
3147 (dev_priv, fpriv, header, &cmdbuf)) {
3155 if (radeon_emit_scalars(dev_priv, header, &cmdbuf)) {
3163 if (radeon_emit_vectors(dev_priv, header, &cmdbuf)) {
3171 idx = header.dma.buf_idx;
3208 if (radeon_emit_scalars2(dev_priv, header, &cmdbuf)) {
3216 if (radeon_emit_wait(dev, header.wait.flags)) {
3223 if (radeon_emit_veclinear(dev_priv, header, &cmdbuf)) {
3231 header.header.cmd_type,
3232 (void *)(cmdbuf.buf - sizeof (header)));