Home
last modified time | relevance | path

Searched refs:space (Results 1 – 13 of 13) sorted by relevance

/sound/drivers/vx/
Dvx_pcm.c631 int space, err = 0; in vx_pcm_playback_transfer_chunk() local
633 space = vx_query_hbuffer_size(chip, pipe); in vx_pcm_playback_transfer_chunk()
634 if (space < 0) { in vx_pcm_playback_transfer_chunk()
638 return space; in vx_pcm_playback_transfer_chunk()
640 if (space < size) { in vx_pcm_playback_transfer_chunk()
642 snd_printd("no enough hbuffer space %d\n", space); in vx_pcm_playback_transfer_chunk()
1038 int size, space, count; in vx_pcm_capture_update() local
1048 space = vx_query_hbuffer_size(chip, pipe); in vx_pcm_capture_update()
1049 if (space < 0) in vx_pcm_capture_update()
1051 if (size > space) in vx_pcm_capture_update()
[all …]
/sound/aoa/soundbus/i2sbus/
Dcore.c48 r->space = dma_alloc_coherent( in alloc_dbdma_descriptor_ring()
54 if (!r->space) return -ENOMEM; in alloc_dbdma_descriptor_ring()
56 memset(r->space, 0, r->size); in alloc_dbdma_descriptor_ring()
57 r->cmds = (void*)DBDMA_ALIGN(r->space); in alloc_dbdma_descriptor_ring()
59 (dma_addr_t)((char*)r->cmds - (char*)r->space); in alloc_dbdma_descriptor_ring()
67 if (!r->space) return; in free_dbdma_descriptor_ring()
70 r->size, r->space, r->bus_addr); in free_dbdma_descriptor_ring()
Di2sbus.h35 void *space; member
/sound/core/seq/
Dseq_memory.c512 struct snd_seq_pool *pool, char *space) in snd_seq_info_pool() argument
516 snd_iprintf(buffer, "%sPool size : %d\n", space, pool->total_elements); in snd_seq_info_pool()
517 snd_iprintf(buffer, "%sCells in use : %d\n", space, atomic_read(&pool->counter)); in snd_seq_info_pool()
518 snd_iprintf(buffer, "%sPeak cells in use : %d\n", space, pool->max_used); in snd_seq_info_pool()
519 snd_iprintf(buffer, "%sAlloc success : %d\n", space, pool->event_alloc_success); in snd_seq_info_pool()
520 snd_iprintf(buffer, "%sAlloc failures : %d\n", space, pool->event_alloc_failures); in snd_seq_info_pool()
Dseq_memory.h105 struct snd_seq_pool *pool, char *space);
/sound/oss/dmasound/
Ddmasound_paula.c122 static int AmiStateInfo(char *buffer, size_t space);
653 static int AmiStateInfo(char *buffer, size_t space) in AmiStateInfo() argument
660 if (len >= space) { in AmiStateInfo()
662 len = space ; in AmiStateInfo()
Ddmasound_atari.c147 static int TTStateInfo(char *buffer, size_t space);
148 static int FalconStateInfo(char *buffer, size_t space);
1472 static int TTStateInfo(char *buffer, size_t space) in TTStateInfo() argument
1483 if (len >= space) { in TTStateInfo()
1485 len = space ; in TTStateInfo()
1490 static int FalconStateInfo(char *buffer, size_t space) in FalconStateInfo() argument
1497 if (len >= space) { in FalconStateInfo()
1499 len = space ; in FalconStateInfo()
/sound/ppc/
Dpmac.c66 rec->space = dma_alloc_coherent(&chip->pdev->dev, rsize, in snd_pmac_dbdma_alloc()
68 if (rec->space == NULL) in snd_pmac_dbdma_alloc()
71 memset(rec->space, 0, rsize); in snd_pmac_dbdma_alloc()
72 rec->cmds = (void __iomem *)DBDMA_ALIGN(rec->space); in snd_pmac_dbdma_alloc()
73 rec->addr = rec->dma_base + (unsigned long)((char *)rec->cmds - (char *)rec->space); in snd_pmac_dbdma_alloc()
80 if (rec->space) { in snd_pmac_dbdma_free()
83 dma_free_coherent(&chip->pdev->dev, rsize, rec->space, rec->dma_base); in snd_pmac_dbdma_free()
Dpmac.h56 void *space; member
/sound/core/
Dcontrol.c715 unsigned int offset, space, jidx; in snd_ctl_elem_list() local
720 space = list.space; in snd_ctl_elem_list()
722 if (space > 16384) in snd_ctl_elem_list()
724 if (space > 0) { in snd_ctl_elem_list()
726 dst = vmalloc(space * sizeof(struct snd_ctl_elem_id)); in snd_ctl_elem_list()
743 while (space > 0 && plist != &card->controls) { in snd_ctl_elem_list()
745 for (jidx = offset; space > 0 && jidx < kctl->count; jidx++) { in snd_ctl_elem_list()
748 space--; in snd_ctl_elem_list()
Dcontrol_compat.c28 u32 space; member
/sound/drivers/
DKconfig83 This module returns played samples back to the user space using
/sound/oss/
DCHANGELOG35 changed so that arg always points to kernel space.