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

12

/freebsd-9.3-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...]
H A Di915_drm.h422 * type 0 relocation has 4-uint32_t stride
429 * type 1 relocation has 4-uint32_t stride.
812 uint32_t stride; member in struct:drm_i915_gem_set_tiling
902 /* stride values and offsets are in bytes, buffer relative */
903 uint16_t stride_Y; /* stride for packed formats */
/freebsd-9.3-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
601 u32 size, u16 stride);
624 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-9.3-release/sys/mips/mips/
H A Dcache_mipsNN.c255 int i, stride, loopcount; local
272 stride = picache_stride;
279 for (i = 0; i < loopcount; i++, tmpva += stride)
287 for (i = 0; i < loopcount; i++, tmpva += stride)
298 int i, stride, loopcount; local
315 stride = picache_stride;
322 for (i = 0; i < loopcount; i++, tmpva += stride)
330 for (i = 0; i < loopcount; i++, tmpva += stride)
429 int i, stride, loopcount; local
446 stride
470 int i, stride, loopcount; local
[all...]
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dbcrypt_pbkdf.c114 size_t i, j, amt, stride; local
125 stride = (keylen + sizeof(out) - 1) / sizeof(out);
126 amt = (keylen + stride - 1) / stride;
159 key[i * stride + (count - 1)] = out[i];
/freebsd-9.3-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-9.3-release/sys/xen/interface/io/
H A Dfbif.h64 int32_t stride; /* stride in bytes */ member in struct:xenfb_resize
/freebsd-9.3-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-9.3-release/sys/dev/vt/
H A Dvt_font.c88 size_t stride; local
116 stride = howmany(vf->vf_width, 8) * vf->vf_height;
117 return (&vf->vf_bytes[dst * stride]);
/freebsd-9.3-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:__anon7572::__anon7575
197 unsigned char cmd_type, offset, stride, count; member in struct:__anon7572::__anon7576
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));
H A Di915_drm.h391 * type 0 relocation has 4-uint32_t stride
398 * type 1 relocation has 4-uint32_t stride.
696 uint32_t stride; member in struct:drm_i915_gem_set_tiling
/freebsd-9.3-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-9.3-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:__anon7721::__anon7724
199 unsigned char cmd_type, offset, stride, count; member in struct:__anon7721::__anon7725
/freebsd-9.3-release/sys/dev/vt/hw/fb/
H A Dvt_early_fb.c164 GET("linebytes", stride)

Completed in 291 milliseconds

12