Home
last modified time | relevance | path

Searched refs:output_mode (Results 1 – 25 of 49) sorted by relevance

12

/drivers/gpu/drm/nouveau/dispnv04/
Ddfp.c291 struct drm_display_mode *output_mode = &nv_encoder->mode; in nv04_dfp_mode_set() local
296 drm_mode_debug_printmodeline(output_mode); in nv04_dfp_mode_set()
299 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set()
300 regp->fp_horiz_regs[FP_TOTAL] = output_mode->htotal - 1; in nv04_dfp_mode_set()
302 (output_mode->hsync_start - output_mode->hdisplay) >= in nv04_dfp_mode_set()
304 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay; in nv04_dfp_mode_set()
306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hsync_start - drm->vbios.digital_min_front_porch - 1; in nv04_dfp_mode_set()
307 regp->fp_horiz_regs[FP_SYNC_START] = output_mode->hsync_start - 1; in nv04_dfp_mode_set()
308 regp->fp_horiz_regs[FP_SYNC_END] = output_mode->hsync_end - 1; in nv04_dfp_mode_set()
309 regp->fp_horiz_regs[FP_VALID_START] = output_mode->hskew; in nv04_dfp_mode_set()
[all …]
Dtvnv17.c234 struct drm_display_mode *output_mode = &tv_norm->ctv_enc_mode.mode; in nv17_tv_get_hd_modes() local
253 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes()
254 modes[i].vdisplay > output_mode->vdisplay) in nv17_tv_get_hd_modes()
257 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes()
258 modes[i].vdisplay == output_mode->vdisplay) { in nv17_tv_get_hd_modes()
259 mode = drm_mode_duplicate(encoder->dev, output_mode); in nv17_tv_get_hd_modes()
265 (output_mode->flags & in nv17_tv_get_hd_modes()
270 if (output_mode->hdisplay <= 720 in nv17_tv_get_hd_modes()
271 || output_mode->hdisplay >= 1920) { in nv17_tv_get_hd_modes()
272 mode->htotal = output_mode->htotal; in nv17_tv_get_hd_modes()
[all …]
Dtvmodesnv17.c550 struct drm_display_mode *output_mode = in nv17_ctv_update_rescaler() local
555 if (output_mode->flags & DRM_MODE_FLAG_INTERLACE) in nv17_ctv_update_rescaler()
560 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2; in nv17_ctv_update_rescaler()
561 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; in nv17_ctv_update_rescaler()
563 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), in nv17_ctv_update_rescaler()
565 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), in nv17_ctv_update_rescaler()
569 (output_mode->hdisplay - 2*hmargin); in nv17_ctv_update_rescaler()
571 (output_mode->vdisplay - 2*vmargin) & ~3; in nv17_ctv_update_rescaler()
574 regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1; in nv17_ctv_update_rescaler()
576 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; in nv17_ctv_update_rescaler()
/drivers/media/usb/cx231xx/
Dcx231xx-cards.c101 .output_mode = OUT_MODE_VIP11,
141 .output_mode = OUT_MODE_VIP11,
181 .output_mode = OUT_MODE_VIP11,
222 .output_mode = OUT_MODE_VIP11,
257 .output_mode = OUT_MODE_VIP11,
293 .output_mode = OUT_MODE_VIP11,
321 .output_mode = OUT_MODE_VIP11,
349 .output_mode = OUT_MODE_VIP11,
383 .output_mode = OUT_MODE_VIP11,
410 .output_mode = OUT_MODE_VIP11,
[all …]
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c42 unsigned int output_mode; member
134 cfg |= state->output_mode << 8; in atmel_hlcdc_crtc_mode_set_nofb()
308 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
422 state->output_mode = cur->output_mode; in atmel_hlcdc_crtc_duplicate_state()
/drivers/media/pci/ivtv/
Divtv-streams.c493 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_start_v4l2_encode_stream()
504 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_start_v4l2_encode_stream()
681 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_setup_v4l2_decode_stream()
980 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_passthrough_mode()
1009 if (itv->output_mode != OUT_PASSTHROUGH) in ivtv_passthrough_mode()
1020 itv->output_mode = OUT_NONE; in ivtv_passthrough_mode()
Divtv-fileops.c865 itv->output_mode = OUT_NONE; in ivtv_stop_decoding()
870 if (itv->output_mode == OUT_UDMA_YUV && id->yuv_frames) in ivtv_stop_decoding()
871 itv->output_mode = OUT_NONE; in ivtv_stop_decoding()
930 if (itv->output_mode == OUT_NONE && !test_bit(IVTV_F_S_APPL_IO, &s_vout->s_flags)) { in ivtv_v4l2_close()
Divtv-ioctl.c282 if (itv->output_mode != OUT_MPG) in ivtv_video_command()
285 itv->output_mode = OUT_NONE; in ivtv_video_command()
293 if (itv->output_mode != OUT_MPG) in ivtv_video_command()
307 if (itv->output_mode != OUT_MPG) in ivtv_video_command()
1539 int mode = itv->output_mode; in ivtv_log_status()
1640 if (itv->output_mode == OUT_UDMA_YUV && args->y_source == NULL) in ivtv_decoder_ioctls()
1758 if (itv->output_mode == OUT_UDMA_YUV && in ivtv_decoder_ioctls()
/drivers/media/usb/pvrusb2/
Dpvrusb2-devattr.c311 .output_mode = TDA10048_PARALLEL_OUTPUT,
409 .output_mode = S5H1409_PARALLEL_OUTPUT,
417 .output_mode = S5H1411_PARALLEL_OUTPUT,
/drivers/media/dvb-frontends/
Dcx22702.h40 u8 output_mode; member
Ds5h1409.h34 u8 output_mode; member
Ds5h1411.h35 u8 output_mode; member
Ds5h1432.h41 u8 output_mode; member
Dtda10048.h36 u8 output_mode; member
Dtda1002x.h54 u8 output_mode; member
Ddib7000p.h35 u8 output_mode; member
Ddib8000.h33 u8 output_mode; member
Ddib9000.h25 u8 output_mode; member
Dtda10023.c293 if (state->config->output_mode) in tda10023_init()
294 tda10023_inittab[95] = state->config->output_mode; in tda10023_init()
/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.h47 int output_mode; member
Danalogix_dp-rockchip.c259 s->output_mode = ROCKCHIP_OUT_MODE_AAAA; in rockchip_dp_drm_encoder_atomic_check()
269 s->output_mode = ROCKCHIP_OUT_MODE_P888; in rockchip_dp_drm_encoder_atomic_check()
/drivers/media/pci/cx23885/
Dcx23885-dvb.c189 .output_mode = S5H1409_SERIAL_OUTPUT,
199 .output_mode = TDA10048_SERIAL_OUTPUT,
210 .output_mode = TDA10048_SERIAL_OUTPUT,
221 .output_mode = S5H1409_SERIAL_OUTPUT,
231 .output_mode = S5H1409_SERIAL_OUTPUT,
241 .output_mode = S5H1409_SERIAL_OUTPUT,
260 .output_mode = S5H1409_SERIAL_OUTPUT,
270 .output_mode = S5H1409_SERIAL_OUTPUT,
279 .output_mode = S5H1411_SERIAL_OUTPUT,
289 .output_mode = S5H1411_SERIAL_OUTPUT,
[all …]
/drivers/media/pci/cx88/
Dcx88-dvb.c369 .output_mode = CX22702_SERIAL_OUTPUT,
374 .output_mode = CX22702_SERIAL_OUTPUT,
553 .output_mode = S5H1409_PARALLEL_OUTPUT,
563 .output_mode = S5H1409_SERIAL_OUTPUT,
572 .output_mode = S5H1409_SERIAL_OUTPUT,
597 .output_mode = S5H1411_SERIAL_OUTPUT,
/drivers/media/pci/saa7164/
Dsaa7164-dvb.c38 .output_mode = TDA10048_SERIAL_OUTPUT,
48 .output_mode = TDA10048_SERIAL_OUTPUT,
79 .output_mode = S5H1411_SERIAL_OUTPUT,
/drivers/media/pci/cx18/
Dcx18-dvb.c74 .output_mode = S5H1409_SERIAL_OUTPUT,
87 .output_mode = S5H1411_SERIAL_OUTPUT,

12