Searched refs:ixsc (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/sys/arch/evbarm/nslu2/
H A Dnslu2_buttons.c112 struct ixp425_softc *ixsc = ixp425_softc; local
118 reg = GPIO_CONF_READ_4(ixsc, IXP425_GPIO_GPOER);
120 GPIO_CONF_WRITE_4(ixsc, IXP425_GPIO_GPOER, reg);
123 reg = GPIO_CONF_READ_4(ixsc, GPIO_TYPE_REG(GPIO_BUTTON_PWR));
126 GPIO_CONF_WRITE_4(ixsc, GPIO_TYPE_REG(GPIO_BUTTON_PWR), reg);
128 reg = GPIO_CONF_READ_4(ixsc, GPIO_TYPE_REG(GPIO_BUTTON_RST));
131 GPIO_CONF_WRITE_4(ixsc, GPIO_TYPE_REG(GPIO_BUTTON_RST), reg);
134 GPIO_CONF_WRITE_4(ixsc, IXP425_GPIO_GPISR, SLUGBUTT_PWR_BIT |
H A Dnslu2_leds.c195 struct ixp425_softc *ixsc = ixp425_softc; local
202 reg = GPIO_CONF_READ_4(ixsc, IXP425_GPIO_GPOER);
205 GPIO_CONF_WRITE_4(ixsc, IXP425_GPIO_GPOER, reg);
208 reg = GPIO_CONF_READ_4(ixsc, IXP425_GPIO_GPOUTR);
211 GPIO_CONF_WRITE_4(ixsc, IXP425_GPIO_GPOUTR, reg);

Completed in 110 milliseconds