Lines Matching refs:start

62 	 * offsets relative to the start of the framebuffer and some may
648 int start;
1542 unsigned int start;
1555 int offset = dev_priv->gart_buffers_offset + buf->offset + prim->start;
1562 prim->prim, prim->vc_format, prim->start,
1613 drm_buf_t *buf, int start, int end)
1617 DRM_DEBUG("indirect: buf=%d s=0x%x e=0x%x\n", buf->idx, start, end);
1619 if (start != end) {
1621 buf->offset + start);
1622 int dwords = (end - start + 3) / sizeof (u32);
1632 + buf->offset + start);
1656 int start = prim->start + RADEON_INDEX_PRIM_OFFSET;
1657 int count = (prim->finish - start) / sizeof (u16);
1661 prim->prim, prim->vc_format, prim->start,
1669 if (start >= prim->finish || (prim->start & 0x7)) {
1674 dwords = (prim->finish - prim->start + 3) / sizeof (u32);
1677 elt_buf->offset + prim->start);
1694 prim->start, prim->finish);
2409 prim.start = 0;
2448 DRM_DEBUG("pid=%d index=%d start=%d end=%d discard=%d\n",
2449 DRM_CURRENTPID, elts.idx, elts.start, elts.end, elts.discard);
2476 /* count = (elts.end - elts.start) / sizeof(u16); */
2477 elts.start -= RADEON_INDEX_PRIM_OFFSET;
2479 if (elts.start & 0x7) {
2480 DRM_ERROR("misaligned buffer 0x%x\n", elts.start);
2483 if (elts.start < buf->used) {
2484 DRM_ERROR("no header 0x%x - 0x%x\n", elts.start, buf->used);
2508 prim.start = elts.start;
2511 prim.offset = 0; /* offset from start of dma buffers */
2642 indirect.idx, indirect.start, indirect.end, indirect.discard);
2662 if (indirect.start < buf->used) {
2663 DRM_ERROR("reusing indirect: start=0x%x actual=0x%x\n",
2664 indirect.start, buf->used);
2688 radeon_cp_dispatch_indirect(dev, buf, indirect.start, indirect.end);
2789 tclprim.start = prim.start;
2831 reg = packet[id].start;
2858 int start = header.scalars.offset;
2864 OUT_RING(start | (stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT));
2881 int start = ((unsigned int)header.scalars.offset) + 0x100;
2887 OUT_RING(start | (stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT));
2901 int start = header.vectors.offset;
2908 OUT_RING(start | (stride << RADEON_VEC_INDX_OCTWORD_STRIDE_SHIFT));
2923 int start = header.veclinear.addr_lo | (header.veclinear.addr_hi << 8);
2934 OUT_RING(start | (1 << RADEON_VEC_INDX_OCTWORD_STRIDE_SHIFT));