Home
last modified time | relevance | path

Searched refs:wqe_pcnt (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-helper-errata.c105 int size, num_segs = 0, wqe_pcnt, pkt_pcnt; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
130 wqe_pcnt = cvmx_read_csr(CVMX_IPD_PTR_COUNT); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
131 pkt_pcnt = (wqe_pcnt >> 7) & 0x7f; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
132 wqe_pcnt &= 0x7f; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
134 num_segs = (2 + pkt_pcnt - wqe_pcnt) & 3; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
H A Dcvmx-ipd.c117 if (ipd_ptr_count.s.wqe_pcnt) { in __cvmx_ipd_free_ptr_v1()
121 for (i = 0; i < ipd_ptr_count.s.wqe_pcnt; i++) { in __cvmx_ipd_free_ptr_v1()
224 if (ipd_ptr_count.s.wqe_pcnt) { in __cvmx_ipd_free_ptr_v2()
228 for (i = 0; i < ipd_ptr_count.s.wqe_pcnt; i++) { in __cvmx_ipd_free_ptr_v2()
H A Dcvmx-ipd-defs.h2911 uint64_t wqe_pcnt : 7; /**< Number of page pointers for WQE storage that are member
2918 uint64_t wqe_pcnt : 7;
H A Dcvmx-helper.c1549 to_add = (ipd_cnt.s.wqev_cnt + ipd_cnt.s.wqe_pcnt) & 0x7; in cvmx_helper_shutdown_packet_io_global()