Lines Matching full:gsi
27 struct gsi;
107 struct gsi *gsi; member
148 struct gsi { struct
165 * gsi_setup() - Set up the GSI subsystem
166 * @gsi: Address of GSI structure embedded in an IPA structure argument
171 * Performs initialization that must wait until the GSI hardware is
174 int gsi_setup(struct gsi *gsi, bool legacy);
177 * gsi_teardown() - Tear down GSI subsystem
178 * @gsi: GSI address previously passed to a successful gsi_setup() call
180 void gsi_teardown(struct gsi *gsi);
184 * @gsi: GSI pointer
189 u32 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id);
193 * @gsi: GSI pointer
198 u32 gsi_channel_trans_tre_max(struct gsi *gsi, u32 channel_id);
201 * gsi_channel_start() - Start an allocated GSI channel
202 * @gsi: GSI pointer
207 int gsi_channel_start(struct gsi *gsi, u32 channel_id);
210 * gsi_channel_stop() - Stop a started GSI channel
211 * @gsi: GSI pointer returned by gsi_setup()
216 int gsi_channel_stop(struct gsi *gsi, u32 channel_id);
219 * gsi_channel_reset() - Reset an allocated GSI channel
220 * @gsi: GSI pointer
227 * GSI hardware relinquishes ownership of all pending receive buffer
230 void gsi_channel_reset(struct gsi *gsi, u32 channel_id, bool legacy);
232 int gsi_channel_suspend(struct gsi *gsi, u32 channel_id, bool stop);
233 int gsi_channel_resume(struct gsi *gsi, u32 channel_id, bool start);
236 * gsi_init() - Initialize the GSI subsystem
237 * @gsi: Address of GSI structure embedded in an IPA structure
242 * Early stage initialization of the GSI subsystem, performing tasks
243 * that can be done before the GSI hardware is ready to use.
245 int gsi_init(struct gsi *gsi, struct platform_device *pdev, bool prefetch,
250 * gsi_exit() - Exit the GSI subsystem
251 * @gsi: GSI address previously passed to a successful gsi_init() call
253 void gsi_exit(struct gsi *gsi);