Searched refs:mpt (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-10.0-release/sys/dev/mpt/
H A Dmpt_pci.c104 #include <dev/mpt/mpt.h>
105 #include <dev/mpt/mpt_cam.h>
106 #include <dev/mpt/mpt_raid.h>
158 static void mpt_free_bus_resources(struct mpt_softc *mpt);
161 static int mpt_dma_mem_alloc(struct mpt_softc *mpt);
162 static void mpt_dma_mem_free(struct mpt_softc *mpt);
164 static void mpt_read_config_regs(struct mpt_softc *mpt);
165 static void mpt_set_config_regs(struct mpt_softc *mpt);
179 "mpt", mpt_method
265 mpt_set_options(struct mpt_softc *mpt) argument
292 mpt_link_peer(struct mpt_softc *mpt) argument
322 mpt_unlink_peer(struct mpt_softc *mpt) argument
333 struct mpt_softc *mpt; local
587 mpt_free_bus_resources(struct mpt_softc *mpt) argument
625 struct mpt_softc *mpt; local
649 struct mpt_softc *mpt; local
661 mpt_dma_mem_alloc(struct mpt_softc *mpt) argument
741 mpt_dma_mem_free(struct mpt_softc *mpt) argument
823 struct mpt_softc *mpt; local
[all...]
H A Dmpt.c101 #include <dev/mpt/mpt.h>
102 #include <dev/mpt/mpt_cam.h> /* XXX For static handler registration */
103 #include <dev/mpt/mpt_raid.h> /* XXX For static handler registration */
105 #include <dev/mpt/mpilib/mpi.h>
106 #include <dev/mpt/mpilib/mpi_ioc.h>
107 #include <dev/mpt/mpilib/mpi_fc.h>
108 #include <dev/mpt/mpilib/mpi_targ.h>
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, in
148 mpt_pers_find(struct mpt_softc *mpt, u_int start_at) argument
166 mpt_pers_find_reverse(struct mpt_softc *mpt, u_int start_at) argument
311 mpt_stdprobe(struct mpt_softc *mpt) argument
319 mpt_stdattach(struct mpt_softc *mpt) argument
327 mpt_stdenable(struct mpt_softc *mpt) argument
335 mpt_stdready(struct mpt_softc *mpt) argument
341 mpt_stdevent(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument
350 mpt_stdreset(struct mpt_softc *mpt, int type) argument
356 mpt_stdshutdown(struct mpt_softc *mpt) argument
362 mpt_stddetach(struct mpt_softc *mpt) argument
383 struct mpt_softc *mpt; local
406 mpt_register_handler(struct mpt_softc *mpt, mpt_handler_type type, mpt_handler_t handler, uint32_t *phandler_id) argument
460 mpt_deregister_handler(struct mpt_softc *mpt, mpt_handler_type type, mpt_handler_t handler, uint32_t handler_id) argument
484 mpt_default_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
501 mpt_config_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
535 mpt_handshake_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
544 mpt_event_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
658 mpt_core_event(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument
696 mpt_send_event_ack(struct mpt_softc *mpt, request_t *ack_req, MSG_EVENT_NOTIFY_REPLY *msg, uint32_t context) argument
715 struct mpt_softc *mpt; local
849 mpt_complete_request_chain(struct mpt_softc *mpt, struct req_queue *chain, u_int iocstatus) argument
880 mpt_dump_reply_frame(struct mpt_softc *mpt, MSG_DEFAULT_REPLY *reply_frame) argument
892 mpt_rd_db(struct mpt_softc *mpt) argument
899 mpt_rd_intr(struct mpt_softc *mpt) argument
907 mpt_wait_db_ack(struct mpt_softc *mpt) argument
923 mpt_wait_db_int(struct mpt_softc *mpt) argument
939 mpt_check_doorbell(struct mpt_softc *mpt) argument
951 mpt_wait_state(struct mpt_softc *mpt, enum DB_STATE_BITS state) argument
972 mpt_soft_reset(struct mpt_softc *mpt) argument
1010 mpt_enable_diag_mode(struct mpt_softc *mpt) argument
1036 mpt_disable_diag_mode(struct mpt_softc *mpt) argument
1046 mpt_hard_reset(struct mpt_softc *mpt) argument
1118 mpt_core_ioc_reset(struct mpt_softc *mpt, int type) argument
1136 mpt_reset(struct mpt_softc *mpt, int reinit) argument
1197 mpt_free_request(struct mpt_softc *mpt, request_t *req) argument
1258 mpt_get_request(struct mpt_softc *mpt, int sleep_ok) argument
1286 mpt_send_cmd(struct mpt_softc *mpt, request_t *req) argument
1319 mpt_wait_req(struct mpt_softc *mpt, request_t *req, mpt_req_state_t state, mpt_req_state_t mask, int sleep_ok, int time_ms) argument
1375 mpt_send_handshake_cmd(struct mpt_softc *mpt, size_t len, void *cmd) argument
1435 mpt_recv_handshake_reply(struct mpt_softc *mpt, size_t reply_len, void *reply) argument
1513 mpt_get_iocfacts(struct mpt_softc *mpt, MSG_IOC_FACTS_REPLY *freplp) argument
1530 mpt_get_portfacts(struct mpt_softc *mpt, U8 port, MSG_PORT_FACTS_REPLY *freplp) argument
1554 mpt_send_ioc_init(struct mpt_softc *mpt, uint32_t who) argument
1584 mpt_issue_cfg_req(struct mpt_softc *mpt, request_t *req, cfgparms_t *params, bus_addr_t addr, bus_size_t len, int sleep_ok, int timeout_ms) argument
1626 mpt_read_extcfg_header(struct mpt_softc *mpt, int PageVersion, int PageNumber, uint32_t PageAddress, int ExtPageType, CONFIG_EXTENDED_PAGE_HEADER *rslt, int sleep_ok, int timeout_ms) argument
1690 mpt_read_extcfg_page(struct mpt_softc *mpt, int Action, uint32_t PageAddress, CONFIG_EXTENDED_PAGE_HEADER *hdr, void *buf, size_t len, int sleep_ok, int timeout_ms) argument
1732 mpt_read_cfg_header(struct mpt_softc *mpt, int PageType, int PageNumber, uint32_t PageAddress, CONFIG_PAGE_HEADER *rslt, int sleep_ok, int timeout_ms) argument
1789 mpt_read_cfg_page(struct mpt_softc *mpt, int Action, uint32_t PageAddress, CONFIG_PAGE_HEADER *hdr, size_t len, int sleep_ok, int timeout_ms) argument
1829 mpt_write_cfg_page(struct mpt_softc *mpt, int Action, uint32_t PageAddress, CONFIG_PAGE_HEADER *hdr, size_t len, int sleep_ok, int timeout_ms) argument
1898 mpt_read_config_info_ioc(struct mpt_softc *mpt) argument
2062 mpt_send_port_enable(struct mpt_softc *mpt, int port) argument
2098 mpt_send_event_request(struct mpt_softc *mpt, int onoff) argument
2128 mpt_enable_ints(struct mpt_softc *mpt) argument
2139 mpt_disable_ints(struct mpt_softc *mpt) argument
2148 mpt_sysctl_attach(struct mpt_softc *mpt) argument
2167 mpt_attach(struct mpt_softc *mpt) argument
2215 mpt_shutdown(struct mpt_softc *mpt) argument
2226 mpt_detach(struct mpt_softc *mpt) argument
2266 mpt_core_attach(struct mpt_softc *mpt) argument
2297 mpt_core_enable(struct mpt_softc *mpt) argument
2348 mpt_core_shutdown(struct mpt_softc *mpt) argument
2355 mpt_core_detach(struct mpt_softc *mpt) argument
2386 mpt_upload_fw(struct mpt_softc *mpt) argument
2422 mpt_diag_outsl(struct mpt_softc *mpt, uint32_t addr, uint32_t *data, bus_size_t len) argument
2442 mpt_download_fw(struct mpt_softc *mpt) argument
2519 mpt_dma_buf_alloc(struct mpt_softc *mpt) argument
2600 mpt_dma_buf_free(struct mpt_softc *mpt) argument
2623 mpt_configure_ioc(struct mpt_softc *mpt, int tn, int needreset) argument
2873 mpt_enable_ioc(struct mpt_softc *mpt, int portenable) argument
[all...]
H A Dmpt_raid.c46 #include <dev/mpt/mpt.h>
47 #include <dev/mpt/mpt_raid.h>
49 #include "dev/mpt/mpilib/mpi_ioc.h" /* XXX Fix Event Handling!!! */
50 #include "dev/mpt/mpilib/mpi_raid.h"
103 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,
121 static void mpt_vol_prt(struct mpt_softc *mpt, struc
192 mpt_vol_prt(struct mpt_softc *mpt, struct mpt_raid_volume *vol, const char *fmt, ...) argument
206 mpt_disk_prt(struct mpt_softc *mpt, struct mpt_raid_disk *disk, const char *fmt, ...) argument
230 struct mpt_softc *mpt; local
264 mpt_raid_probe(struct mpt_softc *mpt) argument
274 mpt_raid_attach(struct mpt_softc *mpt) argument
318 mpt_raid_enable(struct mpt_softc *mpt) argument
325 mpt_raid_detach(struct mpt_softc *mpt) argument
347 mpt_raid_ioc_reset(struct mpt_softc *mpt, int type) argument
370 mpt_raid_event(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument
501 mpt_raid_shutdown(struct mpt_softc *mpt) argument
516 mpt_raid_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
551 mpt_raid_reply_frame_handler(struct mpt_softc *mpt, request_t *req, MSG_DEFAULT_REPLY *reply_frame) argument
583 mpt_issue_raid_req(struct mpt_softc *mpt, struct mpt_raid_volume *vol, struct mpt_raid_disk *disk, request_t *req, u_int Action, uint32_t ActionDataWord, bus_addr_t addr, bus_size_t len, int write, int wait) argument
625 mpt_spawn_raid_thread(struct mpt_softc *mpt) argument
651 mpt_terminate_raid_thread(struct mpt_softc *mpt) argument
669 struct mpt_softc *mpt; local
787 mpt_map_physdisk(struct mpt_softc *mpt, union ccb *ccb, target_id_t *tgt) argument
804 mpt_is_raid_member(struct mpt_softc *mpt, target_id_t tgt) argument
823 mpt_is_raid_volume(struct mpt_softc *mpt, target_id_t tgt) argument
895 mpt_verify_mwce(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol) argument
978 mpt_verify_resync_rate(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol) argument
1069 mpt_adjust_queue_depth(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol, struct cam_path *path) argument
1086 mpt_announce_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol) argument
1194 mpt_announce_disk(struct mpt_softc *mpt, struct mpt_raid_disk *mpt_disk) argument
1224 mpt_refresh_raid_disk(struct mpt_softc *mpt, struct mpt_raid_disk *mpt_disk, IOC_3_PHYS_DISK *ioc_disk) argument
1251 mpt_refresh_raid_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol, CONFIG_PAGE_IOC_2_RAID_VOL *ioc_vol) argument
1336 mpt_refresh_raid_data(struct mpt_softc *mpt) argument
1576 struct mpt_softc *mpt; local
1584 mpt_schedule_raid_refresh(struct mpt_softc *mpt) argument
1592 mpt_raid_free_mem(struct mpt_softc *mpt) argument
1625 mpt_raid_set_vol_resync_rate(struct mpt_softc *mpt, u_int rate) argument
1647 mpt_raid_set_vol_queue_depth(struct mpt_softc *mpt, u_int vol_queue_depth) argument
1681 mpt_raid_set_vol_mwce(struct mpt_softc *mpt, mpt_raid_mwce_t mwce) argument
1747 struct mpt_softc *mpt; local
1783 struct mpt_softc *mpt; local
1803 struct mpt_softc *mpt; local
1821 mpt_raid_sysctl_attach(struct mpt_softc *mpt) argument
[all...]
H A Dmpt_cam.c99 #include <dev/mpt/mpt.h>
100 #include <dev/mpt/mpt_cam.h>
101 #include <dev/mpt/mpt_raid.h>
103 #include "dev/mpt/mpilib/mpi_ioc.h" /* XXX Fix Event Handling!!! */
104 #include "dev/mpt/mpilib/mpi_init.h"
105 #include "dev/mpt/mpilib/mpi_targ.h"
106 #include "dev/mpt/mpilib/mpi_fc.h"
107 #include "dev/mpt/mpilib/mpi_sas.h"
136 static int mpt_spawn_recovery_thread(struct mpt_softc *mpt);
195 mpt_cam_probe(struct mpt_softc *mpt) argument
217 mpt_cam_attach(struct mpt_softc *mpt) argument
415 mpt_read_config_info_fc(struct mpt_softc *mpt) argument
504 mpt_set_initial_config_fc(struct mpt_softc *mpt) argument
601 mptsas_sas_io_unit_pg0(struct mpt_softc *mpt, struct mptsas_portinfo *portinfo) argument
657 mptsas_sas_phy_pg0(struct mpt_softc *mpt, struct mptsas_phyinfo *phy_info, uint32_t form, uint32_t form_specific) argument
699 mptsas_sas_device_pg0(struct mpt_softc *mpt, struct mptsas_devinfo *device_info, uint32_t form, uint32_t form_specific) argument
753 mpt_read_config_info_sas(struct mpt_softc *mpt) argument
797 mptsas_set_sata_wc(struct mpt_softc *mpt, struct mptsas_devinfo *devinfo, int enabled) argument
848 mpt_set_initial_config_sas(struct mpt_softc *mpt) argument
874 mpt_sata_pass_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
902 mpt_read_config_info_spi(struct mpt_softc *mpt) argument
1052 mpt_set_initial_config_spi(struct mpt_softc *mpt) argument
1111 mpt_cam_enable(struct mpt_softc *mpt) argument
1148 mpt_cam_ready(struct mpt_softc *mpt) argument
1169 mpt_cam_detach(struct mpt_softc *mpt) argument
1224 struct mpt_softc *mpt; local
1237 struct mpt_softc *mpt; local
1270 struct mpt_softc *mpt; local
1674 struct mpt_softc *mpt; local
2058 struct mpt_softc *mpt; local
2223 mpt_bus_reset(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun, int sleep_ok) argument
2283 mpt_fc_reset_link(struct mpt_softc *mpt, int dowait) argument
2310 mpt_cam_event(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument
2587 mpt_scsi_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
2672 mpt_scsi_tmf_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
2717 mpt_fc_els_send_response(struct mpt_softc *mpt, request_t *req, PTR_MSG_LINK_SERVICE_BUFFER_POST_REPLY rp, U8 length) argument
2780 mpt_fc_els_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
3029 mpt_cam_ioc_reset(struct mpt_softc *mpt, int type) argument
3055 mpt_scsi_reply_frame_handler(struct mpt_softc *mpt, request_t *req, MSG_DEFAULT_REPLY *reply_frame) argument
3222 struct mpt_softc *mpt; local
3728 mpt_get_spi_settings(struct mpt_softc *mpt, struct ccb_trans_settings *cts) argument
3849 mpt_setwidth(struct mpt_softc *mpt, int tgt, int onoff) argument
3862 mpt_setsync(struct mpt_softc *mpt, int tgt, int period, int offset) argument
3889 mpt_update_spi_config(struct mpt_softc *mpt, int tgt) argument
3910 mpt_spawn_recovery_thread(struct mpt_softc *mpt) argument
3921 mpt_terminate_recovery_thread(struct mpt_softc *mpt) argument
3939 struct mpt_softc *mpt; local
3961 mpt_scsi_send_tmf(struct mpt_softc *mpt, u_int type, u_int flags, u_int channel, u_int target, u_int lun, u_int abort_ctx, int sleep_ok) argument
4026 mpt_recover_commands(struct mpt_softc *mpt) argument
4153 mpt_fc_post_els(struct mpt_softc *mpt, request_t *req, int ioindex) argument
4203 mpt_post_target_command(struct mpt_softc *mpt, request_t *req, int ioindex) argument
4228 mpt_add_els_buffers(struct mpt_softc *mpt) argument
4275 mpt_add_target_commands(struct mpt_softc *mpt) argument
4325 mpt_enable_lun(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun) argument
4350 mpt_disable_lun(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun) argument
4384 mpt_target_start_io(struct mpt_softc *mpt, union ccb *ccb) argument
4535 mpt_scsi_tgt_local(struct mpt_softc *mpt, request_t *cmd_req, uint32_t lun, int send, uint8_t *data, size_t length) argument
4621 mpt_abort_target_ccb(struct mpt_softc *mpt, union ccb *ccb) argument
4665 mpt_abort_target_cmd(struct mpt_softc *mpt, request_t *cmd_req) argument
4704 mpt_scsi_tgt_status(struct mpt_softc *mpt, union ccb *ccb, request_t *cmd_req, uint8_t status, uint8_t const *sense_data) argument
4855 mpt_scsi_tgt_tsk_mgmt(struct mpt_softc *mpt, request_t *req, mpt_task_mgmt_t fc, tgt_resource_t *trtp, int init_id) argument
4907 mpt_scsi_tgt_atio(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc) argument
5177 mpt_tgt_dump_tgt_state(struct mpt_softc *mpt, request_t *req) argument
5188 mpt_tgt_dump_req_state(struct mpt_softc *mpt, request_t *req) argument
5197 mpt_scsi_tgt_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
[all...]
H A Dmpt_raid.h67 mpt_raid_wakeup(struct mpt_softc *mpt) argument
69 mpt->raid_wakeup++;
70 wakeup(&mpt->raid_volumes);
83 #define RAID_VOL_FOREACH(mpt, mpt_vol) \
84 for (mpt_vol = (mpt)->raid_volumes; \
85 mpt_vol != (mpt)->raid_volumes + (mpt)->raid_max_volumes; \
H A Dmpt_cam.h140 mpt_wakeup_recovery_thread(struct mpt_softc *mpt) argument
142 wakeup(mpt);
147 #define mpt_sim_alloc(a, b, c, mpt, e, f, g) \
148 cam_sim_alloc(a, b, c, mpt, (mpt)->unit, e, f, g)
150 #define mpt_sim_alloc(a, b, c, mpt, e, f, g) \
151 cam_sim_alloc(a, b, c, mpt, (mpt)->unit, &(mpt)->mpt_lock, e, f, g)
H A Dmpt.h134 #include <dev/mpt/mpt_reg.h>
137 #include <dev/mpt/mpilib/mpi_type.h>
138 #include <dev/mpt/mpilib/mpi.h>
139 #include <dev/mpt/mpilib/mpi_cnfg.h>
140 #include <dev/mpt/mpilib/mpi_ioc.h>
141 #include <dev/mpt/mpilib/mpi_raid.h>
144 #include <dev/mpt/mpilib/mpi_init.h>
226 #define mpt_dma_tag_create(mpt, parent_tag, alignment, boundary, \
233 busdma_lock_mutex, &(mpt)->mpt_lock, \
236 struct mpt_softc *mpt; member in struct:mpt_map_info
783 mpt_assign_serno(struct mpt_softc *mpt, request_t *req) argument
823 mpt_write(struct mpt_softc *mpt, size_t offset, uint32_t val) argument
829 mpt_read(struct mpt_softc *mpt, int offset) argument
840 mpt_pio_write(struct mpt_softc *mpt, size_t offset, uint32_t val) argument
847 mpt_pio_read(struct mpt_softc *mpt, int offset) argument
897 mpt_free_reply(struct mpt_softc *mpt, uint32_t ptr) argument
904 mpt_pop_reply_queue(struct mpt_softc *mpt) argument
995 mpt_tag_2_req(struct mpt_softc *mpt, uint32_t tag) argument
1014 mpt_req_on_free_list(struct mpt_softc *mpt, request_t *req) argument
1030 mpt_req_on_pending_list(struct mpt_softc *mpt, request_t *req) argument
1052 mpt_req_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line) argument
1074 mpt_req_not_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line) argument
1153 mpt_read_cur_cfg_page(struct mpt_softc *mpt, uint32_t PageAddress, CONFIG_PAGE_HEADER *hdr, size_t len, int sleep_ok, int timeout_ms) argument
1162 mpt_write_cur_cfg_page(struct mpt_softc *mpt, uint32_t PageAddress, CONFIG_PAGE_HEADER *hdr, size_t len, int sleep_ok, int timeout_ms) argument
[all...]
H A Dmpt_user.c42 #include <dev/mpt/mpt.h>
90 .d_name = "mpt",
93 static MALLOC_DEFINE(M_MPTUSER, "mpt_user", "Buffers for mpt(4) ioctls");
98 mpt_user_probe(struct mpt_softc *mpt) argument
106 mpt_user_attach(struct mpt_softc *mpt) argument
111 MPT_LOCK(mpt);
113 error = mpt_register_handler(mpt, MPT_HANDLER_REPLY, handler,
115 MPT_UNLOCK(mpt);
117 mpt_prt(mpt, "Unabl
135 mpt_user_enable(struct mpt_softc *mpt) argument
142 mpt_user_ready(struct mpt_softc *mpt) argument
148 mpt_user_event(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument
157 mpt_user_reset(struct mpt_softc *mpt, int type) argument
163 mpt_user_detach(struct mpt_softc *mpt) argument
192 mpt_alloc_buffer(struct mpt_softc *mpt, struct mpt_page_memory *page_mem, size_t len) argument
242 mpt_user_read_cfg_header(struct mpt_softc *mpt, struct mpt_cfg_page_req *page_req) argument
286 mpt_user_read_cfg_page(struct mpt_softc *mpt, struct mpt_cfg_page_req *page_req, struct mpt_page_memory *mpt_page) argument
325 mpt_user_read_extcfg_header(struct mpt_softc *mpt, struct mpt_ext_cfg_page_req *ext_page_req) argument
374 mpt_user_read_extcfg_page(struct mpt_softc *mpt, struct mpt_ext_cfg_page_req *ext_page_req, struct mpt_page_memory *mpt_page) argument
415 mpt_user_write_cfg_page(struct mpt_softc *mpt, struct mpt_cfg_page_req *page_req, struct mpt_page_memory *mpt_page) argument
479 mpt_user_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument
522 mpt_user_raid_action(struct mpt_softc *mpt, struct mpt_raid_action *raid_act, struct mpt_page_memory *mpt_page) argument
597 struct mpt_softc *mpt; local
[all...]
H A Dmpt_debug.c69 #include <dev/mpt/mpt.h>
71 #include <dev/mpt/mpilib/mpi_ioc.h>
72 #include <dev/mpt/mpilib/mpi_init.h>
73 #include <dev/mpt/mpilib/mpi_fc.h>
74 #include <dev/mpt/mpilib/mpi_targ.h>
353 printf("mpt mailbox: (0x%x) State %s WhoInit %s\n",
824 mpt_dump_data(struct mpt_softc *mpt, const char *msg, void *addr, int len) argument
829 mpt_prt(mpt, "%s:", msg);
832 mpt_prtc(mpt, "\
840 mpt_dump_request(struct mpt_softc *mpt, request_t *req) argument
858 mpt_prt(struct mpt_softc *mpt, const char *fmt, ...) argument
869 mpt_prtc(struct mpt_softc *mpt, const char *fmt, ...) argument
[all...]
/freebsd-10.0-release/sys/modules/mpt/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/mpt
5 KMOD= mpt
8 mpt.c mpt_cam.c mpt_debug.c mpt_pci.c mpt_raid.c mpt_user.c
/freebsd-10.0-release/sys/sys/
H A Dmpt_ioctl.h38 #include <dev/mpt/mpilib/mpi_type.h>
39 #include <dev/mpt/mpilib/mpi.h>
40 #include <dev/mpt/mpilib/mpi_cnfg.h>
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c617 mr->mem.arbel.mpt = mthca_table_find(dev->mr_table.mpt_table, key, NULL);
618 BUG_ON(!mr->mem.arbel.mpt);
620 mr->mem.tavor.mpt = dev->mr_table.tavor_fmr.mpt_base +
621 sizeof *(mr->mem.tavor.mpt) * idx;
759 writeb(MTHCA_MPT_STATUS_SW, fmr->mem.tavor.mpt);
771 __raw_writel((__force u32) mpt_entry.lkey, &fmr->mem.tavor.mpt->key);
772 memcpy_toio(&fmr->mem.tavor.mpt->start, &mpt_entry.start,
776 writeb(MTHCA_MPT_STATUS_HW, fmr->mem.tavor.mpt);
802 *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_SW;
813 fmr->mem.arbel.mpt
[all...]
H A Dmthca_provider.h86 struct mthca_mpt_entry __iomem *mpt; member in struct:mthca_fmr::__anon10629::__anon10630
90 struct mthca_mpt_entry *mpt; member in struct:mthca_fmr::__anon10629::__anon10631
/freebsd-10.0-release/usr.sbin/mptutil/
H A Dmptutil.h39 #include <dev/mpt/mpilib/mpi_type.h>
40 #include <dev/mpt/mpilib/mpi.h>
41 #include <dev/mpt/mpilib/mpi_cnfg.h>
42 #include <dev/mpt/mpilib/mpi_raid.h>
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/
H A Dmr.c760 *(u8 *) fmr->mpt = MLX4_MPT_STATUS_SW;
774 fmr->mpt->key = cpu_to_be32(key);
775 fmr->mpt->lkey = cpu_to_be32(key);
776 fmr->mpt->length = cpu_to_be64(npages * (1ull << fmr->page_shift));
777 fmr->mpt->start = cpu_to_be64(iova);
782 *(u8 *) fmr->mpt = MLX4_MPT_STATUS_HW;
843 fmr->mpt = mlx4_table_find(&priv->mr_table.dmpt_table,
845 if (!fmr->mpt)
H A Dresource_tracker.c396 dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws;
409 dev->quotas.mpt =
1216 enum res_mpt_states state, struct res_mpt **mpt)
1258 if (mpt)
1259 *mpt = r;
1561 struct res_mpt *mpt; local
1588 RES_MPT_MAPPED, &mpt);
1592 err = __mlx4_mr_alloc_icm(dev, mpt->key);
2077 struct res_mpt *mpt; local
2083 err = get_res(dev, slave, id, RES_MPT, &mpt);
1215 mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_mpt_states state, struct res_mpt **mpt) argument
2307 mr_phys_mpt(struct mlx4_mpt_entry *mpt) argument
2312 mr_get_mtt_addr(struct mlx4_mpt_entry *mpt) argument
2317 mr_get_mtt_size(struct mlx4_mpt_entry *mpt) argument
2378 struct res_mpt *mpt; local
2431 struct res_mpt *mpt; local
2463 struct res_mpt *mpt; local
4009 struct res_mpt *mpt; local
[all...]
/freebsd-10.0-release/sys/ia64/conf/
H A DGENERIC88 device mpt # LSI-Logic MPT-Fusion
/freebsd-10.0-release/sys/powerpc/conf/
H A DGENERIC106 device mpt # LSI-Logic MPT-Fusion
H A DGENERIC64103 device mpt # LSI-Logic MPT-Fusion
/freebsd-10.0-release/sys/sparc64/conf/
H A DGENERIC102 device mpt # LSI-Logic MPT-Fusion
/freebsd-10.0-release/sys/pc98/conf/
H A DNOTES613 nodevice mpt
/freebsd-10.0-release/sys/amd64/conf/
H A DGENERIC111 device mpt # LSI-Logic MPT-Fusion
/freebsd-10.0-release/sys/i386/conf/
H A DGENERIC114 device mpt # LSI-Logic MPT-Fusion
/freebsd-10.0-release/sys/ofed/include/linux/mlx4/
H A Ddevice.h553 struct mlx4_mpt_entry *mpt; member in struct:mlx4_fmr
718 int mpt; member in struct:mlx4_quotas
/freebsd-10.0-release/include/
H A DMakefile61 LSUBSUBDIRS= dev/mpt/mpilib

Completed in 458 milliseconds

12