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