av_table 172 drivers/infiniband/hw/mthca/mthca_av.c index = mthca_alloc(&dev->av_table.alloc); av_table 183 drivers/infiniband/hw/mthca/mthca_av.c ah->avdma = dev->av_table.ddr_av_base + av_table 189 drivers/infiniband/hw/mthca/mthca_av.c ah->av = dma_pool_zalloc(dev->av_table.pool, av_table 235 drivers/infiniband/hw/mthca/mthca_av.c memcpy_toio(dev->av_table.av_map + index * MTHCA_AV_SIZE, av_table 247 drivers/infiniband/hw/mthca/mthca_av.c mthca_free(&dev->av_table.alloc, av_table 248 drivers/infiniband/hw/mthca/mthca_av.c (ah->avdma - dev->av_table.ddr_av_base) / av_table 253 drivers/infiniband/hw/mthca/mthca_av.c dma_pool_free(dev->av_table.pool, ah->av, ah->avdma); av_table 333 drivers/infiniband/hw/mthca/mthca_av.c err = mthca_alloc_init(&dev->av_table.alloc, av_table 334 drivers/infiniband/hw/mthca/mthca_av.c dev->av_table.num_ddr_avs, av_table 335 drivers/infiniband/hw/mthca/mthca_av.c dev->av_table.num_ddr_avs - 1, av_table 340 drivers/infiniband/hw/mthca/mthca_av.c dev->av_table.pool = dma_pool_create("mthca_av", &dev->pdev->dev, av_table 343 drivers/infiniband/hw/mthca/mthca_av.c if (!dev->av_table.pool) av_table 347 drivers/infiniband/hw/mthca/mthca_av.c dev->av_table.av_map = ioremap(pci_resource_start(dev->pdev, 4) + av_table 348 drivers/infiniband/hw/mthca/mthca_av.c dev->av_table.ddr_av_base - av_table 350 drivers/infiniband/hw/mthca/mthca_av.c dev->av_table.num_ddr_avs * av_table 352 drivers/infiniband/hw/mthca/mthca_av.c if (!dev->av_table.av_map) av_table 355 drivers/infiniband/hw/mthca/mthca_av.c dev->av_table.av_map = NULL; av_table 360 drivers/infiniband/hw/mthca/mthca_av.c dma_pool_destroy(dev->av_table.pool); av_table 363 drivers/infiniband/hw/mthca/mthca_av.c mthca_alloc_cleanup(&dev->av_table.alloc); av_table 372 drivers/infiniband/hw/mthca/mthca_av.c if (dev->av_table.av_map) av_table 373 drivers/infiniband/hw/mthca/mthca_av.c iounmap(dev->av_table.av_map); av_table 374 drivers/infiniband/hw/mthca/mthca_av.c dma_pool_destroy(dev->av_table.pool); av_table 375 drivers/infiniband/hw/mthca/mthca_av.c mthca_alloc_cleanup(&dev->av_table.alloc); av_table 346 drivers/infiniband/hw/mthca/mthca_dev.h struct mthca_av_table av_table; av_table 238 drivers/infiniband/hw/mthca/mthca_profile.c dev->av_table.ddr_av_base = profile[i].start; av_table 239 drivers/infiniband/hw/mthca/mthca_profile.c dev->av_table.num_ddr_avs = profile[i].num;