Lines Matching defs:channel
46 struct mutex start_mutex; /* channel activation synchronization */
70 struct most_channel *channel[MAX_CHANNELS];
115 * flush_channel_fifos - clear the channel fifos
116 * @c: pointer to channel object
150 * @c: pointer to channel object
528 * get_channel - get pointer to channel
530 * @mdev_ch: name of channel
831 * In case the MBO belongs to a channel that recently has been
861 * @c: pointer to interface channel
862 * @dir: direction of the channel
928 "Bad buffer or missing channel reference\n"))
939 * This recycles the MBO for further usage. In case the channel has been
956 struct most_channel *c = iface->p->channel[id];
978 * @id: channel ID
981 * This attempts to get a free buffer out of the channel fifo.
992 c = iface->p->channel[id];
1047 * In case the channel has been poisoned it puts the buffer in the trash queue.
1080 * most_start_channel - prepares a channel for communication
1082 * @id: channel ID
1085 * This prepares the channel for usage. Cross-checks whether the
1086 * channel's been properly configured.
1095 struct most_channel *c = iface->p->channel[id];
1155 * most_stop_channel - stops a running channel
1157 * @id: channel ID
1169 c = iface->p->channel[id];
1186 dev_err(&c->dev, "Failed to stop channel %d of interface %s\n", c->channel_id,
1196 dev_err(&c->dev, "Interrupted while cleaning up channel %d\n", c->channel_id);
1329 iface->p->channel[i] = c;
1352 dev_err(&c->dev, "Failed to register channel device\n");
1364 c = iface->p->channel[--i];
1387 c = iface->p->channel[i];
1409 * @id: channel id
1418 struct most_channel *c = iface->p->channel[id];
1432 * @id: channel id
1439 struct most_channel *c = iface->p->channel[id];