Lines Matching refs:header
2485 DRM_ERROR("no header 0x%x - 0x%x\n", elts.start, buf->used);
2820 drm_file_t *filp_priv, drm_radeon_cmd_header_t header,
2823 int id = (int)header.packet.packet_id;
2856 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf)
2858 int sz = header.scalars.count;
2859 int start = header.scalars.offset;
2860 int stride = header.scalars.stride;
2879 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf)
2881 int sz = header.scalars.count;
2882 int start = ((unsigned int)header.scalars.offset) + 0x100;
2883 int stride = header.scalars.stride;
2899 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf)
2901 int sz = header.vectors.count;
2902 int start = header.vectors.offset;
2903 int stride = header.vectors.stride;
2921 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf)
2923 int sz = header.veclinear.count * 4;
2924 int start = header.veclinear.addr_lo | (header.veclinear.addr_hi << 8);
3071 drm_radeon_cmd_header_t header;
3138 while (cmdbuf.bufsz >= sizeof (header)) {
3140 header.i = *(int *)(uintptr_t)cmdbuf.buf;
3141 cmdbuf.buf += sizeof (header);
3142 cmdbuf.bufsz -= sizeof (header);
3144 switch (header.header.cmd_type) {
3148 (dev_priv, fpriv, header, &cmdbuf)) {
3156 if (radeon_emit_scalars(dev_priv, header, &cmdbuf)) {
3164 if (radeon_emit_vectors(dev_priv, header, &cmdbuf)) {
3172 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 cmdbuf.buf - sizeof (header));