Lines Matching full:mc

5  * I/O services to send MC commands to the MC hardware
15 #include <linux/fsl/mc.h>
17 #include "fsl-mc-private.h"
20 * Timeout in milliseconds to wait for the completion of an MC command
26 * iterations while waiting for MC command completion
86 return "Unknown MC error"; in mc_status_to_string()
92 * mc_write_command - writes a command to a Management Complex (MC) portal
94 * @portal: pointer to an MC portal
116 * mc_read_response - reads the response for the last MC command from a
117 * Management Complex (MC) portal
119 * @portal: pointer to an MC portal
131 /* Copy command response header from MC portal: */ in mc_read_response()
137 /* Copy command response data from MC portal: */ in mc_read_response()
151 * Waits for the completion of an MC command doing preemptible polling.
154 * @mc_io: MC I/O object to be used
155 * @cmd: command buffer to receive MC response
156 * @mc_status: MC command completion status
167 * Wait for response from the MC hardware: in mc_polling_wait_preemptible()
175 * TODO: When MC command completion interrupts are supported in mc_polling_wait_preemptible()
183 "MC command timed out (portal: %pa, dprc handle: %#x, command: %#x)\n", in mc_polling_wait_preemptible()
197 * Waits for the completion of an MC command doing atomic polling.
200 * @mc_io: MC I/O object to be used
201 * @cmd: command buffer to receive MC response
202 * @mc_status: MC command completion status
223 "MC command timed out (portal: %pa, dprc handle: %#x, command: %#x)\n", in mc_polling_wait_atomic()
237 * Sends a command to the MC device using the given MC I/O object
239 * @mc_io: MC I/O object to be used
259 * Send command to the MC hardware: in mc_send_command()
264 * Wait for response from the MC hardware: in mc_send_command()
276 "MC command failed: portal: %pa, dprc handle: %#x, command: %#x, status: %s (%#x)\n", in mc_send_command()