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).
93 /** @num_pages: Number of pages in the page array. */
97 /** @dma_address: The DMA (bus) addresses of the pages. */
102 * @caching: The current caching state of the pages, see enum
129 * @zero_alloc: true if allocated pages needs to be zeroed
132 * No pages are actually allocated.
142 * @caching: the desired caching state of the pages
143 * @extra_pages: Extra pages needed for the driver.
145 * Create a struct ttm_tt to back data with system memory pages.
146 * No pages are actually allocated.
187 * ttm_tt_populate - allocate pages for a ttm
193 * Calls the driver method to allocate pages for a ttm
199 * ttm_tt_unpopulate - free pages from a ttm
204 * Calls the driver method to free all pages from a ttm
209 * ttm_tt_mark_for_clear - Mark pages for clearing on populate.
213 * Marks pages for clearing so that the next time the page vector is
214 * populated, the pages will be cleared.