sunscpal_softc
CFATTACH_DECL_NEW(sc_mbmem, sizeof(struct sunscpal_softc),
struct sunscpal_softc *sc = device_private(self);
struct sunscpal_softc *sc = arg;
static void sunscpal_reset_scsibus(struct sunscpal_softc *);
static void sunscpal_sched(struct sunscpal_softc *);
static void sunscpal_done(struct sunscpal_softc *);
static int sunscpal_select(struct sunscpal_softc *, struct sunscpal_req *);
static void sunscpal_reselect(struct sunscpal_softc *);
static int sunscpal_msg_in(struct sunscpal_softc *);
static int sunscpal_msg_out(struct sunscpal_softc *);
static int sunscpal_data_xfer(struct sunscpal_softc *, int);
static int sunscpal_command(struct sunscpal_softc *);
static int sunscpal_status(struct sunscpal_softc *);
static void sunscpal_machine(struct sunscpal_softc *);
sunscpal_reselect(struct sunscpal_softc *sc)
void sunscpal_abort(struct sunscpal_softc *);
sunscpal_select(struct sunscpal_softc *sc, struct sunscpal_req *sr)
sunscpal_msg_in(struct sunscpal_softc *sc)
sunscpal_msg_out(struct sunscpal_softc *sc)
sunscpal_command(struct sunscpal_softc *sc)
sunscpal_data_xfer(struct sunscpal_softc *sc, int phase)
sunscpal_status(struct sunscpal_softc *sc)
sunscpal_machine(struct sunscpal_softc *sc)
static void sunscpal_dma_alloc(struct sunscpal_softc *);
static void sunscpal_dma_free(struct sunscpal_softc *);
static void sunscpal_dma_setup(struct sunscpal_softc *);
struct sunscpal_softc *sc;
static inline int sunscpal_wait_req(struct sunscpal_softc *);
static inline int sunscpal_wait_not_req(struct sunscpal_softc *);
static inline void sunscpal_sched_msgout(struct sunscpal_softc *, int);
sunscpal_attach(struct sunscpal_softc *sc, int options)
static inline int sunscpal_wait_req(struct sunscpal_softc *sc)
sunscpal_detach(struct sunscpal_softc *sc, int flags)
sunscpal_dma_alloc(struct sunscpal_softc *sc)
sunscpal_dma_free(struct sunscpal_softc *sc)
sunscpal_dma_setup(struct sunscpal_softc *sc)
static inline int sunscpal_wait_not_req(struct sunscpal_softc *sc)
static void sunscpal_dma_start(struct sunscpal_softc *);
static void sunscpal_dma_poll(struct sunscpal_softc *);
static void sunscpal_dma_stop(struct sunscpal_softc *);
sunscpal_dma_start(struct sunscpal_softc *sc)
sunscpal_dma_poll(struct sunscpal_softc *sc)
sunscpal_dma_stop(struct sunscpal_softc *sc)
sunscpal_sched_msgout(struct sunscpal_softc *sc, int msg_code)
sunscpal_pio_out(struct sunscpal_softc *sc, int phase, int count, uint8_t *data)
sunscpal_pio_in(struct sunscpal_softc *sc, int phase, int count, uint8_t *data)
sunscpal_init(struct sunscpal_softc *sc)
sunscpal_reset_scsibus(struct sunscpal_softc *sc)
struct sunscpal_softc *sc = arg;
sunscpal_abort(struct sunscpal_softc *sc)
struct sunscpal_softc *sc;
struct sunscpal_softc *sc;
sunscpal_done(struct sunscpal_softc *sc)
sunscpal_sched(struct sunscpal_softc *sc)
void (*sc_dma_alloc)(struct sunscpal_softc *);
void (*sc_dma_free)(struct sunscpal_softc *);
void (*sc_dma_setup)(struct sunscpal_softc *);
void (*sc_intr_on)(struct sunscpal_softc *);
void (*sc_intr_off)(struct sunscpal_softc *);
void sunscpal_attach(struct sunscpal_softc *, int);
int sunscpal_detach(struct sunscpal_softc *, int);
int sunscpal_pio_in(struct sunscpal_softc *, int, int, uint8_t *);
int sunscpal_pio_out(struct sunscpal_softc *, int, int, uint8_t *);
void sunscpal_init(struct sunscpal_softc *);
struct sunscpal_softc *sunscpal_debug_sc;
CFATTACH_DECL_NEW(sc_vme, sizeof(struct sunscpal_softc),
struct sunscpal_softc *sc = device_private(self);
struct sunscpal_softc *sc = arg;