Lines Matching refs:idx_table
224 struct snd_via_sg_table *idx_table;
291 if (! dev->idx_table) {
292 dev->idx_table = kmalloc(sizeof(*dev->idx_table) * VIA_TABLE_SIZE, GFP_KERNEL);
293 if (! dev->idx_table)
333 dev->idx_table[idx].offset = ofs;
334 dev->idx_table[idx].size = r;
353 kfree(dev->idx_table);
354 dev->idx_table = NULL;
565 size = viadev->idx_table[idx].size;
566 res = viadev->idx_table[idx].offset + size - count;
578 viadev->bufsize2, viadev->idx_table[idx].offset,
579 viadev->idx_table[idx].size, count);
588 res = viadev->idx_table[idx].offset;
593 res = viadev->idx_table[idx].offset + size;