Lines Matching full:gsi
14 #include "gsi.h"
237 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_trans_alloc() local
243 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc()
901 struct gsi *gsi; in ipa_endpoint_replenish() local
940 gsi = &endpoint->ipa->gsi; in ipa_endpoint_replenish()
941 if (backlog == gsi_channel_tre_max(gsi, endpoint->channel_id)) in ipa_endpoint_replenish()
948 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_replenish_enable() local
957 max_backlog = gsi_channel_tre_max(gsi, endpoint->channel_id); in ipa_endpoint_replenish_enable()
1208 * on its underlying GSI channel, a special sequence of actions must be
1217 struct gsi *gsi = &ipa->gsi; in ipa_endpoint_reset_rx_aggr() local
1244 gsi_channel_reset(gsi, endpoint->channel_id, false); in ipa_endpoint_reset_rx_aggr()
1250 ret = gsi_channel_start(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr()
1254 ret = gsi_trans_read_byte(gsi, endpoint->channel_id, addr); in ipa_endpoint_reset_rx_aggr()
1271 gsi_trans_read_byte_done(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr()
1273 ret = gsi_channel_stop(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr()
1283 gsi_channel_reset(gsi, endpoint->channel_id, legacy); in ipa_endpoint_reset_rx_aggr()
1290 (void)gsi_channel_stop(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr()
1311 * All other cases just need to reset the underlying GSI channel. in ipa_endpoint_reset()
1320 gsi_channel_reset(&ipa->gsi, channel_id, legacy); in ipa_endpoint_reset()
1348 struct gsi *gsi = &ipa->gsi; in ipa_endpoint_enable_one() local
1351 ret = gsi_channel_start(gsi, endpoint->channel_id); in ipa_endpoint_enable_one()
1375 struct gsi *gsi = &ipa->gsi; in ipa_endpoint_disable_one() local
1390 ret = gsi_channel_stop(gsi, endpoint->channel_id); in ipa_endpoint_disable_one()
1400 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_suspend_one() local
1414 ret = gsi_channel_suspend(gsi, endpoint->channel_id, stop_channel); in ipa_endpoint_suspend_one()
1423 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_resume_one() local
1435 ret = gsi_channel_resume(gsi, endpoint->channel_id, start_channel); in ipa_endpoint_resume_one()
1471 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_setup_one() local
1478 endpoint->trans_tre_max = gsi_channel_trans_tre_max(gsi, channel_id); in ipa_endpoint_setup_one()
1486 gsi_channel_tre_max(gsi, endpoint->channel_id)); in ipa_endpoint_setup_one()