drivers/gpu/drm/radeon/dce6_afmt.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/radeon/dce6_afmt.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/radeon/dce6_afmt.h
Extension
.h
Size
2332 bytes
Lines
53
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __DCE6_AFMT_H__
#define __DCE6_AFMT_H__

struct cea_sad;
struct drm_connector;
struct drm_display_mode;
struct drm_encoder;
struct radeon_crtc;
struct radeon_device;

u32 dce6_endpoint_rreg(struct radeon_device *rdev, u32 offset, u32 reg);
void dce6_endpoint_wreg(struct radeon_device *rdev, u32 offset, u32 reg, u32 v);
void dce6_afmt_write_sad_regs(struct drm_encoder *encoder,
			      struct cea_sad *sads, int sad_count);
void dce6_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder,
					     u8 *sadb, int sad_count);
void dce6_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder,
					   u8 *sadb, int sad_count);
void dce6_afmt_write_latency_fields(struct drm_encoder *encoder,
				    struct drm_connector *connector,
				    struct drm_display_mode *mode);
void dce6_afmt_select_pin(struct drm_encoder *encoder);
void dce6_hdmi_audio_set_dto(struct radeon_device *rdev,
			     struct radeon_crtc *crtc, unsigned int clock);
void dce6_dp_audio_set_dto(struct radeon_device *rdev,
			   struct radeon_crtc *crtc, unsigned int clock);

#endif                         /* __DCE6_AFMT_H__ */

Annotation

Implementation Notes