qla_softc
int qla_add_loop_port(struct qla_softc *, struct qla_fc_port *);
int qla_add_fabric_port(struct qla_softc *, struct qla_fc_port *);
int qla_add_logged_in_port(struct qla_softc *, int, u_int32_t);
int qla_classify_port(struct qla_softc *, u_int32_t, u_int64_t,
int qla_get_loop_id(struct qla_softc *sc, int);
void qla_clear_port_lists(struct qla_softc *);
int qla_softreset(struct qla_softc *);
qla_read(struct qla_softc *sc, bus_size_t offset)
void qla_update_topology(struct qla_softc *);
qla_write(struct qla_softc *sc, bus_size_t offset, u_int16_t value)
int qla_update_fabric(struct qla_softc *);
qla_read_mbox(struct qla_softc *sc, int mbox)
int qla_fabric_plogi(struct qla_softc *, struct qla_fc_port *);
qla_write_mbox(struct qla_softc *sc, int mbox, u_int16_t value)
qla_host_cmd(struct qla_softc *sc, u_int16_t cmd)
void qla_fabric_plogo(struct qla_softc *, struct qla_fc_port *);
qla_mbox(struct qla_softc *sc, int maskin)
void qla_update_start(struct qla_softc *, int);
int qla_async(struct qla_softc *, u_int16_t);
int qla_verify_firmware(struct qla_softc *sc, u_int16_t);
int qla_load_firmware_words(struct qla_softc *, const u_int16_t *,
qla_sns_req(struct qla_softc *sc, struct qla_dmamem *mem, int reqsize)
int qla_load_firmware_2100(struct qla_softc *);
int qla_load_firmware_2200(struct qla_softc *);
int qla_load_fwchunk_2300(struct qla_softc *,
qla_set_ints(struct qla_softc *sc, int enabled)
qla_read_isr_1G(struct qla_softc *sc, u_int16_t *isr, u_int16_t *info)
int qla_load_firmware_2300(struct qla_softc *);
int qla_load_firmware_2322(struct qla_softc *);
qla_read_isr_2G(struct qla_softc *sc, u_int16_t *isr, u_int16_t *info)
int qla_read_nvram(struct qla_softc *);
struct qla_dmamem *qla_dmamem_alloc(struct qla_softc *, size_t);
void qla_dmamem_free(struct qla_softc *, struct qla_dmamem *);
qla_clear_isr(struct qla_softc *sc, u_int16_t isr)
qla_read_queue_2100(struct qla_softc *sc, bus_size_t queue)
int qla_alloc_ccbs(struct qla_softc *);
void qla_free_ccbs(struct qla_softc *);
qla_softreset(struct qla_softc *sc)
void qla_dump_iocb(struct qla_softc *, void *);
void qla_dump_iocb_segs(struct qla_softc *, void *, int);
qla_update_topology(struct qla_softc *sc)
qla_update_fabric(struct qla_softc *sc)
qla_get_port_name_list(struct qla_softc *sc, u_int32_t match)
qla_next_fabric_port(struct qla_softc *sc, u_int32_t *firstport,
qla_fabric_plogi(struct qla_softc *sc, struct qla_fc_port *port)
qla_fabric_plogo(struct qla_softc *sc, struct qla_fc_port *port)
qla_update_done(struct qla_softc *sc, int task)
qla_update_start(struct qla_softc *sc, int task)
qla_clear_port_lists(struct qla_softc *sc)
struct qla_softc *sc = xsc;
qla_classify_port(struct qla_softc *sc, u_int32_t location,
qla_async(struct qla_softc *sc, u_int16_t info)
qla_dump_iocb(struct qla_softc *sc, void *buf)
qla_dump_iocb_segs(struct qla_softc *sc, void *segs, int n)
qla_put_marker(struct qla_softc *sc, void *buf)
qla_put_cmd(struct qla_softc *sc, void *buf, struct scsi_xfer *xs,
qla_get_loop_id(struct qla_softc *sc, int start)
qla_verify_firmware(struct qla_softc *sc, u_int16_t addr)
qla_load_firmware_words(struct qla_softc *sc, const u_int16_t *src,
qla_load_firmware_2100(struct qla_softc *sc)
qla_load_firmware_2200(struct qla_softc *sc)
qla_load_fwchunk_2300(struct qla_softc *sc, struct qla_dmamem *mem,
qla_load_firmware_2300(struct qla_softc *sc)
qla_load_firmware_2322(struct qla_softc *sc)
qla_read_nvram(struct qla_softc *sc)
qla_dmamem_alloc(struct qla_softc *sc, size_t size)
qla_get_port_db(struct qla_softc *sc, u_int16_t loopid, struct qla_dmamem *mem)
qla_dmamem_free(struct qla_softc *sc, struct qla_dmamem *m)
qla_alloc_ccbs(struct qla_softc *sc)
qla_free_ccbs(struct qla_softc *sc)
struct qla_softc *sc = xsc;
struct qla_softc *sc = xsc;
qla_add_loop_port(struct qla_softc *sc, struct qla_fc_port *port)
qla_add_fabric_port(struct qla_softc *sc, struct qla_fc_port *port)
qla_add_logged_in_port(struct qla_softc *sc, int loopid, u_int32_t portid)
qla_attach(struct qla_softc *sc)
int (*loadfirmware)(struct qla_softc *) = NULL;
u_int16_t qla_read(struct qla_softc *, bus_size_t);
void qla_write(struct qla_softc *, bus_size_t, u_int16_t);
void qla_host_cmd(struct qla_softc *sc, u_int16_t);
qla_detach(struct qla_softc *sc, int flags)
qla_handle_resp(struct qla_softc *sc, u_int16_t id)
u_int16_t qla_read_queue_2100(struct qla_softc *, bus_size_t);
int qla_mbox(struct qla_softc *, int);
int qla_sns_req(struct qla_softc *, struct qla_dmamem *, int);
u_int16_t qla_read_mbox(struct qla_softc *, int);
void qla_write_mbox(struct qla_softc *, int, u_int16_t);
void qla_handle_intr(struct qla_softc *, u_int16_t, u_int16_t);
void qla_set_ints(struct qla_softc *, int);
int qla_read_isr_1G(struct qla_softc *, u_int16_t *, u_int16_t *);
int qla_read_isr_2G(struct qla_softc *, u_int16_t *, u_int16_t *);
void qla_clear_isr(struct qla_softc *, u_int16_t);
qla_handle_intr(struct qla_softc *sc, u_int16_t isr, u_int16_t info)
void qla_update_start(struct qla_softc *, int);
void qla_update_done(struct qla_softc *, int);
void qla_put_marker(struct qla_softc *, void *);
void qla_put_cmd(struct qla_softc *, void *, struct scsi_xfer *,
struct qla_softc *sc = xsc;
struct qla_ccb *qla_handle_resp(struct qla_softc *, u_int16_t);
struct qla_softc *sc = link->bus->sb_adapter_softc;
int qla_get_port_name_list(struct qla_softc *, u_int32_t);
struct qla_softc *sc = link->bus->sb_adapter_softc;
struct qla_fc_port *qla_next_fabric_port(struct qla_softc *, u_int32_t *,
int qla_get_port_db(struct qla_softc *c, u_int16_t,
int qla_attach(struct qla_softc *);
int qla_detach(struct qla_softc *, int);
struct qla_softc;
u_int16_t (*read)(struct qla_softc *, bus_size_t);
int (*read_isr)(struct qla_softc *,
struct qla_softc *ccb_sc;
struct qla_softc *sc = &psc->psc_qla;
struct qla_softc psc_qla;
struct qla_softc *sc = &psc->psc_qla;
sizeof(struct qla_softc),
struct qla_softc *sc = (void *)self;