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()
903 struct gsi *gsi; in ipa_endpoint_replenish() local
942 gsi = &endpoint->ipa->gsi; in ipa_endpoint_replenish()
943 if (backlog == gsi_channel_tre_max(gsi, endpoint->channel_id)) in ipa_endpoint_replenish()
950 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_replenish_enable() local
959 max_backlog = gsi_channel_tre_max(gsi, endpoint->channel_id); in ipa_endpoint_replenish_enable()
1210 * on its underlying GSI channel, a special sequence of actions must be
1219 struct gsi *gsi = &ipa->gsi; in ipa_endpoint_reset_rx_aggr() local
1246 gsi_channel_reset(gsi, endpoint->channel_id, false); in ipa_endpoint_reset_rx_aggr()
1252 ret = gsi_channel_start(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr()
1256 ret = gsi_trans_read_byte(gsi, endpoint->channel_id, addr); in ipa_endpoint_reset_rx_aggr()
1273 gsi_trans_read_byte_done(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr()
1275 ret = gsi_channel_stop(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr()
1285 gsi_channel_reset(gsi, endpoint->channel_id, legacy); in ipa_endpoint_reset_rx_aggr()
1292 (void)gsi_channel_stop(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr()
1313 * All other cases just need to reset the underlying GSI channel. in ipa_endpoint_reset()
1322 gsi_channel_reset(&ipa->gsi, channel_id, legacy); in ipa_endpoint_reset()
1350 struct gsi *gsi = &ipa->gsi; in ipa_endpoint_enable_one() local
1353 ret = gsi_channel_start(gsi, endpoint->channel_id); in ipa_endpoint_enable_one()
1377 struct gsi *gsi = &ipa->gsi; in ipa_endpoint_disable_one() local
1392 ret = gsi_channel_stop(gsi, endpoint->channel_id); in ipa_endpoint_disable_one()
1402 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_suspend_one() local
1416 ret = gsi_channel_suspend(gsi, endpoint->channel_id, stop_channel); in ipa_endpoint_suspend_one()
1425 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_resume_one() local
1437 ret = gsi_channel_resume(gsi, endpoint->channel_id, start_channel); in ipa_endpoint_resume_one()
1473 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_setup_one() local
1480 endpoint->trans_tre_max = gsi_channel_trans_tre_max(gsi, channel_id); in ipa_endpoint_setup_one()
1488 gsi_channel_tre_max(gsi, endpoint->channel_id)); in ipa_endpoint_setup_one()