Home
last modified time | relevance | path

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

/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-lite.c356 unsigned long wh = frame->f_width * frame->f_height; in queue_setup()
608 v4l_bound_align_image(&r->width, 0, frame->f_width, 0, in fimc_lite_try_crop()
612 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_crop()
618 frame->f_width, frame->f_height); in fimc_lite_try_crop()
632 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_compose()
638 frame->f_width, frame->f_height); in fimc_lite_try_compose()
675 plane_fmt->bytesperline = (frame->f_width * fmt->depth[0]) / 8; in fimc_lite_g_fmt_mplane()
680 pixm->width = frame->f_width; in fimc_lite_g_fmt_mplane()
757 frame->f_width = pixm->width; in fimc_lite_s_fmt_mplane()
783 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
H A 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()
255 cfg |= (f->f_height << 16) | f->f_width; in flite_hw_set_dma_window()
H A 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()
925 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
1136 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
H A Dfimc-lite.h86 u16 f_width; member
H A Dfimc-core.h248 u32 f_width; member
505 f->f_width = width; in set_frame_bounds()
H A 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()
H A Dfimc-m2m.c328 frame->f_width = pixm->width; in __set_frame_format()
481 f->f_width, f->f_height); in fimc_m2m_try_selection()
/linux/drivers/pinctrl/renesas/
H A Dsh_pfc.h128 #define PINMUX_CFG_REG(name, r, r_width, f_width, ids) \ argument
130 .field_width = f_width + BUILD_BUG_ON_ZERO(r_width % f_width) + \
132 (r_width / f_width) << f_width), \
133 .enum_ids = (const u16 [(r_width / f_width) << f_width]) { ids }
H A Dcore.c255 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg() local
268 if (f_width) { in sh_pfc_get_config_reg()
269 curr_width = f_width; in sh_pfc_get_config_reg()
/linux/drivers/media/platform/samsung/s3c-camif/
H A 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()
H A 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()
991 sel->r.width = vp->out_frame.f_width; in s3c_camif_g_selection()
1329 frame->f_width = mf->width; in s3c_camif_subdev_set_fmt()
1629 f->f_width = CAMIF_DEF_WIDTH; in s3c_camif_set_defaults()
[all …]
H A Dcamif-core.h118 u16 f_width; member
/linux/drivers/clk/
H A Dclk-loongson1.c154 f_shift, f_width, i_shift, i_width) \ argument
163 .frac_width = (f_width), \
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c231 frame->f_width = width; in gsc_set_frame_size()
489 pix_mp->width = frame->f_width; in gsc_g_fmt_mplane()
497 pix_mp->plane_fmt[i].bytesperline = (frame->f_width * in gsc_g_fmt_mplane()
537 max_w = f->f_width; in gsc_try_selection()
561 max_h = f->f_width; in gsc_try_selection()
807 pix_size = frame->f_width * frame->f_height; in gsc_prepare_addr()
H A 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()
H A Dgsc-m2m.c356 pr_debug("f_w: %d, f_h: %d", frame->f_width, frame->f_height); in gsc_m2m_s_fmt_mplane()
463 s->r.width = frame->f_width; in gsc_m2m_g_selection()
H A Dgsc-core.h192 u32 f_width; member