Searched refs:polarities (Results 1 - 19 of 19) sorted by relevance

/linux-master/include/media/
H A Dv4l2-dv-timings.h146 * @polarities: the horizontal and vertical polarities (same as struct
147 * v4l2_bt_timings polarities).
156 unsigned active_width, u32 polarities, bool interlaced,
165 * @polarities: the horizontal and vertical polarities (same as struct
166 * v4l2_bt_timings polarities).
180 u32 polarities, bool interlaced, struct v4l2_fract aspect,
/linux-master/drivers/gpu/drm/arm/
H A Dhdlcd_crtc.c132 unsigned int polarities, err; local
141 polarities = HDLCD_POLARITY_DATAEN | HDLCD_POLARITY_DATA;
144 polarities |= HDLCD_POLARITY_HSYNC;
146 polarities |= HDLCD_POLARITY_VSYNC;
160 hdlcd_write(hdlcd, HDLCD_REG_POLARITIES, polarities);
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c276 t1->bt.polarities == t2->bt.polarities &&
327 (bt->polarities & V4L2_DV_HSYNC_POS_POL) ? "+" : "-",
331 (bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-",
336 (bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-",
481 * @polarities - the horizontal and vertical polarities (same as struct
482 * v4l2_bt_timings polarities).
494 u32 polarities,
507 if (polarities
490 v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync, unsigned active_width, u32 polarities, bool interlaced, struct v4l2_dv_timings *fmt) argument
708 v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync, u32 polarities, bool interlaced, struct v4l2_fract aspect, struct v4l2_dv_timings *fmt) argument
[all...]
H A Dv4l2-ioctl.c683 pr_cont("type=bt-656/1120, interlaced=%u, pixelclock=%llu, width=%u, height=%u, polarities=0x%x, hfrontporch=%u, hsync=%u, hbackporch=%u, vfrontporch=%u, vsync=%u, vbackporch=%u, il_vfrontporch=%u, il_vsync=%u, il_vbackporch=%u, standards=0x%x, flags=0x%x\n",
686 p->bt.polarities, p->bt.hfrontporch,
/linux-master/drivers/media/i2c/
H A Dst-mipid02.c339 bool *polarities = ep->bus.mipi_csi2.lane_polarities; local
346 bridge->r.clk_lane_reg1 |= (polarities[0] << 1) | CLK_ENABLE;
352 bool are_lanes_swap, bool *polarities)
354 bool are_pin_swap = are_lanes_swap ? polarities[2] : polarities[1];
371 bool are_lanes_swap, bool *polarities)
373 bool are_pin_swap = are_lanes_swap ? polarities[1] : polarities[2];
390 bool *polarities = ep->bus.mipi_csi2.lane_polarities; local
399 polarities);
351 mipid02_configure_data0_lane(struct mipid02_dev *bridge, int nb, bool are_lanes_swap, bool *polarities) argument
370 mipid02_configure_data1_lane(struct mipid02_dev *bridge, int nb, bool are_lanes_swap, bool *polarities) argument
[all...]
H A Dths8200.c336 if (bt->polarities & V4L2_DV_HSYNC_POS_POL) {
340 if (bt->polarities & V4L2_DV_VSYNC_POS_POL) {
H A Dst-vgxy61.c1428 int polarities[VGXY61_NB_POLARITIES] = {0, 0, 0, 0, 0}; local
1443 /* Build log2phy, phy2log and polarities from ep info */
1462 polarities[l] = ep.bus.mipi_csi2.lane_polarities[l];
1468 sensor->oif_ctrl = (polarities[4] << 15) + ((phy2log[4] - 1) << 13) +
1469 (polarities[3] << 12) + ((phy2log[3] - 1) << 10) +
1470 (polarities[2] << 9) + ((phy2log[2] - 1) << 7) +
1471 (polarities[1] << 6) + ((phy2log[1] - 1) << 4) +
1472 (polarities[0] << 3) +
1480 dev_dbg(&client->dev, "polarity[%d] = %d\n", i, polarities[i]);
H A Dths7303.c300 (int)bt->pixelclock, bt->polarities);
H A Dov5640.c2581 u8 polarities = 0; local
2651 polarities |= BIT(1);
2653 polarities |= BIT(0);
2656 polarities |= BIT(5);
2658 ret = ov5640_write_reg(sensor, OV5640_REG_POLARITY_CTRL00, polarities);
H A Dadv7511-v4l2.c1018 /* set h/vsync polarities */
1020 ((bt->polarities & V4L2_DV_VSYNC_POS_POL) ? 0 : 0x40) |
1021 ((bt->polarities & V4L2_DV_HSYNC_POS_POL) ? 0 : 0x20));
H A Dtda1997x.c1152 timings->bt.polarities = vsync_pos ? V4L2_DV_VSYNC_POS_POL : 0;
1153 timings->bt.polarities |= hsync_pos ? V4L2_DV_HSYNC_POS_POL : 0;
H A Dadv7842.c1573 bt->polarities = ((hdmi_read(sd, 0x05) & 0x10) ? V4L2_DV_VSYNC_POS_POL : 0) |
H A Dadv7604.c1615 bt->polarities = ((hdmi_read(sd, 0x05) & 0x10) ? V4L2_DV_VSYNC_POS_POL : 0) |
2859 /* VS, HS polarities */
/linux-master/drivers/media/platform/aspeed/
H A Daspeed-video.c854 video->detected_timings.polarities &=
858 video->detected_timings.polarities |=
864 video->detected_timings.polarities &=
868 video->detected_timings.polarities |=
1000 det->polarities &= ~V4L2_DV_VSYNC_POS_POL;
1002 det->polarities |= V4L2_DV_VSYNC_POS_POL;
1004 det->polarities &= ~V4L2_DV_HSYNC_POS_POL;
1006 det->polarities |= V4L2_DV_HSYNC_POS_POL;
1008 if (det->polarities & V4L2_DV_VSYNC_POS_POL) {
1018 if (det->polarities
[all...]
/linux-master/drivers/net/phy/
H A Dmediatek-ge-soc.c1363 u32 polarities; local
1366 polarities = ~(priv->boottrap);
1368 polarities = MTK_PHY_LED1_DEFAULT_POLARITIES;
1370 if (polarities & BIT(phydev->mdio.addr))
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_vin.c156 timings->bt.polarities |= V4L2_DV_HSYNC_POS_POL;
158 timings->bt.polarities |= V4L2_DV_VSYNC_POS_POL;
/linux-master/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c327 bt->polarities = (polarity & BIT(4) ? V4L2_DV_VSYNC_POS_POL : 0) |
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vid-cap.c1466 bt->polarities, bt->interlaced, timings))
1477 bt->polarities, bt->interlaced,
/linux-master/include/uapi/linux/
H A Dvideodev2.h1491 * @polarities: Positive or negative polarities
1526 __u32 polarities; member in struct:v4l2_bt_timings

Completed in 317 milliseconds