Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ps3av_cmd.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <asm/ps3av.h>
#include <asm/ps3.h>
#include <asm/ps3gpu.h>
#include "vuart.h"

Go to the source code of this file.

Data Structures

struct  video_fmt


#define CS_44   0x00
#define CS_48   0x02
#define CS_88   0x08
#define CS_96   0x0a
#define CS_176   0x0c
#define CS_192   0x0e
#define CS_MASK   0x0f
#define CS_BIT   0x40
#define PS3AV_AV_LAYOUT_0
#define PS3AV_AV_LAYOUT_1


int ps3av_cmd_init (void)
int ps3av_cmd_fin (void)
int ps3av_cmd_av_video_mute (int num_of_port, u32 *port, u32 mute)
int ps3av_cmd_av_video_disable_sig (u32 port)
int ps3av_cmd_av_tv_mute (u32 avport, u32 mute)
int ps3av_cmd_enable_event (void)
int ps3av_cmd_av_hdmi_mode (u8 mode)
u32 ps3av_cmd_set_av_video_cs (void *p, u32 avport, int video_vid, int cs_out, int aspect, u32 id)
u32 ps3av_cmd_set_video_mode (void *p, u32 head, int video_vid, int video_fmt, u32 id)
int ps3av_cmd_video_format_black (u32 head, u32 video_fmt, u32 mute)
int ps3av_cmd_av_audio_mute (int num_of_port, u32 *port, u32 mute)
u32 ps3av_cmd_set_av_audio_param (void *p, u32 port, const struct ps3av_pkt_audio_mode *audio_mode, u32 video_vid)
 EXPORT_SYMBOL_GPL (ps3av_mode_cs_info)
void ps3av_cmd_set_audio_mode (struct ps3av_pkt_audio_mode *audio, u32 avport, u32 ch, u32 fs, u32 word_bits, u32 format, u32 source)
int ps3av_cmd_audio_mode (struct ps3av_pkt_audio_mode *audio_mode)
int ps3av_cmd_audio_mute (int num_of_port, u32 *port, u32 mute)
int ps3av_cmd_audio_active (int active, u32 port)
int ps3av_cmd_avb_param (struct ps3av_pkt_avb_param *avb, u32 send_len)
int ps3av_cmd_av_get_hw_conf (struct ps3av_pkt_av_get_hw_conf *hw_conf)
int ps3av_cmd_video_get_monitor_info (struct ps3av_pkt_av_get_monitor_info *info, u32 avport)


u8 ps3av_mode_cs_info []

Macro Definition Documentation


Definition at line 501 of file ps3av_cmd.c.

#define CS_176   0x0c

Definition at line 673 of file ps3av_cmd.c.

#define CS_192   0x0e

Definition at line 674 of file ps3av_cmd.c.

#define CS_44   0x00

Definition at line 669 of file ps3av_cmd.c.

#define CS_48   0x02

Definition at line 670 of file ps3av_cmd.c.

#define CS_88   0x08

Definition at line 671 of file ps3av_cmd.c.

#define CS_96   0x0a

Definition at line 672 of file ps3av_cmd.c.

#define CS_BIT   0x40

Definition at line 676 of file ps3av_cmd.c.

#define CS_MASK   0x0f

Definition at line 675 of file ps3av_cmd.c.

#define PS3AV_AV_LAYOUT_0
#define PS3AV_AV_LAYOUT_1

Function Documentation

EXPORT_SYMBOL_GPL ( ps3av_mode_cs_info  )
int ps3av_cmd_audio_active ( int  active,
u32  port 

Definition at line 840 of file ps3av_cmd.c.

int ps3av_cmd_audio_mode ( struct ps3av_pkt_audio_mode audio_mode)

Definition at line 795 of file ps3av_cmd.c.

int ps3av_cmd_audio_mute ( int  num_of_port,
u32 port,
u32  mute 

Definition at line 811 of file ps3av_cmd.c.

int ps3av_cmd_av_audio_mute ( int  num_of_port,
u32 port,
u32  mute 

Definition at line 448 of file ps3av_cmd.c.

int ps3av_cmd_av_get_hw_conf ( struct ps3av_pkt_av_get_hw_conf hw_conf)

Definition at line 886 of file ps3av_cmd.c.

int ps3av_cmd_av_hdmi_mode ( u8  mode)

Definition at line 319 of file ps3av_cmd.c.

int ps3av_cmd_av_tv_mute ( u32  avport,
u32  mute 

Definition at line 276 of file ps3av_cmd.c.

int ps3av_cmd_av_video_disable_sig ( u32  port)

Definition at line 253 of file ps3av_cmd.c.

int ps3av_cmd_av_video_mute ( int  num_of_port,
u32 port,
u32  mute 

Definition at line 225 of file ps3av_cmd.c.

int ps3av_cmd_avb_param ( struct ps3av_pkt_avb_param avb,
u32  send_len 

Definition at line 864 of file ps3av_cmd.c.

int ps3av_cmd_enable_event ( void  )

Definition at line 298 of file ps3av_cmd.c.

int ps3av_cmd_fin ( void  )

Definition at line 206 of file ps3av_cmd.c.

int ps3av_cmd_init ( void  )

Definition at line 155 of file ps3av_cmd.c.

void ps3av_cmd_set_audio_mode ( struct ps3av_pkt_audio_mode audio,
u32  avport,
u32  ch,
u32  fs,
u32  word_bits,
u32  format,
u32  source 

Definition at line 678 of file ps3av_cmd.c.

u32 ps3av_cmd_set_av_audio_param ( void p,
u32  port,
const struct ps3av_pkt_audio_mode audio_mode,
u32  video_vid 

Definition at line 635 of file ps3av_cmd.c.

u32 ps3av_cmd_set_av_video_cs ( void p,
u32  avport,
int  video_vid,
int  cs_out,
int  aspect,
u32  id 

Definition at line 339 of file ps3av_cmd.c.

u32 ps3av_cmd_set_video_mode ( void p,
u32  head,
int  video_vid,
int  video_fmt,
u32  id 

Definition at line 378 of file ps3av_cmd.c.

int ps3av_cmd_video_format_black ( u32  head,
u32  video_fmt,
u32  mute 

Definition at line 421 of file ps3av_cmd.c.

int ps3av_cmd_video_get_monitor_info ( struct ps3av_pkt_av_get_monitor_info info,
u32  avport 

Definition at line 904 of file ps3av_cmd.c.

Variable Documentation

u32 av

Definition at line 41 of file ps3av_cmd.c.

u32 bl

Definition at line 42 of file ps3av_cmd.c.

int cs

Definition at line 40 of file ps3av_cmd.c.

u32 fs

Definition at line 478 of file ps3av_cmd.c.

Definition at line 479 of file ps3av_cmd.c.

u8 ps3av_mode_cs_info[]
Initial value:
= {
0x00, 0x09, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00

Definition at line 664 of file ps3av_cmd.c.

int vid

Definition at line 118 of file ps3av_cmd.c.