Lines Matching full:microcontroller
16 * DOC: The IPA embedded microcontroller
18 * The IPA incorporates a microcontroller that is able to do some additional
20 * essentially no use of the microcontroller, but it still requires some
23 * The microcontroller can generate two interrupts to the AP. One interrupt
26 * addition, the AP can interrupt the microcontroller by writing a register.
30 * AP and the IPA microcontroller. Each side writes data to the shared area
38 /* Delay to allow a the microcontroller to save state when crashing */
42 * struct ipa_uc_mem_area - AP/microcontroller shared memory area
43 * @command: command code (AP->microcontroller)
45 * @command_param: low 32 bits of command parameter (AP->microcontroller)
46 * @command_param_hi: high 32 bits of command parameter (AP->microcontroller)
48 * @response: response code (microcontroller->AP)
50 * @response_param: response parameter (microcontroller->AP)
52 * @event: event code (microcontroller->AP)
54 * @event_param: event parameter (microcontroller->AP)
64 * communication with the microcontroller. The region is 128 bytes in
87 /** enum ipa_uc_command - commands from the AP to the microcontroller */
102 /** enum ipa_uc_response - microcontroller response codes */
110 /** enum ipa_uc_event - common cpu events reported by the microcontroller */
125 /* Microcontroller event IPA interrupt handler */
132 dev_err(dev, "microcontroller error event\n"); in ipa_uc_event_handler()
134 dev_err(dev, "unsupported microcontroller event %u\n", in ipa_uc_event_handler()
139 /* Microcontroller response IPA interrupt handler */
146 * microcontroller when it is operational. Other than this, the AP in ipa_uc_response_hdlr()
147 * should only receive responses from the microcontroller when it has in ipa_uc_response_hdlr()
151 * know the microcontroller has finished its initialization. in ipa_uc_response_hdlr()
165 dev_warn(dev, "unsupported microcontroller response %u\n", in ipa_uc_response_hdlr()
171 /* Configure the IPA microcontroller subsystem */
194 /* Take a proxy power reference for the microcontroller */
216 /* Send a command to the microcontroller */
230 /* Use an interrupt to tell the microcontroller the command is ready */ in send_uc_command()
236 /* Tell the microcontroller the AP is shutting down */