Home
last modified time | relevance | path

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

12345678910>>...32

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A Di915_gem_tiling.c48 * @stride: tiling stride
54 u32 size, unsigned int tiling, unsigned int stride) in i915_gem_fence_size()
63 GEM_BUG_ON(!stride); in i915_gem_fence_size()
66 stride *= i915_gem_tile_height(tiling); in i915_gem_fence_size()
67 GEM_BUG_ON(!IS_ALIGNED(stride, I965_FENCE_PAGE)); in i915_gem_fence_size()
68 return roundup(size, stride); in i915_gem_fence_size()
88 * @stride: tiling stride
94 unsigned int tiling, unsigned int stride) in i915_gem_fence_alignment()
53 i915_gem_fence_size(struct drm_i915_private *i915, u32 size, unsigned int tiling, unsigned int stride) i915_gem_fence_size() argument
93 i915_gem_fence_alignment(struct drm_i915_private *i915, u32 size, unsigned int tiling, unsigned int stride) i915_gem_fence_alignment() argument
117 i915_tiling_ok(struct drm_i915_gem_object *obj, unsigned int tiling, unsigned int stride) i915_tiling_ok() argument
159 i915_vma_fence_prepare(struct i915_vma *vma, int tiling_mode, unsigned int stride) i915_vma_fence_prepare() argument
181 i915_gem_object_fence_prepare(struct drm_i915_gem_object *obj, int tiling_mode, unsigned int stride) i915_gem_object_fence_prepare() argument
220 i915_gem_object_set_tiling(struct drm_i915_gem_object *obj, unsigned int tiling, unsigned int stride) i915_gem_object_set_tiling() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_tiling.c50 * @stride: tiling stride
56 u32 size, unsigned int tiling, unsigned int stride) in i915_gem_fence_size()
65 GEM_BUG_ON(!stride); in i915_gem_fence_size()
68 stride *= i915_gem_tile_height(tiling); in i915_gem_fence_size()
69 GEM_BUG_ON(!IS_ALIGNED(stride, I965_FENCE_PAGE)); in i915_gem_fence_size()
70 return roundup(size, stride); in i915_gem_fence_size()
90 * @stride: tiling stride
96 unsigned int tiling, unsigned int stride) in i915_gem_fence_alignment()
55 i915_gem_fence_size(struct drm_i915_private *i915, u32 size, unsigned int tiling, unsigned int stride) i915_gem_fence_size() argument
95 i915_gem_fence_alignment(struct drm_i915_private *i915, u32 size, unsigned int tiling, unsigned int stride) i915_gem_fence_alignment() argument
119 i915_tiling_ok(struct drm_i915_gem_object *obj, unsigned int tiling, unsigned int stride) i915_tiling_ok() argument
161 i915_vma_fence_prepare(struct i915_vma *vma, int tiling_mode, unsigned int stride) i915_vma_fence_prepare() argument
183 i915_gem_object_fence_prepare(struct drm_i915_gem_object *obj, int tiling_mode, unsigned int stride) i915_gem_object_fence_prepare() argument
231 i915_gem_object_set_tiling(struct drm_i915_gem_object *obj, unsigned int tiling, unsigned int stride) i915_gem_object_set_tiling() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Dmsm_media_info.h825 unsigned int stride = 0; in VENUS_Y_STRIDE() local
835 stride = MSM_MEDIA_ALIGN(width, 128); in VENUS_Y_STRIDE()
838 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
839 stride = MSM_MEDIA_ALIGN(stride * 4 / 3, 256); in VENUS_Y_STRIDE()
842 stride = MSM_MEDIA_ALIGN(width * 2, 256); in VENUS_Y_STRIDE()
845 stride = MSM_MEDIA_ALIGN(width * 2, 128); in VENUS_Y_STRIDE()
849 return stride; in VENUS_Y_STRIDE()
861 unsigned int stride = 0; in VENUS_UV_STRIDE() local
871 stride in VENUS_UV_STRIDE()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Dmsm_media_info.h825 unsigned int stride = 0; in VENUS_Y_STRIDE() local
835 stride = MSM_MEDIA_ALIGN(width, 128); in VENUS_Y_STRIDE()
838 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
839 stride = MSM_MEDIA_ALIGN(stride * 4 / 3, 256); in VENUS_Y_STRIDE()
842 stride = MSM_MEDIA_ALIGN(width * 2, 256); in VENUS_Y_STRIDE()
845 stride = MSM_MEDIA_ALIGN(width * 2, 128); in VENUS_Y_STRIDE()
849 return stride; in VENUS_Y_STRIDE()
861 unsigned int stride = 0; in VENUS_UV_STRIDE() local
871 stride in VENUS_UV_STRIDE()
[all...]
/kernel/linux/linux-6.6/arch/riscv/mm/
H A Dtlbflush.c40 unsigned long stride, in local_flush_tlb_range_threshold_asid()
43 unsigned long nr_ptes_in_range = DIV_ROUND_UP(size, stride); in local_flush_tlb_range_threshold_asid()
53 start += stride; in local_flush_tlb_range_threshold_asid()
58 unsigned long size, unsigned long stride, unsigned long asid) in local_flush_tlb_range_asid()
60 if (size <= stride) in local_flush_tlb_range_asid()
65 local_flush_tlb_range_threshold_asid(start, size, stride, asid); in local_flush_tlb_range_asid()
91 unsigned long stride; member
98 local_flush_tlb_range_asid(d->start, d->size, d->stride, d->asid); in __ipi_flush_tlb_range_asid()
102 unsigned long size, unsigned long stride) in __flush_tlb_range()
132 ftd.stride in __flush_tlb_range()
38 local_flush_tlb_range_threshold_asid(unsigned long start, unsigned long size, unsigned long stride, unsigned long asid) local_flush_tlb_range_threshold_asid() argument
57 local_flush_tlb_range_asid(unsigned long start, unsigned long size, unsigned long stride, unsigned long asid) local_flush_tlb_range_asid() argument
101 __flush_tlb_range(struct mm_struct *mm, unsigned long start, unsigned long size, unsigned long stride) __flush_tlb_range() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwspinlock/
H A Dqcom_hwspinlock.c24 u32 stride; member
82 .stride = 0x4,
96 .stride = 0x80,
110 .stride = 0x1000,
127 u32 *base, u32 *stride) in qcom_hwspinlock_probe_syscon()
148 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, stride); in qcom_hwspinlock_probe_syscon()
150 dev_err(&pdev->dev, "no stride syscon\n"); in qcom_hwspinlock_probe_syscon()
158 u32 *offset, u32 *stride) in qcom_hwspinlock_probe_mmio()
169 *stride = data->stride; in qcom_hwspinlock_probe_mmio()
126 qcom_hwspinlock_probe_syscon(struct platform_device *pdev, u32 *base, u32 *stride) qcom_hwspinlock_probe_syscon() argument
157 qcom_hwspinlock_probe_mmio(struct platform_device *pdev, u32 *offset, u32 *stride) qcom_hwspinlock_probe_mmio() argument
184 u32 stride; qcom_hwspinlock_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c34 unsigned int stride,
433 config->stride = HIVE_ISP_DDR_WORD_BYTES * words_per_line; in ia_css_dma_configure_from_info()
452 unsigned int stride, in frame_init_plane()
458 plane->stride = stride; in frame_init_plane()
468 unsigned int stride; in frame_init_single_plane() local
470 stride = subpixels_per_line * bytes_per_pixel; in frame_init_single_plane()
477 frame->data_bytes = stride * CEIL_MUL2(height, 2); in frame_init_single_plane()
478 frame_init_plane(plane, subpixels_per_line, stride, height, 0); in frame_init_single_plane()
489 unsigned int stride; in frame_init_raw_single_plane() local
450 frame_init_plane(struct ia_css_frame_plane *plane, unsigned int width, unsigned int stride, unsigned int height, unsigned int offset) frame_init_plane() argument
576 height = frame->frame_info.res.height, stride, bytes; frame_init_rgb_planes() local
592 height = frame->frame_info.res.height / 2, bytes, stride; frame_init_qplane6_planes() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Ddcr.c148 unsigned int stride; in of_translate_dcr_address() local
156 p = of_get_property(dp, "dcr-mmio-stride", NULL); in of_translate_dcr_address()
157 stride = (p == NULL) ? 0x10 : *p; in of_translate_dcr_address()
169 ret += (u64)(stride) * (u64)dcr_n; in of_translate_dcr_address()
171 *out_stride = stride; in of_translate_dcr_address()
182 dcr_host_mmio_t ret = { .token = NULL, .stride = 0, .base = dcr_n }; in dcr_map_mmio()
188 addr = of_translate_dcr_address(dev, dcr_n, &ret.stride); in dcr_map_mmio()
189 pr_debug("translates to addr: 0x%llx, stride: 0x%x\n", in dcr_map_mmio()
190 (unsigned long long) addr, ret.stride); in dcr_map_mmio()
193 pr_debug("mapping 0x%x bytes\n", dcr_c * ret.stride); in dcr_map_mmio()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Ddcr.c148 unsigned int stride; in of_translate_dcr_address() local
156 p = of_get_property(dp, "dcr-mmio-stride", NULL); in of_translate_dcr_address()
157 stride = (p == NULL) ? 0x10 : *p; in of_translate_dcr_address()
169 ret += (u64)(stride) * (u64)dcr_n; in of_translate_dcr_address()
171 *out_stride = stride; in of_translate_dcr_address()
182 dcr_host_mmio_t ret = { .token = NULL, .stride = 0, .base = dcr_n }; in dcr_map_mmio()
188 addr = of_translate_dcr_address(dev, dcr_n, &ret.stride); in dcr_map_mmio()
189 pr_debug("translates to addr: 0x%llx, stride: 0x%x\n", in dcr_map_mmio()
190 (unsigned long long) addr, ret.stride); in dcr_map_mmio()
193 pr_debug("mapping 0x%x bytes\n", dcr_c * ret.stride); in dcr_map_mmio()
[all...]
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dtlbflush.h219 * __flush_tlb_range(vma, start, end, stride, last_level)
223 * determined by 'stride' and only affect any walk-cache entries
344 * @stride: Flush granularity
351 * entries one by one at the granularity of 'stride'. If the TLB
367 #define __flush_tlb_range_op(op, start, pages, stride, \
381 start += stride; \
382 pages -= stride >> PAGE_SHIFT; \
400 #define __flush_s2_tlb_range_op(op, start, pages, stride, tlb_level) \
401 __flush_tlb_range_op(op, start, pages, stride, 0, tlb_level, false)
405 unsigned long stride, boo in __flush_tlb_range()
403 __flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end, unsigned long stride, bool last_level, int tlb_level) __flush_tlb_range() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
H A Dqxl_image.c59 int height, int stride) in qxl_image_alloc_objects()
76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects()
106 int stride) in qxl_image_init_helper()
123 chunk_stride = stride; /* TODO: should use linesize, but it renders in qxl_image_init_helper()
140 if (stride == linesize && chunk_stride == stride) { in qxl_image_init_helper()
169 i_data = (void *)data + i * stride; in qxl_image_init_helper()
221 image->u.bitmap.stride = chunk_stride; in qxl_image_init_helper()
235 int depth, int stride) in qxl_image_init()
237 data += y * stride in qxl_image_init()
56 qxl_image_alloc_objects(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image **image_ptr, int height, int stride) qxl_image_alloc_objects() argument
100 qxl_image_init_helper(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int width, int height, int depth, unsigned int hash, int stride) qxl_image_init_helper() argument
230 qxl_image_init(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int x, int y, int width, int height, int depth, int stride) qxl_image_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
H A Divtv-alsa-pcm.c61 unsigned int stride; in ivtv_alsa_announce_pcm_data() local
80 stride = runtime->frame_bits >> 3; in ivtv_alsa_announce_pcm_data()
81 if (stride == 0) { in ivtv_alsa_announce_pcm_data()
82 dprintk("stride is zero\n"); in ivtv_alsa_announce_pcm_data()
86 length = num_bytes / stride; in ivtv_alsa_announce_pcm_data()
101 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
102 cnt * stride); in ivtv_alsa_announce_pcm_data()
103 memcpy(runtime->dma_area, pcm_data + cnt * stride, in ivtv_alsa_announce_pcm_data()
104 length * stride - cnt * stride); in ivtv_alsa_announce_pcm_data()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
H A Dcx18-alsa-pcm.c64 unsigned int stride; in cx18_alsa_announce_pcm_data() local
83 stride = runtime->frame_bits >> 3; in cx18_alsa_announce_pcm_data()
84 if (stride == 0) { in cx18_alsa_announce_pcm_data()
85 dprintk("stride is zero\n"); in cx18_alsa_announce_pcm_data()
89 length = num_bytes / stride; in cx18_alsa_announce_pcm_data()
104 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
105 cnt * stride); in cx18_alsa_announce_pcm_data()
106 memcpy(runtime->dma_area, pcm_data + cnt * stride, in cx18_alsa_announce_pcm_data()
107 length * stride - cnt * stride); in cx18_alsa_announce_pcm_data()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/cx18/
H A Dcx18-alsa-pcm.c64 unsigned int stride; in cx18_alsa_announce_pcm_data() local
83 stride = runtime->frame_bits >> 3; in cx18_alsa_announce_pcm_data()
84 if (stride == 0) { in cx18_alsa_announce_pcm_data()
85 dprintk("stride is zero\n"); in cx18_alsa_announce_pcm_data()
89 length = num_bytes / stride; in cx18_alsa_announce_pcm_data()
104 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
105 cnt * stride); in cx18_alsa_announce_pcm_data()
106 memcpy(runtime->dma_area, pcm_data + cnt * stride, in cx18_alsa_announce_pcm_data()
107 length * stride - cnt * stride); in cx18_alsa_announce_pcm_data()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/
H A Divtv-alsa-pcm.c61 unsigned int stride; in ivtv_alsa_announce_pcm_data() local
80 stride = runtime->frame_bits >> 3; in ivtv_alsa_announce_pcm_data()
81 if (stride == 0) { in ivtv_alsa_announce_pcm_data()
82 dprintk("stride is zero\n"); in ivtv_alsa_announce_pcm_data()
86 length = num_bytes / stride; in ivtv_alsa_announce_pcm_data()
101 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
102 cnt * stride); in ivtv_alsa_announce_pcm_data()
103 memcpy(runtime->dma_area, pcm_data + cnt * stride, in ivtv_alsa_announce_pcm_data()
104 length * stride - cnt * stride); in ivtv_alsa_announce_pcm_data()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/
H A Dqxl_image.c59 int height, int stride) in qxl_image_alloc_objects()
76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects()
106 int stride) in qxl_image_init_helper()
123 chunk_stride = stride; /* TODO: should use linesize, but it renders in qxl_image_init_helper()
140 if (stride == linesize && chunk_stride == stride) { in qxl_image_init_helper()
169 i_data = (void *)data + i * stride; in qxl_image_init_helper()
221 image->u.bitmap.stride = chunk_stride; in qxl_image_init_helper()
235 int depth, int stride) in qxl_image_init()
237 data += y * stride in qxl_image_init()
56 qxl_image_alloc_objects(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image **image_ptr, int height, int stride) qxl_image_alloc_objects() argument
100 qxl_image_init_helper(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int width, int height, int depth, unsigned int hash, int stride) qxl_image_init_helper() argument
230 qxl_image_init(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int x, int y, int width, int height, int depth, int stride) qxl_image_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.c312 u32 stride; in mdp_fmt_get_stride() local
314 stride = (bytesperline * MDP_COLOR_BITS_PER_PIXEL(c)) in mdp_fmt_get_stride()
317 return stride; in mdp_fmt_get_stride()
320 stride = stride / 2; in mdp_fmt_get_stride()
321 return stride; in mdp_fmt_get_stride()
331 u32 stride = pix_stride; in mdp_fmt_get_stride_contig() local
334 return stride; in mdp_fmt_get_stride_contig()
336 stride = stride >> MDP_COLOR_GET_H_SUBSAMPL in mdp_fmt_get_stride_contig()
345 mdp_fmt_get_plane_size(const struct mdp_format *fmt, u32 stride, u32 height, unsigned int plane) mdp_fmt_get_plane_size() argument
373 u32 stride = mdp_fmt_get_stride(frame->mdp_fmt, mdp_prepare_buffer() local
383 u32 stride = mdp_fmt_get_stride_contig(frame->mdp_fmt, mdp_prepare_buffer() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c34 unsigned int stride,
609 config->stride = HIVE_ISP_DDR_WORD_BYTES * words_per_line; in ia_css_dma_configure_from_info()
622 unsigned int stride, in frame_init_plane()
628 plane->stride = stride; in frame_init_plane()
638 unsigned int stride; in frame_init_single_plane() local
640 stride = subpixels_per_line * bytes_per_pixel; in frame_init_single_plane()
647 frame->data_bytes = stride * CEIL_MUL2(height, 2); in frame_init_single_plane()
648 frame_init_plane(plane, subpixels_per_line, stride, height, 0); in frame_init_single_plane()
659 unsigned int stride; in frame_init_raw_single_plane() local
620 frame_init_plane(struct ia_css_frame_plane *plane, unsigned int width, unsigned int stride, unsigned int height, unsigned int offset) frame_init_plane() argument
677 unsigned int stride; frame_init_mipi_plane() local
762 height = frame->info.res.height, stride, bytes; frame_init_rgb_planes() local
778 height = frame->info.res.height / 2, bytes, stride; frame_init_qplane6_planes() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c364 return (r->plane[n].stride * (r->plane[n].height - y - 1) + in rotated_index()
414 return (r->plane[n].stride * y + in remapped_index()
482 { .width = 1, .height = 1, .stride = 1 }, in igt_vma_rotate_remap()
483 { .width = 2, .height = 2, .stride = 2 }, in igt_vma_rotate_remap()
484 { .width = 4, .height = 4, .stride = 4 }, in igt_vma_rotate_remap()
485 { .width = 8, .height = 8, .stride = 8 }, in igt_vma_rotate_remap()
487 { .width = 3, .height = 5, .stride = 3 }, in igt_vma_rotate_remap()
488 { .width = 3, .height = 5, .stride = 4 }, in igt_vma_rotate_remap()
489 { .width = 3, .height = 5, .stride = 5 }, in igt_vma_rotate_remap()
491 { .width = 5, .height = 3, .stride in igt_vma_rotate_remap()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dhwsq.h16 u32 stride; /* in bytes */ member
22 hwsq_stride(u32 addr, u32 stride, u32 mask) in hwsq_stride() argument
28 .stride = stride, in hwsq_stride()
41 .stride = addr2 - addr1, in hwsq_reg2()
54 .stride = 0, in hwsq_reg()
106 off += reg->stride; in hwsq_wr32()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dhwsq.h16 u32 stride; /* in bytes */ member
22 hwsq_stride(u32 addr, u32 stride, u32 mask) in hwsq_stride() argument
28 .stride = stride, in hwsq_stride()
41 .stride = addr2 - addr1, in hwsq_reg2()
54 .stride = 0, in hwsq_reg()
106 off += reg->stride; in hwsq_wr32()
/kernel/linux/linux-5.10/drivers/hwspinlock/
H A Dqcom_hwspinlock.c74 u32 *base, u32 *stride) in qcom_hwspinlock_probe_syscon()
95 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, stride); in qcom_hwspinlock_probe_syscon()
97 dev_err(&pdev->dev, "no stride syscon\n"); in qcom_hwspinlock_probe_syscon()
113 u32 *offset, u32 *stride) in qcom_hwspinlock_probe_mmio()
118 /* All modern platform has offset 0 and stride of 4k */ in qcom_hwspinlock_probe_mmio()
120 *stride = 0x1000; in qcom_hwspinlock_probe_mmio()
135 u32 stride; in qcom_hwspinlock_probe() local
139 regmap = qcom_hwspinlock_probe_syscon(pdev, &base, &stride); in qcom_hwspinlock_probe()
141 regmap = qcom_hwspinlock_probe_mmio(pdev, &base, &stride); in qcom_hwspinlock_probe()
154 field.reg = base + i * stride; in qcom_hwspinlock_probe()
73 qcom_hwspinlock_probe_syscon(struct platform_device *pdev, u32 *base, u32 *stride) qcom_hwspinlock_probe_syscon() argument
112 qcom_hwspinlock_probe_mmio(struct platform_device *pdev, u32 *offset, u32 *stride) qcom_hwspinlock_probe_mmio() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A Dnouveau_bo5039.c52 u32 amount, stride, height; in nv50_bo_move_m2mf() local
59 stride = 16 * 4; in nv50_bo_move_m2mf()
60 height = amount / stride; in nv50_bo_move_m2mf()
71 SET_SRC_WIDTH, stride, in nv50_bo_move_m2mf()
93 SET_DST_WIDTH, stride, in nv50_bo_move_m2mf()
114 PITCH_IN, stride, in nv50_bo_move_m2mf()
115 PITCH_OUT, stride, in nv50_bo_move_m2mf()
116 LINE_LENGTH_IN, stride, in nv50_bo_move_m2mf()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_bo5039.c52 u32 amount, stride, height; in nv50_bo_move_m2mf() local
59 stride = 16 * 4; in nv50_bo_move_m2mf()
60 height = amount / stride; in nv50_bo_move_m2mf()
71 SET_SRC_WIDTH, stride, in nv50_bo_move_m2mf()
93 SET_DST_WIDTH, stride, in nv50_bo_move_m2mf()
114 PITCH_IN, stride, in nv50_bo_move_m2mf()
115 PITCH_OUT, stride, in nv50_bo_move_m2mf()
116 LINE_LENGTH_IN, stride, in nv50_bo_move_m2mf()
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/
H A Dtm6000-alsa.c172 unsigned int stride, buf_pos; in tm6000_fillbuf() local
190 stride = runtime->frame_bits >> 3; in tm6000_fillbuf()
192 if (stride == 0) { in tm6000_fillbuf()
193 dprintk(1, "stride is zero\n"); in tm6000_fillbuf()
197 length = size / stride; in tm6000_fillbuf()
205 (unsigned int)runtime->buffer_size, stride); in tm6000_fillbuf()
209 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); in tm6000_fillbuf()
210 memcpy(runtime->dma_area, buf + cnt * stride, in tm6000_fillbuf()
211 length * stride in tm6000_fillbuf()
[all...]

Completed in 14 milliseconds

12345678910>>...32