Home
last modified time | relevance | path

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

/freebsd/sys/dev/mpt/
H A Dmpt.h161 struct mpt_softc;
167 typedef int mpt_probe_handler_t(struct mpt_softc *);
168 typedef int mpt_attach_handler_t(struct mpt_softc *);
169 typedef int mpt_enable_handler_t(struct mpt_softc *);
170 typedef void mpt_ready_handler_t(struct mpt_softc *);
171 typedef int mpt_event_handler_t(struct mpt_softc *, request_t *,
173 typedef void mpt_reset_handler_t(struct mpt_softc *, int /*type*/);
175 typedef void mpt_shutdown_handler_t(struct mpt_softc *);
176 typedef void mpt_detach_handler_t(struct mpt_softc *);
229 struct mpt_softc *mpt;
[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 *mpt,
[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)
253 mpt_set_options(struct mpt_softc *mpt) in mpt_set_options()
281 mpt_link_peer(struct mpt_softc *mpt)
283 struct mpt_softc *mpt2;
311 mpt_unlink_peer(struct mpt_softc *mpt)
[all …]
H A Dmpt_raid.h57 cam_status mpt_map_physdisk(struct mpt_softc *, union ccb *, target_id_t *);
58 int mpt_is_raid_member(struct mpt_softc *, target_id_t);
59 int mpt_is_raid_volume(struct mpt_softc *, target_id_t);
62 mpt_raid_quiesce_disk(struct mpt_softc *, struct mpt_raid_disk *, request_t *);
65 void mpt_raid_free_mem(struct mpt_softc *);
68 mpt_raid_wakeup(struct mpt_softc *mpt) in mpt_raid_wakeup()
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_int);
[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 *mpt);
[all …]
H A Dmpt_user.c100 mpt_user_probe(struct mpt_softc *mpt) in mpt_user_probe()
108 mpt_user_attach(struct mpt_softc *mpt) in mpt_user_attach()
137 mpt_user_enable(struct mpt_softc *mpt) in mpt_user_enable()
144 mpt_user_ready(struct mpt_softc *mpt) in mpt_user_ready()
150 mpt_user_event(struct mpt_softc *mpt, request_t *req, in mpt_user_event()
159 mpt_user_reset(struct mpt_softc *mpt, int type) in mpt_user_reset()
165 mpt_user_detach(struct mpt_softc *mpt) in mpt_user_detach()
194 mpt_alloc_buffer(struct mpt_softc *mpt, struct mpt_page_memory *page_mem, in mpt_alloc_buffer()
244 mpt_user_read_cfg_header(struct mpt_softc *mpt, in mpt_user_read_cfg_header()
288 mpt_user_read_cfg_page(struct mpt_softc *mpt, struct mpt_cfg_page_req *page_req, in mpt_user_read_cfg_page()
[all …]
H A Dmpt_debug.c823 mpt_dump_data(struct mpt_softc *mpt, const char *msg, void *addr, int len) in mpt_dump_data()
839 mpt_dump_request(struct mpt_softc *mpt, request_t *req) in mpt_dump_request()
857 mpt_prt(struct mpt_softc *mpt, const char *fmt, ...) in mpt_prt()
868 mpt_prtc(struct mpt_softc *mpt, const char *fmt, ...) in mpt_prtc()
H A Dmpt_cam.h141 mpt_wakeup_recovery_thread(struct mpt_softc *mpt) in mpt_wakeup_recovery_thread()