#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/notifier.h>
#include <linux/ioctl.h>
#include <linux/fb.h>
#include <linux/slab.h>
#include <asm/firmware.h>
#include <asm/ps3av.h>
#include <asm/ps3.h>
#include "vuart.h"
Go to the source code of this file.
|
struct | ps3av |
|
struct | avset_video_mode |
|
struct | ps3av_monitor_quirk |
|
|
| module_param (timeout, int, 0644) |
|
void | ps3av_set_hdr (u32 cid, u16 size, struct ps3av_send_hdr *hdr) |
|
int | ps3av_do_pkt (u32 cid, u16 send_len, size_t usr_buf_size, struct ps3av_send_hdr *buf) |
|
int | ps3av_set_audio_mode (u32 ch, u32 fs, u32 word_bits, u32 format, u32 source) |
|
| EXPORT_SYMBOL_GPL (ps3av_set_audio_mode) |
|
int | ps3av_set_video_mode (int id) |
|
| EXPORT_SYMBOL_GPL (ps3av_set_video_mode) |
|
int | ps3av_get_auto_mode (void) |
|
| EXPORT_SYMBOL_GPL (ps3av_get_auto_mode) |
|
int | ps3av_get_mode (void) |
|
| EXPORT_SYMBOL_GPL (ps3av_get_mode) |
|
int | ps3av_video_mode2res (u32 id, u32 *xres, u32 *yres) |
|
| EXPORT_SYMBOL_GPL (ps3av_video_mode2res) |
|
int | ps3av_video_mute (int mute) |
|
| EXPORT_SYMBOL_GPL (ps3av_video_mute) |
|
int | ps3av_audio_mute_analog (int mute) |
|
| EXPORT_SYMBOL_GPL (ps3av_audio_mute_analog) |
|
int | ps3av_audio_mute (int mute) |
|
| EXPORT_SYMBOL_GPL (ps3av_audio_mute) |
|
| subsys_initcall (ps3av_module_init) |
|
| module_exit (ps3av_module_exit) |
|
| MODULE_LICENSE ("GPL v2") |
|
| MODULE_DESCRIPTION ("PS3 AV Settings Driver") |
|
| MODULE_AUTHOR ("Sony Computer Entertainment Inc.") |
|
| MODULE_ALIAS (PS3_MODULE_ALIAS_AV_SETTINGS) |
|
#define BUFSIZE 4096 /* vuart buf size */ |
#define POLLING_INTERVAL 25 /* in msec */ |
#define PS3AV_CID_MASK 0xffffffff |
#define PS3AV_EVENT_CMD_MASK 0x10000000 |
#define ps3av_event_get_port_id |
( |
|
cid | ) |
((cid >> 16) & 0xff) |
#define PS3AV_EVENT_ID_MASK 0x0000ffff |
#define PS3AV_REPLY_BIT 0x80000000 |
MODULE_AUTHOR |
( |
"Sony Computer Entertainment Inc." |
| ) |
|
MODULE_DESCRIPTION |
( |
"PS3 AV Settings Driver" |
| ) |
|
module_exit |
( |
ps3av_module_exit |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
int ps3av_audio_mute_analog |
( |
int |
mute | ) |
|
int ps3av_set_video_mode |
( |
int |
id | ) |
|
int ps3av_video_mute |
( |
int |
mute | ) |
|
subsys_initcall |
( |
ps3av_module_init |
| ) |
|