Lines Matching refs:page
62 #include <asm/page.h> /* To get host page size per arch */
974 desc = "config invalid page";
2056 * contiguous space that is one page size each.
2068 * always points at the beginning of a 4KB physical memory page, and the offset
2069 * describes where within that 4KB page the memory segment begins. Only the
2071 * memory segments following the first begin at the start of a 4KB page.
2075 * by the list begins at a non-zero offset within the first 4KB page, then the
2077 * begins within the 4KB page. The last memory segment may end before the end
2126 * Check if we are within 1 entry of a page boundary we don't
2132 /* Bump up to next page boundary. */
2139 * DMA memory page.
2156 * page boundary - prp_size (8 bytes).
2164 * address, which will be the next full page.
2165 * - set the PRP Entry to point to that page. This
2168 * next page. Since all of this PRP memory is
2169 * contiguous, no need to get a new page - it's
2177 /* Need to handle if entry will be part of a page. */
2197 * more page of data, must use a PRP List pointer.
2239 /* Decrement length accounting for last partial page. */
2279 * for each page or partial page. Driver need to split up OS sg_list
2280 * entries if it is longer than one page or cross a page
2282 * the last entry in each physical page of the PRP list.
2313 * page (4k).
2324 /* Build first prp, sge need not to be page aligned*/
2350 /* Put PRP pointer due to page boundary*/
2354 scmd, "page boundary curr_buff: 0x%p\n",
5066 "Number of chains can fit in a PRP page(%d)\n",
5456 * The number of NVMe page sized blocks needed is:
5461 * because of the PRP list pointer entry at the end of a page, so this
5462 * is not counted as a PRP entry. The 1 added page is a round up.
5640 ioc_err(ioc, "config page: dma_pool_alloc failed\n");
5644 ioc_info(ioc, "config page(0x%p) - dma(0x%llx): size(%d)\n",
6451 ioc_info(ioc, "CurrentHostPageSize is 0: Setting default host page size to 4k\n");
7499 /* config page internal command bits */