Home
last modified time | relevance | path

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

/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c589 union cvmx_pko_mem_port_rate0 pko_mem_port_rate0; in cvmx_pko_rate_limit_packets() local
592 pko_mem_port_rate0.u64 = 0; in cvmx_pko_rate_limit_packets()
593 pko_mem_port_rate0.s.pid = port; in cvmx_pko_rate_limit_packets()
594 pko_mem_port_rate0.s.rate_pkt = in cvmx_pko_rate_limit_packets()
597 pko_mem_port_rate0.s.rate_word = 0; in cvmx_pko_rate_limit_packets()
602 ((uint64_t) pko_mem_port_rate0.s.rate_pkt * burst) >> 8; in cvmx_pko_rate_limit_packets()
604 cvmx_write_csr(CVMX_PKO_MEM_PORT_RATE0, pko_mem_port_rate0.u64); in cvmx_pko_rate_limit_packets()
622 union cvmx_pko_mem_port_rate0 pko_mem_port_rate0; in cvmx_pko_rate_limit_bits() local
627 pko_mem_port_rate0.u64 = 0; in cvmx_pko_rate_limit_bits()
628 pko_mem_port_rate0.s.pid = port; in cvmx_pko_rate_limit_bits()
[all …]