Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/nouveau/dispnv04/
Ddfp.c292 struct drm_display_mode *output_mode = &nv_encoder->mode; in nv04_dfp_mode_set() local
298 drm_mode_debug_printmodeline(output_mode); in nv04_dfp_mode_set()
301 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set()
302 regp->fp_horiz_regs[FP_TOTAL] = output_mode->htotal - 1; in nv04_dfp_mode_set()
304 (output_mode->hsync_start - output_mode->hdisplay) >= in nv04_dfp_mode_set()
306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay; in nv04_dfp_mode_set()
308 regp->fp_horiz_regs[FP_CRTC] = output_mode->hsync_start - drm->vbios.digital_min_front_porch - 1; in nv04_dfp_mode_set()
309 regp->fp_horiz_regs[FP_SYNC_START] = output_mode->hsync_start - 1; in nv04_dfp_mode_set()
310 regp->fp_horiz_regs[FP_SYNC_END] = output_mode->hsync_end - 1; in nv04_dfp_mode_set()
311 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.c549 struct drm_display_mode *output_mode = in nv17_ctv_update_rescaler() local
554 if (output_mode->flags & DRM_MODE_FLAG_INTERLACE) in nv17_ctv_update_rescaler()
559 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2; in nv17_ctv_update_rescaler()
560 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; in nv17_ctv_update_rescaler()
562 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), in nv17_ctv_update_rescaler()
564 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), in nv17_ctv_update_rescaler()
568 (output_mode->hdisplay - 2*hmargin); in nv17_ctv_update_rescaler()
570 (output_mode->vdisplay - 2*vmargin) & ~3; in nv17_ctv_update_rescaler()
573 regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1; in nv17_ctv_update_rescaler()
575 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; in nv17_ctv_update_rescaler()
/drivers/media/usb/cx231xx/
Dcx231xx-cards.c89 .output_mode = OUT_MODE_VIP11,
129 .output_mode = OUT_MODE_VIP11,
169 .output_mode = OUT_MODE_VIP11,
210 .output_mode = OUT_MODE_VIP11,
245 .output_mode = OUT_MODE_VIP11,
281 .output_mode = OUT_MODE_VIP11,
309 .output_mode = OUT_MODE_VIP11,
337 .output_mode = OUT_MODE_VIP11,
371 .output_mode = OUT_MODE_VIP11,
398 .output_mode = OUT_MODE_VIP11,
[all …]
/drivers/gpu/drm/rockchip/
Drockchip_rgb.c33 int output_mode; member
53 s->output_mode = ROCKCHIP_OUT_MODE_P666; in rockchip_rgb_encoder_atomic_check()
56 s->output_mode = ROCKCHIP_OUT_MODE_P565; in rockchip_rgb_encoder_atomic_check()
61 s->output_mode = ROCKCHIP_OUT_MODE_P888; in rockchip_rgb_encoder_atomic_check()
Drockchip_drm_drv.h30 int output_mode; member
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c36 unsigned int output_mode; member
140 cfg = state->output_mode << 8; in atmel_hlcdc_crtc_mode_set_nofb()
322 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
437 state->output_mode = cur->output_mode; in atmel_hlcdc_crtc_duplicate_state()
/drivers/iio/dac/
Dad5770r.c138 struct ad5770r_out_range output_mode[AD5770R_MAX_CHANNELS]; member
255 out_range = st->output_mode[ch].out_range_mode; in ad5770r_get_range()
421 st->output_mode[index].out_range_mode = ad5770r_rng_tbl[i].mode; in ad5770r_store_output_range()
458 st->output_mode[0].out_range_mode > AD5770R_CH0_0_300) { in ad5770r_write_dac_powerdown()
573 ret = ad5770r_set_output_mode(st, &st->output_mode[i], i); in ad5770r_init()
/drivers/media/pci/ivtv/
Divtv-streams.c505 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_start_v4l2_encode_stream()
516 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_start_v4l2_encode_stream()
693 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_setup_v4l2_decode_stream()
992 if (itv->output_mode == OUT_PASSTHROUGH) { in ivtv_passthrough_mode()
1021 if (itv->output_mode != OUT_PASSTHROUGH) in ivtv_passthrough_mode()
1032 itv->output_mode = OUT_NONE; in ivtv_passthrough_mode()
/drivers/gpu/drm/nouveau/dispnv50/
Datom.h63 u8 output_mode:2; member
203 u8 output_mode:2; member
Dwndwc57e.c137 NVVAL(NVC57E, SET_ILUT_CONTROL, INTERPOLATE, asyw->xlut.i.output_mode), in wndwc57e_ilut_set()
192 asyw->xlut.i.output_mode = NVC57E_SET_ILUT_CONTROL_INTERPOLATE_DISABLE; in wndwc57e_ilut()
Dheadc57d.c108 NVVAL(NVC57D, HEAD_SET_OLUT_CONTROL, INTERPOLATE, asyh->olut.output_mode) | in headc57d_olut_set()
180 asyh->olut.output_mode = NVC57D_HEAD_SET_OLUT_CONTROL_INTERPOLATE_ENABLE; in headc57d_olut()
Dwndwc37e.c75 NVVAL(NVC37E, SET_CONTROL_INPUT_LUT, OUTPUT_MODE, asyw->xlut.i.output_mode) | in wndwc37e_ilut_set()
90 asyw->xlut.i.output_mode = NVC37E_SET_CONTROL_INPUT_LUT_OUTPUT_MODE_INTERPOLATE; in wndwc37e_ilut()
/drivers/iio/adc/
Dad9467.c121 unsigned int output_mode; member
426 return ad9467_outputmode_set(st->spi, st->output_mode); in ad9467_preenable_setup()
495 st->output_mode = info->default_output_mode | in ad9467_probe()
/drivers/media/dvb-frontends/
Dcx22702.h28 u8 output_mode; member
Ds5h1409.h22 u8 output_mode; member
Ds5h1411.h23 u8 output_mode; member
Ds5h1432.h27 u8 output_mode; member
Dtda10048.h24 u8 output_mode; member
Dtda1002x.h42 u8 output_mode; member
Ddib7000p.h36 u8 output_mode; member
Ddib8000.h34 u8 output_mode; member
/drivers/media/pci/cx23885/
Dcx23885-dvb.c181 .output_mode = S5H1409_SERIAL_OUTPUT,
191 .output_mode = TDA10048_SERIAL_OUTPUT,
202 .output_mode = TDA10048_SERIAL_OUTPUT,
213 .output_mode = S5H1409_SERIAL_OUTPUT,
223 .output_mode = S5H1409_SERIAL_OUTPUT,
233 .output_mode = S5H1409_SERIAL_OUTPUT,
251 .output_mode = S5H1409_SERIAL_OUTPUT,
261 .output_mode = S5H1409_SERIAL_OUTPUT,
270 .output_mode = S5H1411_SERIAL_OUTPUT,
280 .output_mode = S5H1411_SERIAL_OUTPUT,
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-devattr.c300 .output_mode = TDA10048_PARALLEL_OUTPUT,
398 .output_mode = S5H1409_PARALLEL_OUTPUT,
406 .output_mode = S5H1411_PARALLEL_OUTPUT,
/drivers/media/pci/cx88/
Dcx88-dvb.c360 .output_mode = CX22702_SERIAL_OUTPUT,
365 .output_mode = CX22702_SERIAL_OUTPUT,
545 .output_mode = S5H1409_PARALLEL_OUTPUT,
555 .output_mode = S5H1409_SERIAL_OUTPUT,
564 .output_mode = S5H1409_SERIAL_OUTPUT,
589 .output_mode = S5H1411_SERIAL_OUTPUT,

123