Searched refs:GPIO_TYPE_REG (Results 1 – 3 of 3) sorted by relevance
| /NextBSD/sys/arm/xscale/ixp425/ |
| HD | ixdp425_pci.c | 91 reg = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTA)); in ixp425_md_attach() 94 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTA), reg); in ixp425_md_attach() 96 reg = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTB)); in ixp425_md_attach() 99 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTB), reg); in ixp425_md_attach() 101 reg = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTC)); in ixp425_md_attach() 104 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTC), reg); in ixp425_md_attach() 106 reg = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTD)); in ixp425_md_attach() 109 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTD), reg); in ixp425_md_attach()
|
| HD | ixp425.c | 168 uint32_t gpiotr = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(pin)); in ixp425_set_gpio() 172 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(pin), in ixp425_set_gpio() 177 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(pin), in ixp425_set_gpio()
|
| HD | ixp425reg.h | 324 #define GPIO_TYPE_REG(b) (((b)&8)?IXP425_GPIO_GPIT2R:IXP425_GPIO_GPIT1R) macro
|