Searched defs:idx (Results 1 - 17 of 17) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_ioctl.c134 int idx; local
137 idx = (int)map->offset;
138 if (idx < 0)
144 if (i == idx) {
184 int idx; local
187 idx = client->idx;
192 if (i++ >= idx) {
H A Ddrm_bufs.c618 buf->idx = dma->buf_count + entry->buf_count;
776 buf->idx = dma->buf_count + entry->buf_count;
1022 int idx; local
1033 if (DRM_COPY_FROM_USER(&idx, &request->list[i], sizeof (idx)))
1035 if (idx < 0 || idx >= dma->buf_count) {
1037 idx, dma->buf_count - 1);
1040 buf = dma->buflist[idx];
1127 if (DRM_COPY_TO_USER(&list32[i].idx,
[all...]
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_ioctl.c134 int idx; local
152 idx = (int)map.offset;
155 if (idx < 0) {
161 if (i == idx) {
204 int idx; local
213 client.idx = client32.idx;
224 idx = client.idx;
227 if (i == idx) {
[all...]
H A Ddrm_bufs.c459 buf->idx = dma->buf_count + entry->buf_count;
559 buf->idx = dma->buf_count + entry->buf_count;
736 int idx; local
753 if (DRM_COPY_FROM_USER(&idx, &request.list[i], sizeof (idx))) {
757 if (idx < 0 || idx >= dma->buf_count) {
759 idx, dma->buf_count - 1);
763 buf = dma->buflist[idx];
850 if (DRM_COPY_TO_USER(&list32[i].idx,
[all...]
H A Dr300_cmdbuf.c838 int idx; local
912 idx = header.dma.buf_idx;
913 if (idx < 0 || idx >= dma->buf_count) {
915 idx, dma->buf_count - 1);
920 buf = dma->buflist[idx];
H A Ddrm_io32.h43 int idx; /* Which client desired? */ member in struct:drm_client_32
85 int idx; /* Index into the master buffer list */ member in struct:drm_buf_pub_32
H A Defb_drv.c763 int idx, i; local
776 for (idx = start, i = count; --i >= 0; ++idx) {
778 efb_priv->colormap[map][0][idx] =
782 efb_priv->colormap[map][1][idx] =
786 efb_priv->colormap[map][2][idx] =
H A Dradeon_io32.h93 int idx; member in struct:drm_radeon_vertex2_32
H A Dradeon_state.c1617 DRM_DEBUG("indirect: buf=%d s=0x%x e=0x%x\n", buf->idx, start, end);
2361 DRM_CURRENTPID, vertex.idx, vertex.count, vertex.discard);
2363 if (vertex.idx < 0 || vertex.idx >= dma->buf_count) {
2365 vertex.idx, dma->buf_count - 1);
2376 buf = dma->buflist[vertex.idx];
2384 DRM_ERROR("sending pending buffer %d\n", vertex.idx);
2449 DRM_CURRENTPID, elts.idx, elts.start, elts.end, elts.discard);
2451 if (elts.idx < 0 || elts.idx >
3068 int idx; local
[all...]
H A Ddrm.h330 int idx; /**< Which client desired? */ member in struct:drm_client
469 int idx; /**< Index into the master buffer list */ member in struct:drm_buf_pub
H A DdrmP.h331 int idx; /* Index into master buflist */ member in struct:drm_buf
H A Dradeon_drm.h625 int idx; /* Index of vertex buffer */ member in struct:drm_radeon_vertex
632 int idx; member in struct:drm_radeon_indices
644 int idx; /* Index of vertex buffer */ member in struct:drm_radeon_vertex2
690 int idx; member in struct:drm_radeon_indirect
/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_ringbuffer.h213 int idx; local
221 idx = (other - ring) - 1;
222 if (idx < 0)
223 idx += I915_NUM_RINGS;
225 return idx;
H A Di915_gem.c2045 int ret, idx; local
2053 idx = intel_ring_sync_index(from, to);
2056 if (seqno <= from->sync_seqno[idx])
2069 from->sync_seqno[idx] = obj->last_read_seqno;
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_io32.h66 int idx; /* Which client desired? */ member in struct:drm_client_32
102 int idx; /* Index into the master buffer list */ member in struct:drm_buf_pub_32
H A Ddrm.h237 int idx; /**< Which client desired? */ member in struct:drm_client
381 int idx; /**< Index into the master buffer list */ member in struct:drm_buf_pub
H A DdrmP.h475 int idx; /* Index into master buflist */ member in struct:drm_buf

Completed in 84 milliseconds