Home
last modified time | relevance | path

Searched refs:sc_hp_detect (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/arch/macppc/dev/
H A Di2s.c801 if (sc->sc_hp_detect) in i2s_cint()
802 sense = macobio_read(sc->sc_hp_detect); in i2s_cint()
871 sc->sc_hp_detect = i2s_gpio_offset(sc, "platform-headphone-detect", in i2s_gpio_init()
905 if (sc->sc_hp_detect == 0 && in i2s_gpio_init()
907 sc->sc_hp_detect = reg; in i2s_gpio_init()
921 DPRINTF((" headphone-detect 0x%x\n", sc->sc_hp_detect)); in i2s_gpio_init()
939 macobio_write(sc->sc_hp_detect, 0x80); in i2s_gpio_init()
H A Di2svar.h77 u_int sc_hp_detect; /* headphone detect gpio */ member