Searched refs:idx_table (Results 1 – 5 of 5) sorted by relevance
212 struct snd_via_sg_table *idx_table; member280 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 …]
317 struct snd_via_sg_table *idx_table; member427 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 …]
1444 qp_table->idx_table.spare_idx = kcalloc(hr_dev->caps.num_qps, in hns_roce_init_qp_table()1446 if (!qp_table->idx_table.spare_idx) in hns_roce_init_qp_table()1476 kfree(hr_dev->qp_table.idx_table.spare_idx); in hns_roce_cleanup_qp_table()
481 struct hns_roce_idx_table idx_table; member
4678 u32 *spare_idx = hr_dev->qp_table.idx_table.spare_idx; in get_dip_ctx_idx()4679 u32 *head = &hr_dev->qp_table.idx_table.head; in get_dip_ctx_idx()4680 u32 *tail = &hr_dev->qp_table.idx_table.tail; in get_dip_ctx_idx()