ahci_port
ahci_pactive(struct ahci_port *ap)
ahci_port_start(struct ahci_port *ap)
ahci_port_stop(struct ahci_port *ap, int stop_fis_rx)
ahci_port_clo(struct ahci_port *ap)
ahci_port_reset(struct ahci_port *ap, struct ata_port *at, int hard)
ahci_port_softreset(struct ahci_port *ap)
ahci_comreset(struct ahci_port *ap, int *pmdetectp)
ahci_port_hardreset(struct ahci_port *ap, int hard)
ahci_port_hardstop(struct ahci_port *ap)
ahci_flush_tfd(struct ahci_port *ap)
ahci_port_signature_detect(struct ahci_port *ap, struct ata_port *at)
struct ahci_port *ap = ccb->ccb_port;
struct ahci_port *ap = ccb->ccb_port;
struct ahci_port *ap = ccb->ccb_port;
ahci_check_active_timeouts(struct ahci_port *ap)
struct ahci_port *ap = ccb->ccb_port;
ahci_beg_exclusive_access(struct ahci_port *ap, struct ata_port *at)
ahci_end_exclusive_access(struct ahci_port *ap, struct ata_port *at)
ahci_issue_pending_commands(struct ahci_port *ap, struct ahci_ccb *ccb)
struct ahci_port *ap;
struct ahci_port *ap;
ahci_port_thread_core(struct ahci_port *ap, int mask)
ahci_port_intr(struct ahci_port *ap, int blockable)
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_port_read_ncq_error(struct ahci_port *ap, int target)
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, int timeout,
ahci_ata_get_xfer(struct ahci_port *ap, struct ata_port *at)
struct ahci_port *ap = ccb->ccb_port;
struct ahci_port *ap = ccb->ccb_port;
ahci_issue_saved_commands(struct ahci_port *ap, u_int32_t ci_saved)
struct ahci_port *ap = ccb->ccb_port;
ahci_set_feature(struct ahci_port *ap, struct ata_port *atx,
ahci_read_log(struct ahci_port *ap, struct ata_port *atx,
ahci_port_init(struct ahci_port *ap)
ahci_port_interrupt_enable(struct ahci_port *ap)
ahci_port_can_dipm(struct ahci_port *ap)
void ahci_port_interrupt_enable(struct ahci_port *ap);
ahci_port_can_devapst(struct ahci_port *ap)
ahci_port_can_hipm(struct ahci_port *ap)
ahci_port_can_hostapst(struct ahci_port *ap)
ahci_port_link_pwr_mgmt(struct ahci_port *ap, int link_pwr_mgmt)
int ahci_port_softreset(struct ahci_port *ap);
int ahci_port_hardreset(struct ahci_port *ap, int hard);
void ahci_port_hardstop(struct ahci_port *ap);
void ahci_check_active_timeouts(struct ahci_port *ap);
void ahci_beg_exclusive_access(struct ahci_port *ap, struct ata_port *at);
void ahci_end_exclusive_access(struct ahci_port *ap, struct ata_port *at);
void ahci_issue_pending_commands(struct ahci_port *ap, struct ahci_ccb *ccb);
void ahci_issue_saved_commands(struct ahci_port *ap, u_int32_t mask);
int ahci_port_read_ncq_error(struct ahci_port *, int);
ahci_port_link_pwr_state(struct ahci_port *ap)
ahci_port_state_machine(struct ahci_port *ap, int initial)
static u_int32_t ahci_pactive(struct ahci_port *ap);
struct ahci_port *ap;
struct ahci_port *ap = sc->sc_ports[port];
struct ahci_port;
struct ahci_port *ccb_port;
struct ahci_port *sc_ports[AHCI_MAX_PORTS];
int ahci_port_init(struct ahci_port *ap);
void ahci_port_state_machine(struct ahci_port *ap, int initial);
int ahci_port_reset(struct ahci_port *, struct ata_port *at, int);
void ahci_port_link_pwr_mgmt(struct ahci_port *, int link_pwr_mgmt);
int ahci_port_link_pwr_state(struct ahci_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 *, int, bus_size_t,
void ahci_port_intr(struct ahci_port *ap, int blockable);
int ahci_comreset(struct ahci_port *ap, int *pmdetectp);
int ahci_port_start(struct ahci_port *ap);
int ahci_port_stop(struct ahci_port *ap, int stop_fis_rx);
int ahci_port_clo(struct ahci_port *ap);
void ahci_flush_tfd(struct ahci_port *ap);
int ahci_set_feature(struct ahci_port *ap, struct ata_port *atx,
int ahci_read_log(struct ahci_port *ap, struct ata_port *atx,
int ahci_cam_attach(struct ahci_port *ap);
void ahci_cam_changed(struct ahci_port *ap, struct ata_port *at, int found);
void ahci_cam_detach(struct ahci_port *ap);
int ahci_cam_probe(struct ahci_port *ap, struct ata_port *at);
struct ata_xfer *ahci_ata_get_xfer(struct ahci_port *ap, struct ata_port *at);
int ahci_pm_port_probe(struct ahci_port *ap, int);
int ahci_pm_port_init(struct ahci_port *ap, struct ata_port *at);
int ahci_pm_identify(struct ahci_port *ap);
int ahci_pm_hardreset(struct ahci_port *ap, int target, int hard);
int ahci_pm_softreset(struct ahci_port *ap, int target);
int ahci_pm_phy_status(struct ahci_port *ap, int target, u_int32_t *datap);
int ahci_pm_read(struct ahci_port *ap, int target,
int ahci_pm_write(struct ahci_port *ap, int target,
void ahci_pm_check_good(struct ahci_port *ap, int target);
struct ahci_ccb *ahci_get_ccb(struct ahci_port *ap);
struct ahci_ccb *ahci_get_err_ccb(struct ahci_port *);
int ahci_port_signature_detect(struct ahci_port *ap, struct ata_port *at);
void ahci_port_thread_core(struct ahci_port *ap, int mask);
void ahci_os_start_port(struct ahci_port *ap);
void ahci_os_stop_port(struct ahci_port *ap);
void ahci_os_signal_port_thread(struct ahci_port *ap, int mask);
void ahci_os_lock_port(struct ahci_port *ap);
int ahci_os_lock_port_nb(struct ahci_port *ap);
void ahci_os_unlock_port(struct ahci_port *ap);
struct ahci_port *ap;
struct ahci_port *ap;
ahci_cam_attach(struct ahci_port *ap)
struct ahci_port *ap;
ahci_xpt_scsi_disk_io(struct ahci_port *ap, struct ata_port *atx,
ahci_xpt_scsi_atapi_io(struct ahci_port *ap, struct ata_port *atx,
ahci_xpt_page_inquiry(struct ahci_port *ap, struct ata_port *at, union ccb *ccb)
ahci_cam_changed(struct ahci_port *ap, struct ata_port *atx, int found)
struct ahci_port *ap = ccb->ccb_h.sim_priv.entries[0].ptr;
struct ahci_port *ap = ccb->ccb_h.sim_priv.entries[0].ptr;
struct ahci_port *ap = ccb->ccb_h.sim_priv.entries[0].ptr;
ahci_cam_detach(struct ahci_port *ap)
ahci_cam_probe(struct ahci_port *ap, struct ata_port *atx)
ahci_cam_probe_disk(struct ahci_port *ap, struct ata_port *atx)
ahci_cam_probe_atapi(struct ahci_port *ap, struct ata_port *atx)
ahci_set_xfer(struct ahci_port *ap, struct ata_port *atx)
struct ahci_port *ap = ccb->ccb_h.sim_priv.entries[0].ptr;
ahci_cam_rescan(struct ahci_port *ap)
static void ahci_xpt_scsi_disk_io(struct ahci_port *ap,
static void ahci_xpt_scsi_atapi_io(struct ahci_port *ap,
ahci_xpt_rescan(struct ahci_port *ap)
static void ahci_xpt_page_inquiry(struct ahci_port *ap,
struct ahci_port *ap;
static int ahci_cam_probe_disk(struct ahci_port *ap, struct ata_port *at);
static int ahci_cam_probe_atapi(struct ahci_port *ap, struct ata_port *at);
static int ahci_set_xfer(struct ahci_port *ap, struct ata_port *atx);
static void ahci_cam_rescan(struct ahci_port *ap);
struct ahci_port *ap = arg1;
struct ahci_port *ap = arg1;
ahci_os_start_port(struct ahci_port *ap)
ahci_os_stop_port(struct ahci_port *ap)
ahci_os_signal_port_thread(struct ahci_port *ap, int mask)
ahci_os_lock_port(struct ahci_port *ap)
ahci_os_lock_port_nb(struct ahci_port *ap)
ahci_os_unlock_port(struct ahci_port *ap)
struct ahci_port *ap = arg;
ahci_pm_write(struct ahci_port *ap, int target, int which, u_int32_t data)
ahci_pm_port_init(struct ahci_port *ap, struct ata_port *at)
ahci_pm_identify(struct ahci_port *ap)
ahci_pm_hardreset(struct ahci_port *ap, int target, int hard)
ahci_pm_port_probe(struct ahci_port *ap, int orig_error)
ahci_pm_softreset(struct ahci_port *ap, int target)
ahci_pm_phy_status(struct ahci_port *ap, int target, u_int32_t *datap)
ahci_pm_check_good(struct ahci_port *ap, int target)
ahci_pm_read(struct ahci_port *ap, int target, int which, u_int32_t *datap)
struct ahci_port;
struct ahci_port *at_ahci_port;