Lines Matching refs:s
60 config.s.pool = CVMX_FPA_OUTPUT_BUFFER_POOL; in cvmx_pko_initialize_global()
61 config.s.size = CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE / 8 - 1; in cvmx_pko_initialize_global()
119 if (flags.s.ena_pko) in cvmx_pko_enable()
123 flags.s.ena_dwb = 1; in cvmx_pko_enable()
124 flags.s.ena_pko = 1; in cvmx_pko_enable()
129 flags.s.store_be = 1; in cvmx_pko_enable()
140 pko_reg_flags.s.ena_pko = 0; in cvmx_pko_disable()
152 pko_reg_flags.s.reset = 1; in __cvmx_pko_reset()
168 config.s.tail = 1; in cvmx_pko_shutdown()
169 config.s.index = 0; in cvmx_pko_shutdown()
170 config.s.port = CVMX_PKO_MEM_QUEUE_PTRS_ILLEGAL_PID; in cvmx_pko_shutdown()
171 config.s.queue = queue & 0x7f; in cvmx_pko_shutdown()
172 config.s.qos_mask = 0; in cvmx_pko_shutdown()
173 config.s.buf_ptr = 0; in cvmx_pko_shutdown()
177 config1.s.qid7 = queue >> 7; in cvmx_pko_shutdown()
301 config1.s.idx3 = queue >> 3; in cvmx_pko_config_port()
302 config1.s.qid7 = (base_queue + queue) >> 7; in cvmx_pko_config_port()
305 config.s.tail = queue == (num_queues - 1); in cvmx_pko_config_port()
306 config.s.index = queue; in cvmx_pko_config_port()
307 config.s.port = port; in cvmx_pko_config_port()
308 config.s.queue = base_queue + queue; in cvmx_pko_config_port()
311 config.s.static_p = static_priority_base >= 0; in cvmx_pko_config_port()
312 config.s.static_q = (int)queue <= static_priority_end; in cvmx_pko_config_port()
313 config.s.s_tail = (int)queue == static_priority_end; in cvmx_pko_config_port()
322 config.s.qos_mask = 0x00; in cvmx_pko_config_port()
325 config.s.qos_mask = 0x01; in cvmx_pko_config_port()
328 config.s.qos_mask = 0x11; in cvmx_pko_config_port()
331 config.s.qos_mask = 0x49; in cvmx_pko_config_port()
334 config.s.qos_mask = 0x55; in cvmx_pko_config_port()
337 config.s.qos_mask = 0x57; in cvmx_pko_config_port()
340 config.s.qos_mask = 0x77; in cvmx_pko_config_port()
343 config.s.qos_mask = 0x7f; in cvmx_pko_config_port()
346 config.s.qos_mask = 0xff; in cvmx_pko_config_port()
351 config.s.qos_mask = 0xff; in cvmx_pko_config_port()
358 config.s.qos_mask = 0xff; in cvmx_pko_config_port()
397 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr); in cvmx_pko_config_port()
399 config.s.buf_ptr = 0; in cvmx_pko_config_port()
454 pko_mem_port_rate0.s.pid = port; in cvmx_pko_rate_limit_packets()
455 pko_mem_port_rate0.s.rate_pkt = in cvmx_pko_rate_limit_packets()
458 pko_mem_port_rate0.s.rate_word = 0; in cvmx_pko_rate_limit_packets()
461 pko_mem_port_rate1.s.pid = port; in cvmx_pko_rate_limit_packets()
462 pko_mem_port_rate1.s.rate_lim = in cvmx_pko_rate_limit_packets()
463 ((uint64_t) pko_mem_port_rate0.s.rate_pkt * burst) >> 8; in cvmx_pko_rate_limit_packets()
489 pko_mem_port_rate0.s.pid = port; in cvmx_pko_rate_limit_bits()
496 pko_mem_port_rate0.s.rate_pkt = (12 + 8 + 4) * 8 * tokens_per_bit / 256; in cvmx_pko_rate_limit_bits()
498 pko_mem_port_rate0.s.rate_word = 64 * tokens_per_bit; in cvmx_pko_rate_limit_bits()
501 pko_mem_port_rate1.s.pid = port; in cvmx_pko_rate_limit_bits()
502 pko_mem_port_rate1.s.rate_lim = tokens_per_bit * burst / 256; in cvmx_pko_rate_limit_bits()