Searched refs:gppim (Results 1 – 1 of 1) sorted by relevance
/netbsd/sys/dev/marvell/ |
H A D | gtintrvar.h | 84 uint32_t gppim; in discovery_gpp_enable_intr() local 86 gppim = bus_space_read_4(sc->sc_iot, sc->sc_ioh, GT_GPP_Interrupt_Mask); in discovery_gpp_enable_intr() 87 gppim |= 1 << pin; in discovery_gpp_enable_intr() 88 bus_space_write_4(sc->sc_iot, sc->sc_ioh, GT_GPP_Interrupt_Mask, gppim); in discovery_gpp_enable_intr() 89 return gppim; in discovery_gpp_enable_intr() 95 uint32_t gppim; in discovery_gpp_disable_intr() local 97 gppim = bus_space_read_4(sc->sc_iot, sc->sc_ioh, GT_GPP_Interrupt_Mask); in discovery_gpp_disable_intr() 98 gppim &= ~(1 << pin); in discovery_gpp_disable_intr() 99 bus_space_write_4(sc->sc_iot, sc->sc_ioh, GT_GPP_Interrupt_Mask, gppim); in discovery_gpp_disable_intr() 100 return gppim; in discovery_gpp_disable_intr()
|