Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/mps/mpsvar.h
Show First 20 Lines • Show All 268 Lines • ▼ Show 20 Lines | |||||
#define MPS_FLAGS_BUSY (1 << 2) | #define MPS_FLAGS_BUSY (1 << 2) | ||||
#define MPS_FLAGS_SHUTDOWN (1 << 3) | #define MPS_FLAGS_SHUTDOWN (1 << 3) | ||||
#define MPS_FLAGS_DIAGRESET (1 << 4) | #define MPS_FLAGS_DIAGRESET (1 << 4) | ||||
#define MPS_FLAGS_ATTACH_DONE (1 << 5) | #define MPS_FLAGS_ATTACH_DONE (1 << 5) | ||||
#define MPS_FLAGS_WD_AVAILABLE (1 << 6) | #define MPS_FLAGS_WD_AVAILABLE (1 << 6) | ||||
u_int mps_debug; | u_int mps_debug; | ||||
u_int disable_msix; | u_int disable_msix; | ||||
u_int disable_msi; | u_int disable_msi; | ||||
u_int msi_msgs; | |||||
int tm_cmds_active; | int tm_cmds_active; | ||||
int io_cmds_active; | int io_cmds_active; | ||||
int io_cmds_highwater; | int io_cmds_highwater; | ||||
int chain_free; | int chain_free; | ||||
int max_chains; | int max_chains; | ||||
int max_io_pages; | int max_io_pages; | ||||
int chain_free_lowwater; | int chain_free_lowwater; | ||||
u_int enable_ssu; | u_int enable_ssu; | ||||
▲ Show 20 Lines • Show All 381 Lines • ▼ Show 20 Lines | mps_unmask_intr(struct mps_softc *sc) | ||||
mask = mps_regread(sc, MPI2_HOST_INTERRUPT_MASK_OFFSET); | mask = mps_regread(sc, MPI2_HOST_INTERRUPT_MASK_OFFSET); | ||||
mask &= ~MPI2_HIM_REPLY_INT_MASK; | mask &= ~MPI2_HIM_REPLY_INT_MASK; | ||||
mps_regwrite(sc, MPI2_HOST_INTERRUPT_MASK_OFFSET, mask); | mps_regwrite(sc, MPI2_HOST_INTERRUPT_MASK_OFFSET, mask); | ||||
} | } | ||||
int mps_pci_setup_interrupts(struct mps_softc *sc); | int mps_pci_setup_interrupts(struct mps_softc *sc); | ||||
int mps_pci_restore(struct mps_softc *sc); | int mps_pci_restore(struct mps_softc *sc); | ||||
void mps_get_tunables(struct mps_softc *sc); | |||||
int mps_attach(struct mps_softc *sc); | int mps_attach(struct mps_softc *sc); | ||||
int mps_free(struct mps_softc *sc); | int mps_free(struct mps_softc *sc); | ||||
void mps_intr(void *); | void mps_intr(void *); | ||||
void mps_intr_msi(void *); | void mps_intr_msi(void *); | ||||
void mps_intr_locked(void *); | void mps_intr_locked(void *); | ||||
int mps_register_events(struct mps_softc *, u32 *, mps_evt_callback_t *, | int mps_register_events(struct mps_softc *, u32 *, mps_evt_callback_t *, | ||||
void *, struct mps_event_handle **); | void *, struct mps_event_handle **); | ||||
int mps_restart(struct mps_softc *); | int mps_restart(struct mps_softc *); | ||||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |