FreeBSD kernel pms device code
|
Go to the source code of this file.
Macros | |
#define | DEFAULT_XCHGS 256 |
#define | DEFAULT_TGT_TIMER_TICK 1000000 /* 1 second */ |
#define | DEFAULT_MAX_TARGETS 256 |
#define | DEFAULT_BLOCK_SIZE 512 |
#define | TD_XCHG_CONTEXT(ti_root) (&TD_GET_TITGT_CONTEXT(ti_root)->ttdsaXchgData) |
#define | TD_XCHG_CONTEXT_MAX_NUM_XCHGS(ti_root) (TD_XCHG_CONTEXT(ti_root)->maxNumXchgs) |
#define | TD_XCHG_CONTEXT_NO_USED(ti_root) (TD_XCHG_CONTEXT(ti_root)->noUsed) |
#define | TD_XCHG_CONTEXT_NO_FREED(ti_root) (TD_XCHG_CONTEXT(ti_root)->noFreed) |
#define | TD_XCHG_CONTEXT_NO_CMD_RCVD(ti_root) (TD_XCHG_CONTEXT(ti_root)->noCmdRcvd) |
#define | TD_XCHG_CONTEXT_NO_START_IO(ti_root) (TD_XCHG_CONTEXT(ti_root)->noStartIo) |
#define | TD_XCHG_CONTEXT_NO_SEND_RSP(ti_root) (TD_XCHG_CONTEXT(ti_root)->noSendRsp) |
#define | TD_XCHG_CONTEXT_NO_IO_COMPLETED(ti_root) (TD_XCHG_CONTEXT(ti_root)->noCompleted) |
#define | TD_XCHG_GET_CONTEXT(ti_request) ((ttdsaXchg_t *)(ti_request)->tdData) |
#define | TD_XCHG_GET_STATE(xchg) (xchg->state) |
#define | TD_XCHG_SET_STATE(xchg, val) (xchg->state) = (val) |
#define | TD_XCHG_STATE_ACTIVE 1 |
#define | TD_XCHG_STATE_INACTIVE 0 |
#define | READ_GOOD_RESPONSE 0x1 |
#define | WRITE_GOOD_RESPONSE 0x2 |
Copyright 2006 PMC-Sierra, Inc.
#define for SAS target in SAS/SATA TD layer
Definition in file ttdglobl.h.
#define DEFAULT_BLOCK_SIZE 512 |
Definition at line 48 of file ttdglobl.h.
#define DEFAULT_MAX_TARGETS 256 |
Definition at line 47 of file ttdglobl.h.
#define DEFAULT_TGT_TIMER_TICK 1000000 /* 1 second */ |
Definition at line 46 of file ttdglobl.h.
#define DEFAULT_XCHGS 256 |
Definition at line 45 of file ttdglobl.h.
#define READ_GOOD_RESPONSE 0x1 |
Definition at line 68 of file ttdglobl.h.
#define TD_XCHG_CONTEXT | ( | ti_root | ) | (&TD_GET_TITGT_CONTEXT(ti_root)->ttdsaXchgData) |
Definition at line 52 of file ttdglobl.h.
#define TD_XCHG_CONTEXT_MAX_NUM_XCHGS | ( | ti_root | ) | (TD_XCHG_CONTEXT(ti_root)->maxNumXchgs) |
Definition at line 53 of file ttdglobl.h.
#define TD_XCHG_CONTEXT_NO_CMD_RCVD | ( | ti_root | ) | (TD_XCHG_CONTEXT(ti_root)->noCmdRcvd) |
Definition at line 56 of file ttdglobl.h.
#define TD_XCHG_CONTEXT_NO_FREED | ( | ti_root | ) | (TD_XCHG_CONTEXT(ti_root)->noFreed) |
Definition at line 55 of file ttdglobl.h.
#define TD_XCHG_CONTEXT_NO_IO_COMPLETED | ( | ti_root | ) | (TD_XCHG_CONTEXT(ti_root)->noCompleted) |
Definition at line 59 of file ttdglobl.h.
#define TD_XCHG_CONTEXT_NO_SEND_RSP | ( | ti_root | ) | (TD_XCHG_CONTEXT(ti_root)->noSendRsp) |
Definition at line 58 of file ttdglobl.h.
#define TD_XCHG_CONTEXT_NO_START_IO | ( | ti_root | ) | (TD_XCHG_CONTEXT(ti_root)->noStartIo) |
Definition at line 57 of file ttdglobl.h.
#define TD_XCHG_CONTEXT_NO_USED | ( | ti_root | ) | (TD_XCHG_CONTEXT(ti_root)->noUsed) |
Definition at line 54 of file ttdglobl.h.
#define TD_XCHG_GET_CONTEXT | ( | ti_request | ) | ((ttdsaXchg_t *)(ti_request)->tdData) |
Definition at line 61 of file ttdglobl.h.
#define TD_XCHG_GET_STATE | ( | xchg | ) | (xchg->state) |
Definition at line 62 of file ttdglobl.h.
#define TD_XCHG_SET_STATE | ( | xchg, | |
val | |||
) | (xchg->state) = (val) |
Definition at line 63 of file ttdglobl.h.
#define TD_XCHG_STATE_ACTIVE 1 |
Definition at line 65 of file ttdglobl.h.
#define TD_XCHG_STATE_INACTIVE 0 |
Definition at line 66 of file ttdglobl.h.
#define WRITE_GOOD_RESPONSE 0x2 |
Definition at line 69 of file ttdglobl.h.