/freebsd-10-stable/sys/dev/mpt/ |
H A D | mpt_pci.c | 102 __FBSDID("$FreeBSD: stable/10/sys/dev/mpt/mpt_pci.c 315809 2017-03-23 06:34:45Z mav $"); 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); 254 mpt_set_options(struct mpt_softc *mpt) argument 324 struct mpt_softc *mpt; local 574 mpt_free_bus_resources(struct mpt_softc *mpt) argument 608 struct mpt_softc *mpt; local 636 struct mpt_softc *mpt; local 645 mpt_dma_mem_alloc(struct mpt_softc *mpt) argument 712 mpt_dma_mem_free(struct mpt_softc *mpt) argument 794 struct mpt_softc *mpt; local [all...] |
H A D | mpt.c | 99 __FBSDID("$FreeBSD: stable/10/sys/dev/mpt/mpt.c 315811 2017-03-23 06:37:23Z mav $"); 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/mpili 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 1378 mpt_send_handshake_cmd(struct mpt_softc *mpt, size_t len, void *cmd) argument 1438 mpt_recv_handshake_reply(struct mpt_softc *mpt, size_t reply_len, void *reply) argument 1511 mpt_get_iocfacts(struct mpt_softc *mpt, MSG_IOC_FACTS_REPLY *freplp) argument 1528 mpt_get_portfacts(struct mpt_softc *mpt, U8 port, MSG_PORT_FACTS_REPLY *freplp) argument 1552 mpt_send_ioc_init(struct mpt_softc *mpt, uint32_t who) argument 1582 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 1624 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 1688 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 1730 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 1787 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 1827 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 1896 mpt_read_config_info_ioc(struct mpt_softc *mpt) argument 2060 mpt_send_port_enable(struct mpt_softc *mpt, int port) argument 2096 mpt_send_event_request(struct mpt_softc *mpt, int onoff) argument 2126 mpt_enable_ints(struct mpt_softc *mpt) argument 2137 mpt_disable_ints(struct mpt_softc *mpt) argument 2146 mpt_sysctl_attach(struct mpt_softc *mpt) argument 2165 mpt_attach(struct mpt_softc *mpt) argument 2213 mpt_shutdown(struct mpt_softc *mpt) argument 2224 mpt_detach(struct mpt_softc *mpt) argument 2264 mpt_core_attach(struct mpt_softc *mpt) argument 2295 mpt_core_enable(struct mpt_softc *mpt) argument 2346 mpt_core_shutdown(struct mpt_softc *mpt) argument 2353 mpt_core_detach(struct mpt_softc *mpt) argument 2384 mpt_upload_fw(struct mpt_softc *mpt) argument 2420 mpt_diag_outsl(struct mpt_softc *mpt, uint32_t addr, uint32_t *data, bus_size_t len) argument 2440 mpt_download_fw(struct mpt_softc *mpt) argument 2517 mpt_dma_buf_alloc(struct mpt_softc *mpt) argument 2598 mpt_dma_buf_free(struct mpt_softc *mpt) argument 2621 mpt_configure_ioc(struct mpt_softc *mpt, int tn, int needreset) argument 2879 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 | 97 __FBSDID("$FreeBSD: stable/10/sys/dev/mpt/mpt_cam.c 315828 2017-03-23 06:55:32Z mav $"); 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/mpili 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 509 mpt_set_initial_config_fc(struct mpt_softc *mpt) argument 606 mptsas_sas_io_unit_pg0(struct mpt_softc *mpt, struct mptsas_portinfo *portinfo) argument 662 mptsas_sas_phy_pg0(struct mpt_softc *mpt, struct mptsas_phyinfo *phy_info, uint32_t form, uint32_t form_specific) argument 704 mptsas_sas_device_pg0(struct mpt_softc *mpt, struct mptsas_devinfo *device_info, uint32_t form, uint32_t form_specific) argument 758 mpt_read_config_info_sas(struct mpt_softc *mpt) argument 802 mptsas_set_sata_wc(struct mpt_softc *mpt, struct mptsas_devinfo *devinfo, int enabled) argument 853 mpt_set_initial_config_sas(struct mpt_softc *mpt) argument 879 mpt_sata_pass_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 907 mpt_read_config_info_spi(struct mpt_softc *mpt) argument 1057 mpt_set_initial_config_spi(struct mpt_softc *mpt) argument 1116 mpt_cam_enable(struct mpt_softc *mpt) argument 1153 mpt_cam_ready(struct mpt_softc *mpt) argument 1174 mpt_cam_detach(struct mpt_softc *mpt) argument 1229 struct mpt_softc *mpt; local 1242 struct mpt_softc *mpt; local 1275 struct mpt_softc *mpt; local 1679 struct mpt_softc *mpt; local 2063 struct mpt_softc *mpt; local 2222 mpt_bus_reset(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun, int sleep_ok) argument 2282 mpt_fc_reset_link(struct mpt_softc *mpt, int dowait) argument 2309 mpt_cam_event(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument 2585 mpt_scsi_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 2670 mpt_scsi_tmf_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 2715 mpt_fc_els_send_response(struct mpt_softc *mpt, request_t *req, PTR_MSG_LINK_SERVICE_BUFFER_POST_REPLY rp, U8 length) argument 2778 mpt_fc_els_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 3020 mpt_cam_ioc_reset(struct mpt_softc *mpt, int type) argument 3046 mpt_scsi_reply_frame_handler(struct mpt_softc *mpt, request_t *req, MSG_DEFAULT_REPLY *reply_frame) argument 3213 struct mpt_softc *mpt; local 3703 mpt_get_spi_settings(struct mpt_softc *mpt, struct ccb_trans_settings *cts) argument 3799 mpt_setwidth(struct mpt_softc *mpt, int tgt, int onoff) argument 3812 mpt_setsync(struct mpt_softc *mpt, int tgt, int period, int offset) argument 3839 mpt_update_spi_config(struct mpt_softc *mpt, int tgt) argument 3860 mpt_spawn_recovery_thread(struct mpt_softc *mpt) argument 3871 mpt_terminate_recovery_thread(struct mpt_softc *mpt) argument 3889 struct mpt_softc *mpt; local 3911 mpt_scsi_send_tmf(struct mpt_softc *mpt, u_int type, u_int flags, u_int channel, target_id_t target, lun_id_t lun, u_int abort_ctx, int sleep_ok) argument 3972 mpt_recover_commands(struct mpt_softc *mpt) argument 4099 mpt_fc_post_els(struct mpt_softc *mpt, request_t *req, int ioindex) argument 4149 mpt_post_target_command(struct mpt_softc *mpt, request_t *req, int ioindex) argument 4175 mpt_add_els_buffers(struct mpt_softc *mpt) argument 4222 mpt_add_target_commands(struct mpt_softc *mpt) argument 4272 mpt_enable_lun(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun) argument 4297 mpt_disable_lun(struct mpt_softc *mpt, target_id_t tgt, lun_id_t lun) argument 4331 mpt_target_start_io(struct mpt_softc *mpt, union ccb *ccb) argument 4473 mpt_scsi_tgt_local(struct mpt_softc *mpt, request_t *cmd_req, lun_id_t lun, int send, uint8_t *data, size_t length) argument 4554 mpt_abort_target_ccb(struct mpt_softc *mpt, union ccb *ccb) argument 4602 mpt_abort_target_cmd(struct mpt_softc *mpt, request_t *cmd_req) argument 4641 mpt_scsi_tgt_status(struct mpt_softc *mpt, union ccb *ccb, request_t *cmd_req, uint8_t status, uint8_t const *sense_data, u_int sense_len) argument 4782 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 4838 mpt_scsi_tgt_atio(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc) argument 5098 mpt_tgt_dump_tgt_state(struct mpt_softc *mpt, request_t *req) argument 5109 mpt_tgt_dump_req_state(struct mpt_softc *mpt, request_t *req) argument 5118 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 | 1 /* $FreeBSD: stable/10/sys/dev/mpt/mpt.h 315828 2017-03-23 06:55:32Z mav $ */ 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_ta 233 struct mpt_softc *mpt; member in struct:mpt_map_info 753 mpt_assign_serno(struct mpt_softc *mpt, request_t *req) argument 794 mpt_write(struct mpt_softc *mpt, size_t offset, uint32_t val) argument 800 mpt_write_stream(struct mpt_softc *mpt, size_t offset, uint32_t val) argument 806 mpt_read(struct mpt_softc *mpt, int offset) argument 817 mpt_pio_write(struct mpt_softc *mpt, size_t offset, uint32_t val) argument 824 mpt_pio_read(struct mpt_softc *mpt, int offset) argument 875 mpt_free_reply(struct mpt_softc *mpt, uint32_t ptr) argument 882 mpt_pop_reply_queue(struct mpt_softc *mpt) argument 956 mpt_tag_2_req(struct mpt_softc *mpt, uint32_t tag) argument 975 mpt_req_on_free_list(struct mpt_softc *mpt, request_t *req) argument 991 mpt_req_on_pending_list(struct mpt_softc *mpt, request_t *req) argument 1013 mpt_req_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line) argument 1035 mpt_req_not_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line) argument 1116 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 1125 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 | 67 __FBSDID("$FreeBSD: stable/10/sys/dev/mpt/mpt_debug.c 315826 2017-03-23 06:52:29Z mav $"); 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, " 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-stable/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-10-stable/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-10-stable/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::__anon11107::__anon11108 90 struct mthca_mpt_entry *mpt; member in struct:mthca_fmr::__anon11107::__anon11109
|
/freebsd-10-stable/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-10-stable/sys/ofed/drivers/net/mlx4/ |
H A D | mr.c | 847 *(u8 *) fmr->mpt = MLX4_MPT_STATUS_SW; 861 fmr->mpt->key = cpu_to_be32(key); 862 fmr->mpt->lkey = cpu_to_be32(key); 863 fmr->mpt->length = cpu_to_be64(npages * (1ull << fmr->page_shift)); 864 fmr->mpt->start = cpu_to_be64(iova); 869 *(u8 *) fmr->mpt = MLX4_MPT_STATUS_HW; 932 fmr->mpt = mlx4_table_find(&priv->mr_table.dmpt_table, 934 if (!fmr->mpt) 951 *(u8 *)fmr->mpt = MLX4_MPT_STATUS_SW; 958 fmr->mpt [all...] |
H A D | resource_tracker.c | 408 dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws; 421 dev->quotas.mpt = 1291 enum res_mpt_states state, struct res_mpt **mpt) 1333 if (mpt) 1334 *mpt = r; 1639 struct res_mpt *mpt; local 1666 RES_MPT_MAPPED, &mpt); 1670 err = __mlx4_mpt_alloc_icm(dev, mpt->key); 2153 struct res_mpt *mpt; local 2159 err = get_res(dev, slave, id, RES_MPT, &mpt); 1290 mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_mpt_states state, struct res_mpt **mpt) argument 2383 mr_phys_mpt(struct mlx4_mpt_entry *mpt) argument 2388 mr_get_mtt_addr(struct mlx4_mpt_entry *mpt) argument 2393 mr_get_mtt_size(struct mlx4_mpt_entry *mpt) argument 2398 mr_get_pd(struct mlx4_mpt_entry *mpt) argument 2403 mr_is_fmr(struct mlx4_mpt_entry *mpt) argument 2408 mr_is_bind_enabled(struct mlx4_mpt_entry *mpt) argument 2413 mr_is_region(struct mlx4_mpt_entry *mpt) argument 2475 struct res_mpt *mpt; local 2559 struct res_mpt *mpt; local 2591 struct res_mpt *mpt; local 4270 struct res_mpt *mpt; local [all...] |
/freebsd-10-stable/sys/ia64/conf/ |
H A D | GENERIC | 88 device mpt # LSI-Logic MPT-Fusion
|
/freebsd-10-stable/sys/powerpc/conf/ |
H A D | GENERIC64 | 103 device mpt # LSI-Logic MPT-Fusion
|
H A D | GENERIC | 109 device mpt # LSI-Logic MPT-Fusion
|
/freebsd-10-stable/sys/sparc64/conf/ |
H A D | GENERIC | 105 device mpt # LSI-Logic MPT-Fusion
|
/freebsd-10-stable/sys/pc98/conf/ |
H A D | NOTES | 613 nodevice mpt
|
/freebsd-10-stable/sys/ofed/include/linux/mlx4/ |
H A D | device.h | 631 struct mlx4_mpt_entry *mpt; member in struct:mlx4_fmr 797 int mpt; member in struct:mlx4_quotas
|
/freebsd-10-stable/include/ |
H A D | Makefile | 63 LSUBSUBDIRS= dev/mpt/mpilib
|
/freebsd-10-stable/share/man/man4/ |
H A D | Makefile | 281 mpt.4 \
|
/freebsd-10-stable/sys/modules/ |
H A D | Makefile | 234 mpt \
|