Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_memfree.c270 MTHCA_TABLE_CHUNK_SIZE / MTHCA_ICM_PAGE_SIZE); in mthca_table_put()
415 MTHCA_TABLE_CHUNK_SIZE / MTHCA_ICM_PAGE_SIZE); in mthca_alloc_icm_table()
432 MTHCA_TABLE_CHUNK_SIZE / MTHCA_ICM_PAGE_SIZE); in mthca_free_icm_table()
443 page * MTHCA_ICM_PAGE_SIZE; in mthca_uarc_virt()
480 sg_set_page(&db_tab->page[i].mem, pages[0], MTHCA_ICM_PAGE_SIZE, in mthca_map_user_db()
532 npages = dev->uar_table.uarc_size / MTHCA_ICM_PAGE_SIZE; in mthca_init_user_db_tab()
555 for (i = 0; i < dev->uar_table.uarc_size / MTHCA_ICM_PAGE_SIZE; ++i) { in mthca_cleanup_user_db_tab()
627 page->db_rec = dma_alloc_coherent(&dev->pdev->dev, MTHCA_ICM_PAGE_SIZE, in mthca_alloc_db()
633 memset(page->db_rec, 0, MTHCA_ICM_PAGE_SIZE); in mthca_alloc_db()
638 dma_free_coherent(&dev->pdev->dev, MTHCA_ICM_PAGE_SIZE, in mthca_alloc_db()
[all …]
Dmthca_memfree.h47 MTHCA_ICM_PAGE_SIZE = 1 << MTHCA_ICM_PAGE_SHIFT, enumerator
48 MTHCA_DB_REC_PER_PAGE = MTHCA_ICM_PAGE_SIZE / 8
Dmthca_cmd.c684 MTHCA_ICM_PAGE_SIZE, in mthca_map_cmd()
859 ALIGN(dev->fw.arbel.fw_pages, PAGE_SIZE / MTHCA_ICM_PAGE_SIZE) >> in mthca_QUERY_FW()
1594 *aux_pages = ALIGN(*aux_pages, PAGE_SIZE / MTHCA_ICM_PAGE_SIZE) >> in mthca_SET_ICM_SIZE()