FreeBSD kernel pms device code
tdutil.h File Reference
Include dependency graph for tdutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HEXDIGIT2CHAR(x)   (((x) < 10) ? ('0' + (x)) : ('A' + ((x) - 10)))
 

Functions

void tdDecimal2String (char *s, bit32 num)
 
void tdHexToString (char *String, bit32 Value1, bit32 Value2, bit32 Strlength)
 
bit8 tdStr2Bit8 (char *buffer)
 
bit32 tdStr2ALPA (char *buffer)
 
void tdStr2WWN (char *buffer, bit8 *NodeName)
 
void tdWWN2Str (char *buffer, bit8 *NodeName)
 
bit32 tdNextPowerOf2 (bit32 Value)
 
osGLOBAL agBOOLEAN tdListElementOnList (tdList_t *toFindHdr, tdList_t *listHdr)
 

Detailed Description

The file defines utilities for SAS/SATA TD layer

Definition in file tdutil.h.

Macro Definition Documentation

◆ HEXDIGIT2CHAR

#define HEXDIGIT2CHAR (   x)    (((x) < 10) ? ('0' + (x)) : ('A' + ((x) - 10)))

Definition at line 41 of file tdutil.h.

Function Documentation

◆ tdDecimal2String()

void tdDecimal2String ( char *  s,
bit32  num 
)

◆ tdHexToString()

void tdHexToString ( char *  String,
bit32  Value1,
bit32  Value2,
bit32  Strlength 
)

◆ tdListElementOnList()

osGLOBAL agBOOLEAN tdListElementOnList ( tdList_t toFindHdr,
tdList_t listHdr 
)

◆ tdNextPowerOf2()

bit32 tdNextPowerOf2 ( bit32  Value)

◆ tdStr2ALPA()

bit32 tdStr2ALPA ( char *  buffer)

◆ tdStr2Bit8()

bit8 tdStr2Bit8 ( char *  buffer)

◆ tdStr2WWN()

void tdStr2WWN ( char *  buffer,
bit8 NodeName 
)

◆ tdWWN2Str()

void tdWWN2Str ( char *  buffer,
bit8 NodeName 
)