aac_softc
static void aac_describe_controller(struct aac_softc *);
static int aac_dequeue_fib(struct aac_softc *, int, u_int32_t *,
static int aac_enqueue_fib(struct aac_softc *, int, struct aac_ccb *);
static int aac_enqueue_response(struct aac_softc *, int, struct aac_fib *);
static void aac_host_command(struct aac_softc *);
aac_host_command(struct aac_softc *sc)
static void aac_host_response(struct aac_softc *);
static int aac_init(struct aac_softc *);
static void aac_startup(struct aac_softc *);
static int aac_sync_command(struct aac_softc *, u_int32_t, u_int32_t,
aac_host_response(struct aac_softc *sc)
static int aac_sync_fib(struct aac_softc *, u_int32_t, u_int32_t, void *,
static void aac_print_fib(struct aac_softc *, struct aac_fib *, const char *);
aac_sync_command(struct aac_softc *sc, u_int32_t command, u_int32_t arg0,
aac_sync_fib(struct aac_softc *sc, u_int32_t command, u_int32_t xferstate,
aac_ccb_alloc(struct aac_softc *sc, int flags)
aac_ccb_free(struct aac_softc *sc, struct aac_ccb *ac)
aac_ccb_map(struct aac_softc *sc, struct aac_ccb *ac)
aac_ccb_unmap(struct aac_softc *sc, struct aac_ccb *ac)
aac_ccb_enqueue(struct aac_softc *sc, struct aac_ccb *ac)
aac_ccb_submit(struct aac_softc *sc, struct aac_ccb *ac)
aac_ccb_poll(struct aac_softc *sc, struct aac_ccb *ac, int timo)
aac_attach(struct aac_softc *sc)
aac_enqueue_fib(struct aac_softc *sc, int queue, struct aac_ccb *ac)
aac_dequeue_fib(struct aac_softc *sc, int queue, u_int32_t *fib_size,
aac_enqueue_response(struct aac_softc *sc, int queue, struct aac_fib *fib)
aac_print_fib(struct aac_softc *sc, struct aac_fib *fib,
aac_devscan(struct aac_softc *sc)
aac_alloc_commands(struct aac_softc *sc)
aac_free_commands(struct aac_softc *sc)
aac_describe_controller(struct aac_softc *sc)
aac_check_firmware(struct aac_softc *sc)
aac_init(struct aac_softc *sc)
aac_startup(struct aac_softc *sc)
struct aac_softc *sc;
struct aac_softc *sc;
sc = (struct aac_softc *) cookie;
static int aac_alloc_commands(struct aac_softc *);
static void aac_free_commands(struct aac_softc *);
static int aac_check_firmware(struct aac_softc *);
struct aac_softc *sc;
int (*aif_get_fwstatus)(struct aac_softc *);
void (*aif_qnotify)(struct aac_softc *, int);
int (*aif_get_istatus)(struct aac_softc *);
void (*aif_set_istatus)(struct aac_softc *, int);
void (*aif_set_mailbox)(struct aac_softc *, u_int32_t,
uint32_t (*aif_get_mailbox)(struct aac_softc *, int);
void (*aif_set_interrupts)(struct aac_softc *, int);
int (*aif_send_command)(struct aac_softc *, struct aac_ccb *);
int (*aif_get_outb_queue)(struct aac_softc *);
void (*aif_set_outb_queue)(struct aac_softc *, int);
int (*sc_intr_set)(struct aac_softc *,
int aac_attach(struct aac_softc *);
int aac_devscan(struct aac_softc *);
void aac_ccb_enqueue(struct aac_softc *, struct aac_ccb *);
void aac_ccb_free(struct aac_softc *, struct aac_ccb *);
struct aac_ccb *aac_ccb_alloc(struct aac_softc *, int);
int aac_ccb_map(struct aac_softc *, struct aac_ccb *);
int aac_ccb_poll(struct aac_softc *, struct aac_ccb *, int);
int aac_ccb_submit(struct aac_softc *, struct aac_ccb *);
void aac_ccb_unmap(struct aac_softc *, struct aac_ccb *);
struct aac_softc;
struct aac_softc *aac;
struct aac_softc *aac;
struct aac_softc *aac = device_private(parent);
static uint32_t aac_rx_get_mailbox(struct aac_softc *, int);
static void aac_rx_set_interrupts(struct aac_softc *, int);
static int aac_rx_send_command(struct aac_softc *, struct aac_ccb *);
static int aac_rx_get_outb_queue(struct aac_softc *);
static void aac_rx_set_outb_queue(struct aac_softc *, int);
static int aac_sa_get_fwstatus(struct aac_softc *);
static void aac_sa_qnotify(struct aac_softc *, int);
static int aac_sa_get_istatus(struct aac_softc *);
static void aac_sa_clear_istatus(struct aac_softc *, int);
static void aac_sa_set_mailbox(struct aac_softc *, u_int32_t, u_int32_t,
static uint32_t aac_sa_get_mailbox(struct aac_softc *, int);
static void aac_sa_set_interrupts(struct aac_softc *, int);
static int aac_rkt_get_fwstatus(struct aac_softc *);
static void aac_rkt_qnotify(struct aac_softc *, int);
static int aac_rkt_get_istatus(struct aac_softc *);
static void aac_rkt_clear_istatus(struct aac_softc *, int);
static void aac_rkt_set_mailbox(struct aac_softc *, u_int32_t, u_int32_t,
static uint32_t aac_rkt_get_mailbox(struct aac_softc *, int);
static void aac_rkt_set_interrupts(struct aac_softc *, int);
static int aac_rkt_send_command(struct aac_softc *, struct aac_ccb *);
static int aac_rkt_get_outb_queue(struct aac_softc *);
static void aac_rkt_set_outb_queue(struct aac_softc *, int);
aac_pci_intr_set(struct aac_softc *sc, int (*hand)(void*), void *arg)
struct aac_softc *sc;
aac_sa_get_fwstatus(struct aac_softc *sc)
aac_rx_get_fwstatus(struct aac_softc *sc)
aac_rkt_get_fwstatus(struct aac_softc *sc)
aac_sa_qnotify(struct aac_softc *sc, int qbit)
aac_rx_qnotify(struct aac_softc *sc, int qbit)
aac_rkt_qnotify(struct aac_softc *sc, int qbit)
aac_sa_get_istatus(struct aac_softc *sc)
aac_rx_get_istatus(struct aac_softc *sc)
aac_rkt_get_istatus(struct aac_softc *sc)
aac_sa_clear_istatus(struct aac_softc *sc, int mask)
aac_rx_clear_istatus(struct aac_softc *sc, int mask)
aac_rkt_clear_istatus(struct aac_softc *sc, int mask)
aac_sa_set_mailbox(struct aac_softc *sc, u_int32_t command,
aac_rx_set_mailbox(struct aac_softc *sc, u_int32_t command,
aac_rkt_set_mailbox(struct aac_softc *sc, u_int32_t command,
aac_sa_get_mailbox(struct aac_softc *sc, int mb)
aac_rx_get_mailbox(struct aac_softc *sc, int mb)
aac_rkt_get_mailbox(struct aac_softc *sc, int mb)
aac_sa_set_interrupts(struct aac_softc *sc, int enable)
aac_rx_set_interrupts(struct aac_softc *sc, int enable)
aac_rkt_set_interrupts(struct aac_softc *sc, int enable)
aac_rx_send_command(struct aac_softc *sc, struct aac_ccb *ac)
struct aac_softc sc_aac;
aac_rkt_send_command(struct aac_softc *sc, struct aac_ccb *ac)
aac_rx_get_outb_queue(struct aac_softc *sc)
aac_rkt_get_outb_queue(struct aac_softc *sc)
aac_rx_set_outb_queue(struct aac_softc *sc, int index)
static int aac_rx_get_fwstatus(struct aac_softc *);
aac_rkt_set_outb_queue(struct aac_softc *sc, int index)
static void aac_rx_qnotify(struct aac_softc *, int);
static int aac_rx_get_istatus(struct aac_softc *);
static void aac_rx_clear_istatus(struct aac_softc *, int);
static void aac_rx_set_mailbox(struct aac_softc *, u_int32_t, u_int32_t,