Searched refs:idx_table (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/sound/pci/
H A Dvia82xx_modem.c227 struct snd_via_sg_table *idx_table; member in struct:viadev
294 if (! dev->idx_table) { build_via_table()
295 dev->idx_table = kmalloc(sizeof(*dev->idx_table) * VIA_TABLE_SIZE, GFP_KERNEL); build_via_table()
296 if (! dev->idx_table) build_via_table()
337 dev->idx_table[idx].offset = ofs; build_via_table()
338 dev->idx_table[idx].size = r; build_via_table()
357 kfree(dev->idx_table); clean_via_table()
358 dev->idx_table = NULL; clean_via_table()
572 size = viadev->idx_table[idx].size; calc_linear_pos()
573 res = viadev->idx_table[idx].offset + size - count; calc_linear_pos()
586 viadev->bufsize2, viadev->idx_table[idx].offset, calc_linear_pos()
587 viadev->idx_table[idx].size, count); calc_linear_pos()
596 res = viadev->idx_table[idx].offset; calc_linear_pos()
601 res = viadev->idx_table[idx].offset + size; calc_linear_pos()
H A Dvia82xx.c332 struct snd_via_sg_table *idx_table; member in struct:viadev
441 if (! dev->idx_table) { build_via_table()
442 dev->idx_table = kmalloc(sizeof(*dev->idx_table) * VIA_TABLE_SIZE, GFP_KERNEL); build_via_table()
443 if (! dev->idx_table) build_via_table()
482 dev->idx_table[idx].offset = ofs; build_via_table()
483 dev->idx_table[idx].size = r; build_via_table()
503 kfree(dev->idx_table); clean_via_table()
504 dev->idx_table = NULL; clean_via_table()
789 size = viadev->idx_table[idx].size; calc_linear_pos()
790 base = viadev->idx_table[idx].offset; calc_linear_pos()
819 viadev->idx_table[idx].offset, calc_linear_pos()
820 viadev->idx_table[idx].size, count); calc_linear_pos()
/linux-4.4.14/drivers/isdn/hisax/
H A Dhfc_usb.c940 __u8 val, idx_table[2] = { 0, 2 }; setup_bchannel() local
957 queue_control_request(hfc, HFCUSB_FIFO, idx_table[channel], 1); setup_bchannel()
962 queue_control_request(hfc, HFCUSB_FIFO, idx_table[channel] + 1, 1); setup_bchannel()

Completed in 326 milliseconds