Lines Matching defs:mfi_softc
192 struct mfi_softc { struct
193 device_t mfi_dev;
194 int mfi_flags;
208 bus_dma_tag_t verbuf_h_dmat;
209 bus_dmamap_t verbuf_h_dmamap;
210 bus_addr_t verbuf_h_busaddr;
211 uint32_t *verbuf;
212 void *kbuff_arr[MAX_IOCTL_SGE];
213 bus_dma_tag_t mfi_kbuff_arr_dmat[2];
214 bus_dmamap_t mfi_kbuff_arr_dmamap[2];
215 bus_addr_t mfi_kbuff_arr_busaddr[2];
217 struct mfi_hwcomms *mfi_comms;
221 struct bio_queue_head mfi_bioq;
222 struct mfi_qstat mfi_qstat[MFIQ_COUNT];
224 struct resource *mfi_regs_resource;
225 bus_space_handle_t mfi_bhandle;
226 bus_space_tag_t mfi_btag;
227 int mfi_regs_rid;
229 bus_dma_tag_t mfi_parent_dmat;
230 bus_dma_tag_t mfi_buffer_dmat;
232 bus_dma_tag_t mfi_comms_dmat;
233 bus_dmamap_t mfi_comms_dmamap;
234 bus_addr_t mfi_comms_busaddr;
236 bus_dma_tag_t mfi_frames_dmat;
237 bus_dmamap_t mfi_frames_dmamap;
238 bus_addr_t mfi_frames_busaddr;
239 union mfi_frame *mfi_frames;
241 bus_dma_tag_t mfi_tb_init_dmat;
242 bus_dmamap_t mfi_tb_init_dmamap;
243 bus_addr_t mfi_tb_init_busaddr;
244 bus_addr_t mfi_tb_ioc_init_busaddr;
245 union mfi_frame *mfi_tb_init;
248 struct task mfi_evt_task;
249 struct task mfi_map_sync_task;
251 struct mfi_command *mfi_aen_cm;
252 struct mfi_command *mfi_skinny_cm;
253 struct mfi_command *mfi_map_sync_cm;
254 int cm_aen_abort;
255 int cm_map_abort;
256 uint32_t mfi_aen_triggered;
257 uint32_t mfi_poll_waiting;
258 uint32_t mfi_boot_seq_num;
259 struct selinfo mfi_select;
260 int mfi_delete_busy_volumes;
261 int mfi_keep_deleted_volumes;
262 int mfi_detaching;
264 bus_dma_tag_t mfi_sense_dmat;
265 bus_dmamap_t mfi_sense_dmamap;
266 bus_addr_t mfi_sense_busaddr;
267 struct mfi_sense *mfi_sense;
269 struct resource *mfi_irq;
270 void *mfi_intr;
271 int mfi_irq_rid;
273 struct intr_config_hook mfi_ich;
274 eventhandler_tag eh;
276 uint8_t adpreset;
277 uint8_t issuepend_done;
278 uint8_t disableOnlineCtrlReset;
279 uint32_t mfiStatus;
280 uint32_t last_seq_num;
281 uint32_t volatile hw_crit_error;
287 struct mfi_command *mfi_commands;
292 int mfi_max_fw_cmds;
296 int mfi_max_sge;
321 void (*mfi_cam_rescan_cb)(struct mfi_softc *, argument
328 void (*mfi_enable_intr)(struct mfi_softc *sc); argument
329 void (*mfi_disable_intr)(struct mfi_softc *sc); argument
330 int32_t (*mfi_read_fw_status)(struct mfi_softc *sc); argument
331 int (*mfi_check_clear_intr)(struct mfi_softc *sc); argument
332 void (*mfi_issue_cmd)(struct mfi_softc *sc, bus_addr_t bus_add, argument
334 int (*mfi_adp_reset)(struct mfi_softc *sc); argument
335 int (*mfi_adp_check_reset)(struct mfi_softc *sc); argument
336 void (*mfi_intr_ptr)(void *sc);
339 uint32_t mfi_tbolt;
340 uint32_t MFA_enabled;
342 uint16_t reply_size;
344 uint16_t raid_io_msg_size;
347 bus_dma_tag_t mfi_tb_dmat;
348 bus_dmamap_t mfi_tb_dmamap;
349 bus_addr_t mfi_tb_busaddr;
351 uint8_t * request_message_pool;
352 uint8_t * request_message_pool_align;
353 uint8_t * request_desc_pool;
354 bus_addr_t request_msg_busaddr;
355 bus_addr_t reply_frame_busaddr;
356 bus_addr_t sg_frame_busaddr;
358 bus_dma_tag_t mfi_tb_ioc_init_dmat;
359 bus_dmamap_t mfi_tb_ioc_init_dmamap;
360 uint8_t * mfi_tb_ioc_init_desc;
361 struct mfi_cmd_tbolt **mfi_cmd_pool_tbolt;
363 struct mfi_mpi2_reply_header* reply_frame_pool;
364 struct mfi_mpi2_reply_header* reply_frame_pool_align;
367 uint8_t * reply_pool_limit;
368 uint16_t last_reply_idx;
369 uint8_t max_SGEs_in_chain_message;
370 uint8_t max_SGEs_in_main_message;
371 uint8_t chain_offset_value_for_main_message;
372 uint8_t chain_offset_value_for_mpt_ptmsg;