atppc_softc
CFATTACH_DECL_NEW(atppc_pioc, sizeof(struct atppc_softc), atppc_pioc_probe,
struct atppc_softc *sc = device_private(self);
atppc_pnpbios_dma_start(struct atppc_softc *lsc, void *buf, u_int nbytes,
atppc_pnpbios_dma_finish(struct atppc_softc * lsc)
atppc_pnpbios_dma_abort(struct atppc_softc * lsc)
struct atppc_softc sc_atppc;
static int atppc_pnpbios_dma_start(struct atppc_softc *, void *, u_int,
static int atppc_pnpbios_dma_finish(struct atppc_softc *);
static int atppc_pnpbios_dma_abort(struct atppc_softc *);
struct atppc_softc *sc = device_private(self);
atppc_acpi_dma_start(struct atppc_softc *lsc, void *buf, u_int nbytes,
atppc_acpi_dma_finish(struct atppc_softc * lsc)
atppc_acpi_dma_abort(struct atppc_softc * lsc)
struct atppc_softc sc_atppc;
static int atppc_acpi_dma_start(struct atppc_softc *, void *, u_int,
static int atppc_acpi_dma_finish(struct atppc_softc *);
static int atppc_acpi_dma_abort(struct atppc_softc *);
struct atppc_softc *sc = device_private(self);
struct atppc_softc *atppc = device_private(dev);
struct atppc_softc *atppc = device_private(dev);
static void atppc_nibble_read(struct atppc_softc * const);
static void atppc_byte_read(struct atppc_softc * const);
static void atppc_epp_read(struct atppc_softc * const);
static void atppc_ecp_read(struct atppc_softc * const);
static void atppc_ecp_read_dma(struct atppc_softc *, unsigned int *,
struct atppc_softc *atppc = device_private(dev);
static void atppc_ecp_read_pio(struct atppc_softc *, unsigned int *,
static void atppc_ecp_read_error(struct atppc_softc *);
static void atppc_std_write(struct atppc_softc * const);
static void atppc_epp_write(struct atppc_softc * const);
static void atppc_fifo_write(struct atppc_softc * const);
static void atppc_fifo_write_dma(struct atppc_softc * const, unsigned char,
static void atppc_fifo_write_pio(struct atppc_softc * const, unsigned char,
static void atppc_fifo_write_error(struct atppc_softc * const,
static int atppc_poll_str(const struct atppc_softc * const, const u_int8_t,
static int atppc_wait_interrupt(struct atppc_softc * const, kcondvar_t *,
struct atppc_softc *atppc = device_private(dev);
atppc_sc_attach(struct atppc_softc *lsc)
struct atppc_softc *atppc = device_private(dev);
struct atppc_softc *atppc = device_private(dev);
struct atppc_softc *atppc = device_private(dev);
struct atppc_softc *atppc = device_private(dev);
atppc_nibble_read(struct atppc_softc *atppc)
atppc_byte_read(struct atppc_softc * const atppc)
atppc_epp_read(struct atppc_softc * atppc)
atppc_ecp_read(struct atppc_softc *atppc)
atppc_ecp_read_dma(struct atppc_softc *atppc, unsigned int *length,
atppc_ecp_read_pio(struct atppc_softc *atppc, unsigned int *length,
atppc_ecp_read_error(struct atppc_softc *atppc)
atppc_std_write(struct atppc_softc * const atppc)
atppc_epp_write(struct atppc_softc *atppc)
atppc_fifo_write(struct atppc_softc * const atppc)
atppc_fifo_write_dma(struct atppc_softc * const atppc, unsigned char ecr,
atppc_fifo_write_pio(struct atppc_softc * const atppc, unsigned char ecr,
atppc_fifo_write_error(struct atppc_softc * const atppc,
atppc_poll_str(const struct atppc_softc * const atppc, const u_int8_t status,
atppc_wait_interrupt(struct atppc_softc * const atppc, kcondvar_t *cv,
atppc_sc_detach(struct atppc_softc *lsc, int flag)
atppc_detect_chipset(struct atppc_softc *atppc)
atppc_detect_generic(struct atppc_softc *atppc)
atppc_detect_fifo(struct atppc_softc *atppc)
struct atppc_softc *atppc = device_private(dev);
static int (*chipset_detect[])(struct atppc_softc *) = {
struct atppc_softc *atppc = device_private(dev);
struct atppc_softc *atppc = device_private(dev);
struct atppc_softc *atppc = device_private(dev);
struct atppc_softc * const atppc = device_private(dev);
static int atppc_detect_fifo(struct atppc_softc *);
static int atppc_detect_chipset(struct atppc_softc *);
static int atppc_detect_generic(struct atppc_softc *);
struct atppc_softc *atppc = device_private(dev);
int (*sc_dma_start)(struct atppc_softc *, void *, u_int, u_int8_t);
int (*sc_dma_finish)(struct atppc_softc *);
int (*sc_dma_abort)(struct atppc_softc *);
void atppc_sc_attach(struct atppc_softc *);
int atppc_sc_detach(struct atppc_softc *, int);
struct atppc_softc *lsc = &sc->sc_atppc;
atppc_isa_dma_start(struct atppc_softc *lsc, void *buf, u_int nbytes,
atppc_isa_dma_finish(struct atppc_softc *lsc)
atppc_isa_dma_abort(struct atppc_softc *lsc)
struct atppc_softc sc_atppc;
static int atppc_isa_dma_start(struct atppc_softc *, void *, u_int,
static int atppc_isa_dma_finish(struct atppc_softc *);
static int atppc_isa_dma_abort(struct atppc_softc *);
atppc_isadma_setup(struct atppc_softc * lsc, isa_chipset_tag_t ic, int drq)
int atppc_isadma_setup(struct atppc_softc *, isa_chipset_tag_t, int);
atppc_isapnp_dma_start(struct atppc_softc *lsc, void *buf, u_int nbytes,
atppc_isapnp_dma_finish(struct atppc_softc * lsc)
atppc_isapnp_dma_abort(struct atppc_softc * lsc)
struct atppc_softc sc_atppc;
static int atppc_isapnp_dma_start(struct atppc_softc *, void *, u_int,
static int atppc_isapnp_dma_finish(struct atppc_softc *);
static int atppc_isapnp_dma_abort(struct atppc_softc *);
struct atppc_softc *sc = device_private(self);
struct atppc_softc *sc = device_private(self);
atppc_ofisa_dma_start(struct atppc_softc *lsc, void *buf, u_int nbytes,
atppc_ofisa_dma_finish(struct atppc_softc * lsc)
atppc_ofisa_dma_abort(struct atppc_softc * lsc)
struct atppc_softc sc_atppc;
static int atppc_ofisa_dma_start(struct atppc_softc *, void *, u_int,
static int atppc_ofisa_dma_finish(struct atppc_softc *);
static int atppc_ofisa_dma_abort(struct atppc_softc *);
struct atppc_softc *sc = (struct atppc_softc *)psc;
atppc_puc_dma_start(struct atppc_softc *sc, void *buf, u_int nbytes,
atppc_puc_dma_finish(struct atppc_softc *sc)
atppc_puc_dma_abort(struct atppc_softc * lsc)
struct atppc_softc *sc = &psc->sc_atppc;
struct atppc_softc *sc = &psc->sc_atppc;
struct atppc_softc sc_atppc;
static int atppc_puc_dma_start(struct atppc_softc *, void *, u_int,
static int atppc_puc_dma_finish(struct atppc_softc *);
static int atppc_puc_dma_abort(struct atppc_softc *);
struct atppc_softc *sc = device_private(self);