/linux-4.4.14/include/linux/ |
H A D | altera_uart.h | 12 unsigned int bus_shift; /* Bus shift (address stride) */
|
H A D | sh_intc.h | 77 #define INTC_SMP(stride, nr) .smp = (stride) | ((nr) << 8) 79 #define INTC_SMP(stride, nr)
|
/linux-4.4.14/arch/tile/lib/ |
H A D | memmove.c | 33 int stride; memmove() local 39 stride = -1; memmove() 44 stride = 1; memmove() 49 in += stride; memmove() 53 out += stride; memmove() 55 in += stride; memmove()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | hwsq.h | 15 u32 stride; /* in bytes */ member in struct:hwsq_reg 21 hwsq_stride(u32 addr, u32 stride, u32 mask) hwsq_stride() argument 27 .stride = stride, hwsq_stride() 40 .stride = addr2 - addr1, hwsq_reg2() 53 .stride = 0, hwsq_reg() 105 off += reg->stride; hwsq_wr32()
|
/linux-4.4.14/kernel/ |
H A D | groups.c | 106 int base, max, stride; groups_sort() local 109 for (stride = 1; stride < gidsetsize; stride = 3 * stride + 1) groups_sort() 111 stride /= 3; groups_sort() 113 while (stride) { groups_sort() 114 max = gidsetsize - stride; groups_sort() 117 int right = left + stride; groups_sort() 124 left -= stride; groups_sort() 128 stride /= 3; groups_sort()
|
/linux-4.4.14/sound/usb/usx2y/ |
H A D | us122l.h | 8 int stride; member in struct:us122l
|
H A D | usbusx2y.h | 28 int stride; member in struct:usX2Ydev
|
H A D | usbusx2yaudio.c | 87 len = urb->iso_frame_desc[i].actual_length / usX2Y->stride; usX2Y_urb_capt_retire() 96 int blen = cnt * usX2Y->stride; usX2Y_urb_capt_retire() 97 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, blen); usX2Y_urb_capt_retire() 98 memcpy(runtime->dma_area, cp + blen, len * usX2Y->stride - blen); usX2Y_urb_capt_retire() 100 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, usX2Y_urb_capt_retire() 101 len * usX2Y->stride); usX2Y_urb_capt_retire() 138 counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride; usX2Y_urb_play_prepare() 160 subs->hwptr * usX2Y->stride, len * usX2Y->stride); usX2Y_urb_play_prepare() 161 memcpy(subs->tmpbuf + len * usX2Y->stride, usX2Y_urb_play_prepare() 162 runtime->dma_area, (count - len) * usX2Y->stride); usX2Y_urb_play_prepare() 167 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usX2Y->stride; usX2Y_urb_play_prepare() 173 urb->transfer_buffer_length = count * usX2Y->stride; usX2Y_urb_play_prepare() 185 int len = urb->actual_length / subs->usX2Y->stride; usX2Y_urb_play_retire() 719 usX2Y->stride = 6; usX2Y_format_set() 722 usX2Y->stride = 4; usX2Y_format_set()
|
H A D | usx2yhwdeppcm.c | 80 lens += urb->iso_frame_desc[i].actual_length / usX2Y->stride; usX2Y_usbpcm_urb_capt_retire() 129 counts = shm->captured_iso[shm->playback_iso_head].length / usX2Y->stride; usX2Y_hwdep_urb_play_prepare() 144 urb->transfer_buffer_length = count * usX2Y->stride; usX2Y_hwdep_urb_play_prepare()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramfuc.h | 16 u32 stride; /* in bytes */ member in struct:ramfuc_reg 22 ramfuc_stride(u32 addr, u32 stride, u32 mask) ramfuc_stride() argument 27 .stride = stride, ramfuc_stride() 39 .stride = addr2 - addr1, ramfuc_reg2() 51 .stride = 0, ramfuc_reg() 100 off += reg->stride; ramfuc_wr32()
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | dcr.c | 161 unsigned int stride; of_translate_dcr_address() local 169 p = of_get_property(dp, "dcr-mmio-stride", NULL); of_translate_dcr_address() 170 stride = (p == NULL) ? 0x10 : *p; of_translate_dcr_address() 182 ret += (u64)(stride) * (u64)dcr_n; of_translate_dcr_address() 184 *out_stride = stride; of_translate_dcr_address() 195 dcr_host_mmio_t ret = { .token = NULL, .stride = 0, .base = dcr_n }; dcr_map_mmio() 201 addr = of_translate_dcr_address(dev, dcr_n, &ret.stride); dcr_map_mmio() 202 pr_debug("translates to addr: 0x%llx, stride: 0x%x\n", dcr_map_mmio() 203 (unsigned long long) addr, ret.stride); dcr_map_mmio() 206 pr_debug("mapping 0x%x bytes\n", dcr_c * ret.stride); dcr_map_mmio() 207 ret.token = ioremap(addr, dcr_c * ret.stride); dcr_map_mmio() 211 ret.token, ret.token - dcr_n * ret.stride); dcr_map_mmio() 212 ret.token -= dcr_n * ret.stride; dcr_map_mmio() 223 h.token += host.base * h.stride; dcr_unmap_mmio()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_gem_tiling.c | 63 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode) i915_tiling_ok() argument 77 /* check maximum stride & object size */ i915_tiling_ok() 81 if (stride / 128 > GEN7_FENCE_MAX_PITCH_VAL) i915_tiling_ok() 84 if (stride / 128 > I965_FENCE_MAX_PITCH_VAL) i915_tiling_ok() 87 if (stride > 8192) i915_tiling_ok() 99 if (stride < tile_width) i915_tiling_ok() 104 if (stride & (tile_width - 1)) i915_tiling_ok() 110 if (stride & (stride - 1)) i915_tiling_ok() 174 args->stride, obj->base.size, args->tiling_mode)) { i915_gem_set_tiling() 187 args->stride = 0; i915_gem_set_tiling() 210 args->stride = 0; i915_gem_set_tiling() 215 args->stride != obj->stride) { i915_gem_set_tiling() 247 obj->stride = args->stride; i915_gem_set_tiling() 254 args->stride = obj->stride; i915_gem_set_tiling()
|
H A D | intel_fbc.c | 504 return "framebuffer stride not supported"; intel_no_fbc_reason_str() 759 unsigned int stride) stride_is_valid() 762 WARN_ON(stride < 512); stride_is_valid() 763 WARN_ON((stride & (64 - 1)) != 0); stride_is_valid() 768 return stride == 4096 || stride == 8192; stride_is_valid() 770 if (IS_GEN4(dev_priv) && !IS_G4X(dev_priv) && stride < 2048) stride_is_valid() 773 if (stride > 16384) stride_is_valid() 879 * - changing FBC params (stride, fence, mode) __intel_fbc_update() 758 stride_is_valid(struct drm_i915_private *dev_priv, unsigned int stride) stride_is_valid() argument
|
H A D | i915_gem_fence.c | 93 uint32_t row_size = obj->stride * i965_write_fence_reg() 101 val |= (uint64_t)((obj->stride / 128) - 1) << fence_pitch_shift; i965_write_fence_reg() 140 pitch_val = obj->stride / tile_width; i915_write_fence_reg() 172 pitch_val = obj->stride / 128; i830_write_fence_reg() 204 WARN(obj && (!obj->stride || !obj->tiling_mode), i915_gem_write_fence() 205 "bogus fence setup with stride: 0x%x, tiling mode: %i\n", i915_gem_write_fence() 206 obj->stride, obj->tiling_mode); i915_gem_write_fence()
|
H A D | intel_sprite.c | 194 u32 plane_ctl, stride_div, stride; skl_update_plane() local 244 /* stride: Surface height in tiles */ skl_update_plane() 247 stride = DIV_ROUND_UP(fb->height, tile_height); skl_update_plane() 249 x_offset = stride * tile_height - y - (src_h + 1); skl_update_plane() 252 stride = fb->pitches[0] / stride_div; skl_update_plane() 260 I915_WRITE(PLANE_STRIDE(pipe, plane), stride); skl_update_plane() local
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-pcm.c | 118 unsigned int stride; cobalt_alsa_announce_pcm_data() local 139 stride = runtime->frame_bits >> 3; cobalt_alsa_announce_pcm_data() 140 if (stride == 0) { cobalt_alsa_announce_pcm_data() 141 dprintk("stride is zero\n"); cobalt_alsa_announce_pcm_data() 161 sample_cpy(runtime->dma_area + (oldptr + i) * stride, cobalt_alsa_announce_pcm_data() 163 stride, is_s32); cobalt_alsa_announce_pcm_data() 165 sample_cpy(runtime->dma_area + (i - cnt) * stride, cobalt_alsa_announce_pcm_data() 166 pcm_data + i * skip, stride, is_s32); cobalt_alsa_announce_pcm_data() 171 sample_cpy(runtime->dma_area + (oldptr + i) * stride, cobalt_alsa_announce_pcm_data() 173 stride, is_s32); cobalt_alsa_announce_pcm_data() 366 unsigned int stride; cobalt_alsa_pb_pcm_data() local 386 stride = runtime->frame_bits >> 3; cobalt_alsa_pb_pcm_data() 387 if (stride == 0) { cobalt_alsa_pb_pcm_data() 388 dprintk("stride is zero\n"); cobalt_alsa_pb_pcm_data() 405 runtime->dma_area + pos + i * stride, cobalt_alsa_pb_pcm_data() 406 stride, is_s32); cobalt_alsa_pb_pcm_data() 409 cobsc->pb_pos += i * stride; cobalt_alsa_pb_pcm_data()
|
H A D | cobalt-omnitek.c | 163 unsigned size, unsigned width, unsigned stride, descriptor_list_create() 177 WARN_ON(stride & 3); descriptor_list_create() 178 WARN_ON(stride < width); descriptor_list_create() 179 if (width >= stride) descriptor_list_create() 180 copy_bytes = stride = size; descriptor_list_create() 247 while (copied < stride) { descriptor_list_create() 249 stride - copied); descriptor_list_create() 161 descriptor_list_create(struct cobalt *cobalt, struct scatterlist *scatter_list, bool to_pci, unsigned sglen, unsigned size, unsigned width, unsigned stride, struct sg_dma_desc_info *desc) descriptor_list_create() argument
|
H A D | cobalt-omnitek.h | 48 unsigned size, unsigned width, unsigned stride,
|
H A D | cobalt-v4l2.c | 52 unsigned size = s->stride * s->height; cobalt_queue_setup() 83 size = s->stride * s->height; cobalt_buf_init() 99 s->width * s->bpp, s->stride, desc); cobalt_buf_init() 118 vb2_set_plane_payload(vb, 0, s->stride * s->height); cobalt_buf_prepare() 664 s->stride = timings->bt.width * s->bpp; cobalt_s_dv_timings() 737 pix->bytesperline = s->stride; cobalt_g_fmt_vid_cap() 829 s->stride = pix->bytesperline; cobalt_s_fmt_vid_cap() 898 pix->bytesperline = s->stride; cobalt_g_fmt_vid_out() 942 pix->bytesperline != s->stride)) cobalt_s_fmt_vid_out() 959 s->stride = pix->bytesperline; cobalt_s_fmt_vid_out() 1195 s->stride = s->width * s->bpp; cobalt_node_register()
|
H A D | cobalt-driver.h | 232 u32 stride; member in struct:cobalt_stream
|
/linux-4.4.14/drivers/media/pci/cx18/ |
H A D | cx18-alsa-pcm.c | 79 unsigned int stride; cx18_alsa_announce_pcm_data() local 98 stride = runtime->frame_bits >> 3; cx18_alsa_announce_pcm_data() 99 if (stride == 0) { cx18_alsa_announce_pcm_data() 100 dprintk("stride is zero\n"); cx18_alsa_announce_pcm_data() 104 length = num_bytes / stride; cx18_alsa_announce_pcm_data() 119 memcpy(runtime->dma_area + oldptr * stride, pcm_data, cx18_alsa_announce_pcm_data() 120 cnt * stride); cx18_alsa_announce_pcm_data() 121 memcpy(runtime->dma_area, pcm_data + cnt * stride, cx18_alsa_announce_pcm_data() 122 length * stride - cnt * stride); cx18_alsa_announce_pcm_data() 124 memcpy(runtime->dma_area + oldptr * stride, pcm_data, cx18_alsa_announce_pcm_data() 125 length * stride); cx18_alsa_announce_pcm_data()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-pcm.c | 80 unsigned int stride; ivtv_alsa_announce_pcm_data() local 99 stride = runtime->frame_bits >> 3; ivtv_alsa_announce_pcm_data() 100 if (stride == 0) { ivtv_alsa_announce_pcm_data() 101 dprintk("stride is zero\n"); ivtv_alsa_announce_pcm_data() 105 length = num_bytes / stride; ivtv_alsa_announce_pcm_data() 120 memcpy(runtime->dma_area + oldptr * stride, pcm_data, ivtv_alsa_announce_pcm_data() 121 cnt * stride); ivtv_alsa_announce_pcm_data() 122 memcpy(runtime->dma_area, pcm_data + cnt * stride, ivtv_alsa_announce_pcm_data() 123 length * stride - cnt * stride); ivtv_alsa_announce_pcm_data() 125 memcpy(runtime->dma_area + oldptr * stride, pcm_data, ivtv_alsa_announce_pcm_data() 126 length * stride); ivtv_alsa_announce_pcm_data()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | dcr-mmio.h | 28 unsigned int stride; member in struct:__anon2259 44 return in_be32(host.token + ((host.base + dcr_n) * host.stride)); dcr_read_mmio() 51 out_be32(host.token + ((host.base + dcr_n) * host.stride), value); dcr_write_mmio()
|
H A D | udbg.h | 30 extern void udbg_uart_init_mmio(void __iomem *addr, unsigned int stride); 31 extern void udbg_uart_init_pio(unsigned long port, unsigned int stride);
|
/linux-4.4.14/arch/mips/paravirt/ |
H A D | paravirt-irq.c | 296 int i, stride; irq_pci_init() local 302 stride = 8 * (1 + ((num_bits - 1) / 64)); irq_pci_init() 305 pr_notice("mips_irq_chip: %u bits, reg stride: %d\n", num_bits, stride); irq_pci_init() 306 mips_irq_chip_reg_raw = MIPS_IRQ_CHIP_REGS + 0 * stride; irq_pci_init() 307 mips_irq_chip_reg_raw_w1s = MIPS_IRQ_CHIP_REGS + 1 * stride; irq_pci_init() 308 mips_irq_chip_reg_raw_w1c = MIPS_IRQ_CHIP_REGS + 2 * stride; irq_pci_init() 309 mips_irq_chip_reg_src = MIPS_IRQ_CHIP_REGS + 3 * stride; irq_pci_init() 310 mips_irq_chip_reg_en = MIPS_IRQ_CHIP_REGS + 4 * stride; irq_pci_init() 311 mips_irq_chip_reg_en_w1s = MIPS_IRQ_CHIP_REGS + 5 * stride; irq_pci_init() 312 mips_irq_chip_reg_en_w1c = MIPS_IRQ_CHIP_REGS + 6 * stride; irq_pci_init() 313 mips_irq_cpu_stride = stride * 4; irq_pci_init()
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
H A D | qxl_image.c | 59 int height, int stride) qxl_image_alloc_objects() 76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); qxl_image_alloc_objects() 106 int stride) qxl_image_init_helper() 123 chunk_stride = stride; /* TODO: should use linesize, but it renders qxl_image_init_helper() 139 if (stride == linesize && chunk_stride == stride) { qxl_image_init_helper() 167 i_data = (void *)data + i * stride; qxl_image_init_helper() 218 image->u.bitmap.stride = chunk_stride; qxl_image_init_helper() 232 int depth, int stride) qxl_image_init() 234 data += y * stride + x * (depth / 8); qxl_image_init() 236 width, height, depth, 0, stride); 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 227 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
|
H A D | qxl_draw.c | 156 int stride /* filled in if 0 */) qxl_draw_opaque_fb() 173 if (stride == 0) qxl_draw_opaque_fb() 174 stride = depth * width / 8; qxl_draw_opaque_fb() 182 height, stride); qxl_draw_opaque_fb() 210 width, height, depth, stride); qxl_draw_opaque_fb() 286 int stride = qxl_fb->base.pitches[0]; qxl_draw_dirty_fb() local 322 height, stride); qxl_draw_dirty_fb() 347 left, top, width, height, depth, stride); qxl_draw_dirty_fb()
|
H A D | qxl_ioctl.c | 402 actual_stride = param->stride < 0 ? -param->stride : param->stride; qxl_alloc_surf_ioctl() 408 surf.stride = param->stride; qxl_alloc_surf_ioctl()
|
H A D | qxl_dumb.c | 58 surf.stride = pitch; qxl_mode_dumb_create()
|
H A D | qxl_dev.h | 268 uint32_t stride; member in struct:qxl_mode 318 int32_t stride; member in struct:qxl_surface_create 745 int32_t stride; member in struct:qxl_surface 833 uint32_t stride; member in struct:qxl_bitmap
|
H A D | qxl_fb.c | 96 int stride = qfbdev->qfb.base.pitches[0]; qxl_fb_dirty_flush() local 129 image->data = qfbdev->shadow + (x1 * 4) + (stride * y1); qxl_fb_dirty_flush() 132 qxl_draw_opaque_fb(&qxl_fb_image, stride); qxl_fb_dirty_flush() 319 qbo->surf.stride = mode_cmd->pitches[0]; qxlfb_create_pinned_object()
|
H A D | qxl_drv.h | 449 int depth, int stride); 454 int height, int stride); 508 int stride /* filled in if 0 */);
|
H A D | qxl_cmd.c | 390 create->stride = bo->surf.stride; qxl_io_create_primary() 512 cmd->u.surface_create.stride = surf->surf.stride; qxl_hw_surface_alloc()
|
H A D | qxl_kms.c | 37 DRM_DEBUG_KMS("%d: %dx%d %d bits, stride %d, %dmm x %dmm, orientation %d\n", qxl_dump_mode() 38 m->id, m->x_res, m->y_res, m->bits, m->stride, m->x_mili, qxl_dump_mode()
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
H A D | tm6000-alsa.c | 215 unsigned int stride, buf_pos; tm6000_fillbuf() local 233 stride = runtime->frame_bits >> 3; tm6000_fillbuf() 235 if (stride == 0) { tm6000_fillbuf() 236 dprintk(1, "stride is zero\n"); tm6000_fillbuf() 240 length = size / stride; tm6000_fillbuf() 248 (unsigned int)runtime->buffer_size, stride); tm6000_fillbuf() 252 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); tm6000_fillbuf() 253 memcpy(runtime->dma_area, buf + cnt * stride, tm6000_fillbuf() 254 length * stride - cnt * stride); tm6000_fillbuf() 256 memcpy(runtime->dma_area + buf_pos * stride, buf, tm6000_fillbuf() 257 length * stride); tm6000_fillbuf()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | sh7760fb.c | 203 unsigned long sbase, dstn_off, ldsarl, stride; sh7760fb_set_par() local 271 stride = (par->rot) ? vtln : hdcn; sh7760fb_set_par() 273 stride *= (bpp + 7) >> 3; sh7760fb_set_par() 276 stride >>= 3; sh7760fb_set_par() 278 stride >>= 2; sh7760fb_set_par() 280 stride >>= 1; sh7760fb_set_par() 284 /* if rotated, stride must be power of 2 */ sh7760fb_set_par() 288 if (stride & bit) sh7760fb_set_par() 292 if (stride & ~bit) sh7760fb_set_par() 293 stride = bit << 1; /* not P-o-2, round up */ sh7760fb_set_par() 295 iowrite16(stride, par->base + LDLAOR); sh7760fb_set_par() 300 sbase += (hdcn - 1) * stride; sh7760fb_set_par() 307 * so I guessed at (stride * yres/2). sh7760fb_set_par() 314 dstn_off = stride; sh7760fb_set_par() 326 info->fix.line_length = stride; sh7760fb_set_par() 341 dev_dbg(info->dev, "ldlaor: %ld\n", stride); sh7760fb_set_par()
|
H A D | simplefb.c | 94 u32 stride; member in struct:simplefb_params 118 ret = of_property_read_u32(np, "stride", ¶ms->stride); simplefb_parse_dt() 120 dev_err(&pdev->dev, "Can't parse stride property\n"); simplefb_parse_dt() 152 params->stride = pd->stride; simplefb_parse_pd() 308 info->fix.line_length = params.stride; simplefb_probe()
|
H A D | s1d13xxxfb.c | 446 u32 stride; s1d13xxxfb_bitblt_copyarea() local 457 stride = bpp * info->var.xres; s1d13xxxfb_bitblt_copyarea() 461 dst = (((dy + height - 1) * stride) + (bpp * (dx + width - 1))); s1d13xxxfb_bitblt_copyarea() 462 src = (((sy + height - 1) * stride) + (bpp * (sx + width - 1))); s1d13xxxfb_bitblt_copyarea() 466 dst = (dy * stride) + (bpp * dx); s1d13xxxfb_bitblt_copyarea() 467 src = (sy * stride) + (bpp * sx); s1d13xxxfb_bitblt_copyarea() 503 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_MEM_OFF0, (stride >> 1) & 0xff); s1d13xxxfb_bitblt_copyarea() 504 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_MEM_OFF1, (stride >> 9)); s1d13xxxfb_bitblt_copyarea() 509 dbg_blit("(copyarea) stride=%d\n", stride); s1d13xxxfb_bitblt_copyarea() 511 (stride >> 1) & 0xff, stride >> 9); s1d13xxxfb_bitblt_copyarea() 549 dbg_blit("(solidfill) dx=%d, dy=%d, stride=%d, dest=%d\n" s1d13xxxfb_bitblt_solidfill()
|
H A D | tdfxfb.c | 380 tdfx_outl(par, VIDDESKSTRIDE, reg->stride); do_write_regs() 692 reg.stride = info->var.xres * cpp; tdfxfb_set_par() 693 reg.startaddr = info->var.yoffset * reg.stride tdfxfb_set_par() 726 info->fix.line_length = reg.stride; tdfxfb_set_par() 848 u32 stride = info->fix.line_length; tdfxfb_fillrect() local 849 u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); tdfxfb_fillrect() 862 dstbase = stride * dy; tdfxfb_fillrect() 892 u32 stride = info->fix.line_length; tdfxfb_copyarea() local 894 u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); tdfxfb_copyarea() 900 srcbase = stride * sy; tdfxfb_copyarea() 910 dstbase = stride * dy; tdfxfb_copyarea() 949 int i, stride = info->fix.line_length; tdfxfb_imageblit() local 951 u32 dstfmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); tdfxfb_imageblit() 961 srcfmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13) | tdfxfb_imageblit() 988 dstbase = stride * dy; tdfxfb_imageblit() 1109 * etc etc. The linear stride for the cursor is always 16 bytes tdfxfb_cursor()
|
H A D | gxt4500.c | 380 unsigned int dfa_ctl, pixfmt, stride; gxt4500_set_par() local 451 /* calculate stride in DFA aperture */ gxt4500_set_par() 453 stride = 4096; gxt4500_set_par() 456 stride = 2048; gxt4500_set_par() 459 stride = 1024; gxt4500_set_par() 504 info->fix.line_length = stride * pixsize[pixfmt]; gxt4500_set_par()
|
H A D | efifb.c | 98 screen_info.lfb_linelength = efifb_dmi_list[i].stride; efifb_setup() 105 else if (!strncmp(this_opt, "stride:", 7)) efifb_setup()
|
H A D | ffb.c | 557 int i, width, stride; ffb_imageblit() local 569 stride = ((width + 7) >> 3); ffb_imageblit() 599 data += stride; ffb_imageblit() 619 data += stride; ffb_imageblit()
|
H A D | sstfb.c | 774 u32 stride = info->fix.line_length; 782 sst_write(BLTXYSTRIDES, stride | (stride << 16)); 800 u32 stride = info->fix.line_length; 811 sst_write(BLTXYSTRIDES, stride | (stride << 16));
|
/linux-4.4.14/drivers/hwspinlock/ |
H A D | qcom_hwspinlock.c | 89 u32 stride; qcom_hwspinlock_probe() local 110 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, &stride); qcom_hwspinlock_probe() 112 dev_err(&pdev->dev, "no stride syscon\n"); qcom_hwspinlock_probe() 124 field.reg = base + i * stride; qcom_hwspinlock_probe()
|
/linux-4.4.14/arch/metag/mm/ |
H A D | mmu-meta1.c | 54 unsigned int stride; __get_mmu_base() local 57 stride = 4; __get_mmu_base() 59 stride = hard_processor_id(); /* [0..3] */ __get_mmu_base() 62 base_phys += (0x800 * stride); __get_mmu_base()
|
H A D | mmu-meta2.c | 61 unsigned long stride; mmu_get_base() local 63 stride = cpu * LINSYSMEMTnX_STRIDE; mmu_get_base() 69 stride += (metag_in32(mmu_phys1_addr(cpu)) & 0x7fffc); mmu_get_base() 72 stride += LINSYSMEMTXG_OFFSET; mmu_get_base() 74 return LINSYSMEMT0L_BASE + stride; mmu_get_base()
|
/linux-4.4.14/drivers/media/platform/s5p-g2d/ |
H A D | g2d-hw.c | 32 w(f->stride & 0xFFFF, SRC_STRIDE_REG); g2d_set_src_size() 57 w(f->stride & 0xFFFF, DST_STRIDE_REG); g2d_set_dst_size()
|
H A D | g2d.h | 51 u32 stride; member in struct:g2d_frame
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/asm/ |
H A D | irq_nmi_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | strcop_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | strmux_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | config_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | cris_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | rt_trace_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | ata_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | bif_slave_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | mmu_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | timer_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | marb_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride) 359 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 360 ((inst) + offs + (index) * stride)
|
H A D | bif_core_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | dma_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | gio_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | intr_vect_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | ser_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | bif_dma_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | eth_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | sser_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/iop/asm/ |
H A D | iop_version_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_scrc_out_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_fifo_in_extra_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_fifo_out_extra_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_scrc_in_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_trigger_grp_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_crc_par_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_fifo_in_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_mpu_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_sap_in_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_timer_grp_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_dmc_in_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_dmc_out_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_fifo_out_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_sap_out_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_spu_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | iop_sw_spu_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | simplefb.h | 53 * can pass the width, height, stride and format via this platform-data object. 60 u32 stride; member in struct:simplefb_platform_data
|
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/hwregs/iop/asm/ |
H A D | iop_version_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
H A D | iop_sap_in_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
H A D | iop_sap_out_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
H A D | iop_sw_spu_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
H A D | cx231xx-audio.c | 103 unsigned int stride; cx231xx_audio_isocirq() local 130 stride = runtime->frame_bits >> 3; cx231xx_audio_isocirq() 134 stride; cx231xx_audio_isocirq() 146 memcpy(runtime->dma_area + oldptr * stride, cp, cx231xx_audio_isocirq() 147 cnt * stride); cx231xx_audio_isocirq() 148 memcpy(runtime->dma_area, cp + cnt * stride, cx231xx_audio_isocirq() 149 length * stride - cnt * stride); cx231xx_audio_isocirq() 151 memcpy(runtime->dma_area + oldptr * stride, cp, cx231xx_audio_isocirq() 152 length * stride); cx231xx_audio_isocirq() 193 unsigned int stride; cx231xx_audio_bulkirq() local 220 stride = runtime->frame_bits >> 3; cx231xx_audio_bulkirq() 224 stride; cx231xx_audio_bulkirq() 232 memcpy(runtime->dma_area + oldptr * stride, cp, cx231xx_audio_bulkirq() 233 cnt * stride); cx231xx_audio_bulkirq() 234 memcpy(runtime->dma_area, cp + cnt * stride, cx231xx_audio_bulkirq() 235 length * stride - cnt * stride); cx231xx_audio_bulkirq() 237 memcpy(runtime->dma_area + oldptr * stride, cp, cx231xx_audio_bulkirq() 238 length * stride); cx231xx_audio_bulkirq()
|
/linux-4.4.14/drivers/gpu/drm/bochs/ |
H A D | bochs_hw.c | 158 bochs->stride = mode->hdisplay * (bochs->bpp / 8); bochs_hw_setmode() 159 bochs->yres_virtual = bochs->fb_size / bochs->stride; bochs_hw_setmode() 186 y * bochs->stride + bochs_hw_setbase() 188 int vy = offset / bochs->stride; bochs_hw_setbase() 189 int vx = (offset % bochs->stride) * 8 / bochs->bpp; bochs_hw_setbase()
|
H A D | bochs.h | 70 u32 stride; member in struct:bochs_device
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
H A D | ipu-cpmem.c | 227 void ipu_cpmem_set_stride(struct ipuv3_channel *ch, int stride) ipu_cpmem_set_stride() argument 229 ipu_ch_param_write_field(ch, IPU_FIELD_SLY, stride - 1); ipu_cpmem_set_stride() 256 void ipu_cpmem_interlaced_scan(struct ipuv3_channel *ch, int stride) ipu_cpmem_interlaced_scan() argument 259 ipu_ch_param_write_field(ch, IPU_FIELD_ILO, stride / 8); ipu_cpmem_interlaced_scan() 260 ipu_ch_param_write_field(ch, IPU_FIELD_SLY, (stride * 2) - 1); ipu_cpmem_interlaced_scan() 398 u32 pixel_format, int stride, ipu_cpmem_set_yuv_planar_full() 404 ipu_ch_param_write_field(ch, IPU_FIELD_SLUV, (stride / 2) - 1); ipu_cpmem_set_yuv_planar_full() 409 ipu_ch_param_write_field(ch, IPU_FIELD_SLUV, (stride / 2) - 1); ipu_cpmem_set_yuv_planar_full() 415 ipu_ch_param_write_field(ch, IPU_FIELD_SLUV, stride - 1); ipu_cpmem_set_yuv_planar_full() 424 u32 pixel_format, int stride, int height) ipu_cpmem_set_yuv_planar() 432 uv_stride = stride / 2; ipu_cpmem_set_yuv_planar() 433 u_offset = stride * height; ipu_cpmem_set_yuv_planar() 435 ipu_cpmem_set_yuv_planar_full(ch, pixel_format, stride, ipu_cpmem_set_yuv_planar() 439 uv_stride = stride / 2; ipu_cpmem_set_yuv_planar() 440 u_offset = stride * height; ipu_cpmem_set_yuv_planar() 442 ipu_cpmem_set_yuv_planar_full(ch, pixel_format, stride, ipu_cpmem_set_yuv_planar() 447 u_offset = stride * height; ipu_cpmem_set_yuv_planar() 448 ipu_cpmem_set_yuv_planar_full(ch, pixel_format, stride, ipu_cpmem_set_yuv_planar() 676 pr_debug("%s: resolution: %dx%d stride: %d\n", ipu_cpmem_set_image() 397 ipu_cpmem_set_yuv_planar_full(struct ipuv3_channel *ch, u32 pixel_format, int stride, int u_offset, int v_offset) ipu_cpmem_set_yuv_planar_full() argument 423 ipu_cpmem_set_yuv_planar(struct ipuv3_channel *ch, u32 pixel_format, int stride, int height) ipu_cpmem_set_yuv_planar() argument
|
/linux-4.4.14/drivers/video/fbdev/kyro/ |
H A D | STG4000Ramdac.c | 31 u32 stride = 0; InitialiseRamdac() local 73 stride = displayWidth; InitialiseRamdac() 82 | (stride / ulPdiv)); InitialiseRamdac()
|
H A D | fbdev.c | 74 u32 ulOverlayStride; /* Interleaved YUV and 422 mode Y stride */ 75 u32 ulOverlayUVStride; /* 422 mode U & V stride */ 336 u32 stride, uvStride; kyro_dev_overlay_create() local 356 bLinear, offset, &stride, &uvStride) < 0) kyro_dev_overlay_create() 360 deviceInfo.ulOverlayStride = stride; kyro_dev_overlay_create() 362 deviceInfo.ulNextFreeVidMem = offset + (ulHeight * stride) + (ulHeight * 2 * uvStride); kyro_dev_overlay_create()
|
H A D | STG4000OverlayDevice.c | 552 /* Calculate new output line stride, this is always the number of 422 SetOverlayViewPort() 557 tmp |= ((ulStride << 16) | (ulDacYScale)); /* DAC_LS_CTRL = stride */ SetOverlayViewPort()
|
/linux-4.4.14/sound/usb/ |
H A D | pcm.c | 1269 unsigned int stride, frames, bytes, oldptr; retire_capture_urb() local 1278 stride = runtime->frame_bits >> 3; retire_capture_urb() 1288 frames = bytes / stride; retire_capture_urb() 1290 bytes = frames * stride; retire_capture_urb() 1293 bytes = frames * stride; retire_capture_urb() 1302 if (subs->hwptr_done >= runtime->buffer_size * stride) retire_capture_urb() 1303 subs->hwptr_done -= runtime->buffer_size * stride; retire_capture_urb() 1304 frames = (bytes + (oldptr % stride)) / stride; retire_capture_urb() 1321 if (oldptr + bytes > runtime->buffer_size * stride) { retire_capture_urb() 1323 runtime->buffer_size * stride - oldptr; retire_capture_urb() 1339 unsigned int stride = runtime->frame_bits >> 3; fill_playback_urb_dsd_dop() local 1342 unsigned int wrap = runtime->buffer_size * stride; fill_playback_urb_dsd_dop() 1388 if (subs->hwptr_done >= runtime->buffer_size * stride) fill_playback_urb_dsd_dop() 1389 subs->hwptr_done -= runtime->buffer_size * stride; fill_playback_urb_dsd_dop() 1393 int offset, int stride, unsigned int bytes) copy_to_urb() 1397 if (subs->hwptr_done + bytes > runtime->buffer_size * stride) { copy_to_urb() 1400 runtime->buffer_size * stride - subs->hwptr_done; copy_to_urb() 1410 if (subs->hwptr_done >= runtime->buffer_size * stride) copy_to_urb() 1411 subs->hwptr_done -= runtime->buffer_size * stride; copy_to_urb() 1415 struct urb *urb, int stride, copy_to_urb_quirk() 1433 stride, length); copy_to_urb_quirk() 1447 int i, stride, period_elapsed = 0; prepare_playback_urb() local 1450 stride = runtime->frame_bits >> 3; prepare_playback_urb() 1463 urb->iso_frame_desc[i].offset = frames * ep->stride; prepare_playback_urb() 1464 urb->iso_frame_desc[i].length = counts * ep->stride; prepare_playback_urb() 1479 counts * ep->stride; prepare_playback_urb() 1486 frames * ep->stride; prepare_playback_urb() 1499 bytes = frames * ep->stride; prepare_playback_urb() 1510 % (runtime->buffer_size * stride); prepare_playback_urb() 1515 if (subs->hwptr_done >= runtime->buffer_size * stride) prepare_playback_urb() 1516 subs->hwptr_done -= runtime->buffer_size * stride; prepare_playback_urb() 1520 copy_to_urb(subs, urb, 0, stride, bytes); prepare_playback_urb() 1522 bytes = copy_to_urb_quirk(subs, urb, stride, bytes); prepare_playback_urb() 1559 int processed = urb->transfer_buffer_length / ep->stride; retire_playback_urb() 1392 copy_to_urb(struct snd_usb_substream *subs, struct urb *urb, int offset, int stride, unsigned int bytes) copy_to_urb() argument 1414 copy_to_urb_quirk(struct snd_usb_substream *subs, struct urb *urb, int stride, unsigned int bytes) copy_to_urb_quirk() argument
|
H A D | endpoint.c | 209 length = counts * ep->stride; /* number of silent bytes */ prepare_silent_urb() 210 offset = offs * ep->stride + extra * i; prepare_silent_urb() 224 urb->transfer_buffer_length = offs * ep->stride + ctx->packets * extra; prepare_silent_urb() 636 ep->stride = frame_bits >> 3; data_ep_set_params() 1122 * will have the same amount of payload bytes per stride as the snd_usb_handle_sync_urb() 1124 * by the stride, use the sender stride to calculate the length snd_usb_handle_sync_urb() 1133 urb->iso_frame_desc[i].actual_length / sender->stride; snd_usb_handle_sync_urb()
|
/linux-4.4.14/drivers/net/ethernet/altera/ |
H A D | altera_msgdmahw.h | 32 u32 stride; /* bit 31:16 write stride member in struct:msgdma_extended_desc 33 * bit 15:0 read stride 81 /* mSGDMA extended descriptor stride definitions
|
H A D | altera_msgdma.c | 131 msgdma_descroffs(stride)); msgdma_tx_buffer() 182 csrwr32(0x00010001, priv->rx_dma_desc, msgdma_descroffs(stride)); msgdma_add_rx_desc()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | udbg_16550.c | 179 void udbg_uart_init_pio(unsigned long port, unsigned int stride) udbg_uart_init_pio() argument 184 udbg_uart_stride = stride; udbg_uart_init_pio() 201 void udbg_uart_init_mmio(void __iomem *addr, unsigned int stride) udbg_uart_init_mmio() argument 206 udbg_uart_stride = stride; udbg_uart_init_mmio()
|
H A D | legacy_serial.c | 327 unsigned int stride; setup_legacy_serial_console() local 329 stride = 1 << port->regshift; setup_legacy_serial_console() 336 udbg_uart_init_mmio(addr, stride); setup_legacy_serial_console() 340 udbg_uart_init_pio(port->iobase, stride); setup_legacy_serial_console()
|
/linux-4.4.14/sound/soc/fsl/ |
H A D | fsl_dma.h | 31 __be32 ssr; /* Source stride register */ 32 __be32 dsr; /* Destination stride register */ 108 __be32 source; /* Source stride */ 109 __be32 dest; /* Destination stride */
|
/linux-4.4.14/include/linux/mfd/ |
H A D | hi6421-pmic.h | 19 /* Hi6421 registers are mapped to memory bus in 4 bytes stride */
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | sysfb_simplefb.c | 56 mode->stride = si->lfb_linelength; parse_mode() 73 len = mode->height * mode->stride; create_simplefb()
|
H A D | sysfb_efi.c | 54 /* 11" Macbook Air 3,1 passes the wrong stride */ 85 info->stride == 0) efifb_set_system() 136 screen_info.lfb_linelength = choose_value(info->stride, 156 "(%dx%d, stride %d)\n", id->ident,
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_rx.c | 214 struct mlx4_en_rx_desc *rx_desc = ring->buf + ring->stride * index; mlx4_en_init_rx_desc() 225 /* If the number of used fragments does not fill up the ring stride, mlx4_en_init_rx_desc() 228 possible_frags = (ring->stride - sizeof(struct mlx4_en_rx_desc)) / DS_SIZE; mlx4_en_init_rx_desc() 240 struct mlx4_en_rx_desc *rx_desc = ring->buf + (index * ring->stride); mlx4_en_prepare_rx_desc() 354 u32 size, u16 stride, int node) mlx4_en_create_rx_ring() 374 ring->stride = stride; mlx4_en_create_rx_ring() 375 ring->log_stride = ffs(ring->stride) - 1; mlx4_en_create_rx_ring() 376 ring->buf_size = ring->size * ring->stride + TXBB_SIZE; mlx4_en_create_rx_ring() 430 int stride = roundup_pow_of_two(sizeof(struct mlx4_en_rx_desc) + mlx4_en_activate_rx_rings() local 441 ring->stride = stride; mlx4_en_activate_rx_rings() 442 if (ring->stride <= TXBB_SIZE) mlx4_en_activate_rx_rings() 445 ring->log_stride = ffs(ring->stride) - 1; mlx4_en_activate_rx_rings() 446 ring->buf_size = ring->size * ring->stride; mlx4_en_activate_rx_rings() 459 if (ring->stride <= TXBB_SIZE) mlx4_en_activate_rx_rings() 485 if (priv->rx_ring[ring_ind]->stride <= TXBB_SIZE) mlx4_en_activate_rx_rings() 512 u32 size, u16 stride) mlx4_en_destroy_rx_ring() 518 mlx4_free_hwq_res(mdev->dev, &ring->wqres, size * stride + TXBB_SIZE); mlx4_en_destroy_rx_ring() 532 if (ring->stride <= TXBB_SIZE) mlx4_en_deactivate_rx_ring() 1112 " frag:%d - size:%d prefix:%d stride:%d\n", mlx4_en_calc_rx_buf() 1143 mlx4_en_fill_qp_context(priv, ring->actual_size, ring->stride, 0, 0, mlx4_en_config_rss_qp() 352 mlx4_en_create_rx_ring(struct mlx4_en_priv *priv, struct mlx4_en_rx_ring **pring, u32 size, u16 stride, int node) mlx4_en_create_rx_ring() argument 510 mlx4_en_destroy_rx_ring(struct mlx4_en_priv *priv, struct mlx4_en_rx_ring **pring, u32 size, u16 stride) mlx4_en_destroy_rx_ring() argument
|
H A D | en_resources.c | 40 void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, mlx4_en_fill_qp_context() argument 52 context->rq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4); mlx4_en_fill_qp_context() 54 context->sq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4); mlx4_en_fill_qp_context()
|
H A D | mlx4_en.h | 282 u16 stride; member in struct:mlx4_en_tx_ring 302 /* actual number of entries depends on rx ring stride */ 312 u16 stride; member in struct:mlx4_en_rx_ring 535 int stride; member in struct:mlx4_en_priv 770 u32 size, u16 stride, 783 u32 size, u16 stride, int node); 786 u32 size, u16 stride); 795 void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride,
|
H A D | fw.h | 204 u16 cqe_size; /* For use only when CQE stride feature enabled */ 205 u16 eqe_size; /* For use only when EQE stride feature enabled */
|
H A D | en_tx.c | 50 u16 stride, int node, int queue_index) mlx4_en_create_tx_ring() 68 ring->stride = stride; mlx4_en_create_tx_ring() 92 ring->buf_size = ALIGN(size * ring->stride, MLX4_EN_PAGE_SIZE); mlx4_en_create_tx_ring() 213 mlx4_en_fill_qp_context(priv, ring->size, ring->stride, 1, 0, ring->qpn, mlx4_en_activate_tx_ring() 48 mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring **pring, u32 size, u16 stride, int node, int queue_index) mlx4_en_create_tx_ring() argument
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
H A D | mdfld_device.c | 207 pipe->stride = PSB_RVDC32(map->stride); mdfld_save_display_registers() 336 PSB_WVDC32(pipe->stride, map->stride); mdfld_restore_display_registers() 461 .stride = DSPASTRIDE, 483 .stride = DSPBSTRIDE, 506 .stride = DSPCSTRIDE,
|
H A D | accel_2d.c | 248 uint32_t stride; psbfb_copyarea_accel() local 256 stride = fb->pitches[0]; psbfb_copyarea_accel() 288 offset, stride, src_format, psbfb_copyarea_accel() 289 offset, stride, dst_format, psbfb_copyarea_accel()
|
H A D | oaktrail_device.c | 221 p->stride = PSB_RVDC32(DSPASTRIDE); oaktrail_save_display_registers() 351 PSB_WVDC32(p->stride, DSPASTRIDE); oaktrail_restore_display_registers() 477 .stride = DSPASTRIDE, 501 .stride = DSPBSTRIDE,
|
H A D | psb_device.c | 276 .stride = DSPASTRIDE, 300 .stride = DSPBSTRIDE,
|
H A D | gma_display.c | 86 REG_WRITE(map->stride, crtc->primary->fb->pitches[0]); gma_pipe_set_base() 582 crtc_state->saveDSPSTRIDE = REG_READ(map->stride); gma_crtc_save() 636 REG_WRITE(map->stride, crtc_state->saveDSPSTRIDE); gma_crtc_restore()
|
H A D | cdv_device.c | 539 .stride = DSPASTRIDE, 564 .stride = DSPBSTRIDE,
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
H A D | rw.c | 533 * [off, off + length], in such stride IO area, 600 /* If ria_length == ria_pages, it means non-stride I/O mode, ras_inside_ra_window() 602 * For stride I/O mode, just check whether the idx is inside ras_inside_ra_window() 637 * the stride gap */ ll_read_ahead_pages() 740 /* If stride I/O mode is detected, get stride window*/ ll_readahead() 779 CDEBUG(D_READA, "ra_end %lu end %lu stride end %lu \n", ll_readahead() 834 * Check whether the read request is in the stride window. 835 * If it is in the stride window, return 1, otherwise return 0. 852 /* Otherwise check the stride by itself */ index_in_stride_window() 871 /*Reset stride window for forward read*/ ras_update_stride_detector() 892 * stride I/O pattern */ ras_stride_increase_window() 999 /* check whether it is in stride I/O mode*/ ras_update() 1022 /*If stride-RA hit cache miss, the stride dector ras_update() 1030 /* Reset both stride window and normal RA ras_update() 1038 /* If this is contiguous read but in stride I/O mode ras_update() 1039 * currently, check whether stride step still is valid, ras_update() 1040 * if invalid, it will reset the stride ra window*/ ras_update() 1042 /* Shrink stride read-ahead window to be zero */ ras_update() 1054 /* Since stride readahead is sensitive to the offset ras_update() 1070 /* Initially reset the stride window offset to next_readahead*/ ras_update() 1073 * Once stride IO mode is detected, next_readahead should be ras_update() 1074 * reset to make sure next_readahead > stride offset ras_update()
|
H A D | llite_internal.h | 345 /* If stride read pattern is detected, ria_stoff means where 346 * stride read is started. Note: for normal read-ahead, the 350 * stride I/O mode. And they will also be used to check whether 351 * it is stride I/O read-ahead in the read-ahead pages*/ 591 * The following 3 items are used for detecting the stride I/O 593 * In stride I/O mode, 605 * number of consecutive stride request count, and it is similar as 606 * ras_consecutive_requests, but used for stride I/O mode. 607 * Note: only more than 2 consecutive stride request are detected, 608 * stride read-ahead will be enable
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_diag.c | 69 /* offset mask elements stride */ 124 (j * i40e_reg_list[i].stride); i40e_diag_reg_test()
|
H A D | i40e_diag.h | 43 u32 stride; /* bytes between each element */ member in struct:i40e_diag_reg_test_info
|
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/hwregs/asm/ |
H A D | clkgen_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
H A D | timer_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
H A D | ddr2_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
H A D | pio_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
H A D | pinmux_defs_asm.h | 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 50 ((inst) + offs + (index) * stride)
|
/linux-4.4.14/arch/cris/include/arch-v32/mach-fs/mach/hwregs/asm/ |
H A D | config_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | timer_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | bif_core_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | gio_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
H A D | pinmux_defs_asm.h | 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ 53 ((inst) + offs + (index) * stride)
|
/linux-4.4.14/drivers/usb/atm/ |
H A D | usbatm.c | 427 unsigned int stride = instance->rx_channel.stride; usbatm_extract_cells() local 431 * the length of avail data may not be a multiple of stride */ usbatm_extract_cells() 436 unsigned int space_left = stride - buf_usage; usbatm_extract_cells() 453 for (; avail_data >= stride; avail_data -= stride, source += stride) usbatm_extract_cells() 457 /* length was not a multiple of stride - usbatm_extract_cells() 476 unsigned int stride = instance->tx_channel.stride; usbatm_write_cells() local 479 bytes_written += stride, target += stride) { usbatm_write_cells() 1092 instance->rx_channel.stride = ATM_CELL_SIZE + driver->rx_padding; usbatm_usb_probe() 1093 instance->tx_channel.stride = ATM_CELL_SIZE + driver->tx_padding; usbatm_usb_probe() 1103 /* tx buffer size must be a positive multiple of the stride */ usbatm_usb_probe() 1104 instance->tx_channel.buf_size = max(instance->tx_channel.stride, usbatm_usb_probe() 1105 snd_buf_bytes - (snd_buf_bytes % instance->tx_channel.stride)); usbatm_usb_probe() 1182 instance->cell_buf = kmalloc(instance->rx_channel.stride, GFP_KERNEL); usbatm_usb_probe()
|
H A D | cxacru.c | 590 const int stride = CMD_PACKET_SIZE - 4; cxacru_cm() local 593 int wbuflen = ((wsize - 1) / stride + 1) * CMD_PACKET_SIZE; cxacru_cm() 594 int rbuflen = ((rsize - 1) / stride + 1) * CMD_PACKET_SIZE; cxacru_cm() 619 for (offb = offd = 0; offd < wsize; offd += stride, offb += CMD_PACKET_SIZE) { cxacru_cm() 621 memcpy(wbuf + offb + 4, wdata + offd, min_t(int, stride, wsize - offd)); cxacru_cm() 673 memcpy(rdata + offd, rbuf + offb + 4, min_t(int, stride, rsize - offd)); cxacru_cm() 674 offd += stride; cxacru_cm() 692 const int stride = CMD_PACKET_SIZE / (4 * 2) - 1; cxacru_cm_get_array() local 693 int buflen = ((size - 1) / stride + 1 + size * 2) * 4; cxacru_cm_get_array() 708 if (l < 0 || l > stride || l > (len - offb) / 2) { cxacru_cm_get_array() 943 const int stride = CMD_PACKET_SIZE - 8; cxacru_fw() local 951 int l = min_t(int, stride, size - offd); cxacru_fw() 962 if (l < stride) cxacru_fw() 963 memset(buf + offb + l, 0, stride - l); cxacru_fw() 964 offb += stride; cxacru_fw() 965 offd += stride; cxacru_fw()
|
H A D | usbatm.h | 121 unsigned int stride; /* ATM cell size + padding */ member in struct:usbatm_channel
|
/linux-4.4.14/drivers/mtd/devices/ |
H A D | ms02-nv.c | 275 uint stride = 0; ms02nv_init() local 283 stride = 2; ms02nv_init() 289 stride = 2; ms02nv_init() 297 if (!ms02nv_init_one(ms02nv_addrs[i] << stride)) ms02nv_init()
|
/linux-4.4.14/tools/perf/arch/arm/tests/ |
H A D | regs_load.S | 31 * - the 8 bytes stride in the registers offsets comes from the fact
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
H A D | gru_instructions.h | 356 * - nelem and stride are in elements 385 unsigned long stride, unsigned long hints) gru_vload() 391 ins->op1_stride = stride; gru_vload() 398 unsigned long stride, unsigned long hints) gru_vstore() 404 ins->op1_stride = stride; gru_vstore() 437 unsigned long stride, unsigned long hints) gru_vset() 444 ins->op1_stride = stride; gru_vset() 464 unsigned long nelem, unsigned char xtype, unsigned long stride, gru_vflush() 470 ins->op1_stride = stride; gru_vflush() 383 gru_vload(void *cb, unsigned long mem_addr, unsigned int tri0, unsigned char xtype, unsigned long nelem, unsigned long stride, unsigned long hints) gru_vload() argument 396 gru_vstore(void *cb, unsigned long mem_addr, unsigned int tri0, unsigned char xtype, unsigned long nelem, unsigned long stride, unsigned long hints) gru_vstore() argument 435 gru_vset(void *cb, unsigned long mem_addr, unsigned long value, unsigned char xtype, unsigned long nelem, unsigned long stride, unsigned long hints) gru_vset() argument 463 gru_vflush(void *cb, unsigned long mem_addr, unsigned long nelem, unsigned char xtype, unsigned long stride, unsigned long hints) gru_vflush() argument
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 64 u8 stride; member in struct:__crb 68 u8 stride; member in struct:__crb 78 u8 stride; member in struct:__ctrl 84 u8 stride; member in struct:__ctrl 107 u16 stride; member in struct:__cache 111 u16 stride; member in struct:__cache 161 u16 stride; member in struct:__queue 165 u16 stride; member in struct:__queue 398 addr += crb->stride; qlcnic_dump_crb() 496 addr += ctr->stride; qlcnic_dump_ctrl() 537 que_id += que->stride; qlcnic_dump_que() 609 val += l1->stride; qlcnic_dump_l1_cache() 656 val += l2->stride; qlcnic_dump_l2_cache()
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
H A D | vpdma.c | 637 int stride; vpdma_add_out_dtd() local 649 stride = ALIGN((depth * width) >> 3, VPDMA_STRIDE_ALIGN); vpdma_add_out_dtd() 651 dma_addr += rect.top * stride + (rect.left * depth >> 3); vpdma_add_out_dtd() 662 stride); vpdma_add_out_dtd() 708 int stride; vpdma_add_in_dtd() local 720 stride = ALIGN((depth * width) >> 3, VPDMA_STRIDE_ALIGN); vpdma_add_in_dtd() 722 dma_addr += rect.top * stride + (rect.left * depth >> 3); vpdma_add_in_dtd() 733 stride); vpdma_add_in_dtd()
|
H A D | vpdma.h | 56 * line stride of source and dest
|
/linux-4.4.14/include/xen/interface/io/ |
H A D | fbif.h | 62 int32_t stride; /* stride in bytes */ member in struct:xenfb_resize
|
/linux-4.4.14/include/uapi/drm/ |
H A D | virtgpu_drm.h | 85 uint32_t stride; /* validate transfer in the host */ member in struct:drm_virtgpu_resource_create 92 uint32_t stride; member in struct:drm_virtgpu_resource_info
|
H A D | qxl_drm.h | 121 int32_t stride; member in struct:drm_qxl_alloc_surf
|
/linux-4.4.14/arch/ia64/hp/sim/boot/ |
H A D | boot_head.S | 77 movl r11=0x1000000000002000 /* stride[0], stride[1] */
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | sysfb.h | 56 int stride; member in struct:efifb_dmi_info
|
/linux-4.4.14/include/video/ |
H A D | imx-ipu-v3.h | 184 void ipu_cpmem_set_stride(struct ipuv3_channel *ch, int stride); 187 void ipu_cpmem_interlaced_scan(struct ipuv3_channel *ch, int stride); 198 u32 pixel_format, int stride, 201 u32 pixel_format, int stride, int height);
|
H A D | tdfx.h | 173 unsigned long stride; member in struct:banshee_reg
|
/linux-4.4.14/arch/mips/include/asm/dec/ |
H A D | kn02.h | 46 #define KN02_CSR_BNK32M (1<<10) /* 32M/8M stride */
|
H A D | kn02xa.h | 62 #define KN02XA_MSR_SIZE (1<<13) /* 16M/4M stride */
|
H A D | kn03.h | 61 #define KN03_MCR_BNK32M (1<<10) /* 32M/8M stride */
|
/linux-4.4.14/drivers/video/fbdev/omap2/ |
H A D | vrfb.c | 107 unsigned long stride = width * bytespp; get_image_width_roundup() local 108 unsigned long ceil_pages_per_stride = (stride / VRFB_PAGE_WIDTH) + get_image_width_roundup() 109 (stride % VRFB_PAGE_WIDTH != 0); get_image_width_roundup()
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
H A D | saa7164-types.h | 268 * stride, in bytes. 270 * bStrideLength - Length of MPEG-2 TS transport stride. 272 * format of the stride data (if any). Set to zeros
|
/linux-4.4.14/arch/mips/include/asm/sn/ |
H A D | addrs.h | 358 KLD_LAUNCH(nasid)->stride * (slice)) 365 KLD_NMI(nasid)->stride * (slice)) 380 KLD_SYMMON_STK(nasid)->stride * (slice)) 381 #define SYMMON_STK_STRIDE(nasid) KLD_SYMMON_STK(nasid)->stride 386 #define SYMMON_STK_SIZE(nasid) KLD_SYMMON_STK(nasid)->stride
|
H A D | kldir.h | 210 size_t stride; /* Stride if array, 0 if not */ member in struct:kldir_ent_s
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
H A D | em28xx-audio.c | 89 unsigned int stride; em28xx_audio_isocirq() local 118 stride = runtime->frame_bits >> 3; em28xx_audio_isocirq() 122 urb->iso_frame_desc[i].actual_length / stride; em28xx_audio_isocirq() 133 memcpy(runtime->dma_area + oldptr * stride, cp, em28xx_audio_isocirq() 134 cnt * stride); em28xx_audio_isocirq() 135 memcpy(runtime->dma_area, cp + cnt * stride, em28xx_audio_isocirq() 136 length * stride - cnt * stride); em28xx_audio_isocirq() 138 memcpy(runtime->dma_area + oldptr * stride, cp, em28xx_audio_isocirq() 139 length * stride); em28xx_audio_isocirq()
|
/linux-4.4.14/drivers/dma/ipu/ |
H A D | ipu_idmac.c | 287 uint16_t height, uint16_t stride) ipu_ch_param_set_size() 295 params->pp.sl = stride - 1; ipu_ch_param_set_size() 394 u_offset = stride * height; ipu_ch_param_set_size() 403 v_offset = stride * height; ipu_ch_param_set_size() 412 u_offset = stride * height; ipu_ch_param_set_size() 644 * @stride: stride length of buffer in pixels. 656 uint32_t stride, ipu_init_channel_buffer() 668 stride_bytes = stride * bytes_per_pixel(pixel_fmt); ipu_init_channel_buffer() 672 "Stride length must be 32-bit aligned, stride = %d, bytes = %d\n", ipu_init_channel_buffer() 673 stride, stride_bytes); ipu_init_channel_buffer() 677 /* IC channel's stride must be a multiple of 8 pixels */ ipu_init_channel_buffer() 678 if ((channel <= IDMAC_IC_13) && (stride % 8)) { ipu_init_channel_buffer() 285 ipu_ch_param_set_size(union chan_param_mem *params, uint32_t pixel_fmt, uint16_t width, uint16_t height, uint16_t stride) ipu_ch_param_set_size() argument 653 ipu_init_channel_buffer(struct idmac_channel *ichan, enum pixel_fmt pixel_fmt, uint16_t width, uint16_t height, uint32_t stride, enum ipu_rotate_mode rot_mode, dma_addr_t phyaddr_0, dma_addr_t phyaddr_1) ipu_init_channel_buffer() argument
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
H A D | config.c | 511 int stride; lnet_str2tbs_expand() local 536 &stride, &scanned) < 3) { lnet_str2tbs_expand() 551 stride = 1; lnet_str2tbs_expand() 559 if (hi < 0 || lo < 0 || stride < 0 || hi < lo || lnet_str2tbs_expand() 560 (hi - lo) % stride != 0) lnet_str2tbs_expand() 563 for (i = lo; i <= hi; i += stride) { lnet_str2tbs_expand()
|
/linux-4.4.14/drivers/pci/ |
H A D | iov.c | 27 dev->sriov->stride * vf_id) >> 8); pci_iov_virtfn_bus() 35 dev->sriov->stride * vf_id) & 0xff; pci_iov_virtfn_devfn() 42 * Update iov->offset and iov->stride when NumVFs is written. 50 pci_read_config_word(dev, iov->pos + PCI_SRIOV_VF_STRIDE, &iov->stride); pci_iov_set_numvfs() 57 * Iterate over all valid NumVFs, validate offset and stride, and calculate 67 if (!iov->offset || (nr_virtfn > 1 && !iov->stride)) { compute_max_vf_buses()
|
H A D | pci.h | 257 u16 stride; /* following VF stride */ member in struct:pci_sriov
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-coh901.c | 75 u32 stride; member in struct:u300_gpio 90 * offset, muliplies by the port stride and adds the register offset 94 (gpio->base + (pin >> 3) * gpio->stride + gpio->reg) 511 int pinoffset = port->number << 3; /* get the right stride */ u300_gpio_irq_handler() 664 gpio->stride = U300_GPIO_PORT_STRIDE; u300_gpio_probe() 719 writel(0x0, gpio->base + portno * gpio->stride + ifr); u300_gpio_probe()
|
/linux-4.4.14/drivers/nvmem/ |
H A D | core.c | 34 int stride; member in struct:nvmem_device 248 if (!IS_ALIGNED(cell->offset, nvmem->stride)) { nvmem_cell_info_to_nvmem_cell() 250 "cell %s unaligned to nvmem stride %d\n", nvmem_cell_info_to_nvmem_cell() 251 cell->name, nvmem->stride); nvmem_cell_info_to_nvmem_cell() 336 nvmem->stride = regmap_get_reg_stride(rm); nvmem_register() 338 nvmem->size = regmap_get_max_register(rm) + nvmem->stride; nvmem_register() 665 if (!IS_ALIGNED(cell->offset, nvmem->stride)) { of_nvmem_cell_get() 667 "cell %s unaligned to nvmem stride %d\n", of_nvmem_cell_get() 668 cell->name, nvmem->stride); of_nvmem_cell_get()
|
/linux-4.4.14/drivers/dma/ |
H A D | s3c24xx-dma.c | 120 * @stride: spacing between the registers of each channel 125 int stride; member in struct:soc_data 1150 /* s3c2410, s3c2440 and s3c2442 have a 0x40 stride without separate clocks */ 1152 .stride = 0x40, 1157 /* s3c2412 and s3c2413 have a 0x40 stride and dmareqsel mechanism */ 1159 .stride = 0x40, 1164 /* s3c2443 and following have a 0x100 stride and dmareqsel mechanism */ 1166 .stride = 0x100, 1242 phy->base = s3cdma->base + (i * sdata->stride); s3c24xx_dma_probe()
|
H A D | at_xdmac.c | 1225 size_t stride = 0, pstride = 0, len = 0; at_xdmac_prep_dma_memset_sg() local 1251 pstride = stride; for_each_sg() 1253 stride = sg_dma_address(sg) - for_each_sg() 1260 * Unfortunately, we don't have the stride, which we for_each_sg() 1264 * len stride len stride len for_each_sg() 1276 if ((stride == pstride) && for_each_sg() 1287 ppdesc->lld.mbr_dus = stride; for_each_sg() 1309 * would be a negative stride, for_each_sg() 1337 * since we don't care about the stride anymore. for_each_sg() 1350 pdesc->lld.mbr_dus = stride; for_each_sg()
|
/linux-4.4.14/arch/powerpc/lib/ |
H A D | copypage_64.S | 42 addi r8,r8,-1 /* one stride copied outside loop */
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-octeon.c | 28 * The register stride is 8, with a discontinuity after the bit_cfg_reg()
|
/linux-4.4.14/drivers/video/fbdev/vermilion/ |
H A D | vermilion.h | 72 /* Graphics plane stride register. */ 222 u32 stride; member in struct:vml_info
|
H A D | vermilion.c | 787 vinfo->stride = ALIGN(var->xres_virtual * vinfo->bytes_per_pixel, 0x40); vmlfb_set_par_locked() 788 info->fix.line_length = vinfo->stride; vmlfb_set_par_locked() 853 VML_WRITE32(par, VML_DSPCSTRIDE, vinfo->stride); vmlfb_set_par_locked() 869 var->yoffset * vinfo->stride + vmlfb_set_par_locked() 956 var->yoffset * vinfo->stride + vmlfb_pan_display()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_binding.h | 149 * @stride: Device data used to reconstruct binding command. 155 uint32 stride; member in struct:vmw_ctx_bindinfo_vb
|
/linux-4.4.14/drivers/dma/ppc4xx/ |
H A D | adma.h | 133 * @stride: currently chained or not 156 u16 stride; member in struct:ppc440spe_adma_desc_slot
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
H A D | regs-gsc.h | 176 /* G-Scaler input chrominance stride */ 195 /* G-Scaler output chrominance stride */
|
H A D | exynos_drm_g2d.c | 153 * @stride: buffer stride/pitch in bytes 162 unsigned int stride; member in struct:g2d_buf_desc 658 (unsigned long)buf_desc->stride + g2d_check_buf_desc_is_valid() 982 buf_desc->stride = cmdlist->data[index + 1]; g2d_check_reg_offset()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | setup.c | 1289 read_mem_block(int *addr, int stride, int size) read_mem_block() argument 1291 long nloads = size / stride, cnt, tmp; read_mem_block() 1307 : "r" (stride), "1" (nloads), "2" (addr)); read_mem_block() 1309 return cnt / (size / stride); read_mem_block() 1324 int stride = 1 << width; external_cache_probe() local 1331 read_mem_block(__va(0), stride, size); external_cache_probe() 1335 cycles = read_mem_block(__va(0), stride, size); external_cache_probe() 1344 read_mem_block(__va(size), stride, size); external_cache_probe() local
|
/linux-4.4.14/arch/arm/mach-omap1/ |
H A D | dma.c | 183 addr += reg_map[reg].stride * lch; dma_write() 196 addr += reg_map[reg].stride * lch; dma_read()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | dma.c | 92 addr += reg_map[reg].stride * lch; dma_write() 102 addr += reg_map[reg].stride * lch; dma_read()
|
/linux-4.4.14/drivers/media/usb/go7007/ |
H A D | go7007-driver.c | 423 unsigned stride = (go->width + 7) >> 3; go7007_motion_regions() local 431 if (!(go->active_map[y * stride + (x >> 3)] & (1 << (x & 7)))) go7007_motion_regions() 486 int x, y, i, stride = ((go->width >> 4) + 7) >> 3; write_bitmap_word() local 491 if (stride * y + (x >> 3) < sizeof(go->active_map)) write_bitmap_word() 492 go->active_map[stride * y + (x >> 3)] |= write_bitmap_word()
|
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/ |
H A D | gpmi-nand.c | 1577 * Set the boot block stride size. nand_boot_set_geometry() 1587 * Set the search area stride exponent. nand_boot_set_geometry() 1606 unsigned int stride; mx23_check_transcription_stamp() local 1623 for (stride = 0; stride < search_area_size_in_strides; stride++) { mx23_check_transcription_stamp() 1625 page = stride * rom_geo->stride_size_in_pages; mx23_check_transcription_stamp() 1665 unsigned int stride; mx23_write_transcription_stamp() local 1713 for (stride = 0; stride < search_area_size_in_strides; stride++) { mx23_write_transcription_stamp() 1715 page = stride * rom_geo->stride_size_in_pages; mx23_write_transcription_stamp() 1717 /* Write the first page of the current stride. */ mx23_write_transcription_stamp()
|
/linux-4.4.14/drivers/media/platform/vivid/ |
H A D | vivid-kthread-cap.c | 75 unsigned stride = (dev->compose_out.width + 7) / 8; copy_pix() local 79 if (!(p[stride * win_y + win_x / 8] & (1 << (win_x & 7)))) copy_pix() 579 unsigned stride = (dev->compose_cap.width + 7) / 8; valid_pix() local 581 if (!(p[stride * win_y + win_x / 8] & (1 << (win_x & 7)))) valid_pix() 611 unsigned stride = tpg->bytesperline[0]; vivid_overlay() local 627 vbuf += dev->compose_cap.left * pixsize + dev->compose_cap.top * stride; vivid_overlay() 645 y++, vbuf += stride) { vivid_overlay()
|
/linux-4.4.14/lib/ |
H A D | swiotlb.c | 432 unsigned int nslots, stride, index, wrap; swiotlb_tbl_map_single() local 455 * For mappings greater than a page, we limit the stride (and swiotlb_tbl_map_single() 460 stride = (1 << (PAGE_SHIFT - IO_TLB_SHIFT)); swiotlb_tbl_map_single() 462 stride = 1; swiotlb_tbl_map_single() 471 index = ALIGN(io_tlb_index, stride); swiotlb_tbl_map_single() 479 index += stride; swiotlb_tbl_map_single() 509 index += stride; swiotlb_tbl_map_single()
|
/linux-4.4.14/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 400 u32 stride; mmpfb_set_win() local 406 stride = pixfmt_to_stride(win.pix_fmt); mmpfb_set_win() 407 win.pitch[0] = var->xres_virtual * stride; mmpfb_set_win() 409 (stride == 1) ? (var->xres_virtual >> 1) : 0; mmpfb_set_win()
|
/linux-4.4.14/drivers/isdn/hisax/ |
H A D | bkm_ax.h | 45 /* Video stride, status and frame grab register */
|
/linux-4.4.14/drivers/md/ |
H A D | raid10.h | 31 sector_t stride; /* distance between far copies. member in struct:r10conf::geom
|
/linux-4.4.14/drivers/media/platform/ |
H A D | via-camera.h | 74 #define VCR_VBISTRIDE 0x32c /* VBI stride */
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | palinfo.c | 366 "Purge outer loop stride : %d\n" vm_info() 367 "Purge inner loop stride : %d\n", vm_info() 369 ptce.stride[0], ptce.stride[1]); vm_info()
|
H A D | setup.c | 23 * 05/28/05 Z. Menyhart Dynamic stride size for "flush_icache_range()" 105 * "flush_icache_range()" needs to know what processor dependent stride size to use 111 * "clflush_cache_range()" needs to know what processor dependent stride size to 839 * 2. the minimum of the i-cache stride sizes for "flush_icache_range()". 840 * 3. the minimum of the cache stride sizes for "clflush_cache_range()".
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/ |
H A D | svga3d_cmd.h | 597 * 'offset' and 'stride' are in bytes. The provided surface will be 603 * Index 1 begins at byte 'offset + stride', etc. Array indices may 608 uint32 stride; member in struct:__anon4670 660 * indexArray.stride. 663 * packed. In other words, indexWidth == indexArray.stride) 741 /* stride offsets in D3D9Renderer... */ 796 uint32 stride; member in struct:__anon4677 1423 uint16 stride; member in struct:__anon4715
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
H A D | omap_drv.h | 234 /* in case someone tries to feed us a completely bogus stride: */ align_pitch() 237 * restrictive stride requirement.. align_pitch()
|
H A D | omap_gem.c | 149 int stride_pfn; /* stride in pages */ 165 /* if stride > than PAGE_SIZE then sparse mapping: */ evict_entry() 340 /* for tiled buffers, the virtual size has stride rounded up omap_gem_mmap_size() 413 * If buffer width in bytes > PAGE_SIZE then the virtual stride is fault_2d() 415 * into account in some of the math, so figure out virtual stride fault_2d() 858 /* Get tiler stride for the buffer (only valid for 2d tiled buffers) */ omap_gem_tiled_stride() 1474 DBG("%d:%d: %dx%d: paddr=%pad stride=%d", i, j, w, h, omap_gem_init()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 900 u32 amount, stride, height; nv50_bo_move_m2mf() local 907 stride = 16 * 4; nv50_bo_move_m2mf() 908 height = amount / stride; nv50_bo_move_m2mf() 914 OUT_RING (chan, stride); nv50_bo_move_m2mf() 927 OUT_RING (chan, stride); nv50_bo_move_m2mf() 943 OUT_RING (chan, stride); nv50_bo_move_m2mf() 944 OUT_RING (chan, stride); nv50_bo_move_m2mf() 945 OUT_RING (chan, stride); nv50_bo_move_m2mf()
|
/linux-4.4.14/arch/mips/include/asm/mach-au1x00/ |
H A D | au1xxx_dbdma.h | 264 /* Source1, 1-dimensional stride. */ 272 /* Dest1, 1-dimensional stride. */
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | r300_cmdbuf.c | 975 int stride; r300_emit_r500fp() local 988 stride = type ? 4 : 6; r300_emit_r500fp() 993 if (sz * stride * 4 > drm_buffer_unprocessed(cmdbuf->buffer)) r300_emit_r500fp() 996 BEGIN_RING(3 + sz * stride); r300_emit_r500fp() 998 OUT_RING(CP_PACKET0_TABLE(R500_GA_US_VECTOR_DATA, sz * stride - 1)); r300_emit_r500fp() 999 OUT_RING_DRM_BUFFER(cmdbuf->buffer, sz * stride); r300_emit_r500fp()
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
H A D | osc_request.c | 1683 * stride down until its '1' and the array is sorted. 1687 int stride, i, j; sort_brw_pages() local 1692 for (stride = 1; stride < num ; stride = (stride * 3) + 1) sort_brw_pages() 1696 stride /= 3; sort_brw_pages() 1697 for (i = stride ; i < num ; i++) { sort_brw_pages() 1700 while (j >= stride && array[j - stride]->off > tmp->off) { sort_brw_pages() 1701 array[j] = array[j - stride]; sort_brw_pages() 1702 j -= stride; sort_brw_pages() 1706 } while (stride > 1); sort_brw_pages()
|
/linux-4.4.14/drivers/dma/xilinx/ |
H A D | xilinx_vdma.c | 149 * @stride: Number of bytes between the first 159 u32 stride; member in struct:xilinx_vdma_desc_hw 715 last->hw.stride); xilinx_vdma_start_transfer() 966 hw->stride = (xt->sgl[0].icg + xt->sgl[0].size) << xilinx_vdma_dma_prep_interleaved() 968 hw->stride |= chan->config.frm_dly << xilinx_vdma_dma_prep_interleaved()
|
/linux-4.4.14/drivers/gpu/drm/via/ |
H A D | via_dmablit.c | 601 DRM_ERROR("Too large system memory stride. Stride: %d, " via_build_sg_info() 625 * we allow a negative fb stride to allow flipping of images in via_build_sg_info() 631 DRM_ERROR("Invalid frame-buffer / memory stride.\n"); via_build_sg_info()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_crtc.c | 512 uint32_t blendcfg, cursor_addr, stride; mdp5_crtc_cursor_set() local 545 stride = width * (bpp >> 3); mdp5_crtc_cursor_set() 556 mdp5_write(mdp5_kms, REG_MDP5_LM_CURSOR_STRIDE(lm), stride); mdp5_crtc_cursor_set()
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | cache.c | 151 printk("DC base 0x%lx stride 0x%lx count 0x%lx loop 0x%lx\n", parisc_cache_init() 169 printk("IC base 0x%lx stride 0x%lx count 0x%lx loop 0x%lx\n", parisc_cache_init()
|
/linux-4.4.14/arch/ia64/mm/ |
H A D | tlb.c | 360 local_cpu_data->ptce_stride[0] = ptce_info.stride[0]; ia64_tlb_init() 361 local_cpu_data->ptce_stride[1] = ptce_info.stride[1]; ia64_tlb_init()
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.h | 261 uint8_t stride; member in struct:qla8044_minidump_entry_rddfe
|
/linux-4.4.14/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfbdrv.c | 427 int stride; mb862xxfb_init_fbinfo() local 535 stride = par->l1_cfg.sw * (fbi->var.bits_per_pixel / 8); mb862xxfb_init_fbinfo() 536 par->l1_stride = stride / 64 + ((stride % 64) ? 1 : 0); mb862xxfb_init_fbinfo()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
H A D | drm.h | 183 unsigned int stride[2]; member in struct:tegra_dc_window
|
/linux-4.4.14/drivers/media/platform/sti/bdisp/ |
H A D | bdisp.h | 62 * @bytesperline: stride of the 1st plane
|