Home
last modified time | relevance | path

Searched refs:size1 (Results 1 – 3 of 3) sorted by relevance

/sound/isa/gus/
Dgus_dram.c32 unsigned int size1, size2; in snd_gus_dram_poke() local
36 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_poke()
37 if (copy_from_user(buffer, _buffer, size1)) in snd_gus_dram_poke()
43 outsb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_poke()
45 address += size1; in snd_gus_dram_poke()
48 size2 = size1; in snd_gus_dram_poke()
52 size -= size1; in snd_gus_dram_poke()
53 _buffer += size1; in snd_gus_dram_poke()
70 unsigned int size1, size2; in snd_gus_dram_peek() local
74 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_peek()
[all …]
Dgus_mem.c142 int size1; in snd_gf1_mem_find() local
170 size1 = ptr2 - ptr1; in snd_gf1_mem_find()
171 if ((int)size <= size1) { in snd_gf1_mem_find()
/sound/core/oss/
Dpcm_oss.c1657 size_t size1 = size < runtime->oss.period_bytes ? size : runtime->oss.period_bytes; in snd_pcm_oss_sync() local
1658 size -= size1; in snd_pcm_oss_sync()
1659 size1 *= 8; in snd_pcm_oss_sync()
1660 size1 /= runtime->sample_bits; in snd_pcm_oss_sync()
1663 size1); in snd_pcm_oss_sync()
1664 size1 /= runtime->channels; /* frames */ in snd_pcm_oss_sync()
1666 snd_pcm_lib_write(substream, (void __force __user *)runtime->oss.buffer, size1); in snd_pcm_oss_sync()