Home
last modified time | relevance | path

Searched refs:hpcio_portread (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/dev/hpc/
H A Dbutton.c156 *(int*)msg = (hpcio_portread(sc->sc_hc, sc->sc_port) == sc->sc_active); in button_state()
166 on = (hpcio_portread(sc->sc_hc, sc->sc_port) == sc->sc_active); in button_intr()
H A Dpwctl.c169 *(int*)msg = hpcio_portread(sc->sc_hc, sc->sc_port) == sc->sc_on; in pwctl_ghook()
191 sc->sc_save = hpcio_portread(sc->sc_hc, sc->sc_port); in pwctl_hardpower()
H A Dhpciovar.h62 #define hpcio_portread(hc, port) \ macro
H A Dhpcin.c109 on = (hpcio_portread(sc->sc_hc, sc->sc_port) == sc->sc_on); in hpcin_intr()
/netbsd-src/sys/arch/hpcmips/vr/
H A Dvrc4172pci.c381 printf("USB port %s\n", hpcio_portread(sc->sc_iochip, 1) ? "ON" : "OFF");
382 hpcio_portwrite(sc->sc_iochip, 45, hpcio_portread(sc->sc_iochip, 1));