Lines Matching full:command
30 * Support functions for managing command queues used for
33 * The common command queue infrastructure abstracts out the
38 * they all use basic linked command buffers to store the
49 * Command queue pointers are stored in a global named block
84 * don't use it and it slows down the command queue processing
92 * Enumeration representing all hardware blocks that use command
94 * multiple command queues. Not all chips support all hardware
115 * Command write operations can fail if the command queue needs
117 * fail if the number of queued command words reaches the maximum
132 /* Maximum outstanding command words */
136 /* Top of command buffer pointer shifted 7 */
146 * This structure contains the global state of all command queues.
159 * Initialize a command queue for use. The initial FPA buffer is
161 * new command queue.
163 * @queue_id: Hardware command queue to initialize.
165 * @fpa_pool: FPA pool the command queues should come from.
175 * Shutdown a queue a free it's command buffers to the FPA. The
186 * Return the number of command words pending in the queue. This
189 * @queue_id: Hardware command queue to query
196 * Return the command buffer to be written to. The purpose of this
201 * @queue_id: Command queue to query
203 * Returns Command buffer or NULL on failure
312 * Write an arbitrary number of command words to a command queue.
313 * This is a generic function; the fixed number of command word
316 * @queue_id: Hardware command queue to write to
321 * @cmd_count: Number of command words to write
340 * exceed it. If any part of the command would be below the in cvmx_cmd_queue_write()
354 * the command. in cvmx_cmd_queue_write()
368 * We need a new command buffer. Fail if there isn't in cvmx_cmd_queue_write()
382 * Figure out how many command words will fit in this in cvmx_cmd_queue_write()
411 * Simple function to write two command words to a command
414 * @queue_id: Hardware command queue to write to
419 * @cmd1: Command
420 * @cmd2: Command
438 * exceed it. If any part of the command would be below the in cvmx_cmd_queue_write2()
452 * the command. in cvmx_cmd_queue_write2()
465 * Figure out how many command words will fit in this in cvmx_cmd_queue_write2()
471 * We need a new command buffer. Fail if there isn't in cvmx_cmd_queue_write2()
510 * Simple function to write three command words to a command
513 * @queue_id: Hardware command queue to write to
518 * @cmd1: Command
519 * @cmd2: Command
520 * @cmd3: Command
539 * exceed it. If any part of the command would be below the in cvmx_cmd_queue_write3()
553 * the command. in cvmx_cmd_queue_write3()
567 * Figure out how many command words will fit in this in cvmx_cmd_queue_write3()
573 * We need a new command buffer. Fail if there isn't in cvmx_cmd_queue_write3()