Searched refs:flip (Results 1 - 25 of 60) sorted by relevance

123

/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_wpf.c57 if (rotate == wpf->flip.rotate)
85 wpf->flip.rotate = rotate;
99 u32 flip = 0; local
103 rotation = wpf->flip.ctrls.rotate ? wpf->flip.ctrls.rotate->val : 0;
109 * Compute the flip value resulting from all three controls, with
111 * result in the pending flip field for the next frame that will be
114 if (wpf->flip.ctrls.vflip->val)
115 flip |= BIT(WPF_CTRL_VFLIP);
117 if (wpf->flip
383 unsigned int flip; local
[all...]
H A Dvsp1_rwpf.h61 } flip; member in struct:vsp1_rwpf
H A Dvsp1_rwpf.c120 if (rwpf->flip.rotate) {
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c40 bool flip; member in struct:nouveau_plane
127 bool flip = nv_plane->flip; local
154 nvif_wr32(dev, NV_PVIDEO_BASE(flip), 0);
155 nvif_wr32(dev, NV_PVIDEO_OFFSET_BUFF(flip), nvbo->offset);
156 nvif_wr32(dev, NV_PVIDEO_SIZE_IN(flip), src_h << 16 | src_w);
157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x);
158 nvif_wr32(dev, NV_PVIDEO_DS_DX(flip), (src_w << 20) / crtc_w);
159 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h);
160 nvif_wr32(dev, NV_PVIDEO_POINT_OUT(flip), crtc_
[all...]
H A Ddisp.c63 /* Disable flip completion events. */
64 nvif_event_block(&disp->flip);
123 /* Enable flip completion events. */
124 nvif_event_allow(&disp->flip);
205 nvif_event_dtor(&disp->flip);
242 /* Request page flip completion event. */
245 true, NULL, 0, &disp->flip);
H A Ddisp.h89 struct nvif_event flip; member in struct:nv04_display
/linux-master/tools/testing/selftests/bpf/progs/
H A Dsetget_sockopt.c33 unsigned int flip:1; member in struct:sockopt_test
41 { .opt = SO_REUSEADDR, .flip = 1, },
44 { .opt = SO_KEEPALIVE, .flip = 1, },
46 { .opt = SO_REUSEPORT, .flip = 1, },
50 { .opt = SO_TXREHASH, .flip = 1, },
55 { .opt = TCP_NODELAY, .flip = 1, },
62 { .opt = TCP_THIN_LINEAR_TIMEOUTS, .flip = 1, },
75 { .opt = IPV6_AUTOFLOWLABEL, .flip = 1, },
153 if (t->flip)
170 if (t->flip)
[all...]
/linux-master/sound/core/oss/
H A Dlinear.c39 unsigned int flip; /* MSB flip for signeness, done after endian conv */ member in struct:linear_priv
51 tmp ^= data->flip;
143 data->flip = (__force u32)cpu_to_le32(0x80000000);
145 data->flip = (__force u32)cpu_to_be32(0x80000000);
H A Dmulaw.c153 u16 flip; /* MSB flip for signedness, done after endian conversion */ member in struct:mulaw_priv
159 sample ^= data->flip;
210 sample ^= data->flip;
287 data->flip = 0x8000;
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-reg.c43 u32 flip = FIMC_REG_MSCTRL_FLIP_NORMAL; local
46 flip = FIMC_REG_MSCTRL_FLIP_Y_MIRROR;
48 flip = FIMC_REG_MSCTRL_FLIP_X_MIRROR;
51 return flip;
53 return (flip ^ FIMC_REG_MSCTRL_FLIP_180) & FIMC_REG_MSCTRL_FLIP_180;
58 u32 flip = FIMC_REG_CITRGFMT_FLIP_NORMAL; local
61 flip |= FIMC_REG_CITRGFMT_FLIP_Y_MIRROR;
63 flip |= FIMC_REG_CITRGFMT_FLIP_X_MIRROR;
66 return flip;
68 return (flip
73 u32 cfg, flip; local
[all...]
/linux-master/drivers/media/usb/gspca/gl860/
H A Dgl860.h43 u8 flip; member in struct:sd_gl860
H A Dgl860-ov2640.c184 sd->vcur.flip = 0;
195 sd->vmax.flip = 1;
248 sd->vold.flip = -1;
348 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) == 0); local
438 if (mirror != sd->vold.mirror || flip != sd->vold.flip) {
440 sd->vold.flip = flip;
448 flip
[all...]
H A Dgl860-mi1320.c213 sd->vcur.flip = 0;
225 sd->vmax.flip = 1;
290 sd->vold.flip = -1;
376 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); local
507 if (mirror != sd->vold.mirror || flip != sd->vold.flip) {
510 sd->vold.flip = flip;
512 dat_hvflip2[3] = flip
[all...]
H A Dgl860-mi2020.c364 sd->vcur.flip = 0;
376 sd->vmax.flip = 1;
445 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); local
474 dat_hvflip2[2] = 0x6c + 2 * (1 - flip) + (1 - mirror);
475 dat_hvflip4[2] = 0x24 + 2 * (1 - flip) + (1 - mirror);
594 sd->vold.flip = flip;
633 s32 flip = (((sd->vcur.flip > local
[all...]
H A Dgl860.c75 sd->vcur.flip = ctrl->val;
138 if (sd->vmax.flip)
140 0, sd->vmax.flip, 1, sd->vcur.flip);
/linux-master/drivers/media/platform/samsung/s5p-g2d/
H A Dg2d.h60 u32 flip; member in struct:g2d_ctx
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.h34 struct list_head flip; member in struct:nouveau_fence_chan
/linux-master/drivers/gpu/drm/amd/display/dc/dcn21/
H A Ddcn21_hubp.c69 * until the VM data returns at flip/mode change transitions
678 cmd.PLAT_54186_wa.header.payload_bytes = sizeof(cmd.PLAT_54186_wa.flip);
679 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS =
681 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_C =
683 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_HIGH =
685 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_HIGH_C =
687 cmd.PLAT_54186_wa.flip.flip_params.grph_stereo = flip_regs->grph_stereo;
688 cmd.PLAT_54186_wa.flip.flip_params.hubp_inst = hubp->inst;
689 cmd.PLAT_54186_wa.flip.flip_params.immediate = flip_regs->immediate;
690 cmd.PLAT_54186_wa.flip
[all...]
/linux-master/drivers/xen/
H A Dgntdev.c576 static int gntdev_open(struct inode *inode, struct file *flip) argument
588 priv->dmabuf_priv = gntdev_dmabuf_init(flip);
597 flip->private_data = priv;
607 static int gntdev_release(struct inode *inode, struct file *flip) argument
609 struct gntdev_priv *priv = flip->private_data;
989 static long gntdev_ioctl(struct file *flip, argument
992 struct gntdev_priv *priv = flip->private_data;
1033 static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma) argument
1035 struct gntdev_priv *priv = flip->private_data;
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display_driver.c239 i915->display.wq.flip = alloc_workqueue("i915_flip", WQ_HIGHPRI |
575 flush_workqueue(i915->display.wq.flip);
618 destroy_workqueue(i915->display.wq.flip);
/linux-master/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.c451 u8 flip = 0; local
454 flip ^= 1;
457 * A vertical flip is equivalent to
458 * a 180-degree rotation with a horizontal flip
461 flip ^= 1;
465 if (flip != 0)
/linux-master/drivers/usb/serial/
H A Dkeyspan.c152 * number and flip if used
699 int flip; local
715 dev_dbg(&port->dev, "%s - %d chars, flip=%d\n", __func__, count,
723 flip = p_priv->out_flip;
726 this_urb = p_priv->out_urbs[flip];
733 dev_dbg(&port->dev, "%s - endpoint %x flip %d\n",
734 __func__, usb_pipeendpoint(this_urb->pipe), flip);
738 p_priv->tx_start_time[flip] + 10 * HZ))
757 p_priv->tx_start_time[flip] = jiffies;
761 p_priv->out_flip = (flip
1464 int flip; local
[all...]
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c284 .flip = lsdc_crtc0_flip,
296 .flip = lsdc_crtc1_flip,
364 .flip = lsdc_crtc0_flip,
378 .flip = lsdc_crtc1_flip,
618 seq_puts(m, "flip: trigger the page flip\n");
655 else if (sysfs_streq(buf, "flip"))
656 ops->flip(lcrtc);
/linux-master/drivers/media/usb/gspca/
H A Dstk1135.c270 { 0x108, 0x0180 }, /* format control - enable bayer row flip */
394 /* enable interrupts from GPIO8 (flip sensor) and GPIO9 (???) */
488 bool flip; local
498 /* GPIO 8 is flip sensor (1 = normal position, 0 = flipped to back) */
499 flip = !(le16_to_cpu(hdr->gpio) & (1 << 8));
501 if (sd->flip_status != flip)
/linux-master/drivers/pcmcia/
H A Di82365.c292 #define flip(v,b,f) (v = ((f)<0) ? v : ((f) ? ((v)|(b)) : ((v)&(~b)))) macro
328 flip(p->misc2, PD67_MC2_IRQ15_RI, has_ring);
329 flip(p->misc2, PD67_MC2_DYNAMIC_MODE, dynamic_mode);
330 flip(p->misc2, PD67_MC2_FREQ_BYPASS, freq_bypass);
398 flip(p->ctl, VG468_CTL_ASYNC, async_clock);
399 flip(p->ema, VG469_MODE_CABLE, cable_mode);

Completed in 226 milliseconds

123