Home
last modified time | relevance | path

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

/linux-3.4.99/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c449 union cvmx_pko_mem_port_rate0 pko_mem_port_rate0; in cvmx_pko_rate_limit_packets() local
452 pko_mem_port_rate0.u64 = 0; in cvmx_pko_rate_limit_packets()
453 pko_mem_port_rate0.s.pid = port; in cvmx_pko_rate_limit_packets()
454 pko_mem_port_rate0.s.rate_pkt = in cvmx_pko_rate_limit_packets()
457 pko_mem_port_rate0.s.rate_word = 0; in cvmx_pko_rate_limit_packets()
462 ((uint64_t) pko_mem_port_rate0.s.rate_pkt * burst) >> 8; in cvmx_pko_rate_limit_packets()
464 cvmx_write_csr(CVMX_PKO_MEM_PORT_RATE0, pko_mem_port_rate0.u64); in cvmx_pko_rate_limit_packets()
482 union cvmx_pko_mem_port_rate0 pko_mem_port_rate0; in cvmx_pko_rate_limit_bits() local
487 pko_mem_port_rate0.u64 = 0; in cvmx_pko_rate_limit_bits()
488 pko_mem_port_rate0.s.pid = port; in cvmx_pko_rate_limit_bits()
[all …]