arch/powerpc/include/asm/ps3av.h
Source file repositories/reference/linux-study-clean/arch/powerpc/include/asm/ps3av.h
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/include/asm/ps3av.h- Extension
.h- Size
- 23355 bytes
- Lines
- 730
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct ps3av_send_hdrstruct ps3av_reply_hdrstruct ps3av_pkt_av_initstruct ps3av_pkt_av_finstruct ps3av_pkt_av_get_hw_confstruct ps3av_info_resolutionstruct ps3av_info_csstruct ps3av_info_colorstruct ps3av_info_audiostruct ps3av_info_monitorstruct ps3av_pkt_av_get_monitor_infostruct ps3av_pkt_av_eventstruct ps3av_pkt_av_video_csstruct ps3av_av_mutestruct ps3av_pkt_av_video_mutestruct ps3av_pkt_av_video_disable_sigstruct ps3av_audio_info_framestruct pb1_bitstruct pb2_bitstruct pb5_bitstruct ps3av_pkt_av_audio_paramstruct ps3av_pkt_av_audio_mutestruct ps3av_pkt_av_hdmi_modestruct ps3av_pkt_av_tv_mutestruct ps3av_pkt_video_initstruct ps3av_pkt_video_modestruct ps3av_pkt_video_formatstruct ps3av_pkt_video_pitchstruct ps3av_pkt_audio_initstruct ps3av_pkt_audio_modestruct ps3av_audio_mutestruct ps3av_pkt_audio_mutestruct ps3av_pkt_audio_activestruct ps3av_pkt_audio_spdif_bitstruct ps3av_pkt_audio_ctrlstruct ps3av_pkt_avb_paramenum ps3av_mode_num
Annotated Snippet
struct ps3av_send_hdr {
u16 version;
u16 size; /* size of command packet */
u32 cid; /* command id */
};
struct ps3av_reply_hdr {
u16 version;
u16 size;
u32 cid;
u32 status;
};
/* backend: initialization */
struct ps3av_pkt_av_init {
struct ps3av_send_hdr send_hdr;
u32 event_bit;
};
/* backend: finalize */
struct ps3av_pkt_av_fin {
struct ps3av_send_hdr send_hdr;
/* recv */
u32 reserved;
};
/* backend: get port */
struct ps3av_pkt_av_get_hw_conf {
struct ps3av_send_hdr send_hdr;
/* recv */
u32 status;
u16 num_of_hdmi; /* out: number of hdmi */
u16 num_of_avmulti; /* out: number of avmulti */
u16 num_of_spdif; /* out: number of hdmi */
u16 reserved;
};
/* backend: get monitor info */
struct ps3av_info_resolution {
u32 res_bits;
u32 native;
};
struct ps3av_info_cs {
u8 rgb;
u8 yuv444;
u8 yuv422;
u8 reserved;
};
struct ps3av_info_color {
u16 red_x;
u16 red_y;
u16 green_x;
u16 green_y;
u16 blue_x;
u16 blue_y;
u16 white_x;
u16 white_y;
u32 gamma;
};
struct ps3av_info_audio {
u8 type;
u8 max_num_of_ch;
u8 fs;
u8 sbit;
};
struct ps3av_info_monitor {
u8 avport;
u8 monitor_id[10];
u8 monitor_type;
u8 monitor_name[16];
struct ps3av_info_resolution res_60;
struct ps3av_info_resolution res_50;
struct ps3av_info_resolution res_other;
struct ps3av_info_resolution res_vesa;
struct ps3av_info_cs cs;
struct ps3av_info_color color;
u8 supported_ai;
u8 speaker_info;
u8 num_of_audio_block;
struct ps3av_info_audio audio[0]; /* 0 or more audio blocks */
u8 reserved[169];
} __attribute__ ((packed));
struct ps3av_pkt_av_get_monitor_info {
struct ps3av_send_hdr send_hdr;
u16 avport; /* in: avport */
Annotation
- Detected declarations: `struct ps3av_send_hdr`, `struct ps3av_reply_hdr`, `struct ps3av_pkt_av_init`, `struct ps3av_pkt_av_fin`, `struct ps3av_pkt_av_get_hw_conf`, `struct ps3av_info_resolution`, `struct ps3av_info_cs`, `struct ps3av_info_color`, `struct ps3av_info_audio`, `struct ps3av_info_monitor`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.