amr_softc
amr_enquiry(struct amr_softc *sc, size_t bufsize, u_int8_t cmd, u_int8_t cmdsub, u_int8_t cmdqual, int *status)
amr_flush(struct amr_softc *sc)
static int amr_query_controller(struct amr_softc *sc);
amr_support_ext_cdb(struct amr_softc *sc)
static void *amr_enquiry(struct amr_softc *sc, size_t bufsize,
static int amr_support_ext_cdb(struct amr_softc *sc);
amr_startio(struct amr_softc *sc)
struct amr_softc *sc = ac->ac_sc;
static void amr_alloccmd_cluster(struct amr_softc *sc);
amr_bio_command(struct amr_softc *sc, struct amr_command **acp)
static int amr_bio_command(struct amr_softc *sc, struct amr_command **acp);
struct amr_softc *sc = ac->ac_sc;
struct amr_softc *sc = ac->ac_sc;
struct amr_softc *sc = ac->ac_sc;
struct amr_softc *sc = ac->ac_sc;
static int amr_quartz_get_work(struct amr_softc *sc, struct amr_mailbox *mbsave);
static int amr_quartz_poll_command1(struct amr_softc *sc, struct amr_command *ac);
amr_quartz_poll_command1(struct amr_softc *sc, struct amr_command *ac)
static int amr_std_get_work(struct amr_softc *sc, struct amr_mailbox *mbsave);
static void amr_std_attach_mailbox(struct amr_softc *sc);
struct amr_softc *sc = ac->ac_sc;
static int amr_quartz_init(struct amr_softc *sc);
static int amr_std_init(struct amr_softc *sc);
struct amr_softc *sc = ac->ac_sc;
static void amr_describe_controller(struct amr_softc *sc);
struct amr_softc *sc = ac->ac_sc;
struct amr_softc *sc = ac->ac_sc;
static void amr_init_sysctl(struct amr_softc *sc);
struct amr_softc *sc = ac->ac_sc;
struct amr_softc *sc;
amr_done(struct amr_softc *sc)
struct amr_softc *sc = (struct amr_softc *)context;
amr_attach(struct amr_softc *sc)
amr_alloccmd(struct amr_softc *sc)
amr_alloccmd_cluster(struct amr_softc *sc)
struct amr_softc *sc = acc->acc_command[0].ac_sc;
struct amr_softc *sc = ac->ac_sc;
struct amr_softc *sc = ac->ac_sc;
amr_quartz_get_work(struct amr_softc *sc, struct amr_mailbox *mbsave)
amr_std_get_work(struct amr_softc *sc, struct amr_mailbox *mbsave)
amr_std_attach_mailbox(struct amr_softc *sc)
amr_quartz_init(struct amr_softc *sc)
amr_std_init(struct amr_softc *sc)
amr_describe_controller(struct amr_softc *sc)
amr_dump_blocks(struct amr_softc *sc, int unit, u_int32_t lba, void *data, int blks)
struct amr_softc *sc = ac->ac_sc;
struct amr_softc *sc = (struct amr_softc *)arg;
amr_init_sysctl(struct amr_softc *sc)
amr_free(struct amr_softc *sc)
amr_submit_bio(struct amr_softc *sc, struct bio *bio)
struct amr_softc *sc = devclass_get_softc(devclass_find("amr"), unit);
struct amr_softc *sc = devclass_get_softc(devclass_find("amr"), unit);
struct amr_softc *sc = (struct amr_softc *)dev->si_drv1;
struct amr_softc *sc = (struct amr_softc *)dev->si_drv1;
struct amr_softc *sc = (struct amr_softc *)dev->si_drv1;
amr_query_controller(struct amr_softc *sc)
amr_enqueue_ccb(struct amr_softc *sc, union ccb *ccb)
amr_requeue_ccb(struct amr_softc *sc, union ccb *ccb)
amr_dequeue_ccb(struct amr_softc *sc)
struct amr_softc *sc;
struct amr_softc *sc;
struct amr_softc *sc = cam_sim_softc(sim);
amr_cam_command(struct amr_softc *sc, struct amr_command **acp)
static int amr_cam_command(struct amr_softc *sc, struct amr_command **acp);
struct amr_softc *amr_sc;
amr_sc = (struct amr_softc *)amrd_sc->amrd_controller;
sc->amrd_controller = (struct amr_softc *)device_get_softc(parent);
sizeof(struct amr_softc)
struct amr_softc *sc;
struct amr_softc *sc = device_get_softc(dev);
struct amr_softc *sc = device_get_softc(dev);
struct amr_softc *sc = device_get_softc(dev);
struct amr_softc *sc = device_get_softc(dev);
struct amr_softc *sc = (struct amr_softc *)arg;
amr_pci_free(struct amr_softc *sc)
amr_sglist_map(struct amr_softc *sc)
amr_setup_mbox(struct amr_softc *sc)
amr_ccb_map(struct amr_softc *sc)
static void amr_pci_free(struct amr_softc *sc);
static int amr_sglist_map(struct amr_softc *sc);
static int amr_setup_mbox(struct amr_softc *sc);
static int amr_ccb_map(struct amr_softc *sc);
struct amr_softc *ac_sc;
int (* amr_get_work)(struct amr_softc *sc, struct amr_mailbox *mbsave);
int (*amr_poll_command1)(struct amr_softc *sc, struct amr_command *ac);
int (*amr_cam_command)(struct amr_softc *sc, struct amr_command **acp);
extern int amr_attach(struct amr_softc *sc);
extern void amr_free(struct amr_softc *sc);
extern int amr_flush(struct amr_softc *sc);
extern int amr_done(struct amr_softc *sc);
extern void amr_startio(struct amr_softc *sc);
extern struct amr_command *amr_alloccmd(struct amr_softc *sc);
struct amr_softc *amrd_controller;
extern int amr_submit_bio(struct amr_softc *sc, struct bio *bio);
extern int amr_dump_blocks(struct amr_softc *sc, int unit, u_int32_t lba, void *data, int blks);
amr_enqueue_bio(struct amr_softc *sc, struct bio *bio)
amr_dequeue_bio(struct amr_softc *sc)
amr_dequeue_ready(struct amr_softc *sc)
amr_dequeue_completed(struct amr_softc *sc, ac_qhead_t *head)
amr_dequeue_free(struct amr_softc *sc)