Lines Matching full:gsi
29 struct gsi;
109 struct gsi *gsi; member
148 struct gsi { struct
161 u32 type_enabled_bitmap; /* GSI IRQ types enabled */
169 * gsi_setup() - Set up the GSI subsystem
170 * @gsi: Address of GSI structure embedded in an IPA structure argument
174 * Performs initialization that must wait until the GSI hardware is
177 int gsi_setup(struct gsi *gsi);
180 * gsi_teardown() - Tear down GSI subsystem
181 * @gsi: GSI address previously passed to a successful gsi_setup() call
183 void gsi_teardown(struct gsi *gsi);
187 * @gsi: GSI pointer
192 u32 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id);
196 * @gsi: GSI pointer
201 u32 gsi_channel_trans_tre_max(struct gsi *gsi, u32 channel_id);
204 * gsi_channel_start() - Start an allocated GSI channel
205 * @gsi: GSI pointer
210 int gsi_channel_start(struct gsi *gsi, u32 channel_id);
213 * gsi_channel_stop() - Stop a started GSI channel
214 * @gsi: GSI pointer returned by gsi_setup()
219 int gsi_channel_stop(struct gsi *gsi, u32 channel_id);
222 * gsi_channel_reset() - Reset an allocated GSI channel
223 * @gsi: GSI pointer
230 * GSI hardware relinquishes ownership of all pending receive buffer
233 void gsi_channel_reset(struct gsi *gsi, u32 channel_id, bool doorbell);
236 * gsi_suspend() - Prepare the GSI subsystem for suspend
237 * @gsi: GSI pointer
239 void gsi_suspend(struct gsi *gsi);
242 * gsi_resume() - Resume the GSI subsystem following suspend
243 * @gsi: GSI pointer
245 void gsi_resume(struct gsi *gsi);
248 * gsi_channel_suspend() - Suspend a GSI channel
249 * @gsi: GSI pointer
254 int gsi_channel_suspend(struct gsi *gsi, u32 channel_id);
257 * gsi_channel_resume() - Resume a suspended GSI channel
258 * @gsi: GSI pointer
263 int gsi_channel_resume(struct gsi *gsi, u32 channel_id);
266 * gsi_init() - Initialize the GSI subsystem
267 * @gsi: Address of GSI structure embedded in an IPA structure
269 * @version: IPA hardware version (implies GSI version)
275 * Early stage initialization of the GSI subsystem, performing tasks
276 * that can be done before the GSI hardware is ready to use.
278 int gsi_init(struct gsi *gsi, struct platform_device *pdev,
283 * gsi_exit() - Exit the GSI subsystem
284 * @gsi: GSI address previously passed to a successful gsi_init() call
286 void gsi_exit(struct gsi *gsi);