Searched refs:idx (Results 1 – 13 of 13) sorted by relevance
/gfx-drm/usr/src/uts/common/io/drm/ |
H A D | drm_ioctl.c | 134 int idx; in drm_getmap() local 137 idx = (int)map->offset; in drm_getmap() 138 if (idx < 0) in drm_getmap() 144 if (i == idx) { in drm_getmap() 184 int idx; in drm_getclient() local 187 idx = client->idx; in drm_getclient() 192 if (i++ >= idx) { in drm_getclient()
|
H A D | drm_bufs.c | 618 buf->idx = dma->buf_count + entry->buf_count; in drm_addbufs_agp() 1022 int idx; in drm_freebufs() local 1033 if (DRM_COPY_FROM_USER(&idx, &request->list[i], sizeof (idx))) in drm_freebufs() 1035 if (idx < 0 || idx >= dma->buf_count) { in drm_freebufs() 1037 idx, dma->buf_count - 1); in drm_freebufs() 1040 buf = dma->buflist[idx]; in drm_freebufs() 1127 if (DRM_COPY_TO_USER(&list32[i].idx, in drm_mapbufs() 1128 &dma->buflist[i]->idx, in drm_mapbufs() 1129 sizeof (list32[0].idx))) { in drm_mapbufs() 1155 &dma->buflist[i]->idx, in drm_mapbufs() [all …]
|
H A D | drm_io32.c | 242 dest64->idx = dest32.idx; in copyin32_drm_client() 258 src32.idx = src64->idx; in copyout32_drm_client()
|
/gfx-drm/usr/src/uts/intel/io/i915/ |
H A D | intel_ringbuffer.h | 213 int idx; in intel_ring_sync_index() local 221 idx = (other - ring) - 1; in intel_ring_sync_index() 222 if (idx < 0) in intel_ring_sync_index() 223 idx += I915_NUM_RINGS; in intel_ring_sync_index() 225 return idx; in intel_ring_sync_index()
|
H A D | i915_gem.c | 2043 int ret, idx; in i915_gem_object_sync() local 2051 idx = intel_ring_sync_index(from, to); in i915_gem_object_sync() 2054 if (seqno <= from->sync_seqno[idx]) in i915_gem_object_sync() 2067 from->sync_seqno[idx] = obj->last_read_seqno; in i915_gem_object_sync()
|
/gfx-drm/usr/src/uts/intel/io/radeon/ |
H A D | radeon_state.c | 2364 if (vertex.idx < 0 || vertex.idx >= dma->buf_count) { in radeon_cp_vertex() 2377 buf = dma->buflist[vertex.idx]; in radeon_cp_vertex() 2452 if (elts.idx < 0 || elts.idx >= dma->buf_count) { in radeon_cp_indices() 2465 buf = dma->buflist[elts.idx]; in radeon_cp_indices() 2645 if (indirect.idx < 0 || indirect.idx >= dma->buf_count) { in radeon_cp_indirect() 2726 vertex.idx = vertex32.idx; in radeon_cp_vertex2() 2743 if (vertex.idx < 0 || vertex.idx >= dma->buf_count) { in radeon_cp_vertex2() 3069 int idx; in radeon_cp_cmdbuf() local 3172 idx = header.dma.buf_idx; in radeon_cp_cmdbuf() 3173 if (idx < 0 || idx >= dma->buf_count) { in radeon_cp_cmdbuf() [all …]
|
H A D | r300_cmdbuf.c | 835 int idx; in r300_do_cp_cmdbuf() local 909 idx = header.dma.buf_idx; in r300_do_cp_cmdbuf() 910 if (idx < 0 || idx >= dma->buf_count) { in r300_do_cp_cmdbuf() 912 idx, dma->buf_count - 1); in r300_do_cp_cmdbuf() 917 buf = dma->buflist[idx]; in r300_do_cp_cmdbuf()
|
H A D | radeon_drm.h | 621 int idx; /* Index of vertex buffer */ member 628 int idx; member 640 int idx; /* Index of vertex buffer */ member 686 int idx; member
|
H A D | radeon_io32.h | 116 int idx; member
|
H A D | radeon_cp.c | 2216 if (DRM_COPY_TO_USER(&d->request_indices[i], &buf->idx, in radeon_cp_get_buffers() 2217 sizeof (buf->idx))) in radeon_cp_get_buffers()
|
/gfx-drm/usr/src/uts/common/drm/ |
H A D | drm_io32.h | 66 int idx; /* Which client desired? */ member 102 int idx; /* Index into the master buffer list */ member
|
H A D | drm.h | 259 int idx; /**< Which client desired? */ member 401 int idx; /**< Index into the master buffer list */ member
|
H A D | drmP.h | 476 int idx; /* Index into master buflist */ member
|