ahb_softc
static void ahb_attach_critical(struct ahb_softc *);
CFATTACH_DECL_NEW(ahb, sizeof(struct ahb_softc),
static struct ahb_softc *ahb_sc;
struct ahb_softc *sc = device_private(self);
ahb_attach_critical(struct ahb_softc *sc)
static void ahb_send_mbox(struct ahb_softc *, int, struct ahb_ecb *);
static void ahb_send_immed(struct ahb_softc *, u_int32_t, struct ahb_ecb *);
static void ahb_free_ecb(struct ahb_softc *, struct ahb_ecb *);
static struct ahb_ecb *ahb_get_ecb(struct ahb_softc *);
static struct ahb_ecb *ahb_ecb_lookup(struct ahb_softc *, uint32_t);
static void ahb_done(struct ahb_softc *, struct ahb_ecb *);
static int ahb_init(struct ahb_softc *);
static int ahb_poll(struct ahb_softc *, struct scsipi_xfer *, int);
static int ahb_create_ecbs(struct ahb_softc *, struct ahb_ecb *, int);
static int ahb_init_ecb(struct ahb_softc *, struct ahb_ecb *);
CFATTACH_DECL_NEW(ahb, sizeof(struct ahb_softc),
struct ahb_softc *sc = device_private(self);
ahb_send_mbox(struct ahb_softc *sc, int opcode, struct ahb_ecb *ecb)
ahb_send_immed(struct ahb_softc *sc, u_int32_t cmd, struct ahb_ecb *ecb)
struct ahb_softc *sc = arg;
ahb_reset_ecb(struct ahb_softc *sc, struct ahb_ecb *ecb)
ahb_free_ecb(struct ahb_softc *sc, struct ahb_ecb *ecb)
ahb_init_ecb(struct ahb_softc *sc, struct ahb_ecb *ecb)
ahb_create_ecbs(struct ahb_softc *sc, struct ahb_ecb *ecbstore, int count)
ahb_get_ecb(struct ahb_softc *sc)
ahb_ecb_lookup(struct ahb_softc *sc, uint32_t ecb_phys)
ahb_done(struct ahb_softc *sc, struct ahb_ecb *ecb)
ahb_init(struct ahb_softc *sc)
struct ahb_softc *sc = device_private(chan->chan_adapter->adapt_dev);
ahb_poll(struct ahb_softc *sc, struct scsipi_xfer *xs, int count)
struct ahb_softc *sc =