Home
last modified time | relevance | path

Searched refs:f_width (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.15/drivers/media/platform/exynos4-is/
Dfimc-lite.c356 unsigned long wh = frame->f_width * frame->f_height; in queue_setup()
610 v4l_bound_align_image(&r->width, 0, frame->f_width, 0, in fimc_lite_try_crop()
614 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_crop()
620 frame->f_width, frame->f_height); in fimc_lite_try_crop()
634 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_compose()
640 frame->f_width, frame->f_height); in fimc_lite_try_compose()
681 plane_fmt->bytesperline = (frame->f_width * fmt->depth[0]) / 8; in fimc_lite_g_fmt_mplane()
686 pixm->width = frame->f_width; in fimc_lite_g_fmt_mplane()
763 frame->f_width = pixm->width; in fimc_lite_s_fmt_mplane()
784 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
Dfimc-lite-reg.c152 cfg |= (f->f_width << 16) | f->f_height; in flite_hw_set_source_format()
169 hoff2 = f->f_width - f->rect.width - f->rect.left; in flite_hw_set_window_offset()
254 cfg |= (f->f_height << 16) | f->f_width; in flite_hw_set_dma_window()
Dfimc-capture.c347 unsigned long wh = frame->f_width * frame->f_height; in queue_setup()
609 *width = ctx->s_frame.f_width; in fimc_capture_try_format()
634 dst->f_width, dst->f_height); in fimc_capture_try_format()
654 r->width = sink->f_width; in fimc_capture_try_selection()
686 rotate ? sink->f_height : sink->f_width); in fimc_capture_try_selection()
690 min_w = min_t(u32, max_w, sink->f_width / max_sc_h); in fimc_capture_try_selection()
701 r->left = clamp_t(u32, r->left, 0, sink->f_width - r->width); in fimc_capture_try_selection()
707 sink->f_width, sink->f_height); in fimc_capture_try_selection()
924 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
1130 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
Dfimc-lite.h86 u16 f_width; member
Dfimc-core.h248 u32 f_width; member
505 f->f_width = width; in set_frame_bounds()
Dfimc-reg.c153 cfg = (frame->f_height << 16) | frame->f_width; in fimc_hw_set_out_dma_size()
158 if (frame->f_width >= 1280) /* HD */ in fimc_hw_set_out_dma_size()
413 cfg_o |= (frame->f_height << 16) | frame->f_width; in fimc_hw_set_in_dma_size()
Dfimc-m2m.c327 frame->f_width = pixm->width; in __set_frame_format()
480 f->f_width, f->f_height); in fimc_m2m_try_selection()
/Linux-v5.15/drivers/pinctrl/renesas/
Dsh_pfc.h150 #define PINMUX_CFG_REG(name, r, r_width, f_width, ids) \ argument
152 .field_width = f_width + BUILD_BUG_ON_ZERO(r_width % f_width) + \
154 (r_width / f_width) * (1 << f_width)), \
155 .enum_ids = (const u16 [(r_width / f_width) * (1 << f_width)]) \
Dcore.c256 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg() local
269 if (f_width) in sh_pfc_get_config_reg()
270 curr_width = f_width; in sh_pfc_get_config_reg()
/Linux-v5.15/drivers/media/platform/s3c-camif/
Dcamif-regs.c225 cfg |= (frame->f_width << 16) | frame->f_height; in camif_hw_set_out_dma_size()
302 pr_debug("fw: %d, fh: %d color: %d\n", frame->f_width, in camif_hw_set_target_format()
334 cfg |= (frame->f_height << 16) | frame->f_width; in camif_hw_set_target_format()
336 cfg |= (frame->f_width << 16) | frame->f_height; in camif_hw_set_target_format()
342 cfg |= (frame->f_width * frame->f_height); in camif_hw_set_target_format()
Dcamif-capture.c57 f->dma_offset.initial = f->rect.top * f->f_width + f->rect.left; in camif_prepare_dma_offset()
58 f->dma_offset.line = f->f_width - (f->rect.left + f->rect.width); in camif_prepare_dma_offset()
449 size = (frame->f_width * frame->f_height * fmt->depth) / 8; in queue_setup()
696 pix->bytesperline = frame->f_width * fmt->ybpp; in s3c_camif_vidioc_g_fmt()
700 pix->width = frame->f_width; in s3c_camif_vidioc_g_fmt()
786 out_frame->f_width = pix->width; in s3c_camif_vidioc_s_fmt()
799 out_frame->f_width, out_frame->f_height, vp->payload, in s3c_camif_vidioc_s_fmt()
990 sel->r.width = vp->out_frame.f_width; in s3c_camif_g_selection()
1330 frame->f_width = mf->width; in s3c_camif_subdev_set_fmt()
1630 f->f_width = CAMIF_DEF_WIDTH; in s3c_camif_set_defaults()
[all …]
Dcamif-core.h118 u16 f_width; member
/Linux-v5.15/drivers/media/platform/exynos-gsc/
Dgsc-core.c232 frame->f_width = width; in gsc_set_frame_size()
491 pix_mp->width = frame->f_width; in gsc_g_fmt_mplane()
499 pix_mp->plane_fmt[i].bytesperline = (frame->f_width * in gsc_g_fmt_mplane()
539 max_w = f->f_width; in gsc_try_selection()
563 max_h = f->f_width; in gsc_try_selection()
809 pix_size = frame->f_width * frame->f_height; in gsc_prepare_addr()
Dgsc-regs.c132 cfg = GSC_SRCIMG_WIDTH(frame->f_width); in gsc_hw_set_in_size()
245 cfg = GSC_DSTIMG_WIDTH(frame->f_width); in gsc_hw_set_out_size()
Dgsc-core.h193 u32 f_width; member
Dgsc-m2m.c361 pr_debug("f_w: %d, f_h: %d", frame->f_width, frame->f_height); in gsc_m2m_s_fmt_mplane()
468 s->r.width = frame->f_width; in gsc_m2m_g_selection()