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

/openbsd-current/sys/dev/fdt/
H A Drktemp.c421 uint32_t gpio_en, cru_en; local
451 gpio_en = cru_en = 0;
453 gpio_en |= TSADC_V3_GPIO_EN_CH(i) << 16;
456 gpio_en |= TSADC_V3_GPIO_EN_CH(i);
460 HWRITE4(sc, TSADC_V3_GPIO_EN, gpio_en);
/openbsd-current/sys/dev/ic/
H A Dbwi.c6243 uint32_t gpio_in, gpio_out, gpio_en, status; local
6252 gpio_en = (sc->sc_conf_read)(sc, BWI_PCIR_GPIO_ENABLE);
6255 gpio_en |= BWI_PCIM_GPIO_PWR_ON;
6259 gpio_en |= BWI_PCIM_GPIO_PLL_PWR_OFF;
6263 (sc->sc_conf_write)(sc, BWI_PCIR_GPIO_ENABLE, gpio_en);
6283 uint32_t gpio_out, gpio_en; local
6289 gpio_en = (sc->sc_conf_read)(sc, BWI_PCIR_GPIO_ENABLE);
6292 gpio_en |= BWI_PCIM_GPIO_PWR_ON;
6295 gpio_en |= BWI_PCIM_GPIO_PLL_PWR_OFF;
6299 (sc->sc_conf_write)(sc, BWI_PCIR_GPIO_ENABLE, gpio_en);
[all...]

Completed in 191 milliseconds