HomeSort by: relevance | last modified time | path
    Searched defs:hw_if (Results 1 - 6 of 6) sorted by relevancy

  /src/sys/dev/
radio.c 52 const struct radio_hw_if *hw_if; /* hardware interface */ member in struct:radio_softc
98 sc->hw_if = hwp;
111 if (sc == NULL || sc->hw_if == NULL)
114 if (sc->hw_if->open != NULL)
115 return (sc->hw_if->open(sc->hw_hdl, flags, fmt, l->l_proc));
127 if (sc->hw_if->close != NULL)
128 return (sc->hw_if->close(sc->hw_hdl, flags, fmt, l->l_proc));
142 if (sc == NULL || sc->hw_if == NULL)
148 if (sc->hw_if->get_info)
149 error = (sc->hw_if->get_info)(sc->hw_hdl
    [all...]
midivar.h 184 const struct midi_hw_if *hw_if; /* Hardware interface */ member in struct:midi_softc
video.c 186 const struct video_hw_if *hw_if; /* Hardware interface */ member in struct:video_softc
337 DPRINTF(("video_match: hw=%p\n", args->hw_if));
354 sc->hw_if = args->hw_if;
365 aprint_normal(": %s\n", sc->hw_if->get_devname(sc->hw_softc));
367 DPRINTF(("video_attach: sc=%p hwif=%p\n", sc, sc->hw_if));
432 video_attach_mi(const struct video_hw_if *hw_if, device_t parent, void *sc)
436 args.hw_if = hw_if;
569 hw = sc->hw_if;
    [all...]
video_if.h 503 const struct video_hw_if *hw_if; member in struct:video_attach_args
  /src/sys/dev/audio/
audiovar.h 133 * hw_if == NULL means that the device is (attached but) disabled.
135 const struct audio_hw_if *hw_if; member in struct:audio_softc
audio.c 112 * returned in the second parameter to hw_if->get_locks(). It is known
125 * IPL_SOFT*), returned in the first parameter to hw_if->get_locks(). It
921 const struct audio_hw_if *hw_if; local in function:audioattach
938 hw_if = sa->hwif;
941 if (hw_if == NULL) {
942 panic("audioattach: missing hw_if method");
944 if (hw_if->get_locks == NULL || hw_if->get_props == NULL) {
949 hw_if->get_locks(hdlp, &sc->sc_intr_lock, &sc->sc_lock);
950 sc->sc_props = hw_if->get_props(hdlp)
    [all...]

Completed in 15 milliseconds