CSX_GETTUPLEDATA(9F) | Kernel Functions for Drivers | CSX_GETTUPLEDATA(9F) |
csx_GetTupleData - return the data portion of a tuple
#include <sys/pccard.h> int32_t csx_GetTupleData(client_handle_t ch, tuple_t *tu);
illumos DDI Specific (illumos DDI)
ch
tu
This function returns the data portion of a tuple, as returned by the csx_GetFirstTuple(9F) and csx_GetNextTuple(9F) functions.
The structure members of tuple_t are:
The fields are defined as follows:
uint32_t Socket; /* socket number */ uint32_t Attributes; /* tuple attributes*/ cisdata_t DesiredTuple; /* tuple to search for*/ cisdata_t TupleOffset; /* tuple data offset*/ cisdata_t TupleDataMax; /* max tuple data size*/ cisdata_t TupleDataLen; /* actual tuple data length*/ cisdata_t TupleData[CIS_MAX_TUPLE_DATA_LEN];/* tuple body data buffer*/ cisdata_t TupleCode; /* tuple type code*/ cisdata_t TupleLink; /* tuple link */
Socket
Attributes
DesiredTuple
TupleOffset
TupleDataMax
TupleDataLen
TupleData
TupleCode
TupleLink
CS_SUCCESS
CS_BAD_HANDLE
CS_BAD_ARGS
CS_NO_CARD
CS_NO_CIS
CS_NO_MORE_ITEMS
CS_UNSUPPORTED_FUNCTION
This function may be called from user or kernel context.
csx_GetFirstTuple(9F), csx_ParseTuple(9F), csx_RegisterClient(9F), csx_ValidateCIS(9F), tuple(9S)
PC Card 95 Standard, PCMCIA/JEIDA
December 20, 1996 | OmniOS |