Lines Matching defs:queue
46 * maintaining PKO queue pointers. These are now stored in a
50 * queue locking correctly applies across all operating
62 #include <asm/octeon/cvmx-cmd-queue.h>
100 * the same queue at the same time
105 * to the output queue. This will maintain packet ordering on
110 * PKO uses the common command queue locks to insure exclusive
111 * access to the output queue. This is a memory based
144 * addition to the output queue,
148 * The output queue to send the packet to (0-127 are
151 uint64_t queue:9;
156 uint64_t queue:9;
211 * a work queue entry.
303 * @base_queue: First queue number to associate with this port.
305 * @priority: Array of priority levels for each queue. Values are
322 * @queue: Queue the packet is for
325 static inline void cvmx_pko_doorbell(uint64_t port, uint64_t queue,
335 ptr.s.queue = queue;
337 * Need to make sure output queue data is in DRAM before
346 * get exclusive access to the output queue structure, and
350 * and must be called with the same port/queue/use_locking arguments.
357 * is accessing the same queue at the same time.
360 * access to the output queue. This will maintain
363 * - PKO uses the common command queue locks to insure
364 * exclusive access to the output queue. This is a
372 * @queue: Queue to use
377 static inline void cvmx_pko_send_packet_prepare(uint64_t port, uint64_t queue,
395 (CVMX_TAG_SUBGROUP_MASK & queue);
408 * @queue: Queue to use
420 uint64_t queue,
428 result = cvmx_cmd_queue_write2(CVMX_CMD_QUEUE_PKO(queue),
432 cvmx_pko_doorbell(port, queue, 2);
449 * @queue: Queue to use
453 * @addr: Plysical address of a work queue entry or physical address
463 uint64_t queue,
472 result = cvmx_cmd_queue_write3(CVMX_CMD_QUEUE_PKO(queue),
476 cvmx_pko_doorbell(port, queue, 3);
487 * Return the pko output queue associated with a port and a specific core.
489 * is the base queue.
492 * @core: Core to get queue for
494 * Returns Core-specific output queue
531 * are assigned an illegal queue number */
536 * For a given port number, return the base pko output queue
540 * Returns Base output queue