/Linux-v5.10/drivers/media/usb/gspca/m5602/ |
D | m5602_s5k83a.c | 168 __s32 vflip, __s32 hflip); 278 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_HFLIP, in s5k83a_init_controls() 288 v4l2_ctrl_cluster(2, &sd->hflip); in s5k83a_init_controls() 297 __s32 vflip, hflip; in rotation_thread_function() local 309 hflip = sd->hflip->val; in rotation_thread_function() 314 hflip = !hflip; in rotation_thread_function() 317 vflip, hflip); in rotation_thread_function() 326 hflip = sd->hflip->val; in rotation_thread_function() 328 s5k83a_set_flip_real((struct gspca_dev *) sd, vflip, hflip); in rotation_thread_function() 433 __s32 vflip, __s32 hflip) in s5k83a_set_flip_real() argument [all …]
|
D | m5602_s5k4aa.c | 546 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_HFLIP, in s5k4aa_init_controls() 556 v4l2_ctrl_cluster(2, &sd->hflip); in s5k4aa_init_controls() 586 int hflip = sd->hflip->val; in s5k4aa_set_hvflip() local 589 gspca_dbg(gspca_dev, D_CONF, "Set hvflip %d %d\n", hflip, vflip); in s5k4aa_set_hvflip() 599 hflip = !hflip; in s5k4aa_set_hvflip() 603 data = (data & 0x7f) | (vflip << 7) | (hflip << 6); in s5k4aa_set_hvflip() 611 if (hflip) in s5k4aa_set_hvflip()
|
D | m5602_mt9m111.c | 294 sd->hflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_HFLIP, in mt9m111_init_controls() 305 v4l2_ctrl_cluster(2, &sd->hflip); in mt9m111_init_controls() 396 int hflip; in mt9m111_set_hvflip() local 400 sd->hflip->val, sd->vflip->val); in mt9m111_set_hvflip() 403 hflip = !sd->hflip->val; in mt9m111_set_hvflip() 415 (hflip << 1) | vflip; in mt9m111_set_hvflip() 419 (hflip << 1) | vflip; in mt9m111_set_hvflip()
|
D | m5602_ov9650.c | 392 sd->hflip = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_HFLIP, in ov9650_init_controls() 405 v4l2_ctrl_cluster(2, &sd->hflip); in ov9650_init_controls() 638 int hflip = sd->hflip->val; in ov9650_set_hvflip() local 641 gspca_dbg(gspca_dev, D_CONF, "Set hvflip to %d %d\n", hflip, vflip); in ov9650_set_hvflip() 646 i2c_data = (hflip << 5) | (vflip << 4); in ov9650_set_hvflip()
|
D | m5602_ov7660.c | 290 sd->hflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_HFLIP, in ov7660_init_controls() 301 v4l2_ctrl_cluster(2, &sd->hflip); in ov7660_init_controls() 397 sd->hflip->val, sd->vflip->val); in ov7660_set_hvflip() 399 i2c_data = (sd->hflip->val << 5) | (sd->vflip->val << 4); in ov7660_set_hvflip()
|
D | m5602_po1030.c | 263 sd->hflip = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_HFLIP, in po1030_init_controls() 275 v4l2_ctrl_cluster(2, &sd->hflip); in po1030_init_controls() 453 sd->hflip->val, sd->vflip->val); in po1030_set_hvflip() 458 i2c_data = (0x3f & i2c_data) | (sd->hflip->val << 7) | in po1030_set_hvflip()
|
/Linux-v5.10/drivers/media/platform/sti/bdisp/ |
D | bdisp.h | 33 struct v4l2_ctrl *hflip; member 92 unsigned int hflip:1; member 117 unsigned int hflip:1; member
|
D | bdisp-hw.c | 28 bool hflip; /* Horizontal flip */ member 671 c->hflip = ctx->hflip; in bdisp_hw_get_op_cfg() 834 node->tty |= cfg->hflip ? BLT_TTY_HSO : 0; in bdisp_hw_build_node() 849 node->txy |= cfg->hflip ? (dst_width - dst_x_offset - 1) : in bdisp_hw_build_node() 1057 request->hflip = ctx->hflip; in bdisp_hw_save_request()
|
/Linux-v5.10/drivers/media/usb/gspca/ |
D | pac7302.c | 111 struct v4l2_ctrl *hflip; member 537 u8 data, hflip, vflip; in sethvflip() local 539 hflip = sd->hflip->val; in sethvflip() 541 hflip = !hflip; in sethvflip() 547 data = (hflip ? 0x08 : 0x00) | (vflip ? 0x04 : 0x00); in sethvflip() 669 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 684 v4l2_ctrl_cluster(2, &sd->hflip); in sd_init_controls()
|
D | pac7311.c | 67 struct v4l2_ctrl *hflip; member 336 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument 341 data = (hflip ? 0x04 : 0x00) | in sethvflip() 388 sethvflip(gspca_dev, sd->hflip->val, 1); in sd_s_ctrl() 419 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 443 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), 1); in sd_start()
|
D | vc032x.c | 24 struct v4l2_ctrl *hflip; member 3281 static void sethvflip(struct gspca_dev *gspca_dev, bool hflip, bool vflip) in sethvflip() argument 3287 hflip = !hflip; in sethvflip() 3297 data[1] = 0x02 * hflip in sethvflip() 3304 data[0] |= OV7660_MVFP_MIRROR * hflip in sethvflip() 3311 data[0] = 0x80 * hflip in sethvflip() 3670 sethvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl() 3749 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3779 if (sd->hflip) in sd_init_controls() 3780 v4l2_ctrl_cluster(2, &sd->hflip); in sd_init_controls()
|
D | sn9c20x.c | 69 struct v4l2_ctrl *hflip; member 1362 static void set_hvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in set_hvflip() argument 1369 hflip = !hflip; in set_hvflip() 1376 if (hflip) in set_hvflip() 1391 if (hflip) in set_hvflip() 1404 if (hflip) in set_hvflip() 1415 if (hflip) in set_hvflip() 1426 if (hflip) in set_hvflip() 1682 set_hvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl() 1738 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | ov534.c | 66 struct v4l2_ctrl *hflip; member 1068 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument 1076 if (hflip) in sethvflip() 1084 if (hflip == 0) in sethvflip() 1190 sethvflip(gspca_dev, sd->hflip->val, ctrl->val); in ov534_s_ctrl() 1289 sd->hflip = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1430 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), in sd_start()
|
/Linux-v5.10/include/media/tpg/ |
D | v4l2-tpg.h | 205 bool hflip; member 621 static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip) in tpg_s_hflip() argument 623 if (tpg->hflip == hflip) in tpg_s_hflip() 625 tpg->hflip = hflip; in tpg_s_hflip() 632 return tpg->hflip; in tpg_g_hflip()
|
/Linux-v5.10/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_core.h | 85 struct v4l2_ctrl *hflip; member 204 u32 hflip:1; member
|
D | mtk_mdp_regs.c | 139 misc->hflip = ctx->ctrls.hflip->val; in mtk_mdp_hw_set_rotation()
|
D | mtk_mdp_ipi.h | 103 int32_t hflip; /* 1 will enable the flip */ member
|
/Linux-v5.10/drivers/media/i2c/ |
D | mt9m032.c | 141 struct v4l2_ctrl *hflip; member 582 static int update_read_mode2(struct mt9m032 *sensor, bool vflip, bool hflip) in update_read_mode2() argument 586 | (hflip << MT9M032_READ_MODE2_HFLIP_SHIFT) in update_read_mode2() 646 sensor->hflip->val); in mt9m032_set_ctrl() 764 sensor->hflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe() 785 v4l2_ctrl_cluster(2, &sensor->hflip); in mt9m032_probe()
|
D | noon010pc30.c | 143 unsigned int hflip:1; member 321 static int noon010_set_flip(struct v4l2_subdev *sd, int hflip, int vflip) in noon010_set_flip() argument 331 if (hflip) in noon010_set_flip() 338 info->hflip = hflip; in noon010_set_flip()
|
D | imx219.c | 554 struct v4l2_ctrl *hflip; member 663 (imx219->hflip->val ? 1 : 0); in imx219_get_format_code() 761 imx219->hflip->val | in imx219_set_ctrl() 1100 __v4l2_ctrl_grab(imx219->hflip, enable); in imx219_set_stream() 1313 imx219->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx219_ctrl_ops, in imx219_init_controls() 1315 if (imx219->hflip) in imx219_init_controls() 1316 imx219->hflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx219_init_controls()
|
/Linux-v5.10/drivers/staging/media/imx/ |
D | imx-media-csc-scaler.c | 63 bool hflip; member 623 bool hflip, vflip; in ipu_csc_scaler_s_ctrl() local 627 hflip = ctx->hflip; in ipu_csc_scaler_s_ctrl() 632 hflip = ctrl->val; in ipu_csc_scaler_s_ctrl() 644 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl() 698 ctx->hflip = hflip; in ipu_csc_scaler_s_ctrl()
|
D | imx-ic-prpencvf.c | 87 bool hflip; member 1081 bool hflip, vflip; in prp_s_ctrl() local 1086 hflip = priv->hflip; in prp_s_ctrl() 1091 hflip = (ctrl->val == 1); in prp_s_ctrl() 1105 ret = ipu_degrees_to_rot_mode(&rot_mode, rotation, hflip, vflip); in prp_s_ctrl() 1128 priv->hflip = hflip; in prp_s_ctrl()
|
/Linux-v5.10/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 32 static int hflip = -1; variable 33 module_param(hflip, int, 0444); 34 MODULE_PARM_DESC(hflip, "Horizontal image flip (mirror). Defaults to 0"); 836 dev->vsettings.hflip = !ctrl->val; in stk_s_ctrl() 838 dev->vsettings.hflip = ctrl->val; in stk_s_ctrl() 1316 if (hflip != -1) in stk_camera_probe() 1317 dev->vsettings.hflip = hflip; in stk_camera_probe() 1319 dev->vsettings.hflip = 1; in stk_camera_probe() 1321 dev->vsettings.hflip = 0; in stk_camera_probe()
|
/Linux-v5.10/drivers/media/platform/vsp1/ |
D | vsp1_rwpf.h | 55 struct v4l2_ctrl *hflip; member
|
/Linux-v5.10/drivers/media/platform/sunxi/sun8i-rotate/ |
D | sun8i-rotate.h | 113 u32 hflip; member
|