ixp425_softc
struct ixp425_softc *ixp425_softc;
struct ixp425_softc *sc = device_private(self);
ixp425_softc = sc;
regVal = EXP_BUS_READ_4(ixp425_softc, EXP_FCTRL_OFFSET);
EXP_BUS_WRITE_4(ixp425_softc, EXP_FCTRL_OFFSET, regVal | resetNpeParity);
EXP_BUS_WRITE_4(ixp425_softc, EXP_FCTRL_OFFSET, regVal &~ resetNpeParity);
ixp425_pci_conf_setup(void *v, struct ixp425_softc *sc, pcitag_t tag, int offset)
struct ixp425_softc *sc = v;
struct ixp425_softc *sc = v;
ixp425_pci_conf_reg_read(struct ixp425_softc *sc, uint32_t reg)
ixp425_pci_conf_reg_write(struct ixp425_softc *sc, uint32_t reg,
void ixp425_pci_conf_setup(void *, struct ixp425_softc *, pcitag_t, int);
ixp425_pci_init(struct ixp425_softc *sc)
ixp425_pci_dma_init(struct ixp425_softc *sc)
struct ixp425_softc *sa = device_get_softc(device_get_parent(dev));
extern struct ixp425_softc *ixp425_softc;
void ixp425_md_pci_init(struct ixp425_softc *);
void ixp425_pci_init(struct ixp425_softc *);
void ixp425_pci_dma_init(struct ixp425_softc *);
void ixp425_pci_conf_reg_write(struct ixp425_softc *, uint32_t, uint32_t);
uint32_t ixp425_pci_conf_reg_read(struct ixp425_softc *, uint32_t);
CFATTACH_DECL_NEW(ixpio_mainbus, sizeof(struct ixp425_softc),
ixp425_md_pci_init(struct ixp425_softc *sc)
struct ixp425_softc *ixsc = ixp425_softc;
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPISR, SLUGBUTT_PWR_BIT);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPISR, SLUGBUTT_RST_BIT);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOUTR);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOER);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOER, reg);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOER);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOER, reg);
oer = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOER);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOER, oer);
outr = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOUTR);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOUTR, outr | bits);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOER, oer);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPINR);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOUTR);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOUTR, reg);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOER);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOER, reg);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOUTR, reg);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOUTR);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOUTR, reg);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOUTR);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOUTR, reg);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOUTR);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOUTR, reg | bit);
reg = GPIO_CONF_READ_4(ixp425_softc,IXP425_GPIO_GPOUTR);
GPIO_CONF_WRITE_4(ixp425_softc,IXP425_GPIO_GPOUTR, reg);
struct ixp425_softc *ixsc = ixp425_softc;
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOUTR);
GPIO_CONF_WRITE_4(ixp425_softc, IXP425_GPIO_GPOUTR, reg | bit);
reg = GPIO_CONF_READ_4(ixp425_softc, IXP425_GPIO_GPOUTR);
CFATTACH_DECL_NEW(ixpio_mainbus, sizeof(struct ixp425_softc),
ixp425_md_pci_init(struct ixp425_softc *sc)