Lines Matching +full:ports +full:- +full:word +full:- +full:length
7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
44 * - PKO indexes are no longer stored in the FAU. A large
48 * - The PKO <b>use_locking</b> parameter can now have a global
52 * - PKO 3 word commands are now supported. Use
60 #include <asm/octeon/cvmx-fpa.h>
61 #include <asm/octeon/cvmx-pow.h>
62 #include <asm/octeon/cvmx-cmd-queue.h>
63 #include <asm/octeon/cvmx-pko-defs.h>
65 /* Adjust the command buffer size by 1 word so that in the case of using only
66 * two word PKO commands no command words stradle buffers. The useful values
136 /* The ID of the device on the non-coherent bus */
148 * The output queue to send the packet to (0-127 are
169 * Structure of the first packet output command word.
176 * The size of the reg1 operation - could be 8, 16,
181 * The size of the reg0 operation - could be 8, 16,
192 * non-zero.
197 /* The register, subtract will be done if reg0 is non-zero */
222 * If ipoffp1 is non zero, (ipoffp1-1) is the number
239 * set, also gather list length.
265 /* CSR typedefs have been moved to cvmx-csr-*.h */
305 * allowed to be 1-8. A value of 8 get 8 times the traffic
322 * @len: Length of the command in 64 bit words
353 * - CVMX_PKO_LOCK_NONE
354 * - PKO doesn't do any locking. It is the responsibility
357 * - CVMX_PKO_LOCK_ATOMIC_TAG
358 * - PKO performs an atomic tagswitch to insure exclusive
361 * - CVMX_PKO_LOCK_CMD_QUEUE
362 * - PKO uses the common command queue locks to insure
388 * which these fake values can be used - this is not a in cvmx_pko_send_packet_prepare()
409 * PKO HW command word
450 * PKO HW command word
493 * Returns Core-specific output queue
508 CVMX_PKO_QUEUES_PER_PORT_INTERFACE0 + (port - in cvmx_pko_get_base_queue_per_core()
515 CVMX_PKO_QUEUES_PER_PORT_INTERFACE1 + (port - in cvmx_pko_get_base_queue_per_core()
523 4 * CVMX_PKO_QUEUES_PER_PORT_PCI + (port - in cvmx_pko_get_base_queue_per_core()
527 /* Given the limit on the number of ports we can map to in cvmx_pko_get_base_queue_per_core()
529 * divided among all cores), the remaining unmapped ports in cvmx_pko_get_base_queue_per_core()
588 status->packets = pko_mem_count0.s.count; in cvmx_pko_get_port_status()
595 status->octets = pko_mem_count1.s.count; in cvmx_pko_get_port_status()
606 status->doorbell = debug9.cn38xx.doorbell; in cvmx_pko_get_port_status()
612 status->doorbell = debug8.cn50xx.doorbell; in cvmx_pko_get_port_status()