Lines Matching defs:ciss_softc
183 struct ciss_softc struct
186 device_t ciss_dev; /* bus attachment */
187 struct cdev *ciss_dev_t; /* control device */
189 struct resource *ciss_regs_resource; /* register interface window */
190 int ciss_regs_rid; /* resource ID */
191 bus_space_handle_t ciss_regs_bhandle; /* bus space handle */
192 bus_space_tag_t ciss_regs_btag; /* bus space tag */
194 struct resource *ciss_cfg_resource; /* config struct interface window */
195 int ciss_cfg_rid; /* resource ID */
196 struct ciss_config_table *ciss_cfg; /* config table in adapter memory */
197 struct ciss_perf_config *ciss_perf; /* config table for the performant */
198 struct ciss_bmic_id_table *ciss_id; /* ID table in host memory */
199 u_int32_t ciss_heartbeat; /* last heartbeat value */
200 int ciss_heart_attack; /* number of times we have seen this value */
202 int ciss_msi;
203 struct resource *ciss_irq_resource; /* interrupt */
204 int ciss_irq_rid[CISS_MSI_COUNT]; /* resource ID */
205 void *ciss_intr; /* interrupt handle */
207 bus_dma_tag_t ciss_parent_dmat; /* parent DMA tag */
208 bus_dma_tag_t ciss_buffer_dmat; /* data buffer/command DMA tag */
210 u_int32_t ciss_interrupt_mask; /* controller interrupt mask bits */
212 uint64_t *ciss_reply;
213 int ciss_cycle;
214 int ciss_rqidx;
215 bus_dma_tag_t ciss_reply_dmat;
216 bus_dmamap_t ciss_reply_map;
217 uint32_t ciss_reply_phys;
219 int ciss_max_requests;
220 struct ciss_request ciss_request[CISS_MAX_REQUESTS]; /* requests */
221 void *ciss_command; /* command structures */
222 bus_dma_tag_t ciss_command_dmat; /* command DMA tag */
223 bus_dmamap_t ciss_command_map; /* command DMA map */
224 u_int32_t ciss_command_phys; /* command array base address */
225 cr_qhead_t ciss_free; /* requests available for reuse */
226 cr_qhead_t ciss_notify; /* requests which are defered for processing */
227 struct proc *ciss_notify_thread;
229 struct callout ciss_periodic; /* periodic event handling */
230 struct ciss_request *ciss_periodic_notify; /* notify callback request */
232 struct mtx ciss_mtx;
233 struct ciss_ldrive **ciss_logical;
234 struct ciss_pdrive **ciss_physical;
235 union ciss_device_address *ciss_controllers; /* controller address */
236 int ciss_max_bus_number; /* maximum bus number */
237 int ciss_max_logical_bus;
238 int ciss_max_physical_bus;
239 int ciss_max_physical_target; /* highest physical target number */
241 struct cam_devq *ciss_cam_devq;
242 struct cam_sim **ciss_cam_sim;
244 int ciss_soft_reset;
246 int ciss_flags;
257 struct ciss_qstat ciss_qstat[CISSQ_COUNT]; /* queue statistics */