ncr53c9x_softc
struct ncr53c9x_softc *nsc = sc->sc_client;
/*static*/ void ncr53c9x_sched(struct ncr53c9x_softc *);
/*static*/ void ncr53c9x_done(struct ncr53c9x_softc *,
/*static*/ void ncr53c9x_msgin(struct ncr53c9x_softc *);
/*static*/ void ncr53c9x_msgout(struct ncr53c9x_softc *);
ncr53c9x_sense(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb)
/*static*/ void ncr53c9x_abort(struct ncr53c9x_softc *,
/*static*/ void ncr53c9x_dequeue(struct ncr53c9x_softc *,
ncr53c9x_done(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb)
void ncr53c9x_sense(struct ncr53c9x_softc *,
ncr53c9x_dequeue(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb)
static inline int ncr53c9x_stp2cpb(struct ncr53c9x_softc *, int);
static inline void ncr53c9x_setsync(struct ncr53c9x_softc *,
ncr53c9x_flushfifo(struct ncr53c9x_softc *sc)
static void ncr53c9x_wrfifo(struct ncr53c9x_softc *, u_char *, int);
ncr53c9x_rdfifo(struct ncr53c9x_softc *sc, int how)
static int ncr53c9x_rdfifo(struct ncr53c9x_softc *, int);
ncr53c9x_wrfifo(struct ncr53c9x_softc *sc, u_char *p, int len)
ncr53c9x_reselect(struct ncr53c9x_softc *sc, int message, int tagtype,
ncr53c9x_msgin(struct ncr53c9x_softc *sc)
ncr53c9x_msgout(struct ncr53c9x_softc *sc)
ncr53c9x_attach(struct ncr53c9x_softc *sc)
struct ncr53c9x_softc *sc = arg;
ncr53c9x_abort(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb)
struct ncr53c9x_softc *sc = sc_link->bus->sb_adapter_softc;
ncr53c9x_reset(struct ncr53c9x_softc *sc)
ncr53c9x_scsi_reset(struct ncr53c9x_softc *sc)
ncr53c9x_init(struct ncr53c9x_softc *sc, int doreset)
ncr53c9x_readregs(struct ncr53c9x_softc *sc)
ncr53c9x_stp2cpb(struct ncr53c9x_softc *sc, int period)
ncr53c9x_setsync(struct ncr53c9x_softc *sc, struct ncr53c9x_tinfo *ti)
ncr53c9x_select(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb)
struct ncr53c9x_softc *sc = sc_link->bus->sb_adapter_softc;
struct ncr53c9x_softc *sc = sc_link->bus->sb_adapter_softc;
struct ncr53c9x_softc *sc = sc_link->bus->sb_adapter_softc;
ncr53c9x_poll(struct ncr53c9x_softc *sc, struct scsi_xfer *xs, int count)
ncr53c9x_sched(struct ncr53c9x_softc *sc)
/*static*/ void ncr53c9x_readregs(struct ncr53c9x_softc *);
/*static*/ void ncr53c9x_select(struct ncr53c9x_softc *,
/*static*/ int ncr53c9x_reselect(struct ncr53c9x_softc *, int, int, int);
/*static*/ void ncr53c9x_scsi_reset(struct ncr53c9x_softc *);
/*static*/ int ncr53c9x_poll(struct ncr53c9x_softc *,
struct ncr53c9x_softc;
u_char (*gl_read_reg)(struct ncr53c9x_softc *, int);
void (*gl_write_reg)(struct ncr53c9x_softc *, int, u_char);
int (*gl_dma_isintr)(struct ncr53c9x_softc *);
void (*gl_dma_reset)(struct ncr53c9x_softc *);
int (*gl_dma_intr)(struct ncr53c9x_softc *);
int (*gl_dma_setup)(struct ncr53c9x_softc *,
void (*gl_dma_go)(struct ncr53c9x_softc *);
void (*gl_dma_stop)(struct ncr53c9x_softc *);
int (*gl_dma_isactive)(struct ncr53c9x_softc *);
void (*gl_clear_latched_intr)(struct ncr53c9x_softc *);
void ncr53c9x_attach(struct ncr53c9x_softc *);
void ncr53c9x_reset(struct ncr53c9x_softc *);
void ncr53c9x_init(struct ncr53c9x_softc *, int);
u_char pcscp_read_reg(struct ncr53c9x_softc *, int);
void pcscp_write_reg(struct ncr53c9x_softc *, int, u_char);
int pcscp_dma_isintr(struct ncr53c9x_softc *);
void pcscp_dma_reset(struct ncr53c9x_softc *);
int pcscp_dma_intr(struct ncr53c9x_softc *);
int pcscp_dma_setup(struct ncr53c9x_softc *, caddr_t *,
void pcscp_dma_go(struct ncr53c9x_softc *);
void pcscp_dma_stop(struct ncr53c9x_softc *);
int pcscp_dma_isactive(struct ncr53c9x_softc *);
struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
pcscp_read_reg(struct ncr53c9x_softc *sc, int reg)
pcscp_write_reg(struct ncr53c9x_softc *sc, int reg, u_char v)
pcscp_dma_isintr(struct ncr53c9x_softc *sc)
pcscp_dma_reset(struct ncr53c9x_softc *sc)
pcscp_dma_intr(struct ncr53c9x_softc *sc)
pcscp_dma_setup(struct ncr53c9x_softc *sc, caddr_t *addr, size_t *len,
pcscp_dma_go(struct ncr53c9x_softc *sc)
pcscp_dma_stop(struct ncr53c9x_softc *sc)
pcscp_dma_isactive(struct ncr53c9x_softc *sc)
struct ncr53c9x_softc sc_ncr53c9x; /* glue to MI code */
struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
esp_read_reg(struct ncr53c9x_softc *sc, int reg)
esp_write_reg(struct ncr53c9x_softc *sc, int reg, u_char v)
esp_rdreg1(struct ncr53c9x_softc *sc, int reg)
esp_wrreg1(struct ncr53c9x_softc *sc, int reg, u_char v)
esp_dma_isintr(struct ncr53c9x_softc *sc)
esp_dma_reset(struct ncr53c9x_softc *sc)
struct ncr53c9x_softc sc_ncr53c9x; /* glue to MI code */
esp_dma_intr(struct ncr53c9x_softc *sc)
esp_dma_setup(struct ncr53c9x_softc *sc, caddr_t *addr, size_t *len,
esp_dma_go(struct ncr53c9x_softc *sc)
esp_dma_stop(struct ncr53c9x_softc *sc)
esp_dma_isactive(struct ncr53c9x_softc *sc)
struct ncr53c9x_softc *sc;
sc = (struct ncr53c9x_softc *)
static u_char esp_read_reg(struct ncr53c9x_softc *, int);
static void esp_write_reg(struct ncr53c9x_softc *, int, u_char);
static u_char esp_rdreg1(struct ncr53c9x_softc *, int);
static void esp_wrreg1(struct ncr53c9x_softc *, int, u_char);
static int esp_dma_isintr(struct ncr53c9x_softc *);
static void esp_dma_reset(struct ncr53c9x_softc *);
static int esp_dma_intr(struct ncr53c9x_softc *);
static int esp_dma_setup(struct ncr53c9x_softc *, caddr_t *,
static void esp_dma_go(struct ncr53c9x_softc *);
static void esp_dma_stop(struct ncr53c9x_softc *);
static int esp_dma_isactive(struct ncr53c9x_softc *);
asc_read_reg(struct ncr53c9x_softc *sc, int reg)
asc_write_reg(struct ncr53c9x_softc *sc, int reg, u_char val)
struct ncr53c9x_softc *sc = &asc->asc.sc_ncr53c9x;
asc_tc_reset(struct ncr53c9x_softc *sc)
asc_tc_intr(struct ncr53c9x_softc *sc)
asc_tc_setup(struct ncr53c9x_softc *sc, caddr_t *addr, size_t *len, int datain,
asc_tc_go(struct ncr53c9x_softc *sc)
asc_tc_stop(struct ncr53c9x_softc *sc)
asc_dma_isintr(struct ncr53c9x_softc *sc)
asc_dma_isactive(struct ncr53c9x_softc *sc)
asc_clear_latched_intr(struct ncr53c9x_softc *sc)
int asc_dma_isintr(struct ncr53c9x_softc *);
void asc_tc_reset(struct ncr53c9x_softc *);
int asc_tc_intr(struct ncr53c9x_softc *);
int asc_tc_setup(struct ncr53c9x_softc *, caddr_t *,
void asc_tc_go(struct ncr53c9x_softc *);
void asc_tc_stop(struct ncr53c9x_softc *);
int asc_dma_isactive(struct ncr53c9x_softc *);
void asc_clear_latched_intr(struct ncr53c9x_softc *);
int tcds_dma_isactive(struct ncr53c9x_softc *);
void tcds_clear_latched_intr(struct ncr53c9x_softc *);
struct ncr53c9x_softc *sc = &asc->asc.sc_ncr53c9x;
tcds_dma_reset(struct ncr53c9x_softc *sc)
tcds_dma_setup(struct ncr53c9x_softc *sc, caddr_t *addr, size_t *len,
tcds_dma_go(struct ncr53c9x_softc *sc)
tcds_dma_stop(struct ncr53c9x_softc *sc)
tcds_dma_intr(struct ncr53c9x_softc *sc)
tcds_dma_isintr(struct ncr53c9x_softc *sc)
tcds_dma_isactive(struct ncr53c9x_softc *sc)
tcds_clear_latched_intr(struct ncr53c9x_softc *sc)
int tcds_dma_isintr(struct ncr53c9x_softc *);
void tcds_dma_reset(struct ncr53c9x_softc *);
int tcds_dma_intr(struct ncr53c9x_softc *);
int tcds_dma_setup(struct ncr53c9x_softc *, caddr_t *,
void tcds_dma_go(struct ncr53c9x_softc *);
void tcds_dma_stop(struct ncr53c9x_softc *);
u_char asc_read_reg(struct ncr53c9x_softc *, int);
void asc_write_reg(struct ncr53c9x_softc *, int, u_char);
struct ncr53c9x_softc sc_ncr53c9x; /* glue to MI code */