Lines Matching refs:size
138 unsigned int size, int w_16, int align) in snd_gf1_mem_find() argument
156 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
158 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
162 if (pblock->ptr + pblock->size == pblock->next->ptr) in snd_gf1_mem_find()
167 ptr1 = ALIGN(pblock->ptr + pblock->size, align); in snd_gf1_mem_find()
171 if ((int)size <= size1) { in snd_gf1_mem_find()
173 block->size = size; in snd_gf1_mem_find()
178 if (size <= info[idx].size) { in snd_gf1_mem_find()
181 block->size = size; in snd_gf1_mem_find()
189 char *name, int size, int w_16, int align, in snd_gf1_mem_alloc() argument
198 if (size != (int)nblock->size) { in snd_gf1_mem_alloc()
209 if (snd_gf1_mem_find(alloc, &block, size, w_16, align) < 0) { in snd_gf1_mem_alloc()
255 block.size = 1024; in snd_gf1_mem_init()
261 block.size = 4; in snd_gf1_mem_init()
302 …snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_8[i].address, alloc->banks_8[i].size >> 10, i… in snd_gf1_mem_info_read()
306 …snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_16[i].address, alloc->banks_16[i].size >> 10,… in snd_gf1_mem_info_read()
307 total += alloc->banks_16[i].size; in snd_gf1_mem_info_read()
312 used += block->size; in snd_gf1_mem_info_read()
313 …i at 0x%lx onboard 0x%x size %i (0x%x):\n", i, (long) block, block->ptr, block->size, block->size); in snd_gf1_mem_info_read()