Searched refs:period_bytes (Results 1 - 22 of 22) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dpcm_oss.h50 size_t period_bytes; /* requested period size */ member in struct:snd_pcm_oss_runtime
H A Dvx_core.h81 int period_bytes; /* the ALSA pcm period size in bytes */ member in struct:vx_pipe
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c125 unsigned int period_bytes)
140 dma->period_bytes = dma->periods = 0;
143 if (dma->periods == periods && dma->period_bytes == period_bytes)
154 desc->size = cpu_to_le32(period_bytes);
157 addr += period_bytes;
167 dma->period_bytes = period_bytes;
121 cs5535audio_build_dma_packets(struct cs5535audio *cs5535au, struct cs5535audio_dma *dma, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) argument
H A Dcs5535audio.h108 unsigned int period_bytes, periods; member in struct:cs5535audio_dma
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/
H A Dals300.c461 unsigned short period_bytes = snd_pcm_lib_period_bytes(substream); local
470 period_bytes, buffer_bytes);
474 tmp |= period_bytes - 1;
492 unsigned short period_bytes = snd_pcm_lib_period_bytes(substream); local
500 snd_als300_dbgplay("Period bytes: %d Buffer bytes %d\n", period_bytes,
505 tmp |= period_bytes - 1;
569 unsigned short period_bytes; local
572 period_bytes = snd_pcm_lib_period_bytes(substream);
579 if (current_ptr > period_bytes)
582 current_ptr = period_bytes
[all...]
H A Datiixp_modem.c226 unsigned int period_bytes, periods; member in struct:atiixp_dma
329 unsigned int period_bytes)
342 dma->period_bytes = dma->periods = 0; /* clear */
345 if (dma->periods == periods && dma->period_bytes == period_bytes)
363 desc->size = period_bytes >> 2; /* in dwords */
369 addr += period_bytes;
375 dma->period_bytes = period_bytes;
325 atiixp_build_dma_packets(struct atiixp_modem *chip, struct atiixp_dma *dma, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) argument
H A Datiixp.c250 unsigned int period_bytes, periods; member in struct:atiixp_dma
358 unsigned int period_bytes)
373 dma->period_bytes = dma->periods = 0; /* clear */
376 if (dma->periods == periods && dma->period_bytes == period_bytes)
394 desc->size = period_bytes >> 2; /* in dwords */
400 addr += period_bytes;
406 dma->period_bytes = period_bytes;
355 atiixp_build_dma_packets(struct atiixp *chip, struct atiixp_dma *dma, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) argument
H A Dbt87x.c188 unsigned int periods, unsigned int period_bytes)
206 rest = period_bytes;
214 if (rest == period_bytes) {
232 chip->line_bytes = period_bytes;
187 snd_bt87x_create_risc(struct snd_bt87x *chip, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) argument
H A Drme96.c944 size_t period_bytes)
946 switch (period_bytes) {
1145 static unsigned int period_bytes[] = { RME96_SMALL_BLOCK_SIZE, RME96_LARGE_BLOCK_SIZE }; variable
1148 .count = ARRAY_SIZE(period_bytes),
1149 .list = period_bytes,
943 snd_rme96_set_period_properties(struct rme96 *rme96, size_t period_bytes) argument
H A Drme32.c840 static unsigned int period_bytes[] = { RME32_BLOCK_SIZE }; variable
844 .count = ARRAY_SIZE(period_bytes),
845 .list = period_bytes,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/mips/
H A Dau1x00.c152 au1000_setup_dma_link(struct audio_stream *stream, unsigned int period_bytes, argument
163 if (stream->period_size == period_bytes &&
169 stream->period_size = period_bytes;
177 pointer->start = (u32)(dma_start + (i * period_bytes));
178 pointer->relative_end = (u32) (((i+1) * period_bytes) - 0x1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/
H A Dpcm_oss.c746 runtime->oss.period_bytes = oss_period_size;
923 n = snd_pcm_plug_slave_size(substream, runtime->oss.period_bytes / oss_frame_size);
988 runtime->oss.period_bytes = oss_period_size;
992 runtime->oss.period_bytes,
1005 runtime->oss.buffer = vmalloc(runtime->oss.period_bytes);
1307 if (bytes < runtime->oss.period_bytes || runtime->oss.buffer_used > 0) {
1309 if (tmp + runtime->oss.buffer_used > runtime->oss.period_bytes)
1310 tmp = runtime->oss.period_bytes - runtime->oss.buffer_used;
1322 runtime->oss.buffer_used == runtime->oss.period_bytes) {
1329 runtime->oss.period_ptr %= runtime->oss.period_bytes;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/bcm947xx/
H A Dbcm947xx-pcm.c316 size_t period_bytes = params_period_bytes(params); local
323 DBG("%s: period_size 0x%x period_bytes 0x%x\n", __FUNCTION__, period_size, period_bytes);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/
H A Dau88x0.h128 int period_bytes; member in struct:__anon11057
H A Dau88x0_core.c961 dma->period_bytes = psize;
1060 dma->period_bytes * p));
1098 hwwrite(vortex->mmio, VORTEX_ADBDMA_BUFBASE+(((adbdma << 2)+pp) << 2), snd_sgbuf_get_addr(dma->sgbuf, dma->period_bytes * p));
1110 temp = (dma->period_virt * dma->period_bytes) + (temp & POS_MASK);
1209 dma->period_bytes = psize;
1303 snd_sgbuf_get_addr(dma->sgbuf, dma->period_bytes * p));
1328 temp = (temp & POS_MASK) + ((dma->period_virt) * (dma->period_bytes));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/rme9652/
H A Dhdspm.c432 size_t period_bytes; member in struct:hdspm
720 hdspm->period_bytes =
731 return (position & HDSPM_BufferID) ? (hdspm->period_bytes /
742 position = ((position - 64) % (2 * hdspm->period_bytes)) / 4;
764 int n = hdspm->period_bytes;
2986 period_bytes),
2988 64) % (2 * (int)hdspm->period_bytes),
3011 x, (unsigned long) hdspm->period_bytes);
3179 period_bytes),
3181 64) % (2 * (int)hdspm->period_bytes),
[all...]
H A Drme9652.c223 size_t period_bytes; /* guess what this is */ member in struct:snd_rme9652
370 rme9652->period_bytes = 1 << ((rme9652_decode_latency(i) + 8));
372 (rme9652->period_bytes * 2 - 1) & RME9652_buf_pos;
380 snd_pcm_uframes_t period_size = rme9652->period_bytes / 4;
1633 x, (unsigned long) rme9652->period_bytes);
2037 if (params_period_size(params) != rme9652->period_bytes / 4) {
H A Dhdsp.c454 size_t period_bytes; /* guess what this is */ member in struct:hdsp
934 hdsp->period_bytes = 1 << ((hdsp_decode_latency(hdsp->control_register) + 8));
944 return (position & HDSP_BufferID) ? (hdsp->period_bytes / 4) : 0;
948 position &= (hdsp->period_bytes/2) - 1;
3349 snd_iprintf(buffer, "Buffer Size (Latency): %d samples (2 periods of %lu bytes)\n", x, (unsigned long) hdsp->period_bytes);
3912 if (params_period_size(params) != hdsp->period_bytes / 4) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/vx/
H A Dvx_pcm.c921 pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size);
1133 if (pipe->transferred >= pipe->period_bytes) {
1134 pipe->transferred %= pipe->period_bytes;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/riptide/
H A Driptide.c1113 unsigned int pos, period_bytes; local
1150 period_bytes =
1159 if (pos >= period_bytes) {
1161 while (pos >= period_bytes)
1162 pos -= period_bytes;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/usb/
H A Dusbaudio.c155 unsigned int period_bytes; /* current period bytes (for hw_params callback) */ member in struct:snd_usb_substream
1005 static int init_substream_urbs(struct snd_usb_substream *subs, unsigned int period_bytes, argument
1061 total_packs = (period_bytes + minsize - 1) / minsize;
1431 subs->period_bytes != params_period_bytes(hw_params) ||
1450 /* influenced: period_bytes, channels, rate, format, */
1470 subs->period_bytes = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dpcm.c368 snd_iprintf(buffer, "OSS period bytes: %lu\n", (unsigned long)runtime->oss.period_bytes);

Completed in 270 milliseconds