Lines Matching refs:ppod
1626 struct pagepod *ppod; in t4_write_page_pods_for_ps() local
1666 ppod = (struct pagepod *)(ulpsc + 1); in t4_write_page_pods_for_ps()
1667 for (j = 0; j < n; i++, j++, ppod++) { in t4_write_page_pods_for_ps()
1668 ppod->vld_tid_pgsz_tag_color = htobe64(F_PPOD_VALID | in t4_write_page_pods_for_ps()
1670 ppod->len_offset = htobe64(V_PPOD_LEN(ps->len) | in t4_write_page_pods_for_ps()
1672 ppod->rsvd = 0; in t4_write_page_pods_for_ps()
1674 for (k = 0; k < nitems(ppod->addr); k++) { in t4_write_page_pods_for_ps()
1677 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_ps()
1680 ppod->addr[k] = 0; in t4_write_page_pods_for_ps()
1685 be64toh(ppod->addr[k])); in t4_write_page_pods_for_ps()
1705 struct pagepod *ppod; in t4_write_page_pods_for_rcvbuf() local
1748 ppod = (struct pagepod *)(ulpsc + 1); in t4_write_page_pods_for_rcvbuf()
1749 for (j = 0; j < n; i++, j++, ppod++) { in t4_write_page_pods_for_rcvbuf()
1750 ppod->vld_tid_pgsz_tag_color = htobe64(F_PPOD_VALID | in t4_write_page_pods_for_rcvbuf()
1752 ppod->len_offset = htobe64(V_PPOD_LEN(drb->len) | in t4_write_page_pods_for_rcvbuf()
1754 ppod->rsvd = 0; in t4_write_page_pods_for_rcvbuf()
1756 for (k = 0; k < nitems(ppod->addr); k++) { in t4_write_page_pods_for_rcvbuf()
1758 ppod->addr[k] = 0; in t4_write_page_pods_for_rcvbuf()
1761 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_rcvbuf()
1768 be64toh(ppod->addr[k])); in t4_write_page_pods_for_rcvbuf()
1813 struct pagepod *ppod; in t4_write_page_pods_for_bio() local
1853 ppod = (struct pagepod *)(ulpsc + 1); in t4_write_page_pods_for_bio()
1854 for (j = 0; j < n; i++, j++, ppod++) { in t4_write_page_pods_for_bio()
1855 ppod->vld_tid_pgsz_tag_color = htobe64(F_PPOD_VALID | in t4_write_page_pods_for_bio()
1858 ppod->len_offset = htobe64(V_PPOD_LEN(bp->bio_bcount) | in t4_write_page_pods_for_bio()
1860 ppod->rsvd = 0; in t4_write_page_pods_for_bio()
1862 for (k = 0; k < nitems(ppod->addr); k++) { in t4_write_page_pods_for_bio()
1865 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_bio()
1868 ppod->addr[k] = 0; in t4_write_page_pods_for_bio()
1873 be64toh(ppod->addr[k])); in t4_write_page_pods_for_bio()
1891 struct pagepod *ppod; in t4_write_page_pods_for_buf() local
1933 ppod = (struct pagepod *)(ulpsc + 1); in t4_write_page_pods_for_buf()
1934 for (j = 0; j < n; i++, j++, ppod++) { in t4_write_page_pods_for_buf()
1935 ppod->vld_tid_pgsz_tag_color = htobe64(F_PPOD_VALID | in t4_write_page_pods_for_buf()
1938 ppod->len_offset = htobe64(V_PPOD_LEN(buflen) | in t4_write_page_pods_for_buf()
1940 ppod->rsvd = 0; in t4_write_page_pods_for_buf()
1942 for (k = 0; k < nitems(ppod->addr); k++) { in t4_write_page_pods_for_buf()
1944 ppod->addr[k] = 0; in t4_write_page_pods_for_buf()
1947 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_buf()
1954 be64toh(ppod->addr[k])); in t4_write_page_pods_for_buf()
1981 struct pagepod *ppod; in t4_write_page_pods_for_sgl() local
2024 ppod = (struct pagepod *)(ulpsc + 1); in t4_write_page_pods_for_sgl()
2025 for (j = 0; j < n; i++, j++, ppod++) { in t4_write_page_pods_for_sgl()
2026 ppod->vld_tid_pgsz_tag_color = htobe64(F_PPOD_VALID | in t4_write_page_pods_for_sgl()
2029 ppod->len_offset = htobe64(V_PPOD_LEN(xferlen) | in t4_write_page_pods_for_sgl()
2031 ppod->rsvd = 0; in t4_write_page_pods_for_sgl()
2033 for (k = 0; k < nitems(ppod->addr); k++) { in t4_write_page_pods_for_sgl()
2036 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_sgl()
2038 ppod->addr[k] = 0; in t4_write_page_pods_for_sgl()
2044 be64toh(ppod->addr[k])); in t4_write_page_pods_for_sgl()
2052 if (k + 1 == nitems(ppod->addr)) in t4_write_page_pods_for_sgl()