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 * mc_polling_wait_preemptible() - Waits for the completion of an MC
155 * @mc_io: MC I/O object to be used
156 * @cmd: command buffer to receive MC response
157 * @mc_status: MC command completion status
168 * Wait for response from the MC hardware: in mc_polling_wait_preemptible()
176 * TODO: When MC command completion interrupts are supported in mc_polling_wait_preemptible()
184 "MC command timed out (portal: %pa, dprc handle: %#x, command: %#x)\n", in mc_polling_wait_preemptible()
198 * mc_polling_wait_atomic() - Waits for the completion of an MC command
201 * @mc_io: MC I/O object to be used
202 * @cmd: command buffer to receive MC response
203 * @mc_status: MC command completion status
224 "MC command timed out (portal: %pa, dprc handle: %#x, command: %#x)\n", in mc_polling_wait_atomic()
238 * mc_send_command() - Sends a command to the MC device using the given
239 * MC I/O object
240 * @mc_io: MC I/O object to be used
260 * Send command to the MC hardware: in mc_send_command()
265 * Wait for response from the MC hardware: in mc_send_command()
277 "MC command failed: portal: %pa, dprc handle: %#x, command: %#x, status: %s (%#x)\n", in mc_send_command()