#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <asm/lv1call.h>
#include <asm/ps3stor.h>
Go to the source code of this file.
|
struct | ps3_flash_workaround |
|
|
int | ps3stor_setup (struct ps3_storage_device *dev, irq_handler_t handler) |
|
| EXPORT_SYMBOL_GPL (ps3stor_setup) |
|
void | ps3stor_teardown (struct ps3_storage_device *dev) |
|
| EXPORT_SYMBOL_GPL (ps3stor_teardown) |
|
u64 | ps3stor_read_write_sectors (struct ps3_storage_device *dev, u64 lpar, u64 start_sector, u64 sectors, int write) |
|
| EXPORT_SYMBOL_GPL (ps3stor_read_write_sectors) |
|
u64 | ps3stor_send_command (struct ps3_storage_device *dev, u64 cmd, u64 arg1, u64 arg2, u64 arg3, u64 arg4) |
|
| EXPORT_SYMBOL_GPL (ps3stor_send_command) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DESCRIPTION ("PS3 Storage Bus Library") |
|
| MODULE_AUTHOR ("Sony Corporation") |
|
MODULE_AUTHOR |
( |
"Sony Corporation" |
| ) |
|
MODULE_DESCRIPTION |
( |
"PS3 Storage Bus Library" |
| ) |
|
ps3stor_read_write_sectors - read/write from/to a storage device : Pointer to a struct ps3_storage_device : HV logical partition address : First sector to read/write : Number of sectors to read/write : Flag indicating write (non-zero) or read (zero)
Returns 0 for success, -1 in case of failure to submit the command, or an LV1 status value in case of other errors
Definition at line 276 of file ps3stor_lib.c.
ps3stor_send_command - send a device command to a storage device : Pointer to a struct ps3_storage_device : Command number : First command argument : Second command argument : Third command argument : Fourth command argument
Returns 0 for success, -1 in case of failure to submit the command, or an LV1 status value in case of other errors
Definition at line 326 of file ps3stor_lib.c.
ps3stor_setup - Setup a storage device before use : Pointer to a struct ps3_storage_device : Pointer to an interrupt handler
Returns 0 for success, or an error code
Definition at line 148 of file ps3stor_lib.c.