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 */
124 /* Microcontroller event IPA interrupt handler */
131 dev_err(dev, "microcontroller error event\n"); in ipa_uc_event_handler()
133 dev_err(dev, "unsupported microcontroller event %hhu\n", in ipa_uc_event_handler()
137 /* Microcontroller response IPA interrupt handler */
143 * microcontroller when it is operational. Other than this, the AP in ipa_uc_response_hdlr()
144 * should only receive responses from the microcontroller when it has in ipa_uc_response_hdlr()
148 * know the microcontroller has finished its initialization. in ipa_uc_response_hdlr()
157 "unsupported microcontroller response %hhu\n", in ipa_uc_response_hdlr()
163 /* ipa_uc_setup() - Set up the microcontroller */
166 /* The microcontroller needs the IPA clock running until it has in ipa_uc_setup()
190 /* Send a command to the microcontroller */
204 /* Tell the microcontroller the AP is shutting down */