Home
last modified time | relevance | path

Searched refs:tv_enc (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
H A 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 in nv17_tv_detect()
609 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_save() local
640 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_create_resources() local
690 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_set_property() local
760 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_destroy() local
791 struct nv17_tv_encoder *tv_enc = NULL; nv17_tv_create() local
[all...]
H A 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 in nv17_tv_update_properties()
529 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_update_rescaler() local
545 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_ctv_update_rescaler() local
[all...]
H A 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])
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv17.c150 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); in nv17_tv_detect() local
151 struct dcb_output *dcb = tv_enc->base.dcb; in nv17_tv_detect()
152 bool reliable = get_tv_detect_quirks(dev, &tv_enc->pin_mask); in nv17_tv_detect()
160 tv_enc->pin_mask = in nv17_tv_detect()
163 tv_enc->pin_mask = in nv17_tv_detect()
167 switch (tv_enc->pin_mask) { in nv17_tv_detect()
170 tv_enc->subconnector = DRM_MODE_SUBCONNECTOR_Composite; in nv17_tv_detect()
173 tv_enc->subconnector = DRM_MODE_SUBCONNECTOR_SVIDEO; in nv17_tv_detect()
177 tv_enc->subconnector = DRM_MODE_SUBCONNECTOR_Component; in nv17_tv_detect()
179 tv_enc in nv17_tv_detect()
610 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_save() local
641 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_create_resources() local
691 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_set_property() local
761 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_destroy() local
792 struct nv17_tv_encoder *tv_enc = NULL; nv17_tv_create() local
[all...]
H A Dtvmodesnv17.c316 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); in tv_setup_filter() local
319 uint32_t (*filters[])[4][7] = {&tv_enc->state.hfilter, in tv_setup_filter()
320 &tv_enc->state.vfilter}; in tv_setup_filter()
322 int32_t overscan = calc_overscan(tv_enc->overscan); in tv_setup_filter()
323 int64_t flicker = (tv_enc->flicker - 50) * (id3 / 100); in tv_setup_filter()
384 state->tv_enc[i] = nv_read_tv_enc(dev, i); in nv17_tv_state_save()
411 nv_write_tv_enc(dev, i, state->tv_enc[i]); in nv17_tv_state_load()
473 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); in nv17_tv_update_properties() local
474 struct nv17_tv_state *regs = &tv_enc->state; in nv17_tv_update_properties()
476 int subconnector = tv_enc in nv17_tv_update_properties()
528 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_tv_update_rescaler() local
544 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); nv17_ctv_update_rescaler() local
[all...]
H A 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])

Completed in 7 milliseconds