Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ps3rom.c File Reference
#include <linux/cdrom.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_eh.h>
#include <asm/lv1call.h>
#include <asm/ps3stor.h>

Go to the source code of this file.

Data Structures

struct  ps3rom_private
 
struct  lv1_atapi_cmnd_block
 

Macros

#define DEVICE_NAME   "ps3rom"
 
#define BOUNCE_SIZE   (64*1024)
 
#define PS3ROM_MAX_SECTORS   (BOUNCE_SIZE >> 9)
 
#define LV1_STORAGE_SEND_ATAPI_COMMAND   (1)
 

Enumerations

enum  lv1_atapi_proto { NON_DATA_PROTO = 0, PIO_DATA_IN_PROTO = 1, PIO_DATA_OUT_PROTO = 2, DMA_PROTO = 3 }
 
enum  lv1_atapi_in_out { DIR_WRITE = 0, DIR_READ = 1 }
 

Functions

 module_init (ps3rom_init)
 
 module_exit (ps3rom_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("PS3 BD/DVD/CD-ROM Storage Driver")
 
 MODULE_AUTHOR ("Sony Corporation")
 
 MODULE_ALIAS (PS3_MODULE_ALIAS_STOR_ROM)
 

Macro Definition Documentation

#define BOUNCE_SIZE   (64*1024)

Definition at line 39 of file ps3rom.c.

#define DEVICE_NAME   "ps3rom"

Definition at line 37 of file ps3rom.c.

#define LV1_STORAGE_SEND_ATAPI_COMMAND   (1)

Definition at line 50 of file ps3rom.c.

#define PS3ROM_MAX_SECTORS   (BOUNCE_SIZE >> 9)

Definition at line 41 of file ps3rom.c.

Enumeration Type Documentation

Enumerator:
DIR_WRITE 
DIR_READ 

Definition at line 70 of file ps3rom.c.

Enumerator:
NON_DATA_PROTO 
PIO_DATA_IN_PROTO 
PIO_DATA_OUT_PROTO 
DMA_PROTO 

Definition at line 63 of file ps3rom.c.

Function Documentation

MODULE_ALIAS ( PS3_MODULE_ALIAS_STOR_ROM  )
MODULE_AUTHOR ( "Sony Corporation"  )
MODULE_DESCRIPTION ( "PS3 BD/DVD/CD-ROM Storage Driver"  )
module_exit ( ps3rom_exit  )
module_init ( ps3rom_init  )
MODULE_LICENSE ( "GPL"  )