/drivers/gpu/drm/nouveau/dispnv04/ |
D | dfp.c | 292 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 …]
|
D | tvnv17.c | 234 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 …]
|
D | tvmodesnv17.c | 549 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/ |
D | cx231xx-cards.c | 89 .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/ |
D | rockchip_rgb.c | 30 int output_mode; member 50 s->output_mode = ROCKCHIP_OUT_MODE_P666; in rockchip_rgb_encoder_atomic_check() 53 s->output_mode = ROCKCHIP_OUT_MODE_P565; in rockchip_rgb_encoder_atomic_check() 58 s->output_mode = ROCKCHIP_OUT_MODE_P888; in rockchip_rgb_encoder_atomic_check()
|
D | rockchip_drm_drv.h | 30 int output_mode; member
|
/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_crtc.c | 35 unsigned int output_mode; member 139 cfg = state->output_mode << 8; in atmel_hlcdc_crtc_mode_set_nofb() 321 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode() 436 state->output_mode = cur->output_mode; in atmel_hlcdc_crtc_duplicate_state()
|
/drivers/iio/dac/ |
D | ad5770r.c | 138 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/ |
D | ivtv-streams.c | 505 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/ |
D | atom.h | 63 u8 output_mode:2; member 203 u8 output_mode:2; member
|
D | wndwc57e.c | 139 NVVAL(NVC57E, SET_ILUT_CONTROL, INTERPOLATE, asyw->xlut.i.output_mode), in wndwc57e_ilut_set() 194 asyw->xlut.i.output_mode = NVC57E_SET_ILUT_CONTROL_INTERPOLATE_DISABLE; in wndwc57e_ilut()
|
D | headc57d.c | 108 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()
|
D | wndwc37e.c | 76 NVVAL(NVC37E, SET_CONTROL_INPUT_LUT, OUTPUT_MODE, asyw->xlut.i.output_mode) | in wndwc37e_ilut_set() 94 asyw->xlut.i.output_mode = NVC37E_SET_CONTROL_INPUT_LUT_OUTPUT_MODE_INTERPOLATE; in wndwc37e_ilut()
|
/drivers/iio/adc/ |
D | ad9467.c | 121 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/ |
D | cx22702.h | 28 u8 output_mode; member
|
D | s5h1409.h | 22 u8 output_mode; member
|
D | s5h1411.h | 23 u8 output_mode; member
|
D | s5h1432.h | 27 u8 output_mode; member
|
D | tda10048.h | 24 u8 output_mode; member
|
D | tda1002x.h | 42 u8 output_mode; member
|
D | dib7000p.h | 36 u8 output_mode; member
|
D | dib8000.h | 34 u8 output_mode; member
|
/drivers/media/pci/cx23885/ |
D | cx23885-dvb.c | 181 .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/ |
D | pvrusb2-devattr.c | 300 .output_mode = TDA10048_PARALLEL_OUTPUT, 398 .output_mode = S5H1409_PARALLEL_OUTPUT, 406 .output_mode = S5H1411_PARALLEL_OUTPUT,
|
/drivers/media/pci/cx88/ |
D | cx88-dvb.c | 360 .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,
|