Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ms.c File Reference
#include <linux/blkdev.h>
#include <linux/kthread.h>
#include <linux/sched.h>
#include <linux/vmalloc.h>
#include "rtsx.h"
#include "rtsx_transport.h"
#include "rtsx_scsi.h"
#include "rtsx_card.h"
#include "ms.h"

Go to the source code of this file.

Functions

int reset_ms_card (struct rtsx_chip *chip)
 
void mspro_stop_seq_mode (struct rtsx_chip *chip)
 
void mspro_polling_format_status (struct rtsx_chip *chip)
 
int mspro_format (struct scsi_cmnd *srb, struct rtsx_chip *chip, int short_data_len, int quick_format)
 
int ms_delay_write (struct rtsx_chip *chip)
 
int ms_rw (struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 start_sector, u16 sector_cnt)
 
void ms_free_l2p_tbl (struct rtsx_chip *chip)
 
int mg_set_leaf_id (struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
int mg_get_local_EKB (struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
int mg_chg (struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
int mg_get_rsp_chg (struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
int mg_rsp (struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
int mg_get_ICV (struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
int mg_set_ICV (struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
void ms_cleanup_work (struct rtsx_chip *chip)
 
int ms_power_off_card3v3 (struct rtsx_chip *chip)
 
int release_ms_card (struct rtsx_chip *chip)
 

Function Documentation

int mg_chg ( struct scsi_cmnd srb,
struct rtsx_chip chip 
)

Definition at line 3645 of file ms.c.

int mg_get_ICV ( struct scsi_cmnd srb,
struct rtsx_chip chip 
)

Definition at line 3824 of file ms.c.

int mg_get_local_EKB ( struct scsi_cmnd srb,
struct rtsx_chip chip 
)

Definition at line 3594 of file ms.c.

int mg_get_rsp_chg ( struct scsi_cmnd srb,
struct rtsx_chip chip 
)

Definition at line 3721 of file ms.c.

int mg_rsp ( struct scsi_cmnd srb,
struct rtsx_chip chip 
)

Definition at line 3776 of file ms.c.

int mg_set_ICV ( struct scsi_cmnd srb,
struct rtsx_chip chip 
)

Definition at line 3876 of file ms.c.

int mg_set_leaf_id ( struct scsi_cmnd srb,
struct rtsx_chip chip 
)

Definition at line 3549 of file ms.c.

void ms_cleanup_work ( struct rtsx_chip chip)

Definition at line 3972 of file ms.c.

int ms_delay_write ( struct rtsx_chip chip)

Definition at line 3139 of file ms.c.

void ms_free_l2p_tbl ( struct rtsx_chip chip)

Definition at line 3407 of file ms.c.

int ms_power_off_card3v3 ( struct rtsx_chip chip)

Definition at line 3996 of file ms.c.

int ms_rw ( struct scsi_cmnd srb,
struct rtsx_chip chip,
u32  start_sector,
u16  sector_cnt 
)

Definition at line 3393 of file ms.c.

int mspro_format ( struct scsi_cmnd srb,
struct rtsx_chip chip,
int  short_data_len,
int  quick_format 
)

Definition at line 2694 of file ms.c.

void mspro_polling_format_status ( struct rtsx_chip chip)

Definition at line 2676 of file ms.c.

void mspro_stop_seq_mode ( struct rtsx_chip chip)

Definition at line 2398 of file ms.c.

int release_ms_card ( struct rtsx_chip chip)

Definition at line 4022 of file ms.c.

int reset_ms_card ( struct rtsx_chip chip)

Definition at line 2326 of file ms.c.