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.
302 * @base_queue: First queue number to associate with this port.
304 * @priority: Array of priority levels for each queue. Values are
321 * @queue: Queue the packet is for
324 static inline void cvmx_pko_doorbell(uint64_t port, uint64_t queue,
334 ptr.s.queue = queue;
336 * Need to make sure output queue data is in DRAM before
345 * get exclusive access to the output queue structure, and
349 * and must be called with the same port/queue/use_locking arguments.
356 * is accessing the same queue at the same time.
359 * access to the output queue. This will maintain
362 * - PKO uses the common command queue locks to insure
363 * exclusive access to the output queue. This is a
371 * @queue: Queue to use
376 static inline void cvmx_pko_send_packet_prepare(uint64_t port, uint64_t queue,
394 (CVMX_TAG_SUBGROUP_MASK & queue);
407 * @queue: Queue to use
419 uint64_t queue,
427 result = cvmx_cmd_queue_write2(CVMX_CMD_QUEUE_PKO(queue),
431 cvmx_pko_doorbell(port, queue, 2);
448 * @queue: Queue to use
452 * @addr: Plysical address of a work queue entry or physical address
462 uint64_t queue,
471 result = cvmx_cmd_queue_write3(CVMX_CMD_QUEUE_PKO(queue),
475 cvmx_pko_doorbell(port, queue, 3);
486 * Return the pko output queue associated with a port and a specific core.
488 * is the base queue.
491 * @core: Core to get queue for
493 * Returns Core-specific output queue
530 * are assigned an illegal queue number */
535 * For a given port number, return the base pko output queue
539 * Returns Base output queue