sys/dev/disk/mpt/mpt.c
1007
mpt_enable_diag_mode(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
1033
mpt_disable_diag_mode(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
1043
mpt_hard_reset(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
1115
mpt_core_ioc_reset(struct mpt_softc *mpt, int type)
sys/dev/disk/mpt/mpt.c
1133
mpt_reset(struct mpt_softc *mpt, int reinit)
sys/dev/disk/mpt/mpt.c
118
static TAILQ_HEAD(, mpt_softc) mpt_tailq = TAILQ_HEAD_INITIALIZER(mpt_tailq);
sys/dev/disk/mpt/mpt.c
1194
mpt_free_request(struct mpt_softc *mpt, request_t *req)
sys/dev/disk/mpt/mpt.c
125
static void mpt_send_event_ack(struct mpt_softc *mpt, request_t *ack_req,
sys/dev/disk/mpt/mpt.c
1255
mpt_get_request(struct mpt_softc *mpt, int sleep_ok)
sys/dev/disk/mpt/mpt.c
127
static int mpt_send_event_request(struct mpt_softc *mpt, int onoff);
sys/dev/disk/mpt/mpt.c
128
static int mpt_soft_reset(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.c
1283
mpt_send_cmd(struct mpt_softc *mpt, request_t *req)
sys/dev/disk/mpt/mpt.c
129
static void mpt_hard_reset(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.c
130
static int mpt_dma_buf_alloc(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.c
131
static void mpt_dma_buf_free(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.c
1316
mpt_wait_req(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt.c
132
static int mpt_configure_ioc(struct mpt_softc *mpt, int, int);
sys/dev/disk/mpt/mpt.c
133
static int mpt_enable_ioc(struct mpt_softc *mpt, int);
sys/dev/disk/mpt/mpt.c
1372
mpt_send_handshake_cmd(struct mpt_softc *mpt, size_t len, void *cmd)
sys/dev/disk/mpt/mpt.c
142
mpt_pers_find(struct mpt_softc *, u_int);
sys/dev/disk/mpt/mpt.c
1432
mpt_recv_handshake_reply(struct mpt_softc *mpt, size_t reply_len, void *reply)
sys/dev/disk/mpt/mpt.c
144
mpt_pers_find_reverse(struct mpt_softc *, u_int);
sys/dev/disk/mpt/mpt.c
147
mpt_pers_find(struct mpt_softc *mpt, u_int start_at)
sys/dev/disk/mpt/mpt.c
1510
mpt_get_iocfacts(struct mpt_softc *mpt, MSG_IOC_FACTS_REPLY *freplp)
sys/dev/disk/mpt/mpt.c
1527
mpt_get_portfacts(struct mpt_softc *mpt, U8 port, MSG_PORT_FACTS_REPLY *freplp)
sys/dev/disk/mpt/mpt.c
1551
mpt_send_ioc_init(struct mpt_softc *mpt, uint32_t who)
sys/dev/disk/mpt/mpt.c
1581
mpt_issue_cfg_req(struct mpt_softc *mpt, request_t *req, cfgparms_t *params,
sys/dev/disk/mpt/mpt.c
1623
mpt_read_extcfg_header(struct mpt_softc *mpt, int PageVersion, int PageNumber,
sys/dev/disk/mpt/mpt.c
165
mpt_pers_find_reverse(struct mpt_softc *mpt, u_int start_at)
sys/dev/disk/mpt/mpt.c
1688
mpt_read_extcfg_page(struct mpt_softc *mpt, int Action, uint32_t PageAddress,
sys/dev/disk/mpt/mpt.c
1730
mpt_read_cfg_header(struct mpt_softc *mpt, int PageType, int PageNumber,
sys/dev/disk/mpt/mpt.c
1788
mpt_read_cfg_page(struct mpt_softc *mpt, int Action, uint32_t PageAddress,
sys/dev/disk/mpt/mpt.c
1829
mpt_write_cfg_page(struct mpt_softc *mpt, int Action, uint32_t PageAddress,
sys/dev/disk/mpt/mpt.c
1899
mpt_read_config_info_ioc(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2063
mpt_send_port_enable(struct mpt_softc *mpt, int port)
sys/dev/disk/mpt/mpt.c
2099
mpt_send_event_request(struct mpt_softc *mpt, int onoff)
sys/dev/disk/mpt/mpt.c
2129
mpt_enable_ints(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2140
mpt_disable_ints(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2149
mpt_sysctl_attach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2168
mpt_attach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2216
mpt_shutdown(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2227
mpt_detach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2267
mpt_core_attach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2298
mpt_core_enable(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2349
mpt_core_shutdown(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2356
mpt_core_detach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2387
mpt_upload_fw(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2423
mpt_diag_outsl(struct mpt_softc *mpt, uint32_t addr,
sys/dev/disk/mpt/mpt.c
2443
mpt_download_fw(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2520
mpt_dma_buf_alloc(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2601
mpt_dma_buf_free(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
2624
mpt_configure_ioc(struct mpt_softc *mpt, int tn, int needreset)
sys/dev/disk/mpt/mpt.c
2874
mpt_enable_ioc(struct mpt_softc *mpt, int portenable)
sys/dev/disk/mpt/mpt.c
308
mpt_stdprobe(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
316
mpt_stdattach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
324
mpt_stdenable(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
332
mpt_stdready(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
338
mpt_stdevent(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg)
sys/dev/disk/mpt/mpt.c
347
mpt_stdreset(struct mpt_softc *mpt, int type)
sys/dev/disk/mpt/mpt.c
353
mpt_stdshutdown(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
359
mpt_stddetach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
380
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt.c
403
mpt_register_handler(struct mpt_softc *mpt, mpt_handler_type type,
sys/dev/disk/mpt/mpt.c
457
mpt_deregister_handler(struct mpt_softc *mpt, mpt_handler_type type,
sys/dev/disk/mpt/mpt.c
481
mpt_default_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt.c
498
mpt_config_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt.c
532
mpt_handshake_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt.c
541
mpt_event_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt.c
655
mpt_core_event(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt.c
693
mpt_send_event_ack(struct mpt_softc *mpt, request_t *ack_req,
sys/dev/disk/mpt/mpt.c
712
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt.c
716
mpt = (struct mpt_softc *)arg;
sys/dev/disk/mpt/mpt.c
846
mpt_complete_request_chain(struct mpt_softc *mpt, struct req_queue *chain,
sys/dev/disk/mpt/mpt.c
877
mpt_dump_reply_frame(struct mpt_softc *mpt, MSG_DEFAULT_REPLY *reply_frame)
sys/dev/disk/mpt/mpt.c
885
static __inline uint32_t mpt_rd_db(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.c
886
static __inline uint32_t mpt_rd_intr(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.c
889
mpt_rd_db(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
896
mpt_rd_intr(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
904
mpt_wait_db_ack(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
920
mpt_wait_db_int(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
936
mpt_check_doorbell(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.c
948
mpt_wait_state(struct mpt_softc *mpt, enum DB_STATE_BITS state)
sys/dev/disk/mpt/mpt.c
965
static int mpt_download_fw(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.c
969
mpt_soft_reset(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.h
1005
mpt_req_spcl(struct mpt_softc *, request_t *, const char *, int);
sys/dev/disk/mpt/mpt.h
1007
mpt_req_not_spcl(struct mpt_softc *, request_t *, const char *, int);
sys/dev/disk/mpt/mpt.h
1013
mpt_req_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line)
sys/dev/disk/mpt/mpt.h
1035
mpt_req_not_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line)
sys/dev/disk/mpt/mpt.h
1066
void mpt_send_cmd(struct mpt_softc *mpt, request_t *req);
sys/dev/disk/mpt/mpt.h
1067
int mpt_recv_handshake_reply(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt.h
1069
int mpt_wait_req(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt.h
1072
void mpt_enable_ints(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.h
1073
void mpt_disable_ints(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.h
1074
int mpt_attach(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.h
1075
int mpt_shutdown(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.h
1076
int mpt_detach(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.h
1077
int mpt_send_handshake_cmd(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt.h
1079
request_t * mpt_get_request(struct mpt_softc *mpt, int sleep_ok);
sys/dev/disk/mpt/mpt.h
1080
void mpt_free_request(struct mpt_softc *mpt, request_t *req);
sys/dev/disk/mpt/mpt.h
1082
void mpt_check_doorbell(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.h
1083
void mpt_dump_reply_frame(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt.h
1086
int mpt_issue_cfg_req(struct mpt_softc */*mpt*/, request_t */*req*/,
sys/dev/disk/mpt/mpt.h
1090
int mpt_read_extcfg_header(struct mpt_softc *mpt, int PageVersion,
sys/dev/disk/mpt/mpt.h
1095
int mpt_read_extcfg_page(struct mpt_softc *mpt, int Action,
sys/dev/disk/mpt/mpt.h
1100
int mpt_read_cfg_header(struct mpt_softc *, int /*PageType*/,
sys/dev/disk/mpt/mpt.h
1105
int mpt_read_cfg_page(struct mpt_softc *t, int /*Action*/,
sys/dev/disk/mpt/mpt.h
1109
int mpt_write_cfg_page(struct mpt_softc *, int /*Action*/,
sys/dev/disk/mpt/mpt.h
1114
mpt_read_cur_cfg_page(struct mpt_softc *mpt, uint32_t PageAddress,
sys/dev/disk/mpt/mpt.h
1123
mpt_write_cur_cfg_page(struct mpt_softc *mpt, uint32_t PageAddress,
sys/dev/disk/mpt/mpt.h
154
struct mpt_softc;
sys/dev/disk/mpt/mpt.h
160
typedef int mpt_probe_handler_t(struct mpt_softc *);
sys/dev/disk/mpt/mpt.h
161
typedef int mpt_attach_handler_t(struct mpt_softc *);
sys/dev/disk/mpt/mpt.h
162
typedef int mpt_enable_handler_t(struct mpt_softc *);
sys/dev/disk/mpt/mpt.h
163
typedef void mpt_ready_handler_t(struct mpt_softc *);
sys/dev/disk/mpt/mpt.h
164
typedef int mpt_event_handler_t(struct mpt_softc *, request_t *,
sys/dev/disk/mpt/mpt.h
166
typedef void mpt_reset_handler_t(struct mpt_softc *, int /*type*/);
sys/dev/disk/mpt/mpt.h
168
typedef void mpt_shutdown_handler_t(struct mpt_softc *);
sys/dev/disk/mpt/mpt.h
169
typedef void mpt_detach_handler_t(struct mpt_softc *);
sys/dev/disk/mpt/mpt.h
222
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt.h
400
typedef int mpt_reply_handler_t(struct mpt_softc *mpt, request_t *request,
sys/dev/disk/mpt/mpt.h
431
int mpt_register_handler(struct mpt_softc *, mpt_handler_type,
sys/dev/disk/mpt/mpt.h
433
int mpt_deregister_handler(struct mpt_softc *, mpt_handler_type,
sys/dev/disk/mpt/mpt.h
720
struct mpt_softc * mpt2;
sys/dev/disk/mpt/mpt.h
739
TAILQ_ENTRY(mpt_softc) links;
sys/dev/disk/mpt/mpt.h
742
static __inline void mpt_assign_serno(struct mpt_softc *, request_t *);
sys/dev/disk/mpt/mpt.h
745
mpt_assign_serno(struct mpt_softc *mpt, request_t *req)
sys/dev/disk/mpt/mpt.h
779
static __inline void mpt_write(struct mpt_softc *, size_t, uint32_t);
sys/dev/disk/mpt/mpt.h
780
static __inline uint32_t mpt_read(struct mpt_softc *, int);
sys/dev/disk/mpt/mpt.h
781
static __inline void mpt_pio_write(struct mpt_softc *, size_t, uint32_t);
sys/dev/disk/mpt/mpt.h
782
static __inline uint32_t mpt_pio_read(struct mpt_softc *, int);
sys/dev/disk/mpt/mpt.h
785
mpt_write(struct mpt_softc *mpt, size_t offset, uint32_t val)
sys/dev/disk/mpt/mpt.h
791
mpt_read(struct mpt_softc *mpt, int offset)
sys/dev/disk/mpt/mpt.h
802
mpt_pio_write(struct mpt_softc *mpt, size_t offset, uint32_t val)
sys/dev/disk/mpt/mpt.h
809
mpt_pio_read(struct mpt_softc *mpt, int offset)
sys/dev/disk/mpt/mpt.h
851
static __inline uint32_t mpt_pop_reply_queue(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt.h
852
static __inline void mpt_free_reply(struct mpt_softc *mpt, uint32_t ptr);
sys/dev/disk/mpt/mpt.h
859
mpt_free_reply(struct mpt_softc *mpt, uint32_t ptr)
sys/dev/disk/mpt/mpt.h
866
mpt_pop_reply_queue(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt.h
872
mpt_complete_request_chain(struct mpt_softc *, struct req_queue *, u_int);
sys/dev/disk/mpt/mpt.h
896
int mpt_reset(struct mpt_softc *, int /*reinit*/);
sys/dev/disk/mpt/mpt.h
899
void mpt_dump_data(struct mpt_softc *, const char *, void *, int);
sys/dev/disk/mpt/mpt.h
900
void mpt_dump_request(struct mpt_softc *, request_t *);
sys/dev/disk/mpt/mpt.h
930
void mpt_prt(struct mpt_softc *, const char *, ...)
sys/dev/disk/mpt/mpt.h
932
void mpt_prtc(struct mpt_softc *, const char *, ...)
sys/dev/disk/mpt/mpt.h
954
static __inline request_t * mpt_tag_2_req(struct mpt_softc *, uint32_t);
sys/dev/disk/mpt/mpt.h
956
mpt_tag_2_req(struct mpt_softc *mpt, uint32_t tag)
sys/dev/disk/mpt/mpt.h
967
mpt_req_on_free_list(struct mpt_softc *, request_t *);
sys/dev/disk/mpt/mpt.h
969
mpt_req_on_pending_list(struct mpt_softc *, request_t *);
sys/dev/disk/mpt/mpt.h
975
mpt_req_on_free_list(struct mpt_softc *mpt, request_t *req)
sys/dev/disk/mpt/mpt.h
991
mpt_req_on_pending_list(struct mpt_softc *mpt, request_t *req)
sys/dev/disk/mpt/mpt_cam.c
1052
mpt_set_initial_config_spi(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
1111
mpt_cam_enable(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
1148
mpt_cam_ready(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
1169
mpt_cam_detach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
121
mpt_get_spi_settings(struct mpt_softc *, struct ccb_trans_settings *);
sys/dev/disk/mpt/mpt_cam.c
122
static void mpt_setwidth(struct mpt_softc *, int, int);
sys/dev/disk/mpt/mpt_cam.c
1224
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_cam.c
1226
mpt = (struct mpt_softc *)cam_sim_softc(sim);
sys/dev/disk/mpt/mpt_cam.c
123
static void mpt_setsync(struct mpt_softc *, int, int, int);
sys/dev/disk/mpt/mpt_cam.c
1237
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_cam.c
124
static int mpt_update_spi_config(struct mpt_softc *, int);
sys/dev/disk/mpt/mpt_cam.c
1270
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_cam.c
129
static int mpt_scsi_reply_frame_handler(struct mpt_softc *, request_t *,
sys/dev/disk/mpt/mpt_cam.c
131
static int mpt_bus_reset(struct mpt_softc *, target_id_t, lun_id_t, int);
sys/dev/disk/mpt/mpt_cam.c
132
static int mpt_fc_reset_link(struct mpt_softc *, int);
sys/dev/disk/mpt/mpt_cam.c
134
static int mpt_spawn_recovery_thread(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_cam.c
135
static void mpt_terminate_recovery_thread(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_cam.c
137
static void mpt_recover_commands(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_cam.c
139
static int mpt_scsi_send_tmf(struct mpt_softc *, u_int, u_int, u_int,
sys/dev/disk/mpt/mpt_cam.c
142
static void mpt_fc_post_els(struct mpt_softc *mpt, request_t *, int);
sys/dev/disk/mpt/mpt_cam.c
143
static void mpt_post_target_command(struct mpt_softc *, request_t *, int);
sys/dev/disk/mpt/mpt_cam.c
144
static int mpt_add_els_buffers(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_cam.c
145
static int mpt_add_target_commands(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_cam.c
146
static int mpt_enable_lun(struct mpt_softc *, target_id_t, lun_id_t);
sys/dev/disk/mpt/mpt_cam.c
147
static int mpt_disable_lun(struct mpt_softc *, target_id_t, lun_id_t);
sys/dev/disk/mpt/mpt_cam.c
148
static void mpt_target_start_io(struct mpt_softc *, union ccb *);
sys/dev/disk/mpt/mpt_cam.c
149
static cam_status mpt_abort_target_ccb(struct mpt_softc *, union ccb *);
sys/dev/disk/mpt/mpt_cam.c
150
static int mpt_abort_target_cmd(struct mpt_softc *, request_t *);
sys/dev/disk/mpt/mpt_cam.c
151
static void mpt_scsi_tgt_status(struct mpt_softc *, union ccb *, request_t *,
sys/dev/disk/mpt/mpt_cam.c
154
mpt_scsi_tgt_tsk_mgmt(struct mpt_softc *, request_t *, mpt_task_mgmt_t,
sys/dev/disk/mpt/mpt_cam.c
156
static void mpt_tgt_dump_tgt_state(struct mpt_softc *, request_t *);
sys/dev/disk/mpt/mpt_cam.c
157
static void mpt_tgt_dump_req_state(struct mpt_softc *, request_t *);
sys/dev/disk/mpt/mpt_cam.c
1674
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_cam.c
193
mpt_cam_probe(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
2059
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_cam.c
215
mpt_cam_attach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
2272
mpt_bus_reset(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun,
sys/dev/disk/mpt/mpt_cam.c
2332
mpt_fc_reset_link(struct mpt_softc *mpt, int dowait)
sys/dev/disk/mpt/mpt_cam.c
2366
mpt_cam_event(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_cam.c
2643
mpt_scsi_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_cam.c
2728
mpt_scsi_tmf_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_cam.c
2773
mpt_fc_els_send_response(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_cam.c
2836
mpt_fc_els_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_cam.c
3085
mpt_cam_ioc_reset(struct mpt_softc *mpt, int type)
sys/dev/disk/mpt/mpt_cam.c
3111
mpt_scsi_reply_frame_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_cam.c
3278
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_cam.c
3286
mpt = (struct mpt_softc *)cam_sim_softc(sim);
sys/dev/disk/mpt/mpt_cam.c
3723
mpt_get_spi_settings(struct mpt_softc *mpt, struct ccb_trans_settings *cts)
sys/dev/disk/mpt/mpt_cam.c
3818
mpt_setwidth(struct mpt_softc *mpt, int tgt, int onoff)
sys/dev/disk/mpt/mpt_cam.c
3831
mpt_setsync(struct mpt_softc *mpt, int tgt, int period, int offset)
sys/dev/disk/mpt/mpt_cam.c
3858
mpt_update_spi_config(struct mpt_softc *mpt, int tgt)
sys/dev/disk/mpt/mpt_cam.c
3879
mpt_spawn_recovery_thread(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
3889
mpt_terminate_recovery_thread(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
3907
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_cam.c
3909
mpt = (struct mpt_softc *)arg;
sys/dev/disk/mpt/mpt_cam.c
3929
mpt_scsi_send_tmf(struct mpt_softc *mpt, u_int type, u_int flags,
sys/dev/disk/mpt/mpt_cam.c
3994
mpt_recover_commands(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
4121
mpt_fc_post_els(struct mpt_softc *mpt, request_t *req, int ioindex)
sys/dev/disk/mpt/mpt_cam.c
413
mpt_read_config_info_fc(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
4171
mpt_post_target_command(struct mpt_softc *mpt, request_t *req, int ioindex)
sys/dev/disk/mpt/mpt_cam.c
4196
mpt_add_els_buffers(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
4243
mpt_add_target_commands(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
4293
mpt_enable_lun(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun)
sys/dev/disk/mpt/mpt_cam.c
4318
mpt_disable_lun(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun)
sys/dev/disk/mpt/mpt_cam.c
4352
mpt_target_start_io(struct mpt_softc *mpt, union ccb *ccb)
sys/dev/disk/mpt/mpt_cam.c
4535
mpt_scsi_tgt_local(struct mpt_softc *mpt, request_t *cmd_req,
sys/dev/disk/mpt/mpt_cam.c
4621
mpt_abort_target_ccb(struct mpt_softc *mpt, union ccb *ccb)
sys/dev/disk/mpt/mpt_cam.c
4665
mpt_abort_target_cmd(struct mpt_softc *mpt, request_t *cmd_req)
sys/dev/disk/mpt/mpt_cam.c
4704
mpt_scsi_tgt_status(struct mpt_softc *mpt, union ccb *ccb, request_t *cmd_req,
sys/dev/disk/mpt/mpt_cam.c
4855
mpt_scsi_tgt_tsk_mgmt(struct mpt_softc *mpt, request_t *req, mpt_task_mgmt_t fc,
sys/dev/disk/mpt/mpt_cam.c
4907
mpt_scsi_tgt_atio(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc)
sys/dev/disk/mpt/mpt_cam.c
504
mpt_set_initial_config_fc(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
5177
mpt_tgt_dump_tgt_state(struct mpt_softc *mpt, request_t *req)
sys/dev/disk/mpt/mpt_cam.c
5188
mpt_tgt_dump_req_state(struct mpt_softc *mpt, request_t *req)
sys/dev/disk/mpt/mpt_cam.c
5197
mpt_scsi_tgt_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_cam.c
601
mptsas_sas_io_unit_pg0(struct mpt_softc *mpt, struct mptsas_portinfo *portinfo)
sys/dev/disk/mpt/mpt_cam.c
657
mptsas_sas_phy_pg0(struct mpt_softc *mpt, struct mptsas_phyinfo *phy_info,
sys/dev/disk/mpt/mpt_cam.c
699
mptsas_sas_device_pg0(struct mpt_softc *mpt, struct mptsas_devinfo *device_info,
sys/dev/disk/mpt/mpt_cam.c
753
mpt_read_config_info_sas(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
797
mptsas_set_sata_wc(struct mpt_softc *mpt, struct mptsas_devinfo *devinfo,
sys/dev/disk/mpt/mpt_cam.c
848
mpt_set_initial_config_sas(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.c
874
mpt_sata_pass_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_cam.c
902
mpt_read_config_info_spi(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_cam.h
139
mpt_wakeup_recovery_thread(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_debug.c
822
mpt_dump_data(struct mpt_softc *mpt, const char *msg, void *addr, int len)
sys/dev/disk/mpt/mpt_debug.c
838
mpt_dump_request(struct mpt_softc *mpt, request_t *req)
sys/dev/disk/mpt/mpt_debug.c
856
mpt_prt(struct mpt_softc *mpt, const char *fmt, ...)
sys/dev/disk/mpt/mpt_debug.c
867
mpt_prtc(struct mpt_softc *mpt, const char *fmt, ...)
sys/dev/disk/mpt/mpt_pci.c
145
static void mpt_free_bus_resources(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_pci.c
148
static int mpt_dma_mem_alloc(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_pci.c
149
static void mpt_dma_mem_free(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_pci.c
151
static void mpt_read_config_regs(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_pci.c
152
static void mpt_set_config_regs(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_pci.c
166
"mpt", mpt_methods, sizeof(struct mpt_softc)
sys/dev/disk/mpt/mpt_pci.c
253
mpt_set_options(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_pci.c
321
mpt_link_peer(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_pci.c
323
struct mpt_softc *mpt2;
sys/dev/disk/mpt/mpt_pci.c
331
mpt2 = (struct mpt_softc *)devclass_get_softc(mpt_devclass,mpt->unit-1);
sys/dev/disk/mpt/mpt_pci.c
351
mpt_unlink_peer(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_pci.c
363
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_pci.c
369
mpt = (struct mpt_softc*)device_get_softc(dev);
sys/dev/disk/mpt/mpt_pci.c
616
mpt_free_bus_resources(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_pci.c
652
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_pci.c
654
mpt = (struct mpt_softc*)device_get_softc(dev);
sys/dev/disk/mpt/mpt_pci.c
680
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_pci.c
682
mpt = (struct mpt_softc *)device_get_softc(dev);
sys/dev/disk/mpt/mpt_pci.c
689
mpt_dma_mem_alloc(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_pci.c
760
mpt_dma_mem_free(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_pci.c
781
mpt_read_config_regs(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_pci.c
799
mpt_set_config_regs(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_pci.c
842
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_pci.c
844
mpt = (struct mpt_softc *)arg;
sys/dev/disk/mpt/mpt_raid.c
104
static int mpt_raid_reply_frame_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_raid.c
106
static int mpt_spawn_raid_thread(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_raid.c
107
static void mpt_terminate_raid_thread(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_raid.c
1088
mpt_adjust_queue_depth(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol,
sys/dev/disk/mpt/mpt_raid.c
1108
mpt_announce_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol)
sys/dev/disk/mpt/mpt_raid.c
111
static void mpt_enable_vol(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt_raid.c
114
static void mpt_verify_mwce(struct mpt_softc *, struct mpt_raid_volume *);
sys/dev/disk/mpt/mpt_raid.c
115
static void mpt_adjust_queue_depth(struct mpt_softc *, struct mpt_raid_volume *,
sys/dev/disk/mpt/mpt_raid.c
117
static void mpt_raid_sysctl_attach(struct mpt_softc *);
sys/dev/disk/mpt/mpt_raid.c
1216
mpt_announce_disk(struct mpt_softc *mpt, struct mpt_raid_disk *mpt_disk)
sys/dev/disk/mpt/mpt_raid.c
122
static void mpt_vol_prt(struct mpt_softc *mpt, struct mpt_raid_volume *vol,
sys/dev/disk/mpt/mpt_raid.c
124
static void mpt_disk_prt(struct mpt_softc *mpt, struct mpt_raid_disk *disk,
sys/dev/disk/mpt/mpt_raid.c
1246
mpt_refresh_raid_disk(struct mpt_softc *mpt, struct mpt_raid_disk *mpt_disk,
sys/dev/disk/mpt/mpt_raid.c
127
static int mpt_issue_raid_req(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt_raid.c
1273
mpt_refresh_raid_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol,
sys/dev/disk/mpt/mpt_raid.c
132
static int mpt_refresh_raid_data(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_raid.c
133
static void mpt_schedule_raid_refresh(struct mpt_softc *mpt);
sys/dev/disk/mpt/mpt_raid.c
1358
mpt_refresh_raid_data(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
1598
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_raid.c
1600
mpt = (struct mpt_softc *)arg;
sys/dev/disk/mpt/mpt_raid.c
1607
mpt_schedule_raid_refresh(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
1615
mpt_raid_free_mem(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
1648
mpt_raid_set_vol_resync_rate(struct mpt_softc *mpt, u_int rate)
sys/dev/disk/mpt/mpt_raid.c
1670
mpt_raid_set_vol_queue_depth(struct mpt_softc *mpt, u_int vol_queue_depth)
sys/dev/disk/mpt/mpt_raid.c
1704
mpt_raid_set_vol_mwce(struct mpt_softc *mpt, mpt_raid_mwce_t mwce)
sys/dev/disk/mpt/mpt_raid.c
1770
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_raid.c
1776
mpt = (struct mpt_softc *)arg1;
sys/dev/disk/mpt/mpt_raid.c
1804
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_raid.c
1808
mpt = (struct mpt_softc *)arg1;
sys/dev/disk/mpt/mpt_raid.c
1822
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_raid.c
1826
mpt = (struct mpt_softc *)arg1;
sys/dev/disk/mpt/mpt_raid.c
1838
mpt_raid_sysctl_attach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
193
mpt_vol_prt(struct mpt_softc *mpt, struct mpt_raid_volume *vol,
sys/dev/disk/mpt/mpt_raid.c
207
mpt_disk_prt(struct mpt_softc *mpt, struct mpt_raid_disk *disk,
sys/dev/disk/mpt/mpt_raid.c
231
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_raid.c
233
mpt = (struct mpt_softc*)callback_arg;
sys/dev/disk/mpt/mpt_raid.c
265
mpt_raid_probe(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
275
mpt_raid_attach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
321
mpt_raid_enable(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
328
mpt_raid_detach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
353
mpt_raid_ioc_reset(struct mpt_softc *mpt, int type)
sys/dev/disk/mpt/mpt_raid.c
376
mpt_raid_event(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_raid.c
507
mpt_raid_shutdown(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
522
mpt_raid_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_raid.c
557
mpt_raid_reply_frame_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_raid.c
589
mpt_issue_raid_req(struct mpt_softc *mpt, struct mpt_raid_volume *vol,
sys/dev/disk/mpt/mpt_raid.c
631
mpt_spawn_raid_thread(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
656
mpt_terminate_raid_thread(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_raid.c
681
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_raid.c
684
mpt = (struct mpt_softc *)arg;
sys/dev/disk/mpt/mpt_raid.c
755
mpt_raid_quiesce_disk(struct mpt_softc *mpt, struct mpt_raid_disk *mpt_disk,
sys/dev/disk/mpt/mpt_raid.c
806
mpt_map_physdisk(struct mpt_softc *mpt, union ccb *ccb, target_id_t *tgt)
sys/dev/disk/mpt/mpt_raid.c
823
mpt_is_raid_member(struct mpt_softc *mpt, target_id_t tgt)
sys/dev/disk/mpt/mpt_raid.c
842
mpt_is_raid_volume(struct mpt_softc *mpt, target_id_t tgt)
sys/dev/disk/mpt/mpt_raid.c
862
mpt_enable_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol,
sys/dev/disk/mpt/mpt_raid.c
914
mpt_verify_mwce(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol)
sys/dev/disk/mpt/mpt_raid.c
997
mpt_verify_resync_rate(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol)
sys/dev/disk/mpt/mpt_raid.h
56
cam_status mpt_map_physdisk(struct mpt_softc *, union ccb *, target_id_t *);
sys/dev/disk/mpt/mpt_raid.h
57
int mpt_is_raid_member(struct mpt_softc *, target_id_t);
sys/dev/disk/mpt/mpt_raid.h
58
int mpt_is_raid_volume(struct mpt_softc *, target_id_t);
sys/dev/disk/mpt/mpt_raid.h
61
mpt_raid_quiesce_disk(struct mpt_softc *, struct mpt_raid_disk *, request_t *);
sys/dev/disk/mpt/mpt_raid.h
64
void mpt_raid_free_mem(struct mpt_softc *);
sys/dev/disk/mpt/mpt_raid.h
67
mpt_raid_wakeup(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_user.c
101
mpt_user_attach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_user.c
130
mpt_user_enable(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_user.c
137
mpt_user_ready(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_user.c
143
mpt_user_event(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_user.c
152
mpt_user_reset(struct mpt_softc *mpt, int type)
sys/dev/disk/mpt/mpt_user.c
158
mpt_user_detach(struct mpt_softc *mpt)
sys/dev/disk/mpt/mpt_user.c
187
mpt_alloc_buffer(struct mpt_softc *mpt, struct mpt_page_memory *page_mem,
sys/dev/disk/mpt/mpt_user.c
237
mpt_user_read_cfg_header(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt_user.c
281
mpt_user_read_cfg_page(struct mpt_softc *mpt, struct mpt_cfg_page_req *page_req,
sys/dev/disk/mpt/mpt_user.c
320
mpt_user_read_extcfg_header(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt_user.c
369
mpt_user_read_extcfg_page(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt_user.c
410
mpt_user_write_cfg_page(struct mpt_softc *mpt,
sys/dev/disk/mpt/mpt_user.c
474
mpt_user_reply_handler(struct mpt_softc *mpt, request_t *req,
sys/dev/disk/mpt/mpt_user.c
517
mpt_user_raid_action(struct mpt_softc *mpt, struct mpt_raid_action *raid_act,
sys/dev/disk/mpt/mpt_user.c
595
struct mpt_softc *mpt;
sys/dev/disk/mpt/mpt_user.c
93
mpt_user_probe(struct mpt_softc *mpt)