Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-lite.c375 wh = frame->f_width * frame->f_height; in queue_setup()
623 v4l_bound_align_image(&r->width, 0, frame->f_width, 0, in fimc_lite_try_crop()
627 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_crop()
633 frame->f_width, frame->f_height); in fimc_lite_try_crop()
647 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_compose()
653 frame->f_width, frame->f_height); in fimc_lite_try_compose()
698 plane_fmt->bytesperline = (frame->f_width * fmt->depth[0]) / 8; in fimc_lite_g_fmt_mplane()
703 pixm->width = frame->f_width; in fimc_lite_g_fmt_mplane()
780 frame->f_width = pixm->width; in fimc_lite_s_fmt_mplane()
801 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
Dfimc-lite-reg.c155 cfg |= (f->f_width << 16) | f->f_height; in flite_hw_set_source_format()
172 hoff2 = f->f_width - f->rect.width - f->rect.left; in flite_hw_set_window_offset()
257 cfg = (f->f_height << 16) | f->f_width; in flite_hw_set_dma_window()
Dfimc-capture.c359 wh = frame->f_width * frame->f_height; in queue_setup()
626 *width = ctx->s_frame.f_width; in fimc_capture_try_format()
651 dst->f_width, dst->f_height); in fimc_capture_try_format()
671 r->width = sink->f_width; in fimc_capture_try_selection()
700 rotate ? sink->f_height : sink->f_width); in fimc_capture_try_selection()
704 min_w = min_t(u32, max_w, sink->f_width / max_sc_h); in fimc_capture_try_selection()
715 r->left = clamp_t(u32, r->left, 0, sink->f_width - r->width); in fimc_capture_try_selection()
721 sink->f_width, sink->f_height); in fimc_capture_try_selection()
941 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
1147 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
Dfimc-lite.h89 u16 f_width; member
Dfimc-core.h250 u32 f_width; member
514 f->f_width = width; in set_frame_bounds()
Dfimc-reg.c156 cfg = (frame->f_height << 16) | frame->f_width; in fimc_hw_set_out_dma_size()
161 if (frame->f_width >= 1280) /* HD */ in fimc_hw_set_out_dma_size()
416 cfg_o |= (frame->f_height << 16) | frame->f_width; in fimc_hw_set_in_dma_size()
Dfimc-m2m.c350 frame->f_width = pixm->width; in __set_frame_format()
483 f->f_width, f->f_height); in fimc_m2m_try_crop()
/linux-4.4.14/drivers/pinctrl/sh-pfc/
Dsh_pfc.h103 #define PINMUX_CFG_REG(name, r, r_width, f_width) \ argument
104 .reg = r, .reg_width = r_width, .field_width = f_width, \
105 .enum_ids = (const u16 [(r_width / f_width) * (1 << f_width)])
Dcore.c236 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg() local
249 if (f_width) in sh_pfc_get_config_reg()
250 curr_width = f_width; in sh_pfc_get_config_reg()
/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-regs.c228 cfg |= (frame->f_width << 16) | frame->f_height; in camif_hw_set_out_dma_size()
305 pr_debug("fw: %d, fh: %d color: %d\n", frame->f_width, in camif_hw_set_target_format()
337 cfg |= (frame->f_height << 16) | frame->f_width; in camif_hw_set_target_format()
339 cfg |= (frame->f_width << 16) | frame->f_height; in camif_hw_set_target_format()
345 cfg |= (frame->f_width * frame->f_height); in camif_hw_set_target_format()
Dcamif-capture.c60 f->dma_offset.initial = f->rect.top * f->f_width + f->rect.left; in camif_prepare_dma_offset()
61 f->dma_offset.line = f->f_width - (f->rect.left + f->rect.width); in camif_prepare_dma_offset()
460 size = (frame->f_width * frame->f_height * fmt->depth) / 8; in queue_setup()
717 pix->bytesperline = frame->f_width * fmt->ybpp; in s3c_camif_vidioc_g_fmt()
721 pix->width = frame->f_width; in s3c_camif_vidioc_g_fmt()
807 out_frame->f_width = pix->width; in s3c_camif_vidioc_s_fmt()
820 out_frame->f_width, out_frame->f_height, vp->payload, fmt->name, in s3c_camif_vidioc_s_fmt()
1011 sel->r.width = vp->out_frame.f_width; in s3c_camif_g_selection()
1348 frame->f_width = mf->width; in s3c_camif_subdev_set_fmt()
1648 f->f_width = CAMIF_DEF_WIDTH; in s3c_camif_set_defaults()
[all …]
Dcamif-core.h122 u16 f_width; member
/linux-4.4.14/drivers/video/fbdev/
Dsh_mobile_hdmi.c849 unsigned int f_width = 0, f_height = 0, f_refresh = 0; in sh_hdmi_read_edid() local
913 &f_width, &f_height, &f_refresh); in sh_hdmi_read_edid()
915 f_width = 0; in sh_hdmi_read_edid()
922 f_width, f_height, f_refresh); in sh_hdmi_read_edid()
931 if (!f_width && !f_height) { in sh_hdmi_read_edid()
942 } else if (f_width != mode->xres || f_height != mode->yres) { in sh_hdmi_read_edid()
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-core.c231 frame->f_width = width; in gsc_set_frame_size()
479 pix_mp->width = frame->f_width; in gsc_g_fmt_mplane()
487 pix_mp->plane_fmt[i].bytesperline = (frame->f_width * in gsc_g_fmt_mplane()
540 max_w = f->f_width; in gsc_try_crop()
564 max_h = f->f_width; in gsc_try_crop()
810 pix_size = frame->f_width * frame->f_height; in gsc_prepare_addr()
Dgsc-regs.c136 cfg = GSC_SRCIMG_WIDTH(frame->f_width); in gsc_hw_set_in_size()
249 cfg = GSC_DSTIMG_WIDTH(frame->f_width); in gsc_hw_set_out_size()
Dgsc-core.h201 u32 f_width; member
Dgsc-m2m.c356 pr_debug("f_w: %d, f_h: %d", frame->f_width, frame->f_height); in gsc_m2m_s_fmt_mplane()
469 s->r.width = frame->f_width; in gsc_m2m_g_selection()