Home
last modified time | relevance | path

Searched refs:stride (Results 1 – 25 of 65) sorted by relevance

123

/dragonfly/sys/dev/drm/i915/
H A Di915_gem_tiling.c81 GEM_BUG_ON(!stride); in i915_gem_fence_size()
84 stride *= i915_gem_tile_height(tiling); in i915_gem_fence_size()
86 return roundup(size, stride); in i915_gem_fence_size()
158 if (stride > 8192) in i915_tiling_ok()
161 if (!is_power_of_2(stride)) in i915_tiling_ok()
171 if (!stride || !IS_ALIGNED(stride, tile_width)) in i915_tiling_ok()
178 int tiling_mode, unsigned int stride) in i915_vma_fence_prepare() argument
296 vma->size, tiling, stride); in i915_gem_object_set_tiling()
302 obj->tiling_and_stride = tiling | stride; in i915_gem_object_set_tiling()
355 args->stride = 0; in i915_gem_set_tiling_ioctl()
[all …]
H A Di915_gem_fence_reg.c80 unsigned int stride = i915_gem_object_get_stride(vma->obj); in i965_write_fence_reg() local
85 GEM_BUG_ON(!IS_ALIGNED(stride, 128)); in i965_write_fence_reg()
89 val |= (u64)((stride / 128) - 1) << fence_pitch_shift; in i965_write_fence_reg()
125 unsigned int stride = i915_gem_object_get_stride(vma->obj); in i915_write_fence_reg() local
133 stride /= 128; in i915_write_fence_reg()
135 stride /= 512; in i915_write_fence_reg()
136 GEM_BUG_ON(!is_power_of_2(stride)); in i915_write_fence_reg()
142 val |= ilog2(stride) << I830_FENCE_PITCH_SHIFT; in i915_write_fence_reg()
163 unsigned int stride = i915_gem_object_get_stride(vma->obj); in i830_write_fence_reg() local
168 GEM_BUG_ON(!is_power_of_2(stride / 128)); in i830_write_fence_reg()
[all …]
H A Dintel_fbc.c103 return lines * cache->fb.stride; in intel_fbc_calculate_cfb_size()
136 if (params->fb.stride < cfb_pitch) in i8xx_fbc_activate()
137 cfb_pitch = params->fb.stride; in i8xx_fbc_activate()
664 unsigned int stride) in stride_is_valid() argument
667 WARN_ON(stride < 512); in stride_is_valid()
668 WARN_ON((stride & (64 - 1)) != 0); in stride_is_valid()
673 return stride == 4096 || stride == 8192; in stride_is_valid()
678 if (stride > 16384) in stride_is_valid()
768 cache->fb.stride = fb->pitches[0]; in intel_fbc_update_state_cache()
820 if (!stride_is_valid(dev_priv, cache->fb.stride)) { in intel_fbc_can_activate()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dgraphite-blocking.c114 ppl_set_coef (expr, strip, -1 * stride); in pbb_strip_mine_time_depth()
129 ppl_set_coef (expr, strip, stride); in pbb_strip_mine_time_depth()
131 ppl_set_inhomogeneous (expr, stride - 1); in pbb_strip_mine_time_depth()
160 lst_strip_mine_profitable_p (lst_p lst, int stride) in lst_strip_mine_profitable_p() argument
169 mpz_set_si (strip_stride, stride); in lst_strip_mine_profitable_p()
196 res += lst_do_strip_mine_loop (l, depth, stride); in lst_do_strip_mine_loop()
223 lst_do_strip_mine (lst_p lst, int stride) in lst_do_strip_mine() argument
230 if (!stride) in lst_do_strip_mine()
238 res += lst_do_strip_mine (l, stride); in lst_do_strip_mine()
242 && lst_strip_mine_profitable_p (lst, stride)) in lst_do_strip_mine()
[all …]
H A Dgraphite-flattening.c239 lst_project_loop (lst_p outer, lst_p inner, mpz_t stride) in lst_project_loop() argument
270 ppl_set_coef_gmp (expr, outer_dim, stride); in lst_project_loop()
316 mpz_t n, one, offset, stride; in lst_flatten_loop() local
321 mpz_init (stride); in lst_flatten_loop()
325 lst_linearized_niter (lst, stride); in lst_flatten_loop()
327 mpz_tdiv_q (stride, stride, n); in lst_flatten_loop()
337 lst_project_loop (lst, l, stride); in lst_flatten_loop()
347 lst_scale (lst, l, stride); in lst_flatten_loop()
359 mpz_clear (stride); in lst_flatten_loop()
H A Dggc-common.c142 (*rt->cb) (*(void **) ((char *)rt->base + rt->stride * i)); in ggc_mark_root_tab()
158 memset (rti->base, 0, rti->stride); in ggc_mark_roots()
461 void *ptr = *(void **)((char *)rti->base + rti->stride * i); in write_pch_globals()
511 (*rti->pchw)(*(void **)((char *)rti->base + rti->stride * i)); in gt_pch_save()
516 (*rti->pchw)(*(void **)((char *)rti->base + rti->stride * i)); in gt_pch_save()
548 if (fwrite (rti->base, rti->stride, 1, f) != 1) in gt_pch_save()
620 memset (rti->base, 0, rti->stride); in gt_pch_restore()
625 if (fread (rti->base, rti->stride, 1, f) != 1) in gt_pch_restore()
632 if (fread ((char *)rti->base + rti->stride * i, in gt_pch_restore()
639 if (fread ((char *)rti->base + rti->stride * i, in gt_pch_restore()
H A Dgraphite-ppl.c171 ppl_strip_loop (ppl_Polyhedron_t ph, ppl_dimension_type loop, int stride) in ppl_strip_loop() argument
235 ppl_set_coef (expr, loop, -1 * stride); in ppl_strip_loop()
250 ppl_set_coef (expr, loop, stride); in ppl_strip_loop()
251 ppl_set_inhomogeneous (expr, stride - 1); in ppl_strip_loop()
H A Dggc.h70 size_t stride; member
86 size_t stride; member
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgimple-ssa-strength-reduction.c238 tree stride; member
558 || !operand_equal_p (one_basis->stride, c->stride, 0) in find_basis_for_base_expr()
686 c->stride = stride; in alloc_cand_and_find_basis()
1103 stride = stride_in; in create_mul_ssa_cand()
1119 stride = stride_in; in create_mul_ssa_cand()
1441 stride = base_cand->stride; in create_add_imm_cand()
2326 tree stride; in create_add_on_incoming_edge() local
2333 c->stride); in create_add_on_incoming_edge()
2337 stride = c->stride; in create_add_on_incoming_edge()
3742 rhs2 = c->stride; in replace_one_candidate()
[all …]
H A Dgimple-loop-interchange.cc995 std::swap ((*stride)[i_idx], (*stride)[o_idx]); in update_data_info()
1359 vec<tree> *stride; in compute_access_strides() local
1364 stride = DR_ACCESS_STRIDE (dr); in compute_access_strides()
1365 if (stride->length () < num_loops) in compute_access_strides()
1367 num_loops = stride->length (); in compute_access_strides()
1375 stride = DR_ACCESS_STRIDE (dr); in compute_access_strides()
1377 stride->truncate (num_loops); in compute_access_strides()
1380 std::swap ((*stride)[j], (*stride)[num_loops - j - 1]); in compute_access_strides()
1405 stride->block_remove (0, stride->length () - num_loops); in prune_access_strides_not_in_loop()
1465 tree iloop_stride = (*stride)[i_idx], oloop_stride = (*stride)[o_idx]; in should_interchange_loops()
[all …]
H A Dggc-common.c77 (*rt->cb) (*(void **) ((char *)rt->base + rt->stride * i)); in ggc_mark_root_tab()
91 memset (rti->base, 0, rti->stride); in ggc_mark_roots()
387 void *ptr = *(void **)((char *)rti->base + rti->stride * i); in write_pch_globals()
437 (*rti->pchw)(*(void **)((char *)rti->base + rti->stride * i)); in gt_pch_save()
469 if (fwrite (rti->base, rti->stride, 1, f) != 1) in gt_pch_save()
607 memset (rti->base, 0, rti->stride); in gt_pch_restore()
612 if (fread (rti->base, rti->stride, 1, f) != 1) in gt_pch_restore()
619 if (fread ((char *)rti->base + rti->stride * i, in gt_pch_restore()
H A Ddwarf2out.h338 tree stride; member
352 tree stride; member
/dragonfly/contrib/gcc-8.0/libgomp/
H A Daffinity.c61 unsigned long len, long stride, bool quiet) in gomp_affinity_add_cpus() argument
66 (void) stride; in gomp_affinity_add_cpus()
80 gomp_affinity_copy_place (void *p, void *q, long stride) in gomp_affinity_copy_place() argument
84 (void) stride; in gomp_affinity_copy_place()
H A Denv.c470 long stride = 1; in parse_one_place() local
578 stride = strtol (env, &env, 10); in parse_one_place()
589 *stridep = stride; in parse_one_place()
663 long stride; in parse_places_var() local
664 if (!parse_one_place (&end, &negate, &len, &stride)) in parse_places_var()
696 long stride; in parse_places_var() local
698 if (!parse_one_place (&env, &negate, &len, &stride)) in parse_places_var()
729 stride)) in parse_places_var()
/dragonfly/sys/dev/drm/
H A Ddrm_dumb_buffers.c60 u32 cpp, stride, size; in drm_mode_create_dumb_ioctl() local
72 stride = cpp * args->width; in drm_mode_create_dumb_ioctl()
73 if (args->height > 0xffffffffU / stride) in drm_mode_create_dumb_ioctl()
77 size = args->height * stride; in drm_mode_create_dumb_ioctl()
/dragonfly/lib/libssh/openbsd-compat/
H A Dbcrypt_pbkdf.c122 size_t i, j, amt, stride; in bcrypt_pbkdf() local
134 stride = (keylen + sizeof(out) - 1) / sizeof(out); in bcrypt_pbkdf()
135 amt = (keylen + stride - 1) / stride; in bcrypt_pbkdf()
168 size_t dest = i * stride + (count - 1); in bcrypt_pbkdf()
/dragonfly/sys/sys/
H A Dgtaskqueue.h96 struct taskqgroup *taskqgroup_create(const char *name, int cnt, int stride);
117 #define TASKQGROUP_DEFINE(name, cnt, stride) \ argument
124 qgroup_##name = taskqgroup_create(#name, (cnt), (stride)); \
/dragonfly/contrib/diffutils/lib/
H A Dmktime.c443 int stride = 601200; in __mktime_internal() local
454 int delta_bound = duration_max / 2 + stride; in __mktime_internal()
458 for (delta = stride; delta < delta_bound; delta += stride) in __mktime_internal()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/
H A Dslice_array.h80 size_t stride() const; in _GLIBCXX_VISIBILITY()
107 slice::stride() const in _GLIBCXX_VISIBILITY()
203 : _M_sz(__s.size()), _M_stride(__s.stride()), in _GLIBCXX_VISIBILITY()
H A Dgslice.h104 valarray<size_t> stride() const; in _GLIBCXX_VISIBILITY()
144 gslice::stride() const in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Dslice_array.h79 size_t stride() const; in _GLIBCXX_VISIBILITY()
106 slice::stride() const in _GLIBCXX_VISIBILITY()
202 : _M_sz(__s.size()), _M_stride(__s.stride()), in _GLIBCXX_VISIBILITY()
H A Dgslice.h103 valarray<size_t> stride() const; in _GLIBCXX_VISIBILITY()
143 gslice::stride() const in _GLIBCXX_VISIBILITY()
/dragonfly/stand/boot/efi/loader/arch/x86_64/
H A Dframebuffer.c275 uint32_t horiz, vert, stride; in efifb_from_uga() local
320 stride = 1728; in efifb_from_uga()
328 stride = 2048; in efifb_from_uga()
340 efifb->fb_stride = stride; in efifb_from_uga()
/dragonfly/contrib/cvs-1.12/lib/
H A Dmktime.c440 int stride = 601200; in __mktime_internal() local
451 int delta_bound = duration_max / 2 + stride; in __mktime_internal()
455 for (delta = stride; delta < delta_bound; delta += stride) in __mktime_internal()
/dragonfly/sys/dev/misc/syscons/
H A Dsckmsrndr.c346 line_width = sc->fbi->stride; in kms_draw_border()
386 line_width = sc->fbi->stride; in kms_draw()
443 line_width = sc->fbi->stride; in draw_kmscursor()
537 line_width = sc->fbi->stride; in draw_kmsmouse()

123