Home
last modified time | relevance | path

Searched refs:idx_table (Results 1 – 5 of 5) sorted by relevance

/linux/sound/pci/
H A Dvia82xx_modem.c212 struct snd_via_sg_table *idx_table; member
280 if (! dev->idx_table) { in build_via_table()
281 dev->idx_table = kmalloc_array(VIA_TABLE_SIZE, in build_via_table()
282 sizeof(*dev->idx_table), in build_via_table()
284 if (! dev->idx_table) in build_via_table()
326 dev->idx_table[idx].offset = ofs; in build_via_table()
327 dev->idx_table[idx].size = r; in build_via_table()
346 kfree(dev->idx_table); in clean_via_table()
347 dev->idx_table = NULL; in clean_via_table()
562 size = viadev->idx_table[idx].size; in calc_linear_pos()
[all …]
H A Dvia82xx.c317 struct snd_via_sg_table *idx_table; member
425 if (! dev->idx_table) { in build_via_table()
426 dev->idx_table = kmalloc_array(VIA_TABLE_SIZE, in build_via_table()
427 sizeof(*dev->idx_table), in build_via_table()
429 if (! dev->idx_table) in build_via_table()
469 dev->idx_table[idx].offset = ofs; in build_via_table()
470 dev->idx_table[idx].size = r; in build_via_table()
490 kfree(dev->idx_table); in clean_via_table()
491 dev->idx_table = NULL; in clean_via_table()
777 size = viadev->idx_table[idx].size; in calc_linear_pos()
[all …]
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c1549 qp_table->idx_table.spare_idx = kcalloc(hr_dev->caps.num_qps, in hns_roce_init_qp_table()
1551 if (!qp_table->idx_table.spare_idx) in hns_roce_init_qp_table()
1583 kfree(hr_dev->qp_table.idx_table.spare_idx); in hns_roce_cleanup_qp_table()
H A Dhns_roce_device.h506 struct hns_roce_idx_table idx_table; member
H A Dhns_roce_hw_v2.c4709 u32 *spare_idx = hr_dev->qp_table.idx_table.spare_idx; in get_dip_ctx_idx()
4710 u32 *head = &hr_dev->qp_table.idx_table.head; in get_dip_ctx_idx()
4711 u32 *tail = &hr_dev->qp_table.idx_table.tail; in get_dip_ctx_idx()