• Home
  • Raw
  • Download

Lines Matching refs:flip

61 	if (rotate == wpf->flip.rotate)  in vsp1_wpf_set_rotation()
89 wpf->flip.rotate = rotate; in vsp1_wpf_set_rotation()
103 u32 flip = 0; in vsp1_wpf_s_ctrl() local
107 rotation = wpf->flip.ctrls.rotate ? wpf->flip.ctrls.rotate->val : 0; in vsp1_wpf_s_ctrl()
118 if (wpf->flip.ctrls.vflip->val) in vsp1_wpf_s_ctrl()
119 flip |= BIT(WPF_CTRL_VFLIP); in vsp1_wpf_s_ctrl()
121 if (wpf->flip.ctrls.hflip && wpf->flip.ctrls.hflip->val) in vsp1_wpf_s_ctrl()
122 flip |= BIT(WPF_CTRL_HFLIP); in vsp1_wpf_s_ctrl()
125 flip ^= BIT(WPF_CTRL_VFLIP) | BIT(WPF_CTRL_HFLIP); in vsp1_wpf_s_ctrl()
127 spin_lock_irq(&wpf->flip.lock); in vsp1_wpf_s_ctrl()
128 wpf->flip.pending = flip; in vsp1_wpf_s_ctrl()
129 spin_unlock_irq(&wpf->flip.lock); in vsp1_wpf_s_ctrl()
143 spin_lock_init(&wpf->flip.lock); in wpf_init_controls()
168 wpf->flip.ctrls.vflip = in wpf_init_controls()
174 wpf->flip.ctrls.hflip = in wpf_init_controls()
177 wpf->flip.ctrls.rotate = in wpf_init_controls()
180 v4l2_ctrl_cluster(3, &wpf->flip.ctrls.vflip); in wpf_init_controls()
257 spin_lock_irqsave(&wpf->flip.lock, flags); in wpf_configure()
258 wpf->flip.active = (wpf->flip.active & ~mask) in wpf_configure()
259 | (wpf->flip.pending & mask); in wpf_configure()
260 spin_unlock_irqrestore(&wpf->flip.lock, flags); in wpf_configure()
264 if (wpf->flip.active & BIT(WPF_CTRL_VFLIP)) in wpf_configure()
266 if (wpf->flip.active & BIT(WPF_CTRL_HFLIP)) in wpf_configure()
284 unsigned int flip = wpf->flip.active; in wpf_configure() local
322 if (flip & BIT(WPF_CTRL_HFLIP) && !wpf->flip.rotate) in wpf_configure()
325 else if (flip & BIT(WPF_CTRL_VFLIP) && wpf->flip.rotate) in wpf_configure()
335 if (wpf->flip.rotate) in wpf_configure()
343 if (flip & BIT(WPF_CTRL_VFLIP)) { in wpf_configure()
350 if (wpf->flip.rotate) in wpf_configure()
366 if (wpf->flip.rotate && !(flip & BIT(WPF_CTRL_HFLIP))) { in wpf_configure()
402 if (wpf->flip.rotate) in wpf_configure()
473 return wpf->flip.rotate ? 256 : wpf->max_width; in wpf_max_width()