Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv17.c160 tv_enc->pin_mask = in nv17_tv_detect()
163 tv_enc->pin_mask = in nv17_tv_detect()
523 tv_regs->tv_enc[i] = tv_norm->tv_enc_mode.tv_enc[i]; in nv17_tv_mode_set()
625 tv_enc->state.ptv_200 = tv_enc->saved_state.ptv_200; in nv17_tv_save()
673 tv_enc->tv_norm); in nv17_tv_create_resources()
682 tv_enc->hue); in nv17_tv_create_resources()
721 tv_enc->hue = val; in nv17_tv_set_property()
770 kfree(tv_enc); in nv17_tv_destroy()
800 tv_enc = kzalloc(sizeof(*tv_enc), GFP_KERNEL); in nv17_tv_create()
801 if (!tv_enc) in nv17_tv_create()
[all …]
H A Dtvmodesnv17.c478 tv_enc->subconnector; in nv17_tv_update_properties()
486 if (tv_enc->pin_mask & 0x4) in nv17_tv_update_properties()
493 regs->tv_enc[0x7] = 0x10; in nv17_tv_update_properties()
498 regs->tv_enc[0x7] = 0x18; in nv17_tv_update_properties()
503 regs->tv_enc[0x7] = 0x14; in nv17_tv_update_properties()
508 regs->tv_enc[0x7] = 0x18; in nv17_tv_update_properties()
512 regs->tv_enc[0x20] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x20], in nv17_tv_update_properties()
513 255, tv_enc->saturation); in nv17_tv_update_properties()
514 regs->tv_enc[0x22] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x22], in nv17_tv_update_properties()
516 regs->tv_enc[0x25] = tv_enc->hue * 255 / 100; in nv17_tv_update_properties()
[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])