Home
last modified time | relevance | path

Searched refs:cpages (Results 1 – 2 of 2) sorted by relevance

/freebsd-12-stable/sys/dev/drm2/ttm/
Dttm_page_alloc.c482 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument
488 r = set_pages_array_uc(pages, cpages); in ttm_set_pages_caching()
490 printf("[TTM] Failed to set %d pages to uc!\n", cpages); in ttm_set_pages_caching()
493 r = set_pages_array_wc(pages, cpages); in ttm_set_pages_caching()
495 printf("[TTM] Failed to set %d pages to wc!\n", cpages); in ttm_set_pages_caching()
510 vm_page_t *failed_pages, unsigned cpages) in ttm_handle_caching_state_failure() argument
514 for (i = 0; i < cpages; ++i) { in ttm_handle_caching_state_failure()
532 unsigned i, cpages; in ttm_alloc_new_pages() local
540 for (i = 0, cpages = 0; i < count; ++i) { in ttm_alloc_new_pages()
547 if (cpages) { in ttm_alloc_new_pages()
[all …]
Dttm_page_alloc_dma.c309 struct page **pages, unsigned cpages) in ttm_set_pages_caching() argument
314 r = set_pages_array_uc(pages, cpages); in ttm_set_pages_caching()
317 pool->dev_name, cpages); in ttm_set_pages_caching()
320 r = set_pages_array_wc(pages, cpages); in ttm_set_pages_caching()
323 pool->dev_name, cpages); in ttm_set_pages_caching()
677 unsigned cpages) in ttm_dma_handle_caching_state_failure() argument
693 if (++i < cpages) in ttm_dma_handle_caching_state_failure()
715 unsigned i, cpages; in ttm_dma_pool_alloc_new_pages() local
733 for (i = 0, cpages = 0; i < count; ++i) { in ttm_dma_pool_alloc_new_pages()
741 if (cpages) { in ttm_dma_pool_alloc_new_pages()
[all …]