Lines Matching refs:mpt_softc
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_methods, sizeof(struct mpt_softc)
254 mpt_set_options(struct mpt_softc *mpt) in mpt_set_options()
282 mpt_link_peer(struct mpt_softc *mpt)
284 struct mpt_softc *mpt2;
292 mpt2 = (struct mpt_softc *)devclass_get_softc(mpt_devclass,mpt->unit-1);
312 mpt_unlink_peer(struct mpt_softc *mpt)
324 struct mpt_softc *mpt; in mpt_pci_attach()
329 mpt = (struct mpt_softc*)device_get_softc(dev); in mpt_pci_attach()
570 mpt_free_bus_resources(struct mpt_softc *mpt) in mpt_free_bus_resources()
604 struct mpt_softc *mpt; in mpt_pci_detach()
606 mpt = (struct mpt_softc*)device_get_softc(dev); in mpt_pci_detach()
632 struct mpt_softc *mpt; in mpt_pci_shutdown()
634 mpt = (struct mpt_softc *)device_get_softc(dev); in mpt_pci_shutdown()
641 mpt_dma_mem_alloc(struct mpt_softc *mpt) in mpt_dma_mem_alloc()
708 mpt_dma_mem_free(struct mpt_softc *mpt) in mpt_dma_mem_free()
729 mpt_read_config_regs(struct mpt_softc *mpt)
747 mpt_set_config_regs(struct mpt_softc *mpt)
790 struct mpt_softc *mpt; in mpt_pci_intr()
792 mpt = (struct mpt_softc *)arg; in mpt_pci_intr()