Home
last modified time | relevance | path

Searched refs:output_mode (Results 1 – 25 of 42) 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.c242 struct drm_display_mode *output_mode = &tv_norm->ctv_enc_mode.mode; in nv17_tv_get_hd_modes() local
261 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes()
262 modes[i].vdisplay > output_mode->vdisplay) in nv17_tv_get_hd_modes()
265 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes()
266 modes[i].vdisplay == output_mode->vdisplay) { in nv17_tv_get_hd_modes()
267 mode = drm_mode_duplicate(encoder->dev, output_mode); in nv17_tv_get_hd_modes()
273 (output_mode->flags & in nv17_tv_get_hd_modes()
278 if (output_mode->hdisplay <= 720 in nv17_tv_get_hd_modes()
279 || output_mode->hdisplay >= 1920) { in nv17_tv_get_hd_modes()
280 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.c102 .output_mode = OUT_MODE_VIP11,
142 .output_mode = OUT_MODE_VIP11,
182 .output_mode = OUT_MODE_VIP11,
223 .output_mode = OUT_MODE_VIP11,
258 .output_mode = OUT_MODE_VIP11,
295 .output_mode = OUT_MODE_VIP11,
323 .output_mode = OUT_MODE_VIP11,
351 .output_mode = OUT_MODE_VIP11,
385 .output_mode = OUT_MODE_VIP11,
413 .output_mode = OUT_MODE_VIP11,
[all …]
Dcx231xx-dvb.c76 .output_mode = S5H1432_SERIAL_OUTPUT,
105 .output_mode = S5H1411_SERIAL_OUTPUT,
114 .output_mode = S5H1411_SERIAL_OUTPUT,
/drivers/media/pci/cx23885/
Dcx23885-dvb.c187 .output_mode = S5H1409_SERIAL_OUTPUT,
197 .output_mode = TDA10048_SERIAL_OUTPUT,
208 .output_mode = TDA10048_SERIAL_OUTPUT,
219 .output_mode = S5H1409_SERIAL_OUTPUT,
229 .output_mode = S5H1409_SERIAL_OUTPUT,
239 .output_mode = S5H1409_SERIAL_OUTPUT,
258 .output_mode = S5H1409_SERIAL_OUTPUT,
268 .output_mode = S5H1409_SERIAL_OUTPUT,
277 .output_mode = S5H1411_SERIAL_OUTPUT,
287 .output_mode = S5H1411_SERIAL_OUTPUT,
[all …]
/drivers/media/pci/ivtv/
Divtv-streams.c506 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_start_v4l2_encode_stream()
517 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_start_v4l2_encode_stream()
694 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_setup_v4l2_decode_stream()
993 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_passthrough_mode()
1022 if (itv->output_mode != OUT_PASSTHROUGH) in ivtv_passthrough_mode()
1033 itv->output_mode = OUT_NONE; in ivtv_passthrough_mode()
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()
1497 int mode = itv->output_mode; in ivtv_log_status()
1598 if (itv->output_mode == OUT_UDMA_YUV && args->y_source == NULL) in ivtv_decoder_ioctls()
1716 if (itv->output_mode == OUT_UDMA_YUV && in ivtv_decoder_ioctls()
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()
/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.h41 u8 output_mode; member
Ds5h1409.h35 u8 output_mode; member
Ds5h1411.h36 u8 output_mode; member
Ds5h1432.h42 u8 output_mode; member
Dtda10048.h37 u8 output_mode; member
Dtda1002x.h54 u8 output_mode; member
Ddib7000p.h37 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()
Ddib7000p.c1550 dib7090_set_output_mode(fe, state->cfg.output_mode); in dib7000p_set_frontend()
1556 dib7000p_set_output_mode(state, state->cfg.output_mode); in dib7000p_set_frontend()
2736 …if ((st->cfg.output_mode != OUTMODE_MPEG2_SERIAL) && (st->cfg.output_mode != OUTMODE_MPEG2_PAR_GAT… in dib7000p_init()
2737 st->cfg.output_mode = OUTMODE_MPEG2_FIFO; in dib7000p_init()
2771 dib7090_set_output_mode(demod, st->cfg.output_mode); in dib7000p_init()
/drivers/media/pci/saa7164/
Dsaa7164-dvb.c35 .output_mode = TDA10048_SERIAL_OUTPUT,
45 .output_mode = TDA10048_SERIAL_OUTPUT,
76 .output_mode = S5H1411_SERIAL_OUTPUT,
/drivers/media/pci/cx88/
Dcx88-dvb.c323 .output_mode = CX22702_SERIAL_OUTPUT,
328 .output_mode = CX22702_SERIAL_OUTPUT,
507 .output_mode = S5H1409_PARALLEL_OUTPUT,
517 .output_mode = S5H1409_SERIAL_OUTPUT,
526 .output_mode = S5H1409_SERIAL_OUTPUT,
551 .output_mode = S5H1411_SERIAL_OUTPUT,
/drivers/media/pci/cx18/
Dcx18-dvb.c74 .output_mode = S5H1409_SERIAL_OUTPUT,
87 .output_mode = S5H1411_SERIAL_OUTPUT,
/drivers/media/usb/dvb-usb/
Ddib0700_devices.c1211 .output_mode = OUTMODE_MPEG2_FIFO,
1227 .output_mode = OUTMODE_MPEG2_FIFO,
1571 .output_mode = OUTMODE_MPEG2_FIFO,
1590 .output_mode = OUTMODE_DIVERSITY,
1970 .output_mode = OUTMODE_MPEG2_FIFO,
2262 .output_mode = OUTMODE_MPEG2_FIFO,
2285 .output_mode = OUTMODE_MPEG2_FIFO,
2293 .output_mode = OUTMODE_DIVERSITY,
2791 .output_mode = OUTMODE_MPEG2_FIFO,
2837 .output_mode = OUTMODE_MPEG2_PAR_GATED_CLK,
[all …]

12