Lines Matching defs:stream

330 				    sc->streams[i].dir, sc->streams[i].stream);
1793 hdac_find_stream(struct hdac_softc *sc, int dir, int stream)
1801 if (sc->streams[i].stream == stream) {
1808 if (sc->streams[i + sc->num_iss].stream == stream) {
1817 if (sc->streams[i + sc->num_iss + sc->num_oss].stream
1818 == stream) {
1833 int stream, ss, bw, maxbw, prevbw;
1835 /* Look for empty stream. */
1864 /* Allocate stream number */
1866 stream = 15 - (ss - sc->num_iss + sc->num_oss);
1868 stream = ss - sc->num_iss + 1;
1870 stream = ss + 1;
1874 sc->streams[ss].stream = stream;
1884 return (stream);
1888 hdac_stream_free(device_t dev, device_t child, int dir, int stream)
1894 ss = hdac_find_stream(sc, dir, stream);
1896 ("Free for not allocated stream (%d/%d)\n", dir, stream));
1901 sc->streams[ss].stream = 0;
1907 int dir, int stream, bus_addr_t buf, int blksz, int blkcnt)
1915 ss = hdac_find_stream(sc, dir, stream);
1917 ("Start for not allocated stream (%d/%d)\n", dir, stream));
1942 ctl |= stream << HDAC_SDCTL2_STRM_SHIFT;
1967 hdac_stream_stop(device_t dev, device_t child, int dir, int stream)
1973 ss = hdac_find_stream(sc, dir, stream);
1975 ("Stop for not allocated stream (%d/%d)\n", dir, stream));
1992 hdac_stream_reset(device_t dev, device_t child, int dir, int stream)
2000 ss = hdac_find_stream(sc, dir, stream);
2002 ("Reset for not allocated stream (%d/%d)\n", dir, stream));
2030 hdac_stream_getptr(device_t dev, device_t child, int dir, int stream)
2035 ss = hdac_find_stream(sc, dir, stream);
2037 ("Reset for not allocated stream (%d/%d)\n", dir, stream));