Home
last modified time | relevance | path

Searched full:flip (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c40 bool flip; member
127 bool flip = nv_plane->flip; in nv10_update_plane() local
154 nvif_wr32(dev, NV_PVIDEO_BASE(flip), 0); in nv10_update_plane()
155 nvif_wr32(dev, NV_PVIDEO_OFFSET_BUFF(flip), nvbo->offset); in nv10_update_plane()
156 nvif_wr32(dev, NV_PVIDEO_SIZE_IN(flip), src_h << 16 | src_w); in nv10_update_plane()
157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane()
158 nvif_wr32(dev, NV_PVIDEO_DS_DX(flip), (src_w << 20) / crtc_w); in nv10_update_plane()
159 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h); in nv10_update_plane()
160 nvif_wr32(dev, NV_PVIDEO_POINT_OUT(flip), crtc_y << 16 | crtc_x); in nv10_update_plane()
161 nvif_wr32(dev, NV_PVIDEO_SIZE_OUT(flip), crtc_h << 16 | crtc_w); in nv10_update_plane()
[all …]
H A Ddisp.c63 /* Disable flip completion events. */ in nv04_display_fini()
64 nvif_event_block(&disp->flip); in nv04_display_fini()
123 /* Enable flip completion events. */ in nv04_display_init()
124 nvif_event_allow(&disp->flip); in nv04_display_init()
204 nvif_event_dtor(&disp->flip); in nv04_display_destroy()
237 /* Request page flip completion event. */ in nv04_display_create()
240 true, NULL, 0, &disp->flip); in nv04_display_create()
/linux/drivers/gpu/drm/amd/include/ivsrcid/dcn/
H A Dirqsrcs_dcn_1_0.h1108 …CN_1_0__SRCID__HUBP0_FLIP_INTERRUPT 0x4F // Flip interrupt is generated when flip request is accep…
1109 …CN_1_0__SRCID__HUBP1_FLIP_INTERRUPT 0x50 // Flip interrupt is generated when flip request is accep…
1110 …CN_1_0__SRCID__HUBP2_FLIP_INTERRUPT 0x51 // Flip interrupt is generated when flip request is accep…
1111 …CN_1_0__SRCID__HUBP3_FLIP_INTERRUPT 0x52 // Flip interrupt is generated when flip request is accep…
1112 …CN_1_0__SRCID__HUBP4_FLIP_INTERRUPT 0x53 // Flip interrupt is generated when flip request is accep…
1113 …CN_1_0__SRCID__HUBP5_FLIP_INTERRUPT 0x54 // Flip interrupt is generated when flip request is accep…
1114 …CN_1_0__SRCID__HUBP6_FLIP_INTERRUPT 0x55 // Flip interrupt is generated when flip request is accep…
1115 …CN_1_0__SRCID__HUBP7_FLIP_INTERRUPT 0x56 // Flip interrupt is generated when flip request is accep…
1124 …d surface is returned and old surface is not used again after the surface flip.HUBP0_IHC_FLIP_AWAY…
1125 …d surface is returned and old surface is not used again after the surface flip.HUBP1_IHC_FLIP_AWAY…
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dsetget_sockopt.c30 unsigned int flip:1; member
38 { .opt = SO_REUSEADDR, .flip = 1, },
41 { .opt = SO_KEEPALIVE, .flip = 1, },
43 { .opt = SO_REUSEPORT, .flip = 1, },
47 { .opt = SO_TXREHASH, .flip = 1, },
52 { .opt = TCP_NODELAY, .flip = 1, },
59 { .opt = TCP_THIN_LINEAR_TIMEOUTS, .flip = 1, },
77 { .opt = IPV6_AUTOFLOWLABEL, .flip = 1, },
166 if (t->flip) in bpf_test_ip_sockopt()
183 if (t->flip) in bpf_test_ipv6_sockopt()
[all...]
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dbu21013.txt25 - rohm,flip-x : Flip touch coordinates on the X axis
26 - rohm,flip-y : Flip touch coordinates on the Y axis
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp.h29 * @hflip: horizontal flip
30 * @vflip: vertical flip
85 * @hflip: horizontal flip
86 * @vflip: vertical flip
103 * @hflip: horizontal flip
104 * @vflip: vertical flip
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-reg.c43 u32 flip = FIMC_REG_MSCTRL_FLIP_NORMAL; in fimc_hw_get_in_flip() local
46 flip = FIMC_REG_MSCTRL_FLIP_Y_MIRROR; in fimc_hw_get_in_flip()
48 flip = FIMC_REG_MSCTRL_FLIP_X_MIRROR; in fimc_hw_get_in_flip()
51 return flip; in fimc_hw_get_in_flip()
53 return (flip ^ FIMC_REG_MSCTRL_FLIP_180) & FIMC_REG_MSCTRL_FLIP_180; in fimc_hw_get_in_flip()
58 u32 flip = FIMC_REG_CITRGFMT_FLIP_NORMAL; in fimc_hw_get_target_flip() local
61 flip |= FIMC_REG_CITRGFMT_FLIP_Y_MIRROR; in fimc_hw_get_target_flip()
63 flip |= FIMC_REG_CITRGFMT_FLIP_X_MIRROR; in fimc_hw_get_target_flip()
66 return flip; in fimc_hw_get_target_flip()
68 return (flip ^ FIMC_REG_CITRGFMT_FLIP_180) & FIMC_REG_CITRGFMT_FLIP_180; in fimc_hw_get_target_flip()
[all …]
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front_kms.c191 * Ignore these and do not send page flip as this framebuffer will be in display_send_page_flip()
207 DRM_ERROR("Failed to send page flip request to backend: %d\n", ret); in display_send_page_flip()
211 * Report the flip not handled, so pending event is in display_send_page_flip()
217 * Signal that page flip was handled, pending event will be sent in display_send_page_flip()
273 * Send page flip request to the backend *after* we have event cached in display_update()
274 * above, so on page flip done event from the backend we can in display_update()
277 * If this is not a page flip, e.g. no flip done event from the backend in display_update()
/linux/include/drm/
H A Ddrm_flip_work.h32 * DOC: flip utils
34 * Utility to queue up work to run from work-queue context after flip/vblank.
45 * @work: the flip work
54 * struct drm_flip_work - flip work queue
/linux/sound/core/oss/
H A Dlinear.c39 unsigned int flip; /* MSB flip for signeness, done after endian conv */ member
51 tmp ^= data->flip; in do_convert()
143 data->flip = (__force u32)cpu_to_le32(0x80000000); in init_data()
145 data->flip = (__force u32)cpu_to_be32(0x80000000); in init_data()
/linux/arch/parisc/include/asm/
H A Ddma.h57 #define DMA1_CLEAR_FF_REG 0x0C /* clear pointer flip-flop (w) */
69 #define DMA2_CLEAR_FF_REG 0xD8 /* clear pointer flip-flop (w) */
92 * Assumes DMA flip-flop is clear.
132 /* Clear the 'DMA Pointer Flip Flop'.
171 * Assumes dma flip-flop is clear.
/linux/drivers/tty/
H A Dtty_buffer.c28 * Byte threshold to limit memory consumption for flip buffers.
45 * @port: tty port owning the flip buffer
48 * the buffer work and any pending flush from using the flip buffer. Data can
49 * continue to be added concurrently to the flip buffer from the driver side.
64 * @port: tty port owning the flip buffer
66 * The buffer work is restarted if there is data in the flip buffer.
85 * @port: tty port owning the flip buffer
219 * Locking: takes buffer lock to ensure single-threaded flip buffer 'consumer'.
460 * Locking: takes buffer lock to ensure single-threaded flip buffer 'consumer'.
522 * Queue a push of the terminal flip buffers to the line discipline. Can be
/linux/drivers/staging/media/tegra-video/
H A Dvi.h77 * @has_h_v_flip: the chip can do H and V flip, and the driver implements it
157 * @start_offset: 1st Y byte to write, relative to buffer base address (for H/V flip)
158 * @start_offset_u: 1st U byte to write, relative to buffer base address (for H/V flip)
159 * @start_offset_v: 1st V byte to write, relative to buffer base address (for H/V flip)
178 * @hflip: Horizontal flip is enabled
179 * @vflip: Vertical flip is enabled
/linux/arch/sparc/include/uapi/asm/
H A Ddisplay7seg.h18 #define D7SIOCTM _IO (D7S_IOC, 0x47) /* Translate mode (FLIP)*/
25 * FLIP - Toggle inverted mode (0=normal 1=flipped)
42 #define D7S_FLIP (1 << 5) /* Flip display */
/linux/include/uapi/drm/
H A Ddrm_mode.h964 * page-flip is done.
970 * Request that the page-flip is performed as soon as possible, ie. with no
975 * doesn't support performing an asynchronous page-flip for this update.
976 * User-space should handle this, e.g. by falling back to a regular page-flip.
978 * Note, some hardware might need to perform one last synchronous page-flip
980 * the driver will return success even though that first page-flip is not
998 * Request a page flip on the specified crtc.
1000 * This ioctl will ask KMS to schedule a page flip for the specified
1005 * in the execbuffer ioctl until the page flip happens. If a page
1006 * flip is already pending as the ioctl is called, EBUSY will be
[all …]
/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-trap.c120 * inadvertently. Thus we flip back to LE and in trap_signal_handler()
147 * second trap event endianness will flip back "automat- in trap_signal_handler()
168 * Flip back to BE and go to instruction (6), i.e. go to in trap_signal_handler()
217 " b %l[success] ;" /* (6) b [NA]; MSR.LE did not flip (ok)*/ in ping()
323 printf("no.\n"); /* no, endianness did not flip inadvertently */ in tm_trap_test()
327 printf("yes!\n"); /* yes, endianness did flip inadvertently */ in tm_trap_test()
/linux/drivers/media/usb/gspca/gl860/
H A Dgl860-ov2640.c184 sd->vcur.flip = 0; in ov2640_init_settings()
195 sd->vmax.flip = 1; in ov2640_init_settings()
248 sd->vold.flip = -1; in ov2640_init_pre_alt()
348 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) == 0); in ov2640_camera_settings() local
438 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in ov2640_camera_settings()
440 sd->vold.flip = flip; in ov2640_camera_settings()
448 flip = 0x50 * flip + mirror; in ov2640_camera_settings()
452 ctrl_out(gspca_dev, 0x40, 1, 0x6028 + flip, 0x0004, 0, NULL); in ov2640_camera_settings()
H A Dgl860-mi1320.c213 sd->vcur.flip = 0; in mi1320_init_settings()
225 sd->vmax.flip = 1; in mi1320_init_settings()
290 sd->vold.flip = -1; in mi1320_init_pre_alt()
376 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi1320_camera_settings() local
507 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in mi1320_camera_settings()
510 sd->vold.flip = flip; in mi1320_camera_settings()
512 dat_hvflip2[3] = flip + 2 * mirror; in mi1320_camera_settings()
/linux/drivers/gpu/drm/amd/display/dc/hubp/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); in dmcub_PLAT_54186_wa()
679 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS = in dmcub_PLAT_54186_wa()
681 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_C = in dmcub_PLAT_54186_wa()
683 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_HIGH = in dmcub_PLAT_54186_wa()
685 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_HIGH_C = in dmcub_PLAT_54186_wa()
687 cmd.PLAT_54186_wa.flip.flip_params.grph_stereo = flip_regs->grph_stereo; in dmcub_PLAT_54186_wa()
688 cmd.PLAT_54186_wa.flip.flip_params.hubp_inst = hubp->inst; in dmcub_PLAT_54186_wa()
689 cmd.PLAT_54186_wa.flip.flip_params.immediate = flip_regs->immediate; in dmcub_PLAT_54186_wa()
690 cmd.PLAT_54186_wa.flip.flip_params.tmz_surface = flip_regs->tmz_surface; in dmcub_PLAT_54186_wa()
[all …]
/linux/Documentation/devicetree/bindings/display/panel/
H A Dronbo,rb070d30.yaml28 description: GPIO used for the shlr pin (horizontal flip)
32 description: GPIO used for the updn pin (vertical flip)
/linux/drivers/gpu/drm/radeon/
H A Dradeon_display.c276 DRM_ERROR("failed to reserve buffer after flip\n"); in radeon_unpin_work_func()
323 * know the flip will complete at leading edge of the upcoming real in radeon_crtc_handle_vblank()
326 * == inside real vblank, the flip will complete almost immediately. in radeon_crtc_handle_vblank()
330 * but the flip still gets programmed into hw and completed during in radeon_crtc_handle_vblank()
331 * vblank, leading to a delayed emission of the flip completion event. in radeon_crtc_handle_vblank()
342 /* crtc didn't flip in this target vblank interval, in radeon_crtc_handle_vblank()
343 * but flip is pending in crtc. Based on the current in radeon_crtc_handle_vblank()
345 * (nearly) complete and the flip will (likely) in radeon_crtc_handle_vblank()
356 * radeon_crtc_handle_flip - page flip completed
361 * Called when we are sure that a page flip for this crtc is completed.
[all …]
/linux/arch/powerpc/include/uapi/asm/
H A Dps3fb.h18 #define PS3FB_IOCTL_OFF _IO('r', 5) /* return to normal-flip */
19 #define PS3FB_IOCTL_FSEL _IOW('r', 6, int) /* blit and flip request */
/linux/drivers/sbus/char/
H A Ddisplay7seg.c41 * FLIP bit
63 * | DP | ALARM | FLIP | 4 | 3 | 2 | 1 | 0 |
68 * FLIP - Inverts display for upside-down mounted board
145 /* toggle device mode-- flip display orientation */ in d7s_ioctl()
/linux/include/media/i2c/
H A Dov772x.h13 #define OV772X_FLAG_VFLIP (1 << 0) /* Vertical flip image */
14 #define OV772X_FLAG_HFLIP (1 << 1) /* Horizontal flip image */
/linux/Documentation/driver-api/tty/
H A Dtty_buffer.rst11 then flip the buffer, so that the data are passed to :doc:`line discipline
14 Flip Buffer Management

12345678910>>...18