Lines Matching defs:dpt_softc
1024 typedef struct dpt_softc { struct
1025 bus_space_tag_t tag;
1026 bus_space_handle_t bsh;
1027 bus_dma_tag_t buffer_dmat; /* dmat for buffer I/O */
1028 dpt_ccb_t *dpt_dccbs; /* Array of dpt ccbs */
1029 bus_addr_t dpt_ccb_busbase; /* phys base address of array */
1030 bus_addr_t dpt_ccb_busend; /* phys end address of array */
1032 u_int32_t handle_interrupts :1, /* Are we ready for real work? */
1033 target_mode_enabled :1,
1034 resource_shortage :1,
1035 cache_type :2,
1036 spare :28;
1038 int total_dccbs;
1039 int free_dccbs;
1040 int pending_ccbs;
1041 int completed_ccbs;
1046 bus_dma_tag_t parent_dmat;
1047 bus_dma_tag_t dccb_dmat; /* dmat for our ccb array */
1048 bus_dmamap_t dccb_dmamap;
1049 bus_dma_tag_t sg_dmat; /* dmat for our sg maps */
1073 TAILQ_ENTRY(dpt_softc) links; argument
1074 int unit;
1075 int init_level;
1084 dpt_ccb_t *target_ccb[MAX_CHANNELS][MAX_TARGETS][MAX_LUNS];
1085 u_int8_t *rw_buffer[MAX_CHANNELS][MAX_TARGETS][MAX_LUNS];
1086 dpt_rec_buff buffer_receiver[MAX_CHANNELS][MAX_TARGETS][MAX_LUNS];
1088 dpt_inq_t board_data;
1089 u_int8_t EATA_revision;
1090 u_int8_t bustype; /* bustype of HBA */
1091 u_int32_t state; /* state of HBA */
1116 u_int8_t primary; /* true if primary */
1118 u_int8_t more_support :1, /* HBA supports MORE flag */
1119 immediate_support :1, /* HBA supports IMMEDIATE */
1143 * This isi most visible with usr/sbin/dpt_softc(8) argument
1156 * This structure is used to pass dpt_softc contents to userland via the argument