Lines Matching defs:mpt
219 #define mpt_dma_tag_create(mpt, parent_tag, alignment, boundary, \ argument
229 struct mpt_softc *mpt; member
361 #define MPT_MAKE_TAGID(mpt, req, ioindex) \ argument
367 #define MPT_TAG_2_REQ(mpt, tag) mpt->tgt_cmd_ptrs[tag >> 18] argument
370 #define MPT_TGT_STATE(mpt, req) ((mpt_tgt_state_t *) \ argument
748 mpt_assign_serno(struct mpt_softc *mpt, request_t *req) in mpt_assign_serno()
757 #define MPT_LOCK_SETUP(mpt) \ argument
760 #define MPT_LOCK_DESTROY(mpt) \ argument
766 #define MPT_LOCK(mpt) mtx_lock(&(mpt)->mpt_lock) argument
767 #define MPT_UNLOCK(mpt) mtx_unlock(&(mpt)->mpt_lock) argument
768 #define MPT_OWNED(mpt) mtx_owned(&(mpt)->mpt_lock) argument
769 #define MPT_LOCK_ASSERT(mpt) mtx_assert(&(mpt)->mpt_lock, MA_OWNED) argument
770 #define mpt_sleep(mpt, ident, priority, wmesg, sbt) \ argument
776 #define mpt_callout_init(mpt, c) \ argument
778 #define mpt_callout_drain(mpt, c) \ argument
789 mpt_write(struct mpt_softc *mpt, size_t offset, uint32_t val) in mpt_write()
795 mpt_write_stream(struct mpt_softc *mpt, size_t offset, uint32_t val) in mpt_write_stream()
801 mpt_read(struct mpt_softc *mpt, int offset) in mpt_read()
812 mpt_pio_write(struct mpt_softc *mpt, size_t offset, uint32_t val) in mpt_pio_write()
819 mpt_pio_read(struct mpt_softc *mpt, int offset) in mpt_pio_read()
832 #define MPT_MAX_REQUESTS(mpt) 512 argument
835 #define MPT_REQ_MEM_SIZE(mpt) (MPT_MAX_REQUESTS(mpt) * MPT_REQUEST_AREA) argument
856 #define MPT_DUMP_REPLY_FRAME(mpt, reply_frame) \ argument
870 mpt_free_reply(struct mpt_softc *mpt, uint32_t ptr) in mpt_free_reply()
877 mpt_pop_reply_queue(struct mpt_softc *mpt) in mpt_pop_reply_queue()
887 #define MPT_RQSL(mpt) (mpt->ioc_facts.RequestFrameSize << 2) argument
890 #define MPT_NSGL(mpt) (MPT_RQSL(mpt) / sizeof (SGE_IO_UNION)) argument
893 #define MPT_NRFM(mpt) (MPT_REQUEST_AREA / MPT_RQSL(mpt)) argument
902 #define MPT_NSGL_FIRST(mpt) \ argument
928 #define mpt_lprt(mpt, level, ...) \ argument
951 mpt_tag_2_req(struct mpt_softc *mpt, uint32_t tag) in mpt_tag_2_req()
970 mpt_req_on_free_list(struct mpt_softc *mpt, request_t *req) in mpt_req_on_free_list()
986 mpt_req_on_pending_list(struct mpt_softc *mpt, request_t *req) in mpt_req_on_pending_list()
1008 mpt_req_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line) in mpt_req_spcl()
1030 mpt_req_not_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line) in mpt_req_not_spcl()
1111 mpt_read_cur_cfg_page(struct mpt_softc *mpt, uint32_t PageAddress, in mpt_read_cur_cfg_page()
1120 mpt_write_cur_cfg_page(struct mpt_softc *mpt, uint32_t PageAddress, in mpt_write_cur_cfg_page()