Lines Matching refs:tag
241 #define MPT_2_HOST64(ptr, tag) ptr->tag = le64toh(ptr->tag)
242 #define MPT_2_HOST32(ptr, tag) ptr->tag = le32toh(ptr->tag)
243 #define MPT_2_HOST16(ptr, tag) ptr->tag = le16toh(ptr->tag)
245 #define HOST_2_MPT64(ptr, tag) ptr->tag = htole64(ptr->tag)
246 #define HOST_2_MPT32(ptr, tag) ptr->tag = htole32(ptr->tag)
247 #define HOST_2_MPT16(ptr, tag) ptr->tag = htole16(ptr->tag)
355 * When we get an incoming command it has its own tag which is called the
361 * What *we* do is construct a tag out of the index for the target command
370 #define MPT_TAG_2_REQ(mpt, tag) mpt->tgt_cmd_ptrs[tag >> 18]
652 bus_space_tag_t pci_st; /* Bus tag for registers */
659 bus_dma_tag_t parent_dmat; /* DMA tag for parent PCI bus */
660 bus_dma_tag_t reply_dmat; /* DMA tag for reply memory */
665 bus_dma_tag_t buffer_dmat; /* DMA tag for buffers */
666 bus_dma_tag_t request_dmat; /* DMA tag for request memroy */
732 bus_dma_tag_t fw_dmat; /* DMA tag for firmware image */
972 mpt_tag_2_req(struct mpt_softc *mpt, uint32_t tag)
974 uint16_t rtg = (tag >> 18);
975 KASSERT(rtg < mpt->tgt_cmds_allocated, ("bad tag %d", tag));