Lines Matching defs:twa_softc
123 struct twa_softc { struct
124 struct tw_cl_ctlr_handle ctlr_handle;
125 struct tw_osli_req_context *req_ctx_buf;
128 TW_UINT8 open;
129 TW_UINT32 flags;
131 TW_INT32 device_id;
132 TW_UINT32 alignment;
133 TW_UINT32 sg_size_factor;
135 TW_VOID *non_dma_mem;
136 TW_VOID *dma_mem;
137 TW_UINT64 dma_mem_phys;
140 struct tw_cl_link req_q_head[TW_OSLI_Q_COUNT];
142 struct task deferred_intr_callback;/* taskqueue function */
143 struct mtx io_lock_handle;/* general purpose lock */
144 struct mtx *io_lock;/* ptr to general purpose lock */
145 struct mtx q_lock_handle; /* queue manipulation lock */
146 struct mtx *q_lock;/* ptr to queue manipulation lock */
147 struct mtx sim_lock_handle;/* sim lock shared with cam */
148 struct mtx *sim_lock;/* ptr to sim lock */
150 struct callout watchdog_callout[2]; /* For command timeout */
151 TW_UINT32 watchdog_index;
154 struct tw_osli_q_stats q_stats[TW_OSLI_Q_COUNT];/* queue statistics */
157 device_t bus_dev; /* bus device */
158 struct cdev *ctrl_dev; /* control device */
159 struct resource *reg_res; /* register interface window */
160 TW_INT32 reg_res_id; /* register resource id */
161 bus_space_handle_t bus_handle; /* bus space handle */
162 bus_space_tag_t bus_tag; /* bus space tag */
163 bus_dma_tag_t parent_tag; /* parent DMA tag */
164 bus_dma_tag_t cmd_tag; /* DMA tag for CL's DMA'able mem */
165 bus_dma_tag_t dma_tag; /* data buffer DMA tag */
166 bus_dma_tag_t ioctl_tag; /* ioctl data buffer DMA tag */
167 bus_dmamap_t cmd_map; /* DMA map for CL's DMA'able mem */
168 bus_dmamap_t ioctl_map; /* DMA map for ioctl data buffers */
169 struct resource *irq_res; /* interrupt resource */
170 TW_INT32 irq_res_id; /* register resource id */
171 TW_VOID *intr_handle; /* interrupt handle */
173 struct sysctl_ctx_list sysctl_ctxt; /* sysctl context */
174 struct sysctl_oid *sysctl_tree; /* sysctl oid */
176 struct cam_sim *sim; /* sim for this controller */
177 struct cam_path *path; /* peripheral, path, tgt, lun