Searched refs:stride (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-10.0-release/sys/dev/drm2/i915/
H A Di915_gem_tiling.c206 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode) argument
220 /* check maximum stride & object size */
224 if (stride / 128 > I965_FENCE_MAX_PITCH_VAL)
227 if (stride > 8192)
241 if (stride & (tile_width - 1))
247 if (stride < tile_width)
250 if (stride & (stride - 1))
316 args->stride, obj->base.size, args->tiling_mode)) {
328 args->stride
[all...]
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/
H A Den_resources.c39 void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, argument
50 context->rq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4);
53 context->sq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4);
H A Den_rx.c76 struct mlx4_en_rx_desc *rx_desc = ring->buf + ring->stride * index;
87 /* If the number of used fragments does not fill up the ring stride,
90 possible_frags = (ring->stride - sizeof(struct mlx4_en_rx_desc)) / DS_SIZE;
101 struct mlx4_en_rx_desc *rx_desc = ring->buf + (index * ring->stride);
223 ring->stride = roundup_pow_of_two(sizeof(struct mlx4_en_rx_desc) +
225 ring->log_stride = ffs(ring->stride) - 1;
226 ring->buf_size = ring->size * ring->stride + TXBB_SIZE;
236 en_dbg(DRV, priv, "Allocated rx_info ring at addr:%p size:%d stride:%d (%d)\n",
237 ring->rx_info, tmp, ring->stride, ring->log_stride);
268 int stride local
[all...]
H A Dmlx4_en.h279 u16 stride; member in struct:mlx4_en_tx_ring
318 /* actual number of entries depends on rx ring stride */
327 u16 stride; member in struct:mlx4_en_rx_ring
603 u32 size, u16 stride);
626 void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride,
H A Den_tx.c65 u16 stride)
73 ring->stride = stride;
104 ring->buf_size = ALIGN(size * ring->stride, MLX4_EN_PAGE_SIZE);
205 mlx4_en_fill_qp_context(priv, ring->size, ring->stride, 1, 0, ring->qpn,
63 mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, u32 size, u16 stride) argument
/freebsd-10.0-release/sys/mips/mips/
H A Dcache_mipsNN.c253 int i, stride, loopcount; local
270 stride = picache_stride;
277 for (i = 0; i < loopcount; i++, tmpva += stride)
285 for (i = 0; i < loopcount; i++, tmpva += stride)
296 int i, stride, loopcount; local
313 stride = picache_stride;
320 for (i = 0; i < loopcount; i++, tmpva += stride)
328 for (i = 0; i < loopcount; i++, tmpva += stride)
427 int i, stride, loopcount; local
444 stride
468 int i, stride, loopcount; local
[all...]
/freebsd-10.0-release/contrib/libstdc++/include/bits/
H A Dgslice.h49 * specified by three parameter sets: start offset, size array, and stride
51 * that is part of the subset. The size and stride array describe each
53 * dimension, and stride is the distance in the array between successive
54 * elements in that dimension. Each dimension's size and stride is taken
56 * size array and stride array must be the same size.
58 * For example, if you have offset==3, stride[0]==11, size[1]==3,
59 * stride[1]==3, then slice[0,0]==array[3], slice[0,1]==array[6],
101 valarray<size_t> stride() const;
136 gslice::stride () const function in class:gslice
H A Dslice_array.h49 * specified by three parameters: start offset, size, and stride. The
56 * and stride 2, the subset consists of array elements 1, 3, and 5.
77 /// Return array stride of slice.
78 size_t stride() const;
83 size_t _M_st; // stride unit
104 slice::stride() const function in class:slice
200 : _M_sz(__s.size()), _M_stride(__s.stride()),
H A Dvalarray_before.h678 { return _M_expr[_M_slice.start () + __i * _M_slice.stride ()]; }
697 _M_stride (__s.stride()) {}
/freebsd-10.0-release/sys/xen/interface/io/
H A Dfbif.h64 int32_t stride; /* stride in bytes */ member in struct:xenfb_resize
/freebsd-10.0-release/contrib/gcc/
H A Dggc.h72 size_t stride; member in struct:ggc_root_tab
88 size_t stride; member in struct:ggc_cache_tab
H A Dggc-common.c113 memset (rti->base, 0, rti->stride);
118 (*rti->cb)(*(void **)((char *)rti->base + rti->stride * i));
399 void *ptr = *(void **)((char *)rti->base + rti->stride * i);
448 (*rti->pchw)(*(void **)((char *)rti->base + rti->stride * i));
453 (*rti->pchw)(*(void **)((char *)rti->base + rti->stride * i));
480 if (fwrite (rti->base, rti->stride, 1, f) != 1)
552 memset (rti->base, 0, rti->stride);
557 if (fread (rti->base, rti->stride, 1, f) != 1)
564 if (fread ((char *)rti->base + rti->stride * i,
571 if (fread ((char *)rti->base + rti->stride *
[all...]
H A Dmips-tdump.c441 int stride;
456 qualifiers[i].stride = 0;
646 * word 4 stride size in bits
654 qualifiers[i].stride = aux_ptr[index+4].width;
715 (long) qualifiers[j].stride);
721 (long) (qualifiers[j].stride));
724 sprintf (p2, " {%ld bits}", (long) (qualifiers[j].stride));
433 int stride; member in struct:qual
/freebsd-10.0-release/sys/arm/ti/am335x/
H A Dam335x_lcd_syscons.c74 unsigned int stride; member in struct:video_adapter_softc
289 + (row + sc->ymargin)*(sc->stride)
311 addr += sc->stride;
580 if (offset < sc->stride*sc->height) {
694 + (row + sc->ymargin)*(sc->stride)
731 addr += (sc->stride);
765 va_sc->stride = panel->bpp*panel->panel_width/8;
/freebsd-10.0-release/sys/arm/freescale/imx/
H A Dimx51_ipuv3.c107 unsigned int stride; member in struct:video_adapter_softc
232 va_sc->stride = ((w1sh96 >> 6) & 0x3fff) + 1;
234 printf("%dx%d [%d]\n", va_sc->width, va_sc->height, va_sc->stride);
235 va_sc->fb_size = va_sc->height * va_sc->stride;
248 va_sc->bpp = va_sc->stride / va_sc->width;
509 sc->stride = sc->width * sc->bpp;
555 adp->va_line_width = sc->stride;
696 if (offset < sc->stride * sc->height) {
810 + (row + sc->ymargin) * (sc->stride)
835 addr += (sc->stride);
[all...]
/freebsd-10.0-release/sys/dev/drm/
H A Dr300_cmdbuf.c996 int stride; local
1009 stride = type ? 4 : 6;
1014 if (sz * stride * 4 > cmdbuf->bufsz)
1017 BEGIN_RING(3 + sz * stride);
1019 OUT_RING(CP_PACKET0_TABLE(R500_GA_US_VECTOR_DATA, sz * stride - 1));
1020 OUT_RING_TABLE((int *)cmdbuf->buf, sz * stride);
1024 cmdbuf->buf += sz * stride * 4;
1025 cmdbuf->bufsz -= sz * stride * 4;
H A Dradeon_drm.h194 unsigned char cmd_type, offset, stride, count; member in struct:__anon8033::__anon8036
197 unsigned char cmd_type, offset, stride, count; member in struct:__anon8033::__anon8037
H A Dradeon_state.c2639 int stride = header.scalars.stride; local
2644 OUT_RING(start | (stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT));
2661 int stride = header.scalars.stride; local
2666 OUT_RING(start | (stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT));
2681 int stride = header.vectors.stride; local
2687 OUT_RING(start | (stride << RADEON_VEC_INDX_OCTWORD_STRIDE_SHIFT));
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dremote-e7000.c1121 int stride; local
1128 for (i = 0; i < len; i += stride)
1137 stride = len - i;
1138 if (stride > maxstride)
1139 stride = maxstride;
1152 check_sum += stickbyte (compose + where, alen + stride + 1);
1161 for (j = 0; j < stride; j++)
/freebsd-10.0-release/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c147 unsigned int stride; member in struct:video_adapter_softc
236 va_sc->stride = fb_config->pitch;
531 + (row + sc->ymargin)*(sc->stride)
553 addr += sc->stride;
806 if (offset < sc->stride*sc->height) {
920 + (row + sc->ymargin)*(sc->stride)
957 addr += (sc->stride);
H A Dbcm2835_dma.c114 uint32_t stride; /* 2D Mode Stride */ member in struct:bcm_dma_cb
497 printf("STRIDE: %8.8x ", cb->stride);
/freebsd-10.0-release/sys/arm/versatile/
H A Dversatile_clcd.c162 unsigned int stride; member in struct:video_adapter_softc
356 va_sc->stride = sc->width * 2;
552 + (row + sc->ymargin)*(sc->stride)
563 addr += sc->stride;
795 if (offset < sc->stride*sc->height) {
891 + (row + sc->ymargin)*(sc->stride)
917 addr += (sc->stride);
/freebsd-10.0-release/sys/dev/drm2/radeon/
H A Dr300_cmdbuf.c974 int stride; local
987 stride = type ? 4 : 6;
992 if (sz * stride * 4 > drm_buffer_unprocessed(cmdbuf->buffer))
995 BEGIN_RING(3 + sz * stride);
997 OUT_RING(CP_PACKET0_TABLE(R500_GA_US_VECTOR_DATA, sz * stride - 1));
998 OUT_RING_DRM_BUFFER(cmdbuf->buffer, sz * stride);
H A Dradeon_state.c2677 int stride = header.scalars.stride; local
2682 OUT_RING(start | (stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT));
2697 int stride = header.scalars.stride; local
2702 OUT_RING(start | (stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT));
2715 int stride = header.vectors.stride; local
2721 OUT_RING(start | (stride << RADEON_VEC_INDX_OCTWORD_STRIDE_SHIFT));
H A Dradeon_drm.h196 unsigned char cmd_type, offset, stride, count; member in struct:__anon8182::__anon8185
199 unsigned char cmd_type, offset, stride, count; member in struct:__anon8182::__anon8186

Completed in 498 milliseconds

12