Home
last modified time | relevance | path

Searched refs:bytes_per_line (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_log.c32 const uint8_t bytes_per_line = 16, in mod_hdcp_dump_binary_message() local
36 uint32_t line_count = msg_size / bytes_per_line, in mod_hdcp_dump_binary_message()
37 trailing_bytes = msg_size % bytes_per_line; in mod_hdcp_dump_binary_message()
38 uint32_t target_size = (byte_size * bytes_per_line + newline_size) * line_count + in mod_hdcp_dump_binary_message()
45 if (i % bytes_per_line == 0) in mod_hdcp_dump_binary_message()
/drivers/media/usb/pwc/
Dpwc-dec23.c349 static void copy_image_block_Y(const int *src, unsigned char *dst, unsigned int bytes_per_line, uns… in copy_image_block_Y() argument
361 d = dst + bytes_per_line; in copy_image_block_Y()
367 d = dst + bytes_per_line*2; in copy_image_block_Y()
373 d = dst + bytes_per_line*3; in copy_image_block_Y()
385 d = dst + bytes_per_line; in copy_image_block_Y()
389 d = dst + bytes_per_line*2; in copy_image_block_Y()
393 d = dst + bytes_per_line*3; in copy_image_block_Y()
403 static void copy_image_block_CrCb(const int *src, unsigned char *dst, unsigned int bytes_per_line, … in copy_image_block_CrCb() argument
420 d = dst + bytes_per_line; in copy_image_block_CrCb()
440 d = dst + bytes_per_line; in copy_image_block_CrCb()
/drivers/firmware/google/
Dframebuffer-coreboot.c35 .stride = fb->bytes_per_line, in framebuffer_probe()
56 length = PAGE_ALIGN(fb->y_resolution * fb->bytes_per_line); in framebuffer_probe()
Dcoreboot_table.h50 u32 bytes_per_line; member
/drivers/dma/
Dtimb_dma.c81 unsigned int bytes_per_line; member
202 iowrite32(td_chan->bytes_per_line, td_chan->membase + in __td_start_dma()
704 td_chan->bytes_per_line = pchan->bytes_per_line; in td_probe()
/drivers/staging/media/atomisp/pci/runtime/isys/src/
Dvirtual_isys.c575 s32 bytes_per_line; in calculate_stride() local
587 bytes_per_line = HIVE_ISP_DDR_WORD_BYTES * words_per_line; in calculate_stride()
589 return bytes_per_line; in calculate_stride()
/drivers/media/platform/
Dsh_vou.c243 int bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_queue_setup() local
248 return sizes[0] < pix->height * bytes_per_line ? -EINVAL : 0; in sh_vou_queue_setup()
250 sizes[0] = pix->height * bytes_per_line; in sh_vou_queue_setup()
258 unsigned bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_buf_prepare() local
259 unsigned size = pix->height * bytes_per_line; in sh_vou_buf_prepare()
Dpxa_camera.c575 u32 bytes_per_line, u32 height) in pxa_mbus_image_size() argument
578 return bytes_per_line * height; in pxa_mbus_image_size()
582 return bytes_per_line * height * 2; in pxa_mbus_image_size()
/drivers/staging/media/tegra-video/
Dtegra210.c276 int bytes_per_line = chan->format.bytesperline; in tegra_channel_capture_frame() local
283 vi_csi_write(chan, TEGRA_VI_CSI_SURFACE0_STRIDE, bytes_per_line); in tegra_channel_capture_frame()
/drivers/media/platform/qcom/camss/
Dcamss-vfe-4-7.c346 static int vfe_word_per_line_by_bytes(u32 bytes_per_line) in vfe_word_per_line_by_bytes() argument
348 return CALC_WORD(bytes_per_line, 1, 8); in vfe_word_per_line_by_bytes()
/drivers/mfd/
Dtimberdale.c323 .bytes_per_line = 1440,
/drivers/media/platform/ti-vpe/
Dvpe.c877 int bytes_per_line; in set_srcdst_params() local
888 bytes_per_line = ALIGN((spix->width * mv->depth) >> 3, in set_srcdst_params()
890 mv_buf_size = bytes_per_line * spix->height; in set_srcdst_params()