Home
last modified time | relevance | path

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

/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper.c794 int size, num_segs = 0, wqe_pcnt, pkt_pcnt; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
828 wqe_pcnt = cvmx_read_csr(CVMX_IPD_PTR_COUNT); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
829 pkt_pcnt = (wqe_pcnt >> 7) & 0x7f; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
830 wqe_pcnt &= 0x7f; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
832 num_segs = (2 + pkt_pcnt - wqe_pcnt) & 3; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-ipd.h193 if (ipd_ptr_count.s.wqe_pcnt) { in cvmx_ipd_free_ptr()
198 for (i = 0; i < ipd_ptr_count.s.wqe_pcnt; i++) { in cvmx_ipd_free_ptr()
H A Dcvmx-ipd-defs.h1204 uint64_t wqe_pcnt:7; member
1206 uint64_t wqe_pcnt:7;