/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_frame_public.h | 52 unsigned int stride; /** stride of a line in bytes */ member in struct:ia_css_frame_plane 113 unsigned int padded_width; /** stride of line in memory (in pixels) */ 214 * @param stride The padded stride, in pixels. 226 unsigned int stride,
|
/linux-master/arch/arm64/include/asm/ |
H A D | tlb.h | 62 unsigned long stride = tlb_get_unmap_size(tlb); local 76 __flush_tlb_range(&vma, tlb->start, tlb->end, stride,
|
/linux-master/drivers/media/platform/amphion/ |
H A D | vpu_helpers.c | 152 u32 stride, u32 interlaced, u32 *pbl) 160 bytesperline = ALIGN(bytesperline, stride); 173 u32 stride, u32 interlaced, u32 *pbl) 189 bytesperline = ALIGN(bytesperline, stride); 202 u32 stride, u32 interlaced, u32 *pbl) 210 bytesperline = ALIGN(bytesperline, stride); 220 u32 stride, u32 interlaced, u32 *pbl) 225 return get_nv12_plane_size(w, h, plane_no, stride, interlaced, pbl); 230 return get_tiled_8l128_plane_size(fmt, w, h, plane_no, stride, interlaced, pbl); 232 return get_default_plane_size(w, h, plane_no, stride, interlace 151 get_nv12_plane_size(u32 width, u32 height, int plane_no, u32 stride, u32 interlaced, u32 *pbl) argument 172 get_tiled_8l128_plane_size(u32 fmt, u32 width, u32 height, int plane_no, u32 stride, u32 interlaced, u32 *pbl) argument 201 get_default_plane_size(u32 width, u32 height, int plane_no, u32 stride, u32 interlaced, u32 *pbl) argument 219 vpu_helper_get_plane_size(u32 fmt, u32 w, u32 h, int plane_no, u32 stride, u32 interlaced, u32 *pbl) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt_fencing.c | 78 unsigned int stride = fence->stride; local 80 GEM_BUG_ON(!IS_ALIGNED(stride, 128)); 85 val |= (u64)((stride / 128) - 1) << fence_pitch_shift; 119 unsigned int stride = fence->stride; local 124 stride /= 128; 126 stride /= 512; 127 GEM_BUG_ON(!is_power_of_2(stride)); 133 val |= ilog2(stride) << I830_FENCE_PITCH_SHIF 153 unsigned int stride = fence->stride; local [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | sh7760fb.c | 202 unsigned long sbase, dstn_off, ldsarl, stride; local 270 stride = (par->rot) ? vtln : hdcn; 272 stride *= (bpp + 7) >> 3; 275 stride >>= 3; 277 stride >>= 2; 279 stride >>= 1; 283 /* if rotated, stride must be power of 2 */ 287 if (stride & bit) 291 if (stride & ~bit) 292 stride [all...] |
/linux-master/drivers/media/pci/cobalt/ |
H A D | cobalt-omnitek.c | 151 unsigned size, unsigned width, unsigned stride, 165 WARN_ON(stride & 3); 166 WARN_ON(stride < width); 167 if (width >= stride) 168 copy_bytes = stride = size; 235 while (copied < stride) { 237 stride - copied); 149 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) argument
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_netvf_main.c | 91 int stride; local 142 /* Determine stride */ 144 stride = 2; 151 stride = 4; 168 tx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_tx_rings * stride; 169 rx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_rx_rings * stride; 200 nn->stride_tx = stride; 201 nn->stride_rx = stride;
|
/linux-master/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 249 unsigned int stride, 260 for (i = 0; i < 8; i++, tmp += stride, out += 8) { 383 fwht16(const s16 *block, s16 *output_block, int stride, int intra) argument 391 for (i = 0; i < 8; i++, tmp += stride, out += 8) { 578 unsigned int stride, unsigned int input_step) 585 input += stride - 8 * input_step; 617 unsigned int stride, unsigned int input_step) 626 fill_encoder_block(cur, tmp, stride, input_step); 643 static void fill_decoder_block(u8 *dst, const s16 *input, int stride, argument 657 dst += stride 248 fwht(const u8 *block, s16 *output_block, unsigned int stride, unsigned int input_step, bool intra) argument 577 fill_encoder_block(const u8 *input, s16 *dst, unsigned int stride, unsigned int input_step) argument 616 decide_blocktype(const u8 *cur, const u8 *reference, s16 *deltablock, unsigned int stride, unsigned int input_step) argument 661 add_deltas(s16 *deltas, const u8 *ref, int stride, unsigned int ref_step) argument 684 encode_plane(u8 *input, u8 *refp, __be16 **rlco, __be16 *rlco_max, struct fwht_cframe *cf, u32 height, u32 width, u32 stride, unsigned int input_step, bool is_intra, bool next_is_intra) argument 777 fwht_encode_frame(struct fwht_raw_frame *frm, struct fwht_raw_frame *ref_frm, struct fwht_cframe *cf, bool is_intra, bool next_is_intra, unsigned int width, unsigned int height, unsigned int stride, unsigned int chroma_stride) argument [all...] |
H A D | codec-v4l2-fwht.h | 32 unsigned int stride; member in struct:v4l2_fwht_state
|
H A D | codec-fwht.h | 111 unsigned int stride, unsigned int chroma_stride);
|
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | dmabuf.c | 217 unsigned int stride = 0; local 225 stride = info->stride; 230 stride = info->stride; 236 obj->tiling_and_stride = tiling_mode | stride; 272 info->stride = p.stride; 302 info->stride = c.width * (c.bpp / 8); 320 info->size = info->stride * roundu [all...] |
H A D | fb_decoder.h | 118 u32 stride; /* in bytes */ member in struct:intel_vgpu_primary_plane_format 135 u32 stride; /* in bytes */ member in struct:intel_vgpu_sprite_plane_format
|
/linux-master/drivers/soc/amlogic/ |
H A D | meson-canvas.c | 86 u32 addr, u32 stride, u32 height, 110 (((stride + 7) >> 3) << CANVAS_WIDTH_LBIT)); 113 ((((stride + 7) >> 3) >> CANVAS_WIDTH_LWID) << 85 meson_canvas_config(struct meson_canvas *canvas, u8 canvas_index, u32 addr, u32 stride, u32 height, unsigned int wrap, unsigned int blkmode, unsigned int endian) argument
|
/linux-master/include/uapi/drm/ |
H A D | virtgpu_drm.h | 123 __u32 stride; /* validate transfer in the host */ member in struct:drm_virtgpu_resource_create 147 __u32 stride; member in struct:drm_virtgpu_3d_transfer_to_host 156 __u32 stride; member in struct:drm_virtgpu_3d_transfer_from_host
|
/linux-master/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm63xx.c | 27 unsigned int stride = offset / BCM63XX_BANK_GPIOS; local 29 *reg = base - stride * BCM63XX_BANK_SIZE;
|
/linux-master/drivers/media/platform/samsung/s5p-g2d/ |
H A D | g2d-hw.c | 28 w(f->stride & 0xFFFF, SRC_STRIDE_REG); 53 w(f->stride & 0xFFFF, DST_STRIDE_REG);
|
/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun4i_frontend.h | 41 * In tiled mode, the stride is defined as the distance between the start of the 50 #define SUN4I_FRONTEND_LINESTRD_TILED(stride) (((stride) - 31) * 32)
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | tegra20.c | 297 unsigned int stride = chan->format.bytesperline; local 308 chan->start_offset += stride * (height - 1); 310 chan->start_offset += stride - 1; 315 chan->addr_offset_u = stride * height; 316 chan->addr_offset_v = chan->addr_offset_u + stride * height / 4; 331 chan->start_offset += stride * (height - 1); 332 chan->start_offset_u += (stride / 2) * ((height / 2) - 1); 333 chan->start_offset_v += (stride / 2) * ((height / 2) - 1); 336 chan->start_offset += stride - 1; 337 chan->start_offset_u += (stride / [all...] |
/linux-master/drivers/gpu/drm/tiny/ |
H A D | bochs.c | 86 u32 stride; member in struct:bochs_device 330 bochs->stride = mode->hdisplay * (bochs->bpp / 8); 331 bochs->yres_virtual = bochs->fb_size / bochs->stride; 386 static void bochs_hw_setbase(struct bochs_device *bochs, int x, int y, int stride, u64 addr) argument 394 bochs->stride = stride; 396 y * bochs->stride + 398 vy = offset / bochs->stride; 399 vx = (offset % bochs->stride) * 8 / bochs->bpp; 400 vwidth = stride * [all...] |
/linux-master/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-vpuapi.c | 282 int num_of_display_fbs, int stride, int height) 295 p_dec_info->stride = stride; 300 if (stride < p_dec_info->initial_info.pic_width || (stride % 8 != 0) || 409 if (p_dec_info->stride == 0) /* this means frame buffers have not been registered. */ 743 unsigned int stride, int height, 752 if (p_enc_info->stride) 761 if (stride == 0 || stride 281 wave5_vpu_dec_register_frame_buffer_ex(struct vpu_instance *inst, int num_of_decoding_fbs, int num_of_display_fbs, int stride, int height) argument 742 wave5_vpu_enc_register_frame_buffer(struct vpu_instance *inst, unsigned int num, unsigned int stride, int height, enum tiled_map_type map_type) argument [all...] |
/linux-master/drivers/mtd/devices/ |
H A D | ms02-nv.c | 271 uint stride = 0; local 279 stride = 2; 285 stride = 2; 292 if (!ms02nv_init_one(ms02nv_addrs[i] << stride))
|
/linux-master/include/xen/interface/io/ |
H A D | fbif.h | 45 int32_t stride; /* stride in bytes */ member in struct:xenfb_resize
|
/linux-master/drivers/fpga/ |
H A D | xilinx-spi.c | 138 size_t remaining, stride; local 142 stride = min_t(size_t, remaining, SZ_4K); 144 ret = spi_write(conf->spi, fw_data, stride); 150 fw_data += stride;
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_dumb.c | 60 surf.stride = pitch;
|
/linux-master/drivers/md/ |
H A D | raid10.h | 45 sector_t stride; /* distance between far copies. member in struct:r10conf::geom
|