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

123

/freebsd-11-stable/sys/dev/drm2/i915/
H A Di915_gem_tiling.c208 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode) argument
222 /* check maximum stride & object size */
226 if (stride / 128 > I965_FENCE_MAX_PITCH_VAL)
229 if (stride > 8192)
243 if (stride & (tile_width - 1))
249 if (stride < tile_width)
252 if (stride & (stride - 1))
317 args->stride, obj->base.size, args->tiling_mode)) {
329 args->stride
[all...]
/freebsd-11-stable/sys/sys/
H A Dgtaskqueue.h61 int taskqgroup_adjust(struct taskqgroup *qgroup, int cnt, int stride);
83 #define TASKQGROUP_DEFINE(name, cnt, stride) \
99 taskqgroup_adjust(qgroup_##name, (cnt), (stride)); \
/freebsd-11-stable/sys/mips/mips/
H A Dcache_mipsNN.c314 int i, stride, loopcount; local
331 stride = picache_stride;
338 for (i = 0; i < loopcount; i++, tmpva += stride)
346 for (i = 0; i < loopcount; i++, tmpva += stride)
357 int i, stride, loopcount; local
374 stride = picache_stride;
381 for (i = 0; i < loopcount; i++, tmpva += stride)
389 for (i = 0; i < loopcount; i++, tmpva += stride)
400 int i, stride, loopcount; local
417 stride
575 int i, stride, loopcount; local
616 int i, stride, loopcount; local
657 int i, stride, loopcount; local
920 int i, stride, loopcount; local
1008 int i, stride, loopcount; local
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbcrypt_pbkdf.c119 size_t i, j, amt, stride; local
131 stride = (keylen + sizeof(out) - 1) / sizeof(out);
132 amt = (keylen + stride - 1) / stride;
165 size_t dest = i * stride + (count - 1);
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_resources.c41 void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, argument
53 context->rq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4);
55 context->sq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4);
/freebsd-11-stable/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()),
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_gsupport.cpp493 // "*p_ub += stride" compensates for the discrepancy.
496 // stride value. We adjust the dispatch parameters accordingly (by +-1), but
497 // we still adjust p_ub by the actual stride value.
518 long stride; \
534 (kmp_int *)p_ub, (kmp_int *)&stride); \
536 KMP_DEBUG_ASSERT(stride == str); \
554 long stride; \
569 (kmp_int *)p_ub, (kmp_int *)&stride); \
571 KMP_DEBUG_ASSERT(stride == str); \
594 long stride; \
1251 kmp_int lb, ub, stride; local
1274 kmp_int lb, ub, stride; local
[all...]
H A Dkmp_affinity.cpp2844 int start, end, stride; local
2954 // Check for a stride parameter
2955 stride = 1;
2958 // A stride is specified. Skip over the ':" and read the 3rd int.
2971 stride = __kmp_str_to_int(scan, *next);
2972 KMP_ASSERT2(stride >= 0, "bad explicit proc list");
2973 stride *= sign;
2977 KMP_ASSERT2(stride != 0, "bad explicit proc list");
2978 if (stride > 0) {
2983 KMP_ASSERT2((end - start) / stride <
3049 int start, count, stride, i; local
3215 int i, j, count, stride, sign; local
[all...]
/freebsd-11-stable/sys/xen/interface/io/
H A Dfbif.h64 int32_t stride; /* stride in bytes */ member in struct:xenfb_resize
/freebsd-11-stable/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...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DDumpValueObjectOptions.h46 size_t stride = 1)
48 m_stride(stride) {}
/freebsd-11-stable/sys/dev/vt/
H A Dvt_font.c89 size_t stride; local
112 stride = howmany(vf->vf_width, 8) * vf->vf_height;
113 return (&vf->vf_bytes[dst * stride]);
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dam335x_lcd_syscons.c71 unsigned int stride; member in struct:video_adapter_softc
286 + (row + sc->ymargin)*(sc->stride)
308 addr += sc->stride;
577 if (offset < sc->stride*sc->height) {
691 + (row + sc->ymargin)*(sc->stride)
728 addr += (sc->stride);
762 va_sc->stride = panel->bpp*panel->panel_width/8;
/freebsd-11-stable/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;
529 sc->stride = sc->width * sc->bpp;
575 adp->va_line_width = sc->stride;
716 if (offset < sc->stride * sc->height) {
830 + (row + sc->ymargin) * (sc->stride)
855 addr += (sc->stride);
[all...]
/freebsd-11-stable/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c348 uint32_t depth, height, width, stride; local
400 OF_getprop(node, "linebytes", &stride, sizeof(stride));
404 sc->fb.fb_stride = stride;
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dmlx5dv.h114 uint32_t stride; member in struct:mlx5dv_qp::__anon3839
119 uint32_t stride; member in struct:mlx5dv_qp::__anon3840
141 uint32_t stride; member in struct:mlx5dv_srq
151 uint32_t stride; member in struct:mlx5dv_rwq
/freebsd-11-stable/stand/efi/loader/
H A Dframebuffer.c276 uint32_t horiz, vert, stride; local
306 * the stride. Our only option is to look at the system and
321 stride = 1728;
329 stride = 2048;
341 efifb->fb_stride = stride;
350 * The stride is equal or larger to the width. Often it's the
366 "hw.efifb.stride.\n");
403 ev = getenv("hw.efifb.stride");
406 /* Determine the stride. */
412 printf("Unable to reliably detect the stride
[all...]
/freebsd-11-stable/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;
/freebsd-11-stable/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-11-stable/sys/kern/
H A Dsubr_gtaskqueue.c839 _taskqgroup_adjust(struct taskqgroup *qgroup, int cnt, int stride) argument
847 if (cnt < 1 || cnt * stride > mp_ncpus || !tqg_smp_started) {
848 printf("%s: failed cnt: %d stride: %d "
850 __func__, cnt, stride, mp_ncpus, tqg_smp_started);
879 for (k = 0; k < stride; k++)
884 qgroup->tqg_stride = stride;
930 taskqgroup_adjust(struct taskqgroup *qgroup, int cnt, int stride) argument
935 error = _taskqgroup_adjust(qgroup, cnt, stride);
/freebsd-11-stable/sys/arm/versatile/
H A Dversatile_clcd.c147 unsigned int stride; member in struct:video_adapter_softc
342 va_sc->stride = sc->width * 2;
536 + (row + sc->ymargin)*(sc->stride)
547 addr += sc->stride;
778 if (offset < sc->stride*sc->height) {
874 + (row + sc->ymargin)*(sc->stride)
900 addr += (sc->stride);
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c102 unsigned int stride; member in struct:bcmsc_softc
169 sc->stride = fb.pitch;
372 + (row + sc->ymargin)*(sc->stride)
393 addr += sc->stride;
669 if (offset < sc->stride*sc->height) {
780 + (row + sc->ymargin)*(sc->stride)
828 addr += (sc->stride);
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_exp.c927 int stride = 5 * (6 - (top / 16 - 1)); /* multiple of 5, but less local
969 if (bits < stride)
970 stride = bits + 1;
971 bits -= stride;
974 if ((*pwr5_worker) (tmp.d, np, n0, powerbuf, wvalue, stride))
977 if ((*pwr5_worker) (tmp.d, np, n0, powerbuf, wvalue, stride))
980 bits += stride - 5;
981 wvalue >>= stride - 5;

Completed in 342 milliseconds

123