Lines Matching defs:ahb_softc
87 struct ahb_softc {
118 static void ahb_send_mbox(struct ahb_softc *, int, struct ahb_ecb *);
119 static void ahb_send_immed(struct ahb_softc *, u_int32_t, struct ahb_ecb *);
121 static void ahb_free_ecb(struct ahb_softc *, struct ahb_ecb *);
122 static struct ahb_ecb *ahb_get_ecb(struct ahb_softc *);
123 static struct ahb_ecb *ahb_ecb_lookup(struct ahb_softc *, uint32_t);
124 static void ahb_done(struct ahb_softc *, struct ahb_ecb *);
127 static int ahb_init(struct ahb_softc *);
131 static int ahb_poll(struct ahb_softc *, struct scsipi_xfer *, int);
133 static int ahb_create_ecbs(struct ahb_softc *, struct ahb_ecb *, int);
135 static int ahb_init_ecb(struct ahb_softc *, struct ahb_ecb *);
140 CFATTACH_DECL_NEW(ahb, sizeof(struct ahb_softc),
188 struct ahb_softc *sc = device_private(self);
279 ahb_send_mbox(struct ahb_softc *sc, int opcode, struct ahb_ecb *ecb)
309 ahb_send_immed(struct ahb_softc *sc, u_int32_t cmd, struct ahb_ecb *ecb)
342 struct ahb_softc *sc = arg;
411 ahb_reset_ecb(struct ahb_softc *sc, struct ahb_ecb *ecb)
422 ahb_free_ecb(struct ahb_softc *sc, struct ahb_ecb *ecb)
436 ahb_init_ecb(struct ahb_softc *sc, struct ahb_ecb *ecb)
466 ahb_create_ecbs(struct ahb_softc *sc, struct ahb_ecb *ecbstore, int count)
492 ahb_get_ecb(struct ahb_softc *sc)
511 ahb_ecb_lookup(struct ahb_softc *sc, uint32_t ecb_phys)
529 ahb_done(struct ahb_softc *sc, struct ahb_ecb *ecb)
712 ahb_init(struct ahb_softc *sc)
790 struct ahb_softc *sc = device_private(chan->chan_adapter->adapt_dev);
971 ahb_poll(struct ahb_softc *sc, struct scsipi_xfer *xs, int count)
997 struct ahb_softc *sc =