Home
last modified time | relevance | path

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

/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-pko.c575 union cvmx_pko_mem_port_rate0 pko_mem_port_rate0; in cvmx_pko_rate_limit_packets() local
578 pko_mem_port_rate0.u64 = 0; in cvmx_pko_rate_limit_packets()
579 pko_mem_port_rate0.s.pid = port; in cvmx_pko_rate_limit_packets()
580 pko_mem_port_rate0.s.rate_pkt = in cvmx_pko_rate_limit_packets()
583 pko_mem_port_rate0.s.rate_word = 0; in cvmx_pko_rate_limit_packets()
588 ((uint64_t) pko_mem_port_rate0.s.rate_pkt * burst) >> 8; in cvmx_pko_rate_limit_packets()
590 cvmx_write_csr(CVMX_PKO_MEM_PORT_RATE0, pko_mem_port_rate0.u64); in cvmx_pko_rate_limit_packets()
608 union cvmx_pko_mem_port_rate0 pko_mem_port_rate0; in cvmx_pko_rate_limit_bits() local
613 pko_mem_port_rate0.u64 = 0; in cvmx_pko_rate_limit_bits()
614 pko_mem_port_rate0.s.pid = port; in cvmx_pko_rate_limit_bits()
[all …]