Lines Matching full:pages

42  * struct ttm_tt - This is a structure holding the pages, caching- and aperture
47 /** @pages: Array of pages backing the data. */
48 struct page **pages; member
54 * TTM_TT_FLAG_SWAPPED: Set by TTM when the pages have been unpopulated
56 * pages back in, and unset the flag. Drivers should in general never
59 * TTM_TT_FLAG_ZERO_ALLOC: Set if the pages will be zeroed on
62 * TTM_TT_FLAG_EXTERNAL: Set if the underlying pages were allocated
64 * TTM swapping out such pages. Also important is to prevent TTM from
65 * ever directly mapping these pages.
72 * still valid to use TTM to map the pages directly. This is useful when
74 * pages underneath(say with shmem).
82 * TTM_TT_FLAG_DECRYPTED: The mapped ttm pages should be marked as
100 /** @num_pages: Number of pages in the page array. */
104 /** @dma_address: The DMA (bus) addresses of the pages. */
109 * @caching: The current caching state of the pages, see enum
136 * @zero_alloc: true if allocated pages needs to be zeroed
139 * No pages are actually allocated.
149 * @caching: the desired caching state of the pages
150 * @extra_pages: Extra pages needed for the driver.
152 * Create a struct ttm_tt to back data with system memory pages.
153 * No pages are actually allocated.
194 * ttm_tt_populate - allocate pages for a ttm
200 * Calls the driver method to allocate pages for a ttm
206 * ttm_tt_unpopulate - free pages from a ttm
211 * Calls the driver method to free all pages from a ttm
216 * ttm_tt_mark_for_clear - Mark pages for clearing on populate.
220 * Marks pages for clearing so that the next time the page vector is
221 * populated, the pages will be cleared.