Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
mv_64xx.c File Reference
#include "mv_sas.h"
#include "mv_64xx.h"
#include "mv_chips.h"

Go to the source code of this file.

Functions

void mvs_64xx_clear_srs_irq (struct mvs_info *mvi, u8 reg_set, u8 clear_all)
 
void mvs_64xx_make_prd (struct scatterlist *scatter, int nr, void *prd)
 
void mvs_64xx_phy_set_link_rate (struct mvs_info *mvi, u32 phy_id, struct sas_phy_linkrates *rates)
 
u32 mvs_64xx_spi_read_data (struct mvs_info *mvi)
 
void mvs_64xx_spi_write_data (struct mvs_info *mvi, u32 data)
 
int mvs_64xx_spi_buildcmd (struct mvs_info *mvi, u32 *dwCmd, u8 cmd, u8 read, u8 length, u32 addr)
 
int mvs_64xx_spi_issuecmd (struct mvs_info *mvi, u32 cmd)
 
int mvs_64xx_spi_waitdataready (struct mvs_info *mvi, u32 timeout)
 
void mvs_64xx_fix_dma (struct mvs_info *mvi, u32 phy_mask, int buf_len, int from, void *prd)
 

Variables

struct mvs_dispatch mvs_64xx_dispatch
 

Function Documentation

void mvs_64xx_clear_srs_irq ( struct mvs_info mvi,
u8  reg_set,
u8  clear_all 
)

Definition at line 139 of file mv_64xx.c.

void mvs_64xx_fix_dma ( struct mvs_info mvi,
u32  phy_mask,
int  buf_len,
int  from,
void prd 
)

Definition at line 738 of file mv_64xx.c.

void mvs_64xx_make_prd ( struct scatterlist scatter,
int  nr,
void prd 
)

Definition at line 566 of file mv_64xx.c.

void mvs_64xx_phy_set_link_rate ( struct mvs_info mvi,
u32  phy_id,
struct sas_phy_linkrates rates 
)

Definition at line 636 of file mv_64xx.c.

int mvs_64xx_spi_buildcmd ( struct mvs_info mvi,
u32 dwCmd,
u8  cmd,
u8  read,
u8  length,
u32  addr 
)

Definition at line 684 of file mv_64xx.c.

int mvs_64xx_spi_issuecmd ( struct mvs_info mvi,
u32  cmd 
)

Definition at line 708 of file mv_64xx.c.

u32 mvs_64xx_spi_read_data ( struct mvs_info mvi)

Definition at line 671 of file mv_64xx.c.

int mvs_64xx_spi_waitdataready ( struct mvs_info mvi,
u32  timeout 
)

Definition at line 723 of file mv_64xx.c.

void mvs_64xx_spi_write_data ( struct mvs_info mvi,
u32  data 
)

Definition at line 677 of file mv_64xx.c.

Variable Documentation

struct mvs_dispatch mvs_64xx_dispatch

Definition at line 775 of file mv_64xx.c.