Searched refs:av_table (Results 1 – 3 of 3) sorted by relevance
172 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 = pci_pool_alloc(dev->av_table.pool, in mthca_create_ah()232 memcpy_toio(dev->av_table.av_map + index * MTHCA_AV_SIZE, in mthca_create_ah()244 mthca_free(&dev->av_table.alloc, in mthca_destroy_ah()245 (ah->avdma - dev->av_table.ddr_av_base) / in mthca_destroy_ah()250 pci_pool_free(dev->av_table.pool, ah->av, ah->avdma); in mthca_destroy_ah()331 err = mthca_alloc_init(&dev->av_table.alloc, in mthca_init_av_table()332 dev->av_table.num_ddr_avs, in mthca_init_av_table()333 dev->av_table.num_ddr_avs - 1, in mthca_init_av_table()[all …]
242 dev->av_table.ddr_av_base = profile[i].start; in mthca_make_profile()243 dev->av_table.num_ddr_avs = profile[i].num; in mthca_make_profile()
346 struct mthca_av_table av_table; member