Home
last modified time | relevance | path

Searched refs:hact (Results 1 – 25 of 25) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_hdmirx.c346 u32 hact, vact, htotal, vtotal, fps, status; in rk628_hdmirx_get_timing() local
365 hact = val & 0xffff; in rk628_hdmirx_get_timing()
410 if ((hofs_pix < hs) || (htotal < (hact + hofs_pix)) || in rk628_hdmirx_get_timing()
414 htotal, vtotal, hact, vact, hofs_pix, hs, vs, vbp); in rk628_hdmirx_get_timing()
418 hfp = htotal - hact - hofs_pix; in rk628_hdmirx_get_timing()
438 hdmirx->mode.hdisplay = hact; in rk628_hdmirx_get_timing()
450 status, hact, vact, htotal, vtotal, fps, pixelclock); in rk628_hdmirx_get_timing()
594 u32 hact, vact, val; in rk628_check_signal() local
597 hact = val & 0xffff; in rk628_check_signal()
601 if (!hact || !vact) { in rk628_check_signal()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dlt8619c.c273 u32 hact, u32 vact) in lt8619c_is_supported_interlaced_res() argument
275 if ((hact == 1920 && vact == 540) || in lt8619c_is_supported_interlaced_res()
276 (hact == 1440 && vact == 288) || in lt8619c_is_supported_interlaced_res()
277 (hact == 1440 && vact == 240)) in lt8619c_is_supported_interlaced_res()
288 u32 hact, vact, htotal, vtotal, hbp, hfp, hs; in lt8619c_get_detected_timings() local
298 hact = val << 8; in lt8619c_get_detected_timings()
300 hact |= val; in lt8619c_get_detected_timings()
344 bt->width = hact; in lt8619c_get_detected_timings()
360 if (lt8619c_is_supported_interlaced_res(sd, hact, vact)) { in lt8619c_get_detected_timings()
370 __func__, hact, vact, htotal, vtotal, fps, bt->pixelclock, in lt8619c_get_detected_timings()
[all …]
H A Dlt6911uxc.c384 u32 hact, vact, htotal, vtotal; in lt6911uxc_get_detected_timings() local
439 hact = ((val_h << 8) | val_l) * 2; in lt6911uxc_get_detected_timings()
460 if (!lt6911uxc_rcv_supported_res(sd, hact, vact)) { in lt6911uxc_get_detected_timings()
477 bt->width = hact; in lt6911uxc_get_detected_timings()
489 if ((hact == 1920 && vact == 540) || (hact == 1440 && vact == 288) in lt6911uxc_get_detected_timings()
490 || (hact == 1440 && vact == 240)) { in lt6911uxc_get_detected_timings()
499 hact, vact, htotal, vtotal, pixel_clock, fps); in lt6911uxc_get_detected_timings()
H A Dlt6911uxe.c786 u32 hact, vact, htotal, vtotal, hs, vs, hbp, vbp, hfp, vfp; in lt6911uxe_get_detected_timings() local
818 hact = ((val_h << 8) | val_l) * 2; in lt6911uxe_get_detected_timings()
830 hbp = htotal - hact - hs - hfp; in lt6911uxe_get_detected_timings()
844 bt->width = hact; in lt6911uxe_get_detected_timings()
856 if ((hact == 1920 && vact == 540) || (hact == 1440 && vact == 288) in lt6911uxe_get_detected_timings()
857 || (hact == 1440 && vact == 240)) { in lt6911uxe_get_detected_timings()
865 if (!lt6911uxe_rcv_supported_res(sd, hact, bt->height)) { in lt6911uxe_get_detected_timings()
872 hact, vact, htotal, vtotal, pixel_clock, fps); in lt6911uxe_get_detected_timings()
H A Dov5640.c189 u32 hact; member
1075 ret = ov5640_write_reg16(sensor, OV5640_REG_VFIFO_HSIZE, mode->hact); in ov5640_set_jpeg_timings()
1094 ret = ov5640_write_reg16(sensor, OV5640_REG_TIMING_DVPHO, mode->hact); in ov5640_set_timings()
1534 hact, vact, in ov5640_find_mode()
1538 (!nearest && (mode->hact != width || mode->vact != height))) in ov5640_find_mode()
2242 fmt->width = mode->hact; in ov5640_try_fmt_internal()
2806 ov5640_mode_data[fse->index].hact; in ov5640_enum_frame_size()
2873 mode->hact, mode->vact); in ov5640_s_frame_interval()
2880 mode = ov5640_find_mode(sensor, frame_rate, mode->hact, in ov5640_s_frame_interval()
H A Dlt7911d.c400 u32 hact, vact, htotal, vtotal; in lt7911d_get_detected_timings() local
427 hact = ((val_h << 8) | val_l) * 2; in lt7911d_get_detected_timings()
449 if (!lt7911d_rcv_supported_res(sd, hact, vact)) { in lt7911d_get_detected_timings()
459 bt->width = hact; in lt7911d_get_detected_timings()
471 hact, vact, htotal, vtotal, pixel_clock, fps); in lt7911d_get_detected_timings()
H A Dlt7911uxc.c577 u32 hact, vact, htotal, vtotal; in lt7911uxc_get_detected_timings() local
608 hact = ((val_h << 8) | val_l); in lt7911uxc_get_detected_timings()
618 bt->width = hact; in lt7911uxc_get_detected_timings()
623 if (!lt7911uxc_rcv_supported_res(sd, hact, vact)) { in lt7911uxc_get_detected_timings()
630 hact, vact, htotal, vtotal, pixel_clock, fps); in lt7911uxc_get_detected_timings()
H A Dtw9910.c515 const unsigned int hact = 720; in tw9910_s_std() local
539 ((hact >> 8) & 0x03)); in tw9910_s_std()
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Dmax96755f.c23 u32 hfp, hsa, hbp, hact; in max96755f_mipi_dsi_rx_config() local
44 hact = mode->hdisplay; in max96755f_mipi_dsi_rx_config()
66 dm_i2c_reg_write(priv->dev, 0x03ad, FIELD_PREP(DPI_HACT_L, hact)); in max96755f_mipi_dsi_rx_config()
67 dm_i2c_reg_write(priv->dev, 0x03ae, FIELD_PREP(DPI_HACT_H, (hact >> 8))); in max96755f_mipi_dsi_rx_config()
H A Ddw_mipi_dsi2.c539 u32 hline, hsa, hbp, hact; in dw_mipi_dsi2_ipi_set() local
565 hact = mode->hdisplay; in dw_mipi_dsi2_ipi_set()
585 tmp = hact * phy_hs_clk; in dw_mipi_dsi2_ipi_set()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/
H A Dpanel-maxim-max96772.c154 u32 hfp, hsa, hbp, hact; in max96772_prepare() local
196 hact = mode->hdisplay; in max96772_prepare()
201 maxim_deserializer_write(p, 0xe794, hact & 0xff); in max96772_prepare()
202 maxim_deserializer_write(p, 0xe795, (hact >> 8) & 0xff); in max96772_prepare()
227 hwords = DIV_ROUND_CLOSEST_ULL(hact * 24, 16) - p->lane_count; in max96772_prepare()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/
H A Dtc358768.c628 u32 val, val2, lptxcnt, hact, data_type; in tc358768_bridge_pre_enable() local
659 hact = mode->hdisplay * 3; in tc358768_bridge_pre_enable()
664 hact = mode->hdisplay * 3; in tc358768_bridge_pre_enable()
670 hact = mode->hdisplay * 18 / 8; in tc358768_bridge_pre_enable()
676 hact = mode->hdisplay * 2; in tc358768_bridge_pre_enable()
801 tc358768_write(priv, TC358768_DSI_HACT, hact); in tc358768_bridge_pre_enable()
H A Dmaxim-max96755f.c202 u32 hfp, hsa, hbp, hact; in max96755f_mipi_dsi_rx_config() local
229 hact = mode->hdisplay; in max96755f_mipi_dsi_rx_config()
252 regmap_write(ser->regmap, 0x03ad, FIELD_PREP(DPI_HACT_L, hact)); in max96755f_mipi_dsi_rx_config()
253 regmap_write(ser->regmap, 0x03ae, FIELD_PREP(DPI_HACT_H, (hact >> 8))); in max96755f_mipi_dsi_rx_config()
H A Dcdns-dsi.c444 unsigned int hact; member
544 dsi_cfg->hact = dpi_to_dsi_timing(mode_valid_check ? in cdns_dsi_mode2cfg()
572 dsi_htotal += dsi_cfg->hact; in cdns_dsi_adjust_phy_config()
805 writel(HFP_LEN(dsi_cfg.hfp) | HACT_LEN(dsi_cfg.hact), in cdns_dsi_bridge_enable()
/OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/
H A Drk628_bt1120_v4l2.c336 u32 hact, vact, htotal, vtotal, fps, status; in rk628_bt1120_get_detected_timings() local
355 hact = val & 0xffff; in rk628_bt1120_get_detected_timings()
394 if ((hofs_pix < hs) || (htotal < (hact + hofs_pix)) || in rk628_bt1120_get_detected_timings()
397 htotal, vtotal, hact, vact, hofs_pix, hs, vs, vbp); in rk628_bt1120_get_detected_timings()
401 hfp = htotal - hact - hofs_pix; in rk628_bt1120_get_detected_timings()
407 bt->width = hact; in rk628_bt1120_get_detected_timings()
424 status, hact, vact, htotal, vtotal, fps, bt->pixelclock); in rk628_bt1120_get_detected_timings()
998 u32 md_ints, pdec_ints, fifo_ints, hact, vact; in rk628_bt1120_isr() local
1033 rk628_i2c_read(bt1120->rk628, HDMI_RX_MD_HACT_PX, &hact); in rk628_bt1120_isr()
1036 __func__, hact, vact); in rk628_bt1120_isr()
H A Drk628_csi_v4l2.c365 u32 hact, vact, htotal, vtotal, fps, status; in rk628_csi_get_detected_timings() local
384 hact = val & 0xffff; in rk628_csi_get_detected_timings()
423 if ((hofs_pix < hs) || (htotal < (hact + hofs_pix)) || in rk628_csi_get_detected_timings()
426 htotal, vtotal, hact, vact, hofs_pix, hs, vs, vbp); in rk628_csi_get_detected_timings()
430 hfp = htotal - hact - hofs_pix; in rk628_csi_get_detected_timings()
436 bt->width = hact; in rk628_csi_get_detected_timings()
456 status, hact, vact, htotal, vtotal, fps, bt->pixelclock); in rk628_csi_get_detected_timings()
1200 u32 md_ints, pdec_ints, fifo_ints, hact, vact; in rk628_csi_isr() local
1235 rk628_i2c_read(csi->rk628, HDMI_RX_MD_HACT_PX, &hact); in rk628_csi_isr()
1238 __func__, hact, vact); in rk628_csi_isr()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk628/
H A Drk628_hdmirx.c749 u32 value, i, hact, vact, bus_width, hdisplay, vdisplay; in rk628_hdmirx_bridge_enable() local
779 regmap_read(hdmirx->regmap, HDMI_RX_MD_HACT_PX, &hact); in rk628_hdmirx_bridge_enable()
782 hact = hact & 0xffff; in rk628_hdmirx_bridge_enable()
784 dev_dbg(hdmirx->dev, "hact:%d,vact:%d\n", hact, vact); in rk628_hdmirx_bridge_enable()
786 if (value == 0xf && hact == hdisplay && vact == vdisplay) in rk628_hdmirx_bridge_enable()
/OK3568_Linux_fs/kernel/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c2378 unsigned vact = 0, hact = 0; in tpg_fill_plane_extras() local
2384 (vact << 5) | (hact << 4) | in tpg_fill_plane_extras()
2385 ((hact ^ vact) << 3) | in tpg_fill_plane_extras()
2386 ((hact ^ params->sav_eav_f) << 2) | in tpg_fill_plane_extras()
2388 (hact ^ vact ^ params->sav_eav_f); in tpg_fill_plane_extras()
2393 unsigned vact = 0, hact = 1; in tpg_fill_plane_extras() local
2399 (vact << 5) | (hact << 4) | in tpg_fill_plane_extras()
2400 ((hact ^ vact) << 3) | in tpg_fill_plane_extras()
2401 ((hact ^ params->sav_eav_f) << 2) | in tpg_fill_plane_extras()
2403 (hact ^ vact ^ params->sav_eav_f); in tpg_fill_plane_extras()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c4325 wc = DIV_ROUND_UP(t->hact * t->bitspp, 8); in print_dsi_vm()
4355 int hact, bl, tot; in print_dispc_vm() local
4357 hact = t->x_res; in print_dispc_vm()
4359 tot = hact + bl; in print_dispc_vm()
4367 t->hsw, t->hbp, hact, t->hfp, in print_dispc_vm()
4368 bl, hact, tot, in print_dispc_vm()
4371 TO_DISPC_T(hact), in print_dispc_vm()
4374 TO_DISPC_T(hact), in print_dispc_vm()
4391 dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(t->hact * t->bitspp, 8) + 6, t->ndl); in print_dsi_dispc_vm()
4398 vm.x_res = t->hact; in print_dsi_dispc_vm()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c4217 wc = DIV_ROUND_UP(t->hact * t->bitspp, 8); in print_dsi_vm()
4247 int hact, bl, tot; in print_dispc_vm() local
4249 hact = vm->hactive; in print_dispc_vm()
4251 tot = hact + bl; in print_dispc_vm()
4259 vm->hsync_len, vm->hback_porch, hact, vm->hfront_porch, in print_dispc_vm()
4260 bl, hact, tot, in print_dispc_vm()
4263 TO_DISPC_T(hact), in print_dispc_vm()
4266 TO_DISPC_T(hact), in print_dispc_vm()
4283 dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(t->hact * t->bitspp, 8) + 6, t->ndl); in print_dsi_dispc_vm()
4290 vm.hactive = t->hact; in print_dsi_dispc_vm()
[all …]
H A Domapdss.h183 u16 hact; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/
H A Ddsi.c481 unsigned int hact, hsw, hbp, hfp, i, mul, div; in tegra_dsi_configure() local
539 hact = mode->hdisplay * mul / div; in tegra_dsi_configure()
559 tegra_dsi_writel(dsi, hact << 16 | hbp, DSI_PKT_LEN_2_3); in tegra_dsi_configure()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/hdmirx/
H A Drk_hdmirx.c729 u32 hact, vact, htotal, vtotal, fps; in hdmirx_get_timings() local
736 hact = (val >> 16) & 0xffff; in hdmirx_get_timings()
755 hact = val & 0xffff; in hdmirx_get_timings()
772 hact *= 2; in hdmirx_get_timings()
776 hfp = htotal - hact - hs - hbp; in hdmirx_get_timings()
781 hact = (hact * 24) / hdmirx_dev->color_depth; in hdmirx_get_timings()
784 bt->width = hact; in hdmirx_get_timings()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi2-rockchip.c722 u32 hline, hsa, hbp, hact; in dw_mipi_dsi2_ipi_set() local
748 hact = mode->hdisplay; in dw_mipi_dsi2_ipi_set()
770 tmp = hact * phy_hs_clk; in dw_mipi_dsi2_ipi_set()
/OK3568_Linux_fs/kernel/include/video/
H A Domapfb_dss.h205 u16 hact; member