Searched refs:cpages (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_page_alloc.c | 479 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument 485 r = set_pages_array_uc(pages, cpages); in ttm_set_pages_caching() 487 printf("[TTM] Failed to set %d pages to uc!\n", cpages); in ttm_set_pages_caching() 490 r = set_pages_array_wc(pages, cpages); in ttm_set_pages_caching() 492 printf("[TTM] Failed to set %d pages to wc!\n", cpages); in ttm_set_pages_caching() 507 vm_page_t *failed_pages, unsigned cpages) in ttm_handle_caching_state_failure() argument 511 for (i = 0; i < cpages; ++i) { in ttm_handle_caching_state_failure() 529 unsigned i, cpages; in ttm_alloc_new_pages() local 537 for (i = 0, cpages = 0; i < count; ++i) { in ttm_alloc_new_pages() 544 if (cpages) { in ttm_alloc_new_pages() [all …]
|
H A D | ttm_page_alloc_dma.c | 307 struct page **pages, unsigned cpages) in ttm_set_pages_caching() argument 312 r = set_pages_array_uc(pages, cpages); in ttm_set_pages_caching() 315 pool->dev_name, cpages); in ttm_set_pages_caching() 318 r = set_pages_array_wc(pages, cpages); in ttm_set_pages_caching() 321 pool->dev_name, cpages); in ttm_set_pages_caching() 675 unsigned cpages) in ttm_dma_handle_caching_state_failure() argument 691 if (++i < cpages) in ttm_dma_handle_caching_state_failure() 713 unsigned i, cpages; in ttm_dma_pool_alloc_new_pages() local 731 for (i = 0, cpages = 0; i < count; ++i) { in ttm_dma_pool_alloc_new_pages() 739 if (cpages) { in ttm_dma_pool_alloc_new_pages() [all …]
|