Home
last modified time | relevance | path

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

/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-pko.c576 union cvmx_pko_mem_port_rate1 pko_mem_port_rate1; in cvmx_pko_rate_limit_packets() local
585 pko_mem_port_rate1.u64 = 0; in cvmx_pko_rate_limit_packets()
586 pko_mem_port_rate1.s.pid = port; in cvmx_pko_rate_limit_packets()
587 pko_mem_port_rate1.s.rate_lim = in cvmx_pko_rate_limit_packets()
591 cvmx_write_csr(CVMX_PKO_MEM_PORT_RATE1, pko_mem_port_rate1.u64); in cvmx_pko_rate_limit_packets()
609 union cvmx_pko_mem_port_rate1 pko_mem_port_rate1; in cvmx_pko_rate_limit_bits() local
625 pko_mem_port_rate1.u64 = 0; in cvmx_pko_rate_limit_bits()
626 pko_mem_port_rate1.s.pid = port; in cvmx_pko_rate_limit_bits()
627 pko_mem_port_rate1.s.rate_lim = tokens_per_bit * burst / 256; in cvmx_pko_rate_limit_bits()
630 cvmx_write_csr(CVMX_PKO_MEM_PORT_RATE1, pko_mem_port_rate1.u64); in cvmx_pko_rate_limit_bits()