Lines Matching defs:dir
321 sc->streams[i].dir, sc->streams[i].stream);
1784 hdac_find_stream(struct hdac_softc *sc, int dir, int stream)
1790 if (dir == 0) {
1819 hdac_stream_alloc(device_t dev, device_t child, int dir, int format, int stripe,
1827 ss = hdac_find_stream(sc, dir, 0);
1834 bw = hdac_bdata_rate(format, dir);
1835 if (dir == 1) {
1850 if (dir == 1)
1864 sc->streams[ss].dir = dir;
1879 hdac_stream_free(device_t dev, device_t child, int dir, int stream)
1885 ss = hdac_find_stream(sc, dir, stream);
1887 ("Free for not allocated stream (%d/%d)\n", dir, stream));
1888 if (dir == 1)
1898 int dir, int stream, bus_addr_t buf, int blksz, int blkcnt)
1906 ss = hdac_find_stream(sc, dir, stream);
1908 ("Start for not allocated stream (%d/%d)\n", dir, stream));
1928 if (dir)
1958 hdac_stream_stop(device_t dev, device_t child, int dir, int stream)
1964 ss = hdac_find_stream(sc, dir, stream);
1966 ("Stop for not allocated stream (%d/%d)\n", dir, stream));
1983 hdac_stream_reset(device_t dev, device_t child, int dir, int stream)
1991 ss = hdac_find_stream(sc, dir, stream);
1993 ("Reset for not allocated stream (%d/%d)\n", dir, stream));
2021 hdac_stream_getptr(device_t dev, device_t child, int dir, int stream)
2026 ss = hdac_find_stream(sc, dir, stream);
2028 ("Reset for not allocated stream (%d/%d)\n", dir, stream));