Home
last modified time | relevance | path

Searched refs:av_table (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/mthca/
Dmthca_av.c172 index = mthca_alloc(&dev->av_table.alloc); in mthca_create_ah()
183 ah->avdma = dev->av_table.ddr_av_base + in mthca_create_ah()
189 ah->av = dma_pool_zalloc(dev->av_table.pool, in mthca_create_ah()
235 memcpy_toio(dev->av_table.av_map + index * MTHCA_AV_SIZE, in mthca_create_ah()
247 mthca_free(&dev->av_table.alloc, in mthca_destroy_ah()
248 (ah->avdma - dev->av_table.ddr_av_base) / in mthca_destroy_ah()
253 dma_pool_free(dev->av_table.pool, ah->av, ah->avdma); in mthca_destroy_ah()
333 err = mthca_alloc_init(&dev->av_table.alloc, in mthca_init_av_table()
334 dev->av_table.num_ddr_avs, in mthca_init_av_table()
335 dev->av_table.num_ddr_avs - 1, in mthca_init_av_table()
[all …]
Dmthca_profile.c236 dev->av_table.ddr_av_base = profile[i].start; in mthca_make_profile()
237 dev->av_table.num_ddr_avs = profile[i].num; in mthca_make_profile()
Dmthca_dev.h345 struct mthca_av_table av_table; member