ahci_port
sxiahci_port_start(struct ahci_port *ap, int fre_only)
int sxiahci_port_start(struct ahci_port *, int);
extern u_int32_t ahci_pread(struct ahci_port *, bus_size_t);
extern void ahci_pwrite(struct ahci_port *, bus_size_t, u_int32_t);
extern int ahci_default_port_start(struct ahci_port *, int);
void ahci_issue_pending_ncq_commands(struct ahci_port *);
void ahci_issue_pending_commands(struct ahci_port *, int);
u_int32_t ahci_port_intr(struct ahci_port *, u_int32_t);
struct ahci_ccb *ahci_get_ccb(struct ahci_port *);
ahci_pmp_port_softreset(struct ahci_port *ap, int pmp_port)
struct ahci_ccb *ahci_get_err_ccb(struct ahci_port *);
struct ahci_ccb *ahci_get_pmp_ccb(struct ahci_port *);
int ahci_port_read_ncq_error(struct ahci_port *, int *, int);
ahci_pmp_port_probe(struct ahci_port *ap, int pmp_port)
ahci_flush_tfd(struct ahci_port *ap)
ahci_active_mask(struct ahci_port *ap)
struct ahci_port *ap = ccb->ccb_port;
u_int32_t ahci_pread(struct ahci_port *, bus_size_t);
void ahci_pwrite(struct ahci_port *, bus_size_t, u_int32_t);
int ahci_pwait_eq(struct ahci_port *, bus_size_t,
ahci_port_signature(struct ahci_port *ap)
void ahci_flush_tfd(struct ahci_port *ap);
ahci_pmp_port_portreset(struct ahci_port *ap, int pmp_port)
u_int32_t ahci_active_mask(struct ahci_port *);
int ahci_port_detect_pmp(struct ahci_port *);
int ahci_pmp_read(struct ahci_port *, int, int,
int ahci_pmp_write(struct ahci_port *, int, int, u_int32_t);
int ahci_pmp_phy_status(struct ahci_port *, int,
ahci_port_comreset(struct ahci_port *ap)
int ahci_pmp_identify(struct ahci_port *, int *);
ahci_port_portreset_start(struct ahci_port *ap)
ahci_port_portreset_poll(struct ahci_port *ap)
ahci_port_portreset_wait(struct ahci_port *ap)
ahci_port_portreset_finish(struct ahci_port *ap, int pmp)
ahci_port_portreset(struct ahci_port *ap, int pmp)
ahci_port_detect_pmp(struct ahci_port *ap)
struct ahci_port *ap = ccb->ccb_port;
struct ahci_port *ap = ccb->ccb_port;
struct ahci_port *ap = ccb->ccb_port;
struct ahci_port *ap = ccb->ccb_port;
ahci_issue_pending_ncq_commands(struct ahci_port *ap)
ahci_issue_pending_commands(struct ahci_port *ap, int last_was_ncq)
ahci_port_intr(struct ahci_port *ap, u_int32_t ci_mask)
ahci_get_ccb(struct ahci_port *ap)
struct ahci_port *ap = ccb->ccb_port;
ahci_get_err_ccb(struct ahci_port *ap)
struct ahci_port *ap = ccb->ccb_port;
ahci_get_pmp_ccb(struct ahci_port *ap)
struct ahci_port *ap = ccb->ccb_port;
ahci_port_read_ncq_error(struct ahci_port *ap, int *err_slotp, int pmp_port)
ahci_pread(struct ahci_port *ap, bus_size_t r)
ahci_pwrite(struct ahci_port *ap, bus_size_t r, u_int32_t v)
ahci_pwait_eq(struct ahci_port *ap, bus_size_t r, u_int32_t mask,
struct ahci_port *ap = sc->sc_ports[port];
struct ahci_port *ap = sc->sc_ports[port];
struct ahci_port *ap = ccb->ccb_port;
ahci_pmp_read(struct ahci_port *ap, int target, int which, u_int32_t *datap)
ahci_pmp_write(struct ahci_port *ap, int target, int which, u_int32_t data)
ahci_pmp_phy_status(struct ahci_port *ap, int target, u_int32_t *datap)
ahci_pmp_identify(struct ahci_port *ap, int *ret_nports)
ahci_hibernate_io_start(struct ahci_port *ap, struct ahci_ccb *ccb)
ahci_hibernate_io_poll(struct ahci_port *ap, struct ahci_ccb *ccb)
struct ahci_port *ap;
ahci_enable_interrupts(struct ahci_port *ap)
struct ahci_port *ap;
void ahci_hibernate_io_start(struct ahci_port *,
int ahci_hibernate_io_poll(struct ahci_port *,
struct ahci_port *ap;
void ahci_enable_interrupts(struct ahci_port *);
struct ahci_port *ap = sc->sc_ports[port];
struct ahci_port *ap;
int ahci_default_port_start(struct ahci_port *, int);
int ahci_port_stop(struct ahci_port *, int);
int ahci_port_clo(struct ahci_port *);
int ahci_port_softreset(struct ahci_port *);
void ahci_port_comreset(struct ahci_port *);
int ahci_port_portreset(struct ahci_port *, int);
void ahci_port_portreset_start(struct ahci_port *);
int ahci_port_portreset_poll(struct ahci_port *);
void ahci_port_portreset_wait(struct ahci_port *);
int ahci_port_portreset_finish(struct ahci_port *, int);
int ahci_port_signature(struct ahci_port *);
int ahci_pmp_port_softreset(struct ahci_port *, int);
ahci_default_port_start(struct ahci_port *ap, int fre_only)
int ahci_pmp_port_portreset(struct ahci_port *, int);
int ahci_pmp_port_probe(struct ahci_port *ap, int pmp_port);
ahci_port_stop(struct ahci_port *ap, int stop_fis_rx)
ahci_port_clo(struct ahci_port *ap)
ahci_port_softreset(struct ahci_port *ap)
struct ahci_port *sc_ports[AHCI_MAX_PORTS];
int (*sc_port_start)(struct ahci_port *, int);
struct ahci_port;
struct ahci_port *ccb_port;