Searched refs:mpt_softc (Results 1 - 9 of 9) sorted by relevance

/freebsd-9.3-release/sys/dev/mpt/
H A Dmpt_raid.h56 cam_status mpt_map_physdisk(struct mpt_softc *, union ccb *, target_id_t *);
57 int mpt_is_raid_member(struct mpt_softc *, target_id_t);
58 int mpt_is_raid_volume(struct mpt_softc *, target_id_t);
61 mpt_raid_quiesce_disk(struct mpt_softc *, struct mpt_raid_disk *, request_t *);
64 void mpt_raid_free_mem(struct mpt_softc *);
67 mpt_raid_wakeup(struct mpt_softc *mpt)
H A Dmpt.h165 struct mpt_softc;
171 typedef int mpt_probe_handler_t(struct mpt_softc *);
172 typedef int mpt_attach_handler_t(struct mpt_softc *);
173 typedef int mpt_enable_handler_t(struct mpt_softc *);
174 typedef void mpt_ready_handler_t(struct mpt_softc *);
175 typedef int mpt_event_handler_t(struct mpt_softc *, request_t *,
177 typedef void mpt_reset_handler_t(struct mpt_softc *, int /*type*/);
179 typedef void mpt_shutdown_handler_t(struct mpt_softc *);
180 typedef void mpt_detach_handler_t(struct mpt_softc *);
233 struct mpt_softc *mp
534 struct mpt_softc { struct
[all...]
H A Dmpt_pci.c146 static void mpt_free_bus_resources(struct mpt_softc *mpt);
149 static int mpt_dma_mem_alloc(struct mpt_softc *mpt);
150 static void mpt_dma_mem_free(struct mpt_softc *mpt);
152 static void mpt_read_config_regs(struct mpt_softc *mpt);
153 static void mpt_set_config_regs(struct mpt_softc *mpt);
167 "mpt", mpt_methods, sizeof(struct mpt_softc)
254 mpt_set_options(struct mpt_softc *mpt)
287 mpt_link_peer(struct mpt_softc *mpt)
289 struct mpt_softc *mpt2;
297 mpt2 = (struct mpt_softc *)devclass_get_soft
[all...]
H A Dmpt.c119 static TAILQ_HEAD(, mpt_softc) mpt_tailq = TAILQ_HEAD_INITIALIZER(mpt_tailq);
126 static void mpt_send_event_ack(struct mpt_softc *mpt, request_t *ack_req,
128 static int mpt_send_event_request(struct mpt_softc *mpt, int onoff);
129 static int mpt_soft_reset(struct mpt_softc *mpt);
130 static void mpt_hard_reset(struct mpt_softc *mpt);
131 static int mpt_dma_buf_alloc(struct mpt_softc *mpt);
132 static void mpt_dma_buf_free(struct mpt_softc *mpt);
133 static int mpt_configure_ioc(struct mpt_softc *mpt, int, int);
134 static int mpt_enable_ioc(struct mpt_softc *mpt, int);
143 mpt_pers_find(struct mpt_softc *, u_in
[all...]
H A Dmpt_raid.c103 static int mpt_raid_reply_frame_handler(struct mpt_softc *mpt, request_t *req,
105 static int mpt_spawn_raid_thread(struct mpt_softc *mpt);
106 static void mpt_terminate_raid_thread(struct mpt_softc *mpt);
110 static void mpt_enable_vol(struct mpt_softc *mpt,
113 static void mpt_verify_mwce(struct mpt_softc *, struct mpt_raid_volume *);
114 static void mpt_adjust_queue_depth(struct mpt_softc *, struct mpt_raid_volume *,
116 static void mpt_raid_sysctl_attach(struct mpt_softc *);
121 static void mpt_vol_prt(struct mpt_softc *mpt, struct mpt_raid_volume *vol,
123 static void mpt_disk_prt(struct mpt_softc *mpt, struct mpt_raid_disk *disk,
126 static int mpt_issue_raid_req(struct mpt_softc *mp
[all...]
H A Dmpt_cam.h140 mpt_wakeup_recovery_thread(struct mpt_softc *mpt)
H A Dmpt_user.c98 mpt_user_probe(struct mpt_softc *mpt)
106 mpt_user_attach(struct mpt_softc *mpt)
135 mpt_user_enable(struct mpt_softc *mpt)
142 mpt_user_ready(struct mpt_softc *mpt)
148 mpt_user_event(struct mpt_softc *mpt, request_t *req,
157 mpt_user_reset(struct mpt_softc *mpt, int type)
163 mpt_user_detach(struct mpt_softc *mpt)
192 mpt_alloc_buffer(struct mpt_softc *mpt, struct mpt_page_memory *page_mem,
242 mpt_user_read_cfg_header(struct mpt_softc *mpt,
286 mpt_user_read_cfg_page(struct mpt_softc *mp
[all...]
H A Dmpt_cam.c117 mpt_get_spi_settings(struct mpt_softc *, struct ccb_trans_settings *);
118 static void mpt_setwidth(struct mpt_softc *, int, int);
119 static void mpt_setsync(struct mpt_softc *, int, int, int);
120 static int mpt_update_spi_config(struct mpt_softc *, int);
125 static int mpt_scsi_reply_frame_handler(struct mpt_softc *, request_t *,
127 static int mpt_bus_reset(struct mpt_softc *, target_id_t, lun_id_t, int);
128 static int mpt_fc_reset_link(struct mpt_softc *, int);
130 static int mpt_spawn_recovery_thread(struct mpt_softc *mpt);
131 static void mpt_terminate_recovery_thread(struct mpt_softc *mpt);
133 static void mpt_recover_commands(struct mpt_softc *mp
[all...]
H A Dmpt_debug.c824 mpt_dump_data(struct mpt_softc *mpt, const char *msg, void *addr, int len)
840 mpt_dump_request(struct mpt_softc *mpt, request_t *req)
858 mpt_prt(struct mpt_softc *mpt, const char *fmt, ...)
869 mpt_prtc(struct mpt_softc *mpt, const char *fmt, ...)

Completed in 72 milliseconds