Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-dv-timings.c276 t1->bt.polarities == t2->bt.polarities && in v4l2_match_dv_timings()
327 (bt->polarities & V4L2_DV_HSYNC_POS_POL) ? "+" : "-", in v4l2_print_dv_timings()
331 (bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-", in v4l2_print_dv_timings()
336 (bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-", in v4l2_print_dv_timings()
494 u32 polarities, in v4l2_detect_cvt() argument
507 if (polarities == V4L2_DV_VSYNC_POS_POL) in v4l2_detect_cvt()
509 else if (polarities == V4L2_DV_HSYNC_POS_POL) in v4l2_detect_cvt()
629 fmt->bt.polarities = polarities; in v4l2_detect_cvt()
711 u32 polarities, in v4l2_detect_gtf() argument
725 if (polarities == V4L2_DV_VSYNC_POS_POL) in v4l2_detect_gtf()
[all …]
/linux-6.12.1/drivers/media/i2c/
Dst-mipid02.c339 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_clk_lane() local
346 bridge->r.clk_lane_reg1 |= (polarities[0] << 1) | CLK_ENABLE; in mipid02_configure_clk_lane()
352 bool are_lanes_swap, bool *polarities) in mipid02_configure_data0_lane() argument
354 bool are_pin_swap = are_lanes_swap ? polarities[2] : polarities[1]; in mipid02_configure_data0_lane()
371 bool are_lanes_swap, bool *polarities) in mipid02_configure_data1_lane() argument
373 bool are_pin_swap = are_lanes_swap ? polarities[1] : polarities[2]; in mipid02_configure_data1_lane()
390 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_from_rx() local
399 polarities); in mipid02_configure_from_rx()
404 polarities); in mipid02_configure_from_rx()
Dvgxy61.c1428 int polarities[VGXY61_NB_POLARITIES] = {0, 0, 0, 0, 0}; in vgxy61_tx_from_ep() local
1462 polarities[l] = ep.bus.mipi_csi2.lane_polarities[l]; in vgxy61_tx_from_ep()
1468 sensor->oif_ctrl = (polarities[4] << 15) + ((phy2log[4] - 1) << 13) + in vgxy61_tx_from_ep()
1469 (polarities[3] << 12) + ((phy2log[3] - 1) << 10) + in vgxy61_tx_from_ep()
1470 (polarities[2] << 9) + ((phy2log[2] - 1) << 7) + in vgxy61_tx_from_ep()
1471 (polarities[1] << 6) + ((phy2log[1] - 1) << 4) + in vgxy61_tx_from_ep()
1472 (polarities[0] << 3) + in vgxy61_tx_from_ep()
1480 dev_dbg(&client->dev, "polarity[%d] = %d\n", i, polarities[i]); in vgxy61_tx_from_ep()
Dths8200.c336 if (bt->polarities & V4L2_DV_HSYNC_POS_POL) { in ths8200_setup()
340 if (bt->polarities & V4L2_DV_VSYNC_POS_POL) { in ths8200_setup()
Dths7303.c299 (int)bt->pixelclock, bt->polarities); in ths7303_log_status()
Dov5640.c2581 u8 polarities = 0; in ov5640_set_power_dvp() local
2651 polarities |= BIT(1); in ov5640_set_power_dvp()
2653 polarities |= BIT(0); in ov5640_set_power_dvp()
2656 polarities |= BIT(5); in ov5640_set_power_dvp()
2658 ret = ov5640_write_reg(sensor, OV5640_REG_POLARITY_CTRL00, polarities); in ov5640_set_power_dvp()
Dadv7511-v4l2.c1018 ((bt->polarities & V4L2_DV_VSYNC_POS_POL) ? 0 : 0x40) | in adv7511_s_dv_timings()
1019 ((bt->polarities & V4L2_DV_HSYNC_POS_POL) ? 0 : 0x20)); in adv7511_s_dv_timings()
/linux-6.12.1/drivers/gpu/drm/arm/
Dhdlcd_crtc.c132 unsigned int polarities, err; in hdlcd_crtc_mode_set_nofb() local
141 polarities = HDLCD_POLARITY_DATAEN | HDLCD_POLARITY_DATA; in hdlcd_crtc_mode_set_nofb()
144 polarities |= HDLCD_POLARITY_HSYNC; in hdlcd_crtc_mode_set_nofb()
146 polarities |= HDLCD_POLARITY_VSYNC; in hdlcd_crtc_mode_set_nofb()
160 hdlcd_write(hdlcd, HDLCD_REG_POLARITIES, polarities); in hdlcd_crtc_mode_set_nofb()
/linux-6.12.1/include/media/
Dv4l2-dv-timings.h156 unsigned active_width, u32 polarities, bool interlaced,
180 u32 polarities, bool interlaced, struct v4l2_fract aspect,
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Dr8a779a0-falcon-csi-dsi.dtsi134 lane-polarities = <0 0 0 0 1>;
156 lane-polarities = <0 0 0 0 1>;
/linux-6.12.1/drivers/media/platform/aspeed/
Daspeed-video.c854 video->detected_timings.polarities &= in aspeed_video_check_and_set_polarity()
858 video->detected_timings.polarities |= in aspeed_video_check_and_set_polarity()
864 video->detected_timings.polarities &= in aspeed_video_check_and_set_polarity()
868 video->detected_timings.polarities |= in aspeed_video_check_and_set_polarity()
1000 det->polarities &= ~V4L2_DV_VSYNC_POS_POL; in aspeed_video_get_timings()
1002 det->polarities |= V4L2_DV_VSYNC_POS_POL; in aspeed_video_get_timings()
1004 det->polarities &= ~V4L2_DV_HSYNC_POS_POL; in aspeed_video_get_timings()
1006 det->polarities |= V4L2_DV_HSYNC_POS_POL; in aspeed_video_get_timings()
1008 if (det->polarities & V4L2_DV_VSYNC_POS_POL) { in aspeed_video_get_timings()
1018 if (det->polarities & V4L2_DV_HSYNC_POS_POL) { in aspeed_video_get_timings()
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Domap3-n9.dts56 lane-polarities = <1 1 1>;
Domap3-n950.dts102 lane-polarities = <1 1 1>;
/linux-6.12.1/Documentation/devicetree/bindings/media/
Dti,omap3isp.txt48 lane-polarities : lane polarity (required on CSI-2)
/linux-6.12.1/drivers/net/phy/
Dmediatek-ge-soc.c1372 u32 polarities; in mt7988_phy_led_get_polarity() local
1375 polarities = ~(priv->boottrap); in mt7988_phy_led_get_polarity()
1377 polarities = MTK_PHY_LED1_DEFAULT_POLARITIES; in mt7988_phy_led_get_polarity()
1379 if (polarities & BIT(phydev->mdio.addr)) in mt7988_phy_led_get_polarity()
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Ddv-timings.rst20 width and height, signal polarities, frontporches, backporches, sync
Dvidioc-g-dv-timings.rst108 - ``polarities``
109 - This is a bit mask that defines polarities of sync signals. bit 0
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx8mm-phg.dts196 lane-polarities = <1 0 0 0 0>;
/linux-6.12.1/Documentation/admin-guide/media/
Dmgb4.rst101 the polarities field of the v4l2_bt_timings struct.
111 the polarities field of the v4l2_bt_timings struct.
/linux-6.12.1/drivers/media/pci/mgb4/
Dmgb4_vout.c79 timings->bt.polarities |= V4L2_DV_HSYNC_POS_POL; in get_timings()
81 timings->bt.polarities |= V4L2_DV_VSYNC_POS_POL; in get_timings()
Dmgb4_vin.c160 timings->bt.polarities |= V4L2_DV_HSYNC_POS_POL; in get_timings()
162 timings->bt.polarities |= V4L2_DV_VSYNC_POS_POL; in get_timings()
/linux-6.12.1/arch/arm/boot/dts/st/
Dstm32mp135f-dk.dts277 lane-polarities = <0 0 0>;
/linux-6.12.1/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c327 bt->polarities = (polarity & BIT(4) ? V4L2_DV_VSYNC_POS_POL : 0) | in adv748x_hdmi_query_dv_timings()
/linux-6.12.1/Documentation/networking/pse-pd/
Dpse-pi.rst59 different polarities, known as variant X and variant S, to accommodate
/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-vid-cap.c1463 bt->polarities, bt->interlaced, timings)) in valid_cvt_gtf_timings()
1474 bt->polarities, bt->interlaced, in valid_cvt_gtf_timings()

12