![]() |
|
|||
0001 /* dce6_afmt.h -- Private header for radeon driver -*- linux-c -*- 0002 * 0003 * Copyright 2013 Advanced Micro Devices, Inc. 0004 * 0005 * Permission is hereby granted, free of charge, to any person obtaining a 0006 * copy of this software and associated documentation files (the "Software"), 0007 * to deal in the Software without restriction, including without limitation 0008 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 0009 * and/or sell copies of the Software, and to permit persons to whom the 0010 * Software is furnished to do so, subject to the following conditions: 0011 * 0012 * The above copyright notice and this permission notice shall be included in 0013 * all copies or substantial portions of the Software. 0014 * 0015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 0018 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 0019 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 0020 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 0021 * OTHER DEALINGS IN THE SOFTWARE. 0022 * 0023 */ 0024 0025 #ifndef __DCE6_AFMT_H__ 0026 #define __DCE6_AFMT_H__ 0027 0028 struct cea_sad; 0029 struct drm_connector; 0030 struct drm_display_mode; 0031 struct drm_encoder; 0032 struct radeon_crtc; 0033 struct radeon_device; 0034 0035 u32 dce6_endpoint_rreg(struct radeon_device *rdev, u32 offset, u32 reg); 0036 void dce6_endpoint_wreg(struct radeon_device *rdev, u32 offset, u32 reg, u32 v); 0037 void dce6_afmt_write_sad_regs(struct drm_encoder *encoder, 0038 struct cea_sad *sads, int sad_count); 0039 void dce6_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, 0040 u8 *sadb, int sad_count); 0041 void dce6_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, 0042 u8 *sadb, int sad_count); 0043 void dce6_afmt_write_latency_fields(struct drm_encoder *encoder, 0044 struct drm_connector *connector, 0045 struct drm_display_mode *mode); 0046 void dce6_afmt_select_pin(struct drm_encoder *encoder); 0047 void dce6_hdmi_audio_set_dto(struct radeon_device *rdev, 0048 struct radeon_crtc *crtc, unsigned int clock); 0049 void dce6_dp_audio_set_dto(struct radeon_device *rdev, 0050 struct radeon_crtc *crtc, unsigned int clock); 0051 0052 #endif /* __DCE6_AFMT_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |