Lines Matching refs:pcm_channel
53 struct pcm_channel;
80 struct pcm_channel *ch;
87 struct pcm_channel { struct
106 struct pcm_channel *parentchannel; argument
150 SLIST_HEAD(, pcm_channel) head; argument
151 SLIST_ENTRY(pcm_channel) link;
153 SLIST_HEAD(, pcm_channel) head;
154 SLIST_ENTRY(pcm_channel) link;
160 SLIST_ENTRY(pcm_channel) link; argument
162 SLIST_ENTRY(pcm_channel) link;
165 SLIST_ENTRY(pcm_channel) link;
168 SLIST_ENTRY(pcm_channel) link;
200 struct pcm_channel *t = NULL; \ argument
210 struct pcm_channel *t = NULL; \
223 struct pcm_channel *t = NULL; \
234 struct pcm_channel *t, *a = NULL; \
258 int chn_reinit(struct pcm_channel *c);
259 int chn_write(struct pcm_channel *c, struct uio *buf);
260 int chn_read(struct pcm_channel *c, struct uio *buf);
261 u_int32_t chn_start(struct pcm_channel *c, int force);
262 int chn_sync(struct pcm_channel *c, int threshold);
263 int chn_flush(struct pcm_channel *c);
264 int chn_poll(struct pcm_channel *c, int ev, struct thread *td);
266 char *chn_mkname(char *buf, size_t len, struct pcm_channel *c);
267 struct pcm_channel *chn_init(struct snddev_info *d, struct pcm_channel *parent,
269 void chn_kill(struct pcm_channel *c);
270 void chn_shutdown(struct pcm_channel *c);
271 int chn_release(struct pcm_channel *c);
272 int chn_reset(struct pcm_channel *c, u_int32_t fmt, u_int32_t spd);
273 int chn_setvolume_multi(struct pcm_channel *c, int vc, int left, int right,
275 int chn_setvolume_matrix(struct pcm_channel *c, int vc, int vt, int val);
276 int chn_getvolume_matrix(struct pcm_channel *c, int vc, int vt);
277 int chn_setmute_multi(struct pcm_channel *c, int vc, int mute);
278 int chn_setmute_matrix(struct pcm_channel *c, int vc, int vt, int mute);
279 int chn_getmute_matrix(struct pcm_channel *c, int vc, int vt);
280 void chn_vpc_reset(struct pcm_channel *c, int vc, int force);
281 int chn_setparam(struct pcm_channel *c, uint32_t format, uint32_t speed);
282 int chn_setspeed(struct pcm_channel *c, uint32_t speed);
283 int chn_setformat(struct pcm_channel *c, uint32_t format);
284 int chn_setblocksize(struct pcm_channel *c, int blkcnt, int blksz);
285 int chn_setlatency(struct pcm_channel *c, int latency);
286 void chn_syncstate(struct pcm_channel *c);
287 int chn_trigger(struct pcm_channel *c, int go);
288 int chn_getptr(struct pcm_channel *c);
289 struct pcmchan_caps *chn_getcaps(struct pcm_channel *c);
290 u_int32_t chn_getformats(struct pcm_channel *c);
292 struct pcmchan_matrix *chn_getmatrix(struct pcm_channel *);
293 int chn_setmatrix(struct pcm_channel *, struct pcmchan_matrix *);
295 int chn_oss_getorder(struct pcm_channel *, unsigned long long *);
296 int chn_oss_setorder(struct pcm_channel *, unsigned long long *);
297 int chn_oss_getmask(struct pcm_channel *, uint32_t *);
299 void chn_resetbuf(struct pcm_channel *c);
300 void chn_intr_locked(struct pcm_channel *c);
301 void chn_intr(struct pcm_channel *c);
302 int chn_abort(struct pcm_channel *c);
304 int chn_notify(struct pcm_channel *c, u_int32_t flags);
306 int chn_getrates(struct pcm_channel *c, int **rates);
307 int chn_syncdestroy(struct pcm_channel *c);
319 int chn_getpeaks(struct pcm_channel *c, int *lpeak, int *rpeak);