Lines Matching full:pcm

31  * RME HDSPe driver for FreeBSD (pcm-part).
35 #include <dev/sound/pcm/sound.h>
445 buffer_mux_write(uint32_t *dma, uint32_t *pcm, unsigned int pos, in buffer_mux_write() argument
453 pcm[pos * channels + slot]; in buffer_mux_write()
460 buffer_mux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t ports, in buffer_mux_port() argument
473 pcm += chan_pos; in buffer_mux_port()
476 /* Only copy as much as supported by both hardware and pcm channel. */ in buffer_mux_port()
481 buffer_mux_write(dma, pcm, pos, samples, 2, channels); in buffer_mux_port()
483 buffer_mux_write(dma, pcm, pos, samples, 4, channels); in buffer_mux_port()
485 buffer_mux_write(dma, pcm, pos, samples, 8, channels); in buffer_mux_port()
487 buffer_mux_write(dma, pcm, pos, samples, slots, channels); in buffer_mux_port()
491 buffer_demux_read(uint32_t *dma, uint32_t *pcm, unsigned int pos, in buffer_demux_read() argument
498 pcm[pos * channels + slot] = in buffer_demux_read()
506 buffer_demux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t ports, in buffer_demux_port() argument
519 pcm += chan_pos; in buffer_demux_port()
522 /* Only copy as much as supported by both hardware and pcm channel. */ in buffer_demux_port()
527 buffer_demux_read(dma, pcm, pos, samples, 2, channels); in buffer_demux_port()
529 buffer_demux_read(dma, pcm, pos, samples, 4, channels); in buffer_demux_port()
531 buffer_demux_read(dma, pcm, pos, samples, 8, channels); in buffer_demux_port()
533 buffer_demux_read(dma, pcm, pos, samples, slots, channels); in buffer_demux_port()
537 /* Copy data between DMA and PCM buffers. */
554 /* Let pcm formats differ from current hardware ADAT width. */ in buffer_copy()
565 /* Position per channel is n times smaller than PCM. */ in buffer_copy()
579 /* Position per channel is n times smaller than PCM. */ in buffer_copy()
1059 * in pcm device. Mark pcm device as MPSAFE manually. in hdspe_pcm_attach()
1089 device_printf(dev, "Can't register pcm.\n"); in hdspe_pcm_attach()
1120 "pcm",