Home
last modified time | relevance | path

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

/dragonfly/sys/dev/disk/mpt/
HDmpt.h154 struct mpt_softc;
160 typedef int mpt_probe_handler_t(struct mpt_softc *);
161 typedef int mpt_attach_handler_t(struct mpt_softc *);
162 typedef int mpt_enable_handler_t(struct mpt_softc *);
163 typedef void mpt_ready_handler_t(struct mpt_softc *);
164 typedef int mpt_event_handler_t(struct mpt_softc *, request_t *,
166 typedef void mpt_reset_handler_t(struct mpt_softc *, int /*type*/);
168 typedef void mpt_shutdown_handler_t(struct mpt_softc *);
169 typedef void mpt_detach_handler_t(struct mpt_softc *);
222 struct mpt_softc *mpt;
[all …]
HDmpt_raid.c104 static int mpt_raid_reply_frame_handler(struct mpt_softc *mpt, request_t *req,
106 static int mpt_spawn_raid_thread(struct mpt_softc *mpt);
107 static void mpt_terminate_raid_thread(struct mpt_softc *mpt);
111 static void mpt_enable_vol(struct mpt_softc *mpt,
114 static void mpt_verify_mwce(struct mpt_softc *, struct mpt_raid_volume *);
115 static void mpt_adjust_queue_depth(struct mpt_softc *, struct mpt_raid_volume *,
117 static void mpt_raid_sysctl_attach(struct mpt_softc *);
122 static void mpt_vol_prt(struct mpt_softc *mpt, struct mpt_raid_volume *vol,
124 static void mpt_disk_prt(struct mpt_softc *mpt, struct mpt_raid_disk *disk,
127 static int mpt_issue_raid_req(struct mpt_softc *mpt,
[all …]
HDmpt_pci.c145 static void mpt_free_bus_resources(struct mpt_softc *mpt);
148 static int mpt_dma_mem_alloc(struct mpt_softc *mpt);
149 static void mpt_dma_mem_free(struct mpt_softc *mpt);
151 static void mpt_read_config_regs(struct mpt_softc *mpt);
152 static void mpt_set_config_regs(struct mpt_softc *mpt);
166 "mpt", mpt_methods, sizeof(struct mpt_softc)
253 mpt_set_options(struct mpt_softc *mpt) in mpt_set_options()
321 mpt_link_peer(struct mpt_softc *mpt)
323 struct mpt_softc *mpt2;
331 mpt2 = (struct mpt_softc *)devclass_get_softc(mpt_devclass,mpt->unit-1);
[all …]
HDmpt.c118 static TAILQ_HEAD(, mpt_softc) mpt_tailq = TAILQ_HEAD_INITIALIZER(mpt_tailq);
125 static void mpt_send_event_ack(struct mpt_softc *mpt, request_t *ack_req,
127 static int mpt_send_event_request(struct mpt_softc *mpt, int onoff);
128 static int mpt_soft_reset(struct mpt_softc *mpt);
129 static void mpt_hard_reset(struct mpt_softc *mpt);
130 static int mpt_dma_buf_alloc(struct mpt_softc *mpt);
131 static void mpt_dma_buf_free(struct mpt_softc *mpt);
132 static int mpt_configure_ioc(struct mpt_softc *mpt, int, int);
133 static int mpt_enable_ioc(struct mpt_softc *mpt, int);
142 mpt_pers_find(struct mpt_softc *, u_int);
[all …]
HDmpt_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) in mpt_raid_wakeup()
HDmpt_cam.c121 mpt_get_spi_settings(struct mpt_softc *, struct ccb_trans_settings *);
122 static void mpt_setwidth(struct mpt_softc *, int, int);
123 static void mpt_setsync(struct mpt_softc *, int, int, int);
124 static int mpt_update_spi_config(struct mpt_softc *, int);
129 static int mpt_scsi_reply_frame_handler(struct mpt_softc *, request_t *,
131 static int mpt_bus_reset(struct mpt_softc *, target_id_t, lun_id_t, int);
132 static int mpt_fc_reset_link(struct mpt_softc *, int);
134 static int mpt_spawn_recovery_thread(struct mpt_softc *mpt);
135 static void mpt_terminate_recovery_thread(struct mpt_softc *mpt);
137 static void mpt_recover_commands(struct mpt_softc *mpt);
[all …]
HDmpt_user.c93 mpt_user_probe(struct mpt_softc *mpt) in mpt_user_probe()
101 mpt_user_attach(struct mpt_softc *mpt) in mpt_user_attach()
130 mpt_user_enable(struct mpt_softc *mpt) in mpt_user_enable()
137 mpt_user_ready(struct mpt_softc *mpt) in mpt_user_ready()
143 mpt_user_event(struct mpt_softc *mpt, request_t *req, in mpt_user_event()
152 mpt_user_reset(struct mpt_softc *mpt, int type) in mpt_user_reset()
158 mpt_user_detach(struct mpt_softc *mpt) in mpt_user_detach()
187 mpt_alloc_buffer(struct mpt_softc *mpt, struct mpt_page_memory *page_mem, in mpt_alloc_buffer()
237 mpt_user_read_cfg_header(struct mpt_softc *mpt, in mpt_user_read_cfg_header()
281 mpt_user_read_cfg_page(struct mpt_softc *mpt, struct mpt_cfg_page_req *page_req, in mpt_user_read_cfg_page()
[all …]
HDmpt_debug.c822 mpt_dump_data(struct mpt_softc *mpt, const char *msg, void *addr, int len) in mpt_dump_data()
838 mpt_dump_request(struct mpt_softc *mpt, request_t *req) in mpt_dump_request()
856 mpt_prt(struct mpt_softc *mpt, const char *fmt, ...) in mpt_prt()
867 mpt_prtc(struct mpt_softc *mpt, const char *fmt, ...) in mpt_prtc()
HDmpt_cam.h139 mpt_wakeup_recovery_thread(struct mpt_softc *mpt) in mpt_wakeup_recovery_thread()