Home
last modified time | relevance | path

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

/Linux-v6.6/sound/pci/
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 …]
Dvia82xx.c317 struct snd_via_sg_table *idx_table; member
427 if (! dev->idx_table) { in build_via_table()
428 dev->idx_table = kmalloc_array(VIA_TABLE_SIZE, in build_via_table()
429 sizeof(*dev->idx_table), in build_via_table()
431 if (! dev->idx_table) in build_via_table()
471 dev->idx_table[idx].offset = ofs; in build_via_table()
472 dev->idx_table[idx].size = r; in build_via_table()
492 kfree(dev->idx_table); in clean_via_table()
493 dev->idx_table = NULL; in clean_via_table()
779 size = viadev->idx_table[idx].size; in calc_linear_pos()
[all …]
/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1466 qp_table->idx_table.spare_idx = kcalloc(hr_dev->caps.num_qps, in hns_roce_init_qp_table()
1468 if (!qp_table->idx_table.spare_idx) in hns_roce_init_qp_table()
1498 kfree(hr_dev->qp_table.idx_table.spare_idx); in hns_roce_cleanup_qp_table()
Dhns_roce_device.h484 struct hns_roce_idx_table idx_table; member
Dhns_roce_hw_v2.c4660 u32 *spare_idx = hr_dev->qp_table.idx_table.spare_idx; in get_dip_ctx_idx()
4661 u32 *head = &hr_dev->qp_table.idx_table.head; in get_dip_ctx_idx()
4662 u32 *tail = &hr_dev->qp_table.idx_table.tail; in get_dip_ctx_idx()