Home | History | Annotate | Download | only in eisa

Lines Matching refs:ahb_ecb

96 	struct ahb_ecb *sc_ecbs;	/* all our ecbs */
98 struct ahb_ecb *sc_ecbhash[ECB_HASH_SIZE];
99 TAILQ_HEAD(, ahb_ecb) sc_free_ecb;
100 struct ahb_ecb *sc_immed_ecb; /* an outstanding immediete command */
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 *);
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 *);
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)
345 struct ahb_ecb *ecb;
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)
468 struct ahb_ecb *ecb;
471 memset(ecbstore, 0, sizeof(struct ahb_ecb) * count);
491 static struct ahb_ecb *
494 struct ahb_ecb *ecb;
510 static struct ahb_ecb *
514 struct ahb_ecb *ecb = sc->sc_ecbhash[hashnum];
529 ahb_done(struct ahb_softc *sc, struct ahb_ecb *ecb)
538 AHB_ECB_OFF(ecb), sizeof(struct ahb_ecb),
717 #define ECBSIZE (AHB_ECB_MAX * sizeof(struct ahb_ecb))
792 struct ahb_ecb *ecb;
866 offsetof(struct ahb_ecb, ecb_sense);
869 offsetof(struct ahb_ecb, ecb_status);
926 offsetof(struct ahb_ecb, ahb_dma);
937 AHB_ECB_OFF(ecb), sizeof(struct ahb_ecb),
994 struct ahb_ecb *ecb = arg;