Lines Matching refs:radeon_encoder
187 struct radeon_encoder *radeon_encoder; in radeon_audio_enable() local
197 radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_enable()
198 dig = radeon_encoder->enc_priv; in radeon_audio_enable()
300 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_sad_regs() local
314 if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs) in radeon_audio_write_sad_regs()
315 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs()
323 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_speaker_allocation() local
338 if (radeon_encoder->audio && radeon_encoder->audio->write_speaker_allocation) in radeon_audio_write_speaker_allocation()
339 radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); in radeon_audio_write_speaker_allocation()
348 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_latency_fields() local
353 if (radeon_encoder->audio && radeon_encoder->audio->write_latency_fields) in radeon_audio_write_latency_fields()
354 radeon_encoder->audio->write_latency_fields(encoder, connector, mode); in radeon_audio_write_latency_fields()
360 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_get_pin() local
362 if (radeon_encoder->audio && radeon_encoder->audio->get_pin) in radeon_audio_get_pin()
363 return radeon_encoder->audio->get_pin(rdev); in radeon_audio_get_pin()
370 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_select_pin() local
372 if (radeon_encoder->audio && radeon_encoder->audio->select_pin) in radeon_audio_select_pin()
373 radeon_encoder->audio->select_pin(encoder); in radeon_audio_select_pin()
382 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_detect() local
391 dig = radeon_encoder->enc_priv; in radeon_audio_detect()
399 radeon_encoder->audio = rdev->audio.dp_funcs; in radeon_audio_detect()
401 radeon_encoder->audio = rdev->audio.hdmi_funcs; in radeon_audio_detect()
403 radeon_encoder->audio = rdev->audio.hdmi_funcs; in radeon_audio_detect()
436 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_set_dto() local
439 if (radeon_encoder->audio && radeon_encoder->audio->set_dto) in radeon_audio_set_dto()
440 radeon_encoder->audio->set_dto(rdev, crtc, clock); in radeon_audio_set_dto()
447 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_set_avi_packet() local
448 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_audio_set_avi_packet()
463 if (radeon_encoder->output_csc != RADEON_OUTPUT_CSC_BYPASS) { in radeon_audio_set_avi_packet()
465 radeon_encoder->output_csc == RADEON_OUTPUT_CSC_TVRGB ? in radeon_audio_set_avi_packet()
476 if (dig && dig->afmt && radeon_encoder->audio && in radeon_audio_set_avi_packet()
477 radeon_encoder->audio->set_avi_packet) in radeon_audio_set_avi_packet()
478 radeon_encoder->audio->set_avi_packet(rdev, dig->afmt->offset, in radeon_audio_set_avi_packet()
563 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_update_acr() local
564 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_audio_update_acr()
569 if (radeon_encoder->audio && radeon_encoder->audio->update_acr) in radeon_audio_update_acr()
570 radeon_encoder->audio->update_acr(encoder, dig->afmt->offset, acr); in radeon_audio_update_acr()
575 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_set_vbi_packet() local
576 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_audio_set_vbi_packet()
581 if (radeon_encoder->audio && radeon_encoder->audio->set_vbi_packet) in radeon_audio_set_vbi_packet()
582 radeon_encoder->audio->set_vbi_packet(encoder, dig->afmt->offset); in radeon_audio_set_vbi_packet()
588 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_hdmi_set_color_depth() local
589 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_hdmi_set_color_depth()
599 if (radeon_encoder->audio && radeon_encoder->audio->set_color_depth) in radeon_hdmi_set_color_depth()
600 radeon_encoder->audio->set_color_depth(encoder, dig->afmt->offset, bpc); in radeon_hdmi_set_color_depth()
605 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_set_audio_packet() local
606 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_audio_set_audio_packet()
611 if (radeon_encoder->audio && radeon_encoder->audio->set_audio_packet) in radeon_audio_set_audio_packet()
612 radeon_encoder->audio->set_audio_packet(encoder, dig->afmt->offset); in radeon_audio_set_audio_packet()
617 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_set_mute() local
618 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_audio_set_mute()
623 if (radeon_encoder->audio && radeon_encoder->audio->set_mute) in radeon_audio_set_mute()
624 radeon_encoder->audio->set_mute(encoder, dig->afmt->offset, mute); in radeon_audio_set_mute()
633 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_hdmi_mode_set() local
634 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_audio_hdmi_mode_set()
673 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_dp_mode_set() local
674 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in radeon_audio_dp_mode_set()
699 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_mode_set() local
701 if (radeon_encoder->audio && radeon_encoder->audio->mode_set) in radeon_audio_mode_set()
702 radeon_encoder->audio->mode_set(encoder, mode); in radeon_audio_mode_set()
707 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_dpms() local
709 if (radeon_encoder->audio && radeon_encoder->audio->dpms) in radeon_audio_dpms()
710 radeon_encoder->audio->dpms(encoder, mode == DRM_MODE_DPMS_ON); in radeon_audio_dpms()