FreeBSD kernel pms device code
|
The file implements the functions to read frame content. More...
#include <sys/cdefs.h>
#include <dev/pms/config.h>
#include <dev/pms/RefTisa/sallsdk/spc/saglobal.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$FreeBSD$") | |
GLOBAL bit32 | saFrameReadBit32 (agsaRoot_t *agRoot, agsaFrameHandle_t agFrame, bit32 frameOffset) |
Read 32 bits from a frame. More... | |
GLOBAL void | saFrameReadBlock (agsaRoot_t *agRoot, agsaFrameHandle_t agFrame, bit32 frameOffset, void *frameBuffer, bit32 frameBufLen) |
Read a block from a frame. More... | |
The file implements the functions to read frame content.
Definition in file saframe.c.
__FBSDID | ( | "$FreeBSD$" | ) |
GLOBAL bit32 saFrameReadBit32 | ( | agsaRoot_t * | agRoot, |
agsaFrameHandle_t | agFrame, | ||
bit32 | frameOffset | ||
) |
Read 32 bits from a frame.
Read 32 bits from a frame
agRoot | Handles for this instance of SAS/SATA LLL |
agFrame | The frame handler |
frameOffset | Offset in bytes from the beginning of valid frame bytes or IU to the 32-bit value to read |
Definition at line 55 of file saframe.c.
References agNULL, hpDBG_VERY_LOUD, smTraceFuncEnter, and smTraceFuncExit.
GLOBAL void saFrameReadBlock | ( | agsaRoot_t * | agRoot, |
agsaFrameHandle_t | agFrame, | ||
bit32 | frameOffset, | ||
void * | frameBuffer, | ||
bit32 | frameBufLen | ||
) |
Read a block from a frame.
Read a block from a frame
agRoot | Handles for this instance of SAS/SATA LLL |
agFrame | The frame handler |
frameOffset | The offset of the frame to start read |
frameBuffer | The pointer to the destination of data read from the frame |
frameBufLen | Number of bytes to read from the frame |
Definition at line 96 of file saframe.c.
References agNULL, hpDBG_VERY_LOUD, SA_ASSERT, smTraceFuncEnter, and smTraceFuncExit.
Referenced by itdssIOCompleted(), itdssIOSuccessHandler(), itdssTaskCompleted(), ossaSATAEvent(), ossaSMPCAMCompleted(), ossaSMPCompleted(), ossaSSPEvent(), smsatLogSenseCB(), smsatRequestSenseCB(), smSMPCompleted(), tiCOMFrameReadBlock(), and ttdsaSSPReqReceived().