Lines Matching full:microcontroller

19  * DOC:  The IPA embedded microcontroller
21 * The IPA incorporates a microcontroller that is able to do some additional
23 * essentially no use of the microcontroller, but it still requires some
26 * The microcontroller can generate two interrupts to the AP. One interrupt
29 * addition, the AP can interrupt the microcontroller by writing a register.
33 * AP and the IPA microcontroller. Each side writes data to the shared area
41 /* Delay to allow a the microcontroller to save state when crashing */
45 * struct ipa_uc_mem_area - AP/microcontroller shared memory area
46 * @command: command code (AP->microcontroller)
48 * @command_param: low 32 bits of command parameter (AP->microcontroller)
49 * @command_param_hi: high 32 bits of command parameter (AP->microcontroller)
51 * @response: response code (microcontroller->AP)
53 * @response_param: response parameter (microcontroller->AP)
55 * @event: event code (microcontroller->AP)
57 * @event_param: event parameter (microcontroller->AP)
67 * communication with the microcontroller. The region is 128 bytes in
90 /** enum ipa_uc_command - commands from the AP to the microcontroller */
105 /** enum ipa_uc_response - microcontroller response codes */
113 /** enum ipa_uc_event - common cpu events reported by the microcontroller */
128 /* Microcontroller event IPA interrupt handler */
135 dev_err(dev, "microcontroller error event\n"); in ipa_uc_event_handler()
137 dev_err(dev, "unsupported microcontroller event %u\n", in ipa_uc_event_handler()
142 /* Microcontroller response IPA interrupt handler */
149 * microcontroller when it is operational. Other than this, the AP in ipa_uc_response_hdlr()
150 * should only receive responses from the microcontroller when it has in ipa_uc_response_hdlr()
154 * know the microcontroller has finished its initialization. in ipa_uc_response_hdlr()
169 dev_warn(dev, "unsupported microcontroller response %u\n", in ipa_uc_response_hdlr()
184 /* Configure the IPA microcontroller subsystem */
210 /* Take a proxy power reference for the microcontroller */
231 /* Send a command to the microcontroller */
245 /* Use an interrupt to tell the microcontroller the command is ready */ in send_uc_command()
252 /* Tell the microcontroller the AP is shutting down */