Searched refs:gpio_en (Results 1 – 2 of 2) sorted by relevance
/openbsd-src/sys/dev/fdt/ |
H A D | rktemp.c | 421 uint32_t gpio_en, cru_en; in rktemp_attach() local 451 gpio_en = cru_en = 0; in rktemp_attach() 453 gpio_en |= TSADC_V3_GPIO_EN_CH(i) << 16; in rktemp_attach() 456 gpio_en |= TSADC_V3_GPIO_EN_CH(i); in rktemp_attach() 460 HWRITE4(sc, TSADC_V3_GPIO_EN, gpio_en); in rktemp_attach()
|
/openbsd-src/sys/dev/ic/ |
H A D | bwi.c | 6243 uint32_t gpio_in, gpio_out, gpio_en, status; in bwi_power_on() local 6252 gpio_en = (sc->sc_conf_read)(sc, BWI_PCIR_GPIO_ENABLE); in bwi_power_on() 6255 gpio_en |= BWI_PCIM_GPIO_PWR_ON; in bwi_power_on() 6259 gpio_en |= BWI_PCIM_GPIO_PLL_PWR_OFF; in bwi_power_on() 6263 (sc->sc_conf_write)(sc, BWI_PCIR_GPIO_ENABLE, gpio_en); in bwi_power_on() 6283 uint32_t gpio_out, gpio_en; in bwi_power_off() local 6289 gpio_en = (sc->sc_conf_read)(sc, BWI_PCIR_GPIO_ENABLE); in bwi_power_off() 6292 gpio_en |= BWI_PCIM_GPIO_PWR_ON; in bwi_power_off() 6295 gpio_en |= BWI_PCIM_GPIO_PLL_PWR_OFF; in bwi_power_off() 6299 (sc->sc_conf_write)(sc, BWI_PCIR_GPIO_ENABLE, gpio_en); in bwi_power_off()
|