Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/octeon/
Dcvmx-pko.c450 union cvmx_pko_mem_port_rate1 pko_mem_port_rate1; in cvmx_pko_rate_limit_packets() local
459 pko_mem_port_rate1.u64 = 0; in cvmx_pko_rate_limit_packets()
460 pko_mem_port_rate1.s.pid = port; in cvmx_pko_rate_limit_packets()
461 pko_mem_port_rate1.s.rate_lim = in cvmx_pko_rate_limit_packets()
465 cvmx_write_csr(CVMX_PKO_MEM_PORT_RATE1, pko_mem_port_rate1.u64); in cvmx_pko_rate_limit_packets()
483 union cvmx_pko_mem_port_rate1 pko_mem_port_rate1; in cvmx_pko_rate_limit_bits() local
499 pko_mem_port_rate1.u64 = 0; in cvmx_pko_rate_limit_bits()
500 pko_mem_port_rate1.s.pid = port; in cvmx_pko_rate_limit_bits()
501 pko_mem_port_rate1.s.rate_lim = tokens_per_bit * burst / 256; in cvmx_pko_rate_limit_bits()
504 cvmx_write_csr(CVMX_PKO_MEM_PORT_RATE1, pko_mem_port_rate1.u64); in cvmx_pko_rate_limit_bits()