Home
last modified time | relevance | path

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

/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-pko.c611 uint64_t tokens_per_bit = clock_rate * 16 / bits_s; in cvmx_pko_rate_limit_bits() local
621 pko_mem_port_rate0.s.rate_pkt = (12 + 8 + 4) * 8 * tokens_per_bit / 256; in cvmx_pko_rate_limit_bits()
623 pko_mem_port_rate0.s.rate_word = 64 * tokens_per_bit; 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()