Lines Matching full:gsi

29 struct gsi;
104 struct gsi *gsi; member
140 struct gsi { struct
151 u32 type_enabled_bitmap; /* GSI IRQ types enabled */
154 struct completion completion; /* Signals GSI command completion */
162 * gsi_setup() - Set up the GSI subsystem
163 * @gsi: Address of GSI structure embedded in an IPA structure argument
167 * Performs initialization that must wait until the GSI hardware is
170 int gsi_setup(struct gsi *gsi);
173 * gsi_teardown() - Tear down GSI subsystem
174 * @gsi: GSI address previously passed to a successful gsi_setup() call
176 void gsi_teardown(struct gsi *gsi);
180 * @gsi: GSI pointer
185 u32 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id);
188 * gsi_channel_start() - Start an allocated GSI channel
189 * @gsi: GSI pointer
194 int gsi_channel_start(struct gsi *gsi, u32 channel_id);
197 * gsi_channel_stop() - Stop a started GSI channel
198 * @gsi: GSI pointer returned by gsi_setup()
203 int gsi_channel_stop(struct gsi *gsi, u32 channel_id);
207 * @gsi: GSI pointer returned by gsi_setup()
211 void gsi_modem_channel_flow_control(struct gsi *gsi, u32 channel_id,
215 * gsi_channel_reset() - Reset an allocated GSI channel
216 * @gsi: GSI pointer
223 * GSI hardware relinquishes ownership of all pending receive buffer
226 void gsi_channel_reset(struct gsi *gsi, u32 channel_id, bool doorbell);
229 * gsi_suspend() - Prepare the GSI subsystem for suspend
230 * @gsi: GSI pointer
232 void gsi_suspend(struct gsi *gsi);
235 * gsi_resume() - Resume the GSI subsystem following suspend
236 * @gsi: GSI pointer
238 void gsi_resume(struct gsi *gsi);
241 * gsi_channel_suspend() - Suspend a GSI channel
242 * @gsi: GSI pointer
247 int gsi_channel_suspend(struct gsi *gsi, u32 channel_id);
250 * gsi_channel_resume() - Resume a suspended GSI channel
251 * @gsi: GSI pointer
256 int gsi_channel_resume(struct gsi *gsi, u32 channel_id);
259 * gsi_init() - Initialize the GSI subsystem
260 * @gsi: Address of GSI structure embedded in an IPA structure
262 * @version: IPA hardware version (implies GSI version)
268 * Early stage initialization of the GSI subsystem, performing tasks
269 * that can be done before the GSI hardware is ready to use.
271 int gsi_init(struct gsi *gsi, struct platform_device *pdev,
276 * gsi_exit() - Exit the GSI subsystem
277 * @gsi: GSI address previously passed to a successful gsi_init() call
279 void gsi_exit(struct gsi *gsi);