Lines Matching defs:channel
167 static u32 gsi_channel_id(struct gsi_channel *channel) in gsi_channel_id()
173 static bool gsi_channel_initialized(struct gsi_channel *channel) in gsi_channel_initialized()
509 static enum gsi_channel_state gsi_channel_state(struct gsi_channel *channel) in gsi_channel_state()
525 gsi_channel_command(struct gsi_channel *channel, enum gsi_ch_cmd_opcode opcode) in gsi_channel_command()
555 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_alloc_command() local
581 static int gsi_channel_start_command(struct gsi_channel *channel) in gsi_channel_start_command()
608 static int gsi_channel_stop_command(struct gsi_channel *channel) in gsi_channel_stop_command()
646 static void gsi_channel_reset_command(struct gsi_channel *channel) in gsi_channel_reset_command()
676 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_de_alloc_command() local
776 static struct gsi_trans *gsi_channel_trans_last(struct gsi_channel *channel) in gsi_channel_trans_last()
810 static void gsi_channel_trans_quiesce(struct gsi_channel *channel) in gsi_channel_trans_quiesce()
823 static void gsi_channel_program(struct gsi_channel *channel, bool doorbell) in gsi_channel_program()
924 static int __gsi_channel_start(struct gsi_channel *channel, bool resume) in __gsi_channel_start()
945 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_start() local
961 static int gsi_channel_stop_retry(struct gsi_channel *channel) in gsi_channel_stop_retry()
976 static int __gsi_channel_stop(struct gsi_channel *channel, bool suspend) in __gsi_channel_stop()
1000 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_stop() local
1017 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_reset() local
1037 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_suspend() local
1053 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_resume() local
1072 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_tx_committed() local
1085 struct gsi_channel *channel; in gsi_trans_tx_queued() local
1118 struct gsi_channel *channel; in gsi_trans_tx_completed() local
1439 struct gsi_channel *channel; in gsi_event_trans() local
1586 void gsi_channel_doorbell(struct gsi_channel *channel) in gsi_channel_doorbell()
1601 void gsi_channel_update(struct gsi_channel *channel) in gsi_channel_update()
1649 static struct gsi_trans *gsi_channel_poll_one(struct gsi_channel *channel) in gsi_channel_poll_one()
1675 struct gsi_channel *channel; in gsi_channel_poll() local
1711 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_setup_one() local
1749 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_teardown_one() local
1885 struct gsi_channel *channel = &gsi->channel[channel_id++]; in gsi_channel_setup() local
2111 static int gsi_channel_evt_ring_init(struct gsi_channel *channel) in gsi_channel_evt_ring_init()
2138 static void gsi_channel_evt_ring_exit(struct gsi_channel *channel) in gsi_channel_evt_ring_exit()
2221 struct gsi_channel *channel; in gsi_channel_init_one() local
2282 static void gsi_channel_exit_one(struct gsi_channel *channel) in gsi_channel_exit_one()
2429 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_tre_max() local