Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sd_cprm.h File Reference
#include "rts51x_chip.h"
#include "sd.h"

Go to the source code of this file.

Functions

int ext_sd_execute_no_data (struct rts51x_chip *chip, unsigned int lun, u8 cmd_idx, u8 standby, u8 acmd, u8 rsp_code, u32 arg)
 
int ext_sd_execute_read_data (struct rts51x_chip *chip, unsigned int lun, u8 cmd_idx, u8 cmd12, u8 standby, u8 acmd, u8 rsp_code, u32 arg, u32 data_len, void *data_buf, unsigned int buf_len, int use_sg)
 
int ext_sd_execute_write_data (struct rts51x_chip *chip, unsigned int lun, u8 cmd_idx, u8 cmd12, u8 standby, u8 acmd, u8 rsp_code, u32 arg, u32 data_len, void *data_buf, unsigned int buf_len, int use_sg)
 
int sd_pass_thru_mode (struct scsi_cmnd *srb, struct rts51x_chip *chip)
 
int sd_execute_no_data (struct scsi_cmnd *srb, struct rts51x_chip *chip)
 
int sd_execute_read_data (struct scsi_cmnd *srb, struct rts51x_chip *chip)
 
int sd_execute_write_data (struct scsi_cmnd *srb, struct rts51x_chip *chip)
 
int sd_get_cmd_rsp (struct scsi_cmnd *srb, struct rts51x_chip *chip)
 
int sd_hw_rst (struct scsi_cmnd *srb, struct rts51x_chip *chip)
 

Function Documentation

int ext_sd_execute_no_data ( struct rts51x_chip chip,
unsigned int  lun,
u8  cmd_idx,
u8  standby,
u8  acmd,
u8  rsp_code,
u32  arg 
)

Definition at line 272 of file sd_cprm.c.

int ext_sd_execute_read_data ( struct rts51x_chip chip,
unsigned int  lun,
u8  cmd_idx,
u8  cmd12,
u8  standby,
u8  acmd,
u8  rsp_code,
u32  arg,
u32  data_len,
void data_buf,
unsigned int  buf_len,
int  use_sg 
)

Definition at line 340 of file sd_cprm.c.

int ext_sd_execute_write_data ( struct rts51x_chip chip,
unsigned int  lun,
u8  cmd_idx,
u8  cmd12,
u8  standby,
u8  acmd,
u8  rsp_code,
u32  arg,
u32  data_len,
void data_buf,
unsigned int  buf_len,
int  use_sg 
)

Definition at line 545 of file sd_cprm.c.

int sd_execute_no_data ( struct scsi_cmnd srb,
struct rts51x_chip chip 
)

Definition at line 853 of file sd_cprm.c.

int sd_execute_read_data ( struct scsi_cmnd srb,
struct rts51x_chip chip 
)

Definition at line 885 of file sd_cprm.c.

int sd_execute_write_data ( struct scsi_cmnd srb,
struct rts51x_chip chip 
)

Definition at line 923 of file sd_cprm.c.

int sd_get_cmd_rsp ( struct scsi_cmnd srb,
struct rts51x_chip chip 
)

Definition at line 961 of file sd_cprm.c.

int sd_hw_rst ( struct scsi_cmnd srb,
struct rts51x_chip chip 
)

Definition at line 1000 of file sd_cprm.c.

int sd_pass_thru_mode ( struct scsi_cmnd srb,
struct rts51x_chip chip 
)

Definition at line 781 of file sd_cprm.c.