/freebsd-9.3-release/sys/dev/mpt/ |
H A D | mpt_pci.c | 104 #include <dev/mpt/mpt.h> 105 #include <dev/mpt/mpt_cam.h> 106 #include <dev/mpt/mpt_raid.h> 146 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_method 254 mpt_set_options(struct mpt_softc *mpt) argument 329 struct mpt_softc *mpt; local 579 mpt_free_bus_resources(struct mpt_softc *mpt) argument 613 struct mpt_softc *mpt; local 641 struct mpt_softc *mpt; local 650 mpt_dma_mem_alloc(struct mpt_softc *mpt) argument 721 mpt_dma_mem_free(struct mpt_softc *mpt) argument 803 struct mpt_softc *mpt; local [all...] |
H A D | mpt.c | 101 #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 D | mpt_raid.c | 46 #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 D | mpt_cam.c | 99 #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" 130 static int mpt_spawn_recovery_thread(struct mpt_softc *mpt); 189 mpt_cam_probe(struct mpt_softc *mpt) argument 211 mpt_cam_attach(struct mpt_softc *mpt) argument 409 mpt_read_config_info_fc(struct mpt_softc *mpt) argument 498 mpt_set_initial_config_fc(struct mpt_softc *mpt) argument 595 mptsas_sas_io_unit_pg0(struct mpt_softc *mpt, struct mptsas_portinfo *portinfo) argument 651 mptsas_sas_phy_pg0(struct mpt_softc *mpt, struct mptsas_phyinfo *phy_info, uint32_t form, uint32_t form_specific) argument 693 mptsas_sas_device_pg0(struct mpt_softc *mpt, struct mptsas_devinfo *device_info, uint32_t form, uint32_t form_specific) argument 747 mpt_read_config_info_sas(struct mpt_softc *mpt) argument 791 mptsas_set_sata_wc(struct mpt_softc *mpt, struct mptsas_devinfo *devinfo, int enabled) argument 842 mpt_set_initial_config_sas(struct mpt_softc *mpt) argument 868 mpt_sata_pass_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 896 mpt_read_config_info_spi(struct mpt_softc *mpt) argument 1046 mpt_set_initial_config_spi(struct mpt_softc *mpt) argument 1105 mpt_cam_enable(struct mpt_softc *mpt) argument 1142 mpt_cam_ready(struct mpt_softc *mpt) argument 1163 mpt_cam_detach(struct mpt_softc *mpt) argument 1218 struct mpt_softc *mpt; local 1231 struct mpt_softc *mpt; local 1264 struct mpt_softc *mpt; local 1668 struct mpt_softc *mpt; local 2052 struct mpt_softc *mpt; local 2217 mpt_bus_reset(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun, int sleep_ok) argument 2277 mpt_fc_reset_link(struct mpt_softc *mpt, int dowait) argument 2304 mpt_cam_event(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument 2577 mpt_scsi_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 2662 mpt_scsi_tmf_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 2707 mpt_fc_els_send_response(struct mpt_softc *mpt, request_t *req, PTR_MSG_LINK_SERVICE_BUFFER_POST_REPLY rp, U8 length) argument 2770 mpt_fc_els_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 3019 mpt_cam_ioc_reset(struct mpt_softc *mpt, int type) argument 3045 mpt_scsi_reply_frame_handler(struct mpt_softc *mpt, request_t *req, MSG_DEFAULT_REPLY *reply_frame) argument 3212 struct mpt_softc *mpt; local 3657 mpt_get_spi_settings(struct mpt_softc *mpt, struct ccb_trans_settings *cts) argument 3753 mpt_setwidth(struct mpt_softc *mpt, int tgt, int onoff) argument 3766 mpt_setsync(struct mpt_softc *mpt, int tgt, int period, int offset) argument 3793 mpt_update_spi_config(struct mpt_softc *mpt, int tgt) argument 3814 mpt_spawn_recovery_thread(struct mpt_softc *mpt) argument 3825 mpt_terminate_recovery_thread(struct mpt_softc *mpt) argument 3843 struct mpt_softc *mpt; local 3865 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 3930 mpt_recover_commands(struct mpt_softc *mpt) argument 4057 mpt_fc_post_els(struct mpt_softc *mpt, request_t *req, int ioindex) argument 4107 mpt_post_target_command(struct mpt_softc *mpt, request_t *req, int ioindex) argument 4132 mpt_add_els_buffers(struct mpt_softc *mpt) argument 4179 mpt_add_target_commands(struct mpt_softc *mpt) argument 4229 mpt_enable_lun(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun) argument 4254 mpt_disable_lun(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun) argument 4288 mpt_target_start_io(struct mpt_softc *mpt, union ccb *ccb) argument 4439 mpt_scsi_tgt_local(struct mpt_softc *mpt, request_t *cmd_req, uint32_t lun, int send, uint8_t *data, size_t length) argument 4525 mpt_abort_target_ccb(struct mpt_softc *mpt, union ccb *ccb) argument 4569 mpt_abort_target_cmd(struct mpt_softc *mpt, request_t *cmd_req) argument 4608 mpt_scsi_tgt_status(struct mpt_softc *mpt, union ccb *ccb, request_t *cmd_req, uint8_t status, uint8_t const *sense_data) argument 4759 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 4811 mpt_scsi_tgt_atio(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc) argument 5081 mpt_tgt_dump_tgt_state(struct mpt_softc *mpt, request_t *req) argument 5092 mpt_tgt_dump_req_state(struct mpt_softc *mpt, request_t *req) argument 5101 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 D | mpt_raid.h | 67 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 D | mpt_cam.h | 140 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 D | mpt.h | 134 #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> 223 #define mpt_dma_tag_create(mpt, parent_tag, alignment, boundary, \ 230 busdma_lock_mutex, &(mpt)->mpt_lock, \ 233 struct mpt_softc *mpt; member in struct:mpt_map_info 752 mpt_assign_serno(struct mpt_softc *mpt, request_t *req) argument 792 mpt_write(struct mpt_softc *mpt, size_t offset, uint32_t val) argument 798 mpt_read(struct mpt_softc *mpt, int offset) argument 809 mpt_pio_write(struct mpt_softc *mpt, size_t offset, uint32_t val) argument 816 mpt_pio_read(struct mpt_softc *mpt, int offset) argument 866 mpt_free_reply(struct mpt_softc *mpt, uint32_t ptr) argument 873 mpt_pop_reply_queue(struct mpt_softc *mpt) argument 964 mpt_tag_2_req(struct mpt_softc *mpt, uint32_t tag) argument 983 mpt_req_on_free_list(struct mpt_softc *mpt, request_t *req) argument 999 mpt_req_on_pending_list(struct mpt_softc *mpt, request_t *req) argument 1021 mpt_req_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line) argument 1043 mpt_req_not_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line) argument 1122 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 1131 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 D | mpt_user.c | 42 #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 D | mpt_debug.c | 69 #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-9.3-release/sys/modules/mpt/ |
H A D | Makefile | 3 .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-9.3-release/sys/sys/ |
H A D | mpt_ioctl.h | 38 #include <dev/mpt/mpilib/mpi_type.h> 39 #include <dev/mpt/mpilib/mpi.h> 40 #include <dev/mpt/mpilib/mpi_cnfg.h>
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/ |
H A D | mthca_mr.c | 617 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 D | mthca_provider.h | 86 struct mthca_mpt_entry __iomem *mpt; member in struct:mthca_fmr::__anon10125::__anon10126 90 struct mthca_mpt_entry *mpt; member in struct:mthca_fmr::__anon10125::__anon10127
|
/freebsd-9.3-release/usr.sbin/mptutil/ |
H A D | mptutil.h | 39 #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-9.3-release/sys/ofed/drivers/net/mlx4/ |
H A D | mr.c | 590 *(u8 *) fmr->mpt = MLX4_MPT_STATUS_SW; 601 fmr->mpt->key = cpu_to_be32(key); 602 fmr->mpt->lkey = cpu_to_be32(key); 603 fmr->mpt->length = cpu_to_be64(len); 604 fmr->mpt->start = cpu_to_be64(iova); 605 fmr->mpt->first_byte_offset = cpu_to_be32(fbo & 0x001fffff); 606 fmr->mpt->flags2 = (fbo ? MLX4_MPT_FLAG2_FBO_EN : 0); 611 *(u8 *) fmr->mpt = MLX4_MPT_STATUS_HW; 724 fmr->mpt = mlx4_table_find(&priv->mr_table.dmpt_table, 726 if (!fmr->mpt) [all...] |
/freebsd-9.3-release/sys/ia64/conf/ |
H A D | GENERIC | 84 device mpt # LSI-Logic MPT-Fusion
|
/freebsd-9.3-release/sys/powerpc/conf/ |
H A D | GENERIC | 97 device mpt # LSI-Logic MPT-Fusion
|
H A D | GENERIC64 | 97 device mpt # LSI-Logic MPT-Fusion
|
/freebsd-9.3-release/sys/pc98/conf/ |
H A D | NOTES | 613 nodevice mpt
|
/freebsd-9.3-release/sys/sparc64/conf/ |
H A D | GENERIC | 98 device mpt # LSI-Logic MPT-Fusion
|
/freebsd-9.3-release/sys/amd64/conf/ |
H A D | GENERIC | 107 device mpt # LSI-Logic MPT-Fusion
|
/freebsd-9.3-release/sys/i386/conf/ |
H A D | GENERIC | 110 device mpt # LSI-Logic MPT-Fusion
|
/freebsd-9.3-release/share/man/man4/ |
H A D | Makefile | 251 mpt.4 \
|
/freebsd-9.3-release/sys/modules/ |
H A D | Makefile | 214 mpt \
|
/freebsd-9.3-release/sys/ofed/include/linux/mlx4/ |
H A D | device.h | 336 struct mlx4_mpt_entry *mpt; member in struct:mlx4_fmr
|