Lines Matching refs:dig
89 struct amdgpu_encoder_atom_dig *dig; in amdgpu_atombios_encoder_set_backlight_level() local
96 dig = amdgpu_encoder->enc_priv; in amdgpu_atombios_encoder_set_backlight_level()
97 dig->backlight_level = level; in amdgpu_atombios_encoder_set_backlight_level()
98 amdgpu_atombios_encoder_set_backlight_level_to_reg(adev, dig->backlight_level); in amdgpu_atombios_encoder_set_backlight_level()
106 if (dig->backlight_level == 0) in amdgpu_atombios_encoder_set_backlight_level()
172 struct amdgpu_encoder_atom_dig *dig; in amdgpu_atombios_encoder_init_backlight() local
213 dig = amdgpu_encoder->enc_priv; in amdgpu_atombios_encoder_init_backlight()
214 dig->bl_dev = bd; in amdgpu_atombios_encoder_init_backlight()
240 struct amdgpu_encoder_atom_dig *dig; in amdgpu_atombios_encoder_fini_backlight() local
248 dig = amdgpu_encoder->enc_priv; in amdgpu_atombios_encoder_fini_backlight()
249 bd = dig->bl_dev; in amdgpu_atombios_encoder_fini_backlight()
250 dig->bl_dev = NULL; in amdgpu_atombios_encoder_fini_backlight()
566 struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv; in amdgpu_atombios_encoder_setup_dig_encoder() local
586 if (dig->dig_encoder == -1) in amdgpu_atombios_encoder_setup_dig_encoder()
626 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_encoder()
649 args.v3.acConfig.ucDigSel = dig->dig_encoder; in amdgpu_atombios_encoder_setup_dig_encoder()
677 args.v4.acConfig.ucDigSel = dig->dig_encoder; in amdgpu_atombios_encoder_setup_dig_encoder()
689 args.v5.asDPPanelModeParam.ucDigId = dig->dig_encoder; in amdgpu_atombios_encoder_setup_dig_encoder()
693 args.v5.asStreamParam.ucDigId = dig->dig_encoder; in amdgpu_atombios_encoder_setup_dig_encoder()
718 args.v5.asCmdParam.ucDigId = dig->dig_encoder; in amdgpu_atombios_encoder_setup_dig_encoder()
755 struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv; in amdgpu_atombios_encoder_setup_dig_transmitter() local
765 int dig_encoder = dig->dig_encoder; in amdgpu_atombios_encoder_setup_dig_transmitter()
847 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
855 if (dig->coherent_mode) in amdgpu_atombios_encoder_setup_dig_transmitter()
878 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
897 if (dig->coherent_mode) in amdgpu_atombios_encoder_setup_dig_transmitter()
926 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
956 if (dig->coherent_mode) in amdgpu_atombios_encoder_setup_dig_transmitter()
985 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
1018 if (dig->coherent_mode) in amdgpu_atombios_encoder_setup_dig_transmitter()
1033 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
1039 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
1045 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
1071 if (dig->coherent_mode) in amdgpu_atombios_encoder_setup_dig_transmitter()
1090 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
1096 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
1102 if (dig->linkb) in amdgpu_atombios_encoder_setup_dig_transmitter()
1299 struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv; in amdgpu_atombios_encoder_setup_dig() local
1311 dig->panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE; in amdgpu_atombios_encoder_setup_dig()
1313 dig->panel_mode = amdgpu_atombios_dp_get_panel_mode(encoder, connector); in amdgpu_atombios_encoder_setup_dig()
1319 dig->panel_mode); in amdgpu_atombios_encoder_setup_dig()
1342 amdgpu_atombios_encoder_set_backlight_level(amdgpu_encoder, dig->backlight_level); in amdgpu_atombios_encoder_setup_dig()
1442 struct amdgpu_encoder_atom_dig *dig; in amdgpu_atombios_encoder_set_crtc_source() local
1514 dig = amdgpu_encoder->enc_priv; in amdgpu_atombios_encoder_set_crtc_source()
1515 switch (dig->dig_encoder) { in amdgpu_atombios_encoder_set_crtc_source()
1583 dig = amdgpu_encoder->enc_priv; in amdgpu_atombios_encoder_set_crtc_source()
1584 switch (dig->dig_encoder) { in amdgpu_atombios_encoder_set_crtc_source()
2112 struct amdgpu_encoder_atom_dig *dig = kzalloc(sizeof(struct amdgpu_encoder_atom_dig), GFP_KERNEL); in amdgpu_atombios_encoder_get_dig_info() local
2114 if (!dig) in amdgpu_atombios_encoder_get_dig_info()
2118 dig->coherent_mode = true; in amdgpu_atombios_encoder_get_dig_info()
2119 dig->dig_encoder = -1; in amdgpu_atombios_encoder_get_dig_info()
2122 dig->linkb = true; in amdgpu_atombios_encoder_get_dig_info()
2124 dig->linkb = false; in amdgpu_atombios_encoder_get_dig_info()
2126 return dig; in amdgpu_atombios_encoder_get_dig_info()