Lines Matching refs:encoder_mode

314 	int encoder_mode = amdgpu_atombios_encoder_get_encoder_mode(encoder);  in amdgpu_atombios_crtc_adjust_pll()  local
357 if (encoder_mode == ATOM_ENCODER_MODE_HDMI) { in amdgpu_atombios_crtc_adjust_pll()
392 args.v1.ucEncodeMode = encoder_mode; in amdgpu_atombios_crtc_adjust_pll()
404 args.v3.sInput.ucEncodeMode = encoder_mode; in amdgpu_atombios_crtc_adjust_pll()
409 if (ENCODER_MODE_IS_DP(encoder_mode)) { in amdgpu_atombios_crtc_adjust_pll()
563 static bool is_pixel_clock_source_from_pll(u32 encoder_mode, int pll_id) in is_pixel_clock_source_from_pll() argument
565 if (ENCODER_MODE_IS_DP(encoder_mode)) { in is_pixel_clock_source_from_pll()
578 u32 encoder_mode, in amdgpu_atombios_crtc_program_pll() argument
640 args.v3.ucEncoderMode = encoder_mode; in amdgpu_atombios_crtc_program_pll()
653 if (encoder_mode == ATOM_ENCODER_MODE_HDMI) { in amdgpu_atombios_crtc_program_pll()
670 args.v5.ucEncoderMode = encoder_mode; in amdgpu_atombios_crtc_program_pll()
682 !is_pixel_clock_source_from_pll(encoder_mode, pll_id)) in amdgpu_atombios_crtc_program_pll()
684 if (encoder_mode == ATOM_ENCODER_MODE_HDMI) { in amdgpu_atombios_crtc_program_pll()
702 args.v6.ucEncoderMode = encoder_mode; in amdgpu_atombios_crtc_program_pll()
708 if ((encoder_mode == ATOM_ENCODER_MODE_DVI) && in amdgpu_atombios_crtc_program_pll()
712 if (encoder_mode == ATOM_ENCODER_MODE_HDMI) { in amdgpu_atombios_crtc_program_pll()
730 args.v7.ucEncoderMode = encoder_mode; in amdgpu_atombios_crtc_program_pll()
754 int encoder_mode = amdgpu_atombios_encoder_get_encoder_mode(amdgpu_crtc->encoder); in amdgpu_atombios_crtc_prepare_pll() local
774 switch (encoder_mode) { in amdgpu_atombios_crtc_prepare_pll()
827 int encoder_mode = amdgpu_atombios_encoder_get_encoder_mode(amdgpu_crtc->encoder); in amdgpu_atombios_crtc_set_pll() local
830 if ((encoder_mode == ATOM_ENCODER_MODE_HDMI) && in amdgpu_atombios_crtc_set_pll()
860 encoder_mode, amdgpu_encoder->encoder_id, clock, in amdgpu_atombios_crtc_set_pll()