Searched refs:t4_ddp_pgsz (Results 1 – 1 of 1) sorted by relevance
| /trueos/sys/dev/cxgbe/tom/ |
| HD | t4_ddp.c | 79 static int t4_ddp_pgsz[] = {4096, 4096 << 2, 4096 << 4, 4096 << 6}; variable 659 if (hcf < t4_ddp_pgsz[1]) { in alloc_ddp_buffer() 665 if (hcf % t4_ddp_pgsz[0] != 0) { in alloc_ddp_buffer() 674 for (idx = nitems(t4_ddp_pgsz) - 1; idx > 0; idx--) { in alloc_ddp_buffer() 675 if (hcf % t4_ddp_pgsz[idx] == 0) in alloc_ddp_buffer() 687 nppods = pages_to_nppods(npages, t4_ddp_pgsz[idx]); in alloc_ddp_buffer() 691 __func__, nppods, len, t4_ddp_pgsz[idx]); in alloc_ddp_buffer() 705 t4_ddp_pgsz[idx], ppod, db->npages, db->nppods, db->offset, in alloc_ddp_buffer() 729 ddp_pgsz = t4_ddp_pgsz[G_PPOD_PGSZ(db->tag)]; in write_page_pods()
|