ahci_softc
struct ahci_softc sc;
struct ahci_softc sc;
CFATTACH_DECL_NEW(sunxi_sata, sizeof(struct ahci_softc),
sunxi_sata_channel_start(struct ahci_softc *sc, struct ata_channel *chp)
struct ahci_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(ahcisata_ahb, sizeof(struct ahci_softc),
struct ahci_softc * const sc = arg;
struct ahci_softc * const sc = device_private(self);
struct ahci_softc *sc = AHCI_XFER2SC(xfer);
struct ahci_softc *sc = AHCI_XFER2SC(xfer);
struct ahci_softc *sc = AHCI_XFER2SC(xfer);
ahci_transaction(struct ahci_softc *sc, struct usbd_pipe *pipe,
static int ahci_transaction(struct ahci_softc *,
print_dumpreg(struct ahci_softc *sc)
void print_dumpreg(struct ahci_softc *);
CFATTACH_DECL_NEW(ahci, sizeof(struct ahci_softc),
struct ahci_softc *sc = device_private(self);
struct ahci_softc *sc = arg;
struct ahci_softc *sc = arg;
struct ahci_softc *sc = AHCI_BUS2SC(bus);
struct ahci_softc *sc = AHCI_BUS2SC(bus);
struct ahci_softc *sc = AHCI_BUS2SC(bus);
struct ahci_softc *sc = AHCI_BUS2SC(bus);
struct ahci_softc *sc = AHCI_XFER2SC(xfer);
struct ahci_softc *sc = AHCI_XFER2SC(xfer);
struct ahci_softc *sc __diagused = AHCI_PIPE2SC(pipe);
struct ahci_softc *sc = AHCI_XFER2SC(xfer);
struct ahci_softc *sc = AHCI_XFER2SC(xfer);
CFATTACH_DECL_NEW(ahcisata_acpi, sizeof(struct ahci_softc), ahcisata_acpi_match, ahcisata_acpi_attach, NULL, NULL);
struct ahci_softc * const sc = device_private(self);
CFATTACH_DECL_NEW(ahcisata_fdt, sizeof(struct ahci_softc),
struct ahci_softc * const sc = device_private(self);
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = AHCI_CH2SC(chp);
struct ahci_softc *sc = AHCI_CH2SC(chp);
struct ahci_softc *sc = AHCI_CH2SC(chp);
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
static void ahci_setup_port(struct ahci_softc *sc, int i);
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
ahci_enable(struct ahci_softc *sc)
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
ahci_reset(struct ahci_softc *sc)
ahci_channel_stop(struct ahci_softc *sc, struct ata_channel *chp, int flags)
ahci_channel_start(struct ahci_softc *sc, struct ata_channel *chp,
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = device_private(adapt->adapt_dev);
ahci_setup_ports(struct ahci_softc *sc)
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
ahci_reprobe_drives(struct ahci_softc *sc)
struct ahci_softc *ahcic =
ahci_setup_port(struct ahci_softc *sc, int i)
ahci_enable_intrs(struct ahci_softc *sc)
ahci_attach(struct ahci_softc *sc)
ahci_childdetached(struct ahci_softc *sc, device_t child)
ahci_detach(struct ahci_softc *sc, int flags)
ahci_resume(struct ahci_softc *sc)
struct ahci_softc *sc = v;
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
static void ahci_channel_stop(struct ahci_softc *, struct ata_channel *, int);
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
static void ahci_channel_start(struct ahci_softc *, struct ata_channel *,
struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
#define AHCI_CH2SC(chp) (struct ahci_softc *)((chp)->ch_atac)
void ahci_attach(struct ahci_softc *);
int ahci_detach(struct ahci_softc *, int);
void ahci_childdetached(struct ahci_softc *, device_t);
void ahci_resume(struct ahci_softc *);
void (*sc_channel_start)(struct ahci_softc *, struct ata_channel *);
void (*sc_channel_stop)(struct ahci_softc *, struct ata_channel *);
int (*sc_intr_establish)(struct ahci_softc *, int);
struct ahci_softc ah_sc;
ahci_pci_intr_establish(struct ahci_softc *sc, int port)
struct ahci_softc *sc = &psc->ah_sc;
struct ahci_softc *sc = &psc->ah_sc;
struct ahci_softc *sc;
struct ahci_softc *sc = &psc->ah_sc;
CFATTACH_DECL_NEW(jmahci, sizeof(struct ahci_softc),
struct ahci_softc *sc = device_private(self);
struct ahci_softc *sc;
struct ahci_softc *sc;