Home
last modified time | relevance | path

Searched refs:tv_enc (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/nouveau/dispnv04/ !
Dtvnv17.c149 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); in nv17_tv_detect() local
150 struct dcb_output *dcb = tv_enc->base.dcb; in nv17_tv_detect()
151 bool reliable = get_tv_detect_quirks(dev, &tv_enc->pin_mask); in nv17_tv_detect()
159 tv_enc->pin_mask = in nv17_tv_detect()
162 tv_enc->pin_mask = in nv17_tv_detect()
166 switch (tv_enc->pin_mask) { in nv17_tv_detect()
169 tv_enc->subconnector = DRM_MODE_SUBCONNECTOR_Composite; in nv17_tv_detect()
172 tv_enc->subconnector = DRM_MODE_SUBCONNECTOR_SVIDEO; in nv17_tv_detect()
176 tv_enc->subconnector = DRM_MODE_SUBCONNECTOR_Component; in nv17_tv_detect()
178 tv_enc->subconnector = DRM_MODE_SUBCONNECTOR_SCART; in nv17_tv_detect()
[all …]
Dtvmodesnv17.c317 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); in tv_setup_filter() local
320 uint32_t (*filters[])[4][7] = {&tv_enc->state.hfilter, in tv_setup_filter()
321 &tv_enc->state.vfilter}; in tv_setup_filter()
323 int32_t overscan = calc_overscan(tv_enc->overscan); in tv_setup_filter()
324 int64_t flicker = (tv_enc->flicker - 50) * (id3 / 100); in tv_setup_filter()
385 state->tv_enc[i] = nv_read_tv_enc(dev, i); in nv17_tv_state_save()
412 nv_write_tv_enc(dev, i, state->tv_enc[i]); in nv17_tv_state_load()
474 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); in nv17_tv_update_properties() local
475 struct nv17_tv_state *regs = &tv_enc->state; in nv17_tv_update_properties()
477 int subconnector = tv_enc->select_subconnector ? in nv17_tv_update_properties()
[all …]
Dtvnv17.h31 uint8_t tv_enc[0x40]; member
102 uint8_t tv_enc[0x40]; member
161 nv_write_tv_enc(dev, 0x##reg, state->tv_enc[0x##reg])