29#ifdef HAVE_KERNEL_OPTION_HEADERS
35#include <isa/isavar.h>
55 KASSERT(
b, (
"sndbuf_dmasetdir called with b == NULL"));
65 KASSERT(
b, (
"sndbuf_dma called with b == NULL"));
81 DEB(printf(
"buf 0x%p ISA DMA %s, channel %d\n",
92 KASSERT(
b, (
"sndbuf_dmaptr called with b == NULL"));
98 KASSERT(i >= 0, (
"isa_dmastatus returned %d", i));
105 KASSERT(
b, (
"sndbuf_dmabounce called with b == NULL"));
u_int32_t sndbuf_getflags(struct snd_dbuf *b)
void sndbuf_setflags(struct snd_dbuf *b, u_int32_t flags, int on)
unsigned int sndbuf_runsz(struct snd_dbuf *b)
int sndbuf_dmasetup(struct snd_dbuf *b, struct resource *drq)
void sndbuf_dmabounce(struct snd_dbuf *b)
SND_DECLARE_FILE("$FreeBSD$")
void sndbuf_dma(struct snd_dbuf *b, int go)
int sndbuf_dmaptr(struct snd_dbuf *b)
int sndbuf_dmasetdir(struct snd_dbuf *b, int dir)