Lines Matching full:microcontroller
17 * DOC: The IPA embedded microcontroller
19 * The IPA incorporates a microcontroller that is able to do some additional
21 * essentially no use of the microcontroller, but it still requires some
24 * The microcontroller can generate two interrupts to the AP. One interrupt
27 * addition, the AP can interrupt the microcontroller by writing a register.
31 * AP and the IPA microcontroller. Each side writes data to the shared area
39 /* Delay to allow a the microcontroller to save state when crashing */
43 * struct ipa_uc_mem_area - AP/microcontroller shared memory area
44 * @command: command code (AP->microcontroller)
46 * @command_param: low 32 bits of command parameter (AP->microcontroller)
47 * @command_param_hi: high 32 bits of command parameter (AP->microcontroller)
49 * @response: response code (microcontroller->AP)
51 * @response_param: response parameter (microcontroller->AP)
53 * @event: event code (microcontroller->AP)
55 * @event_param: event parameter (microcontroller->AP)
65 * communication with the microcontroller. The region is 128 bytes in
88 /** enum ipa_uc_command - commands from the AP to the microcontroller */
103 /** enum ipa_uc_response - microcontroller response codes */
111 /** enum ipa_uc_event - common cpu events reported by the microcontroller */
126 /* Microcontroller event IPA interrupt handler */
133 dev_err(dev, "microcontroller error event\n"); in ipa_uc_event_handler()
135 dev_err(dev, "unsupported microcontroller event %u\n", in ipa_uc_event_handler()
140 /* Microcontroller response IPA interrupt handler */
147 * microcontroller when it is operational. Other than this, the AP in ipa_uc_response_hdlr()
148 * should only receive responses from the microcontroller when it has in ipa_uc_response_hdlr()
152 * know the microcontroller has finished its initialization. in ipa_uc_response_hdlr()
167 dev_warn(dev, "unsupported microcontroller response %u\n", in ipa_uc_response_hdlr()
182 /* Configure the IPA microcontroller subsystem */
208 /* Take a proxy power reference for the microcontroller */
230 /* Send a command to the microcontroller */
244 /* Use an interrupt to tell the microcontroller the command is ready */ in send_uc_command()
251 /* Tell the microcontroller the AP is shutting down */