Lines Matching refs:most_channel
38 struct most_channel { struct
65 #define to_channel(d) container_of(d, struct most_channel, dev) argument
70 struct most_channel *channel[MAX_CHANNELS];
102 struct most_channel *c = mbo->context; in most_free_mbo_coherent()
118 static void flush_channel_fifos(struct most_channel *c) in flush_channel_fifos()
152 static int flush_trash_fifo(struct most_channel *c) in flush_trash_fifo()
172 struct most_channel *c = to_channel(dev); in available_directions_show()
188 struct most_channel *c = to_channel(dev); in available_datatypes_show()
208 struct most_channel *c = to_channel(dev); in number_of_packet_buffers_show()
219 struct most_channel *c = to_channel(dev); in number_of_stream_buffers_show()
230 struct most_channel *c = to_channel(dev); in size_of_packet_buffer_show()
241 struct most_channel *c = to_channel(dev); in size_of_stream_buffer_show()
252 struct most_channel *c = to_channel(dev); in channel_starving_show()
261 struct most_channel *c = to_channel(dev); in set_number_of_buffers_show()
270 struct most_channel *c = to_channel(dev); in set_buffer_size_show()
279 struct most_channel *c = to_channel(dev); in set_direction_show()
293 struct most_channel *c = to_channel(dev); in set_datatype_show()
307 struct most_channel *c = to_channel(dev); in set_subbuffer_size_show()
316 struct most_channel *c = to_channel(dev); in set_packets_per_xact_show()
324 struct most_channel *c = to_channel(dev); in set_dbr_size_show()
335 struct most_channel *c = to_channel(dev); in channel_attr_is_visible()
469 struct most_channel *c; in print_links()
532 static struct most_channel *get_channel(char *mdev, char *mdev_ch) in get_channel()
536 struct most_channel *c, *tmp; in get_channel()
551 inline int link_channel_to_component(struct most_channel *c, in link_channel_to_component()
578 struct most_channel *c = get_channel(mdev, mdev_ch); in most_set_cfg_buffer_size()
588 struct most_channel *c = get_channel(mdev, mdev_ch); in most_set_cfg_subbuffer_size()
598 struct most_channel *c = get_channel(mdev, mdev_ch); in most_set_cfg_dbr_size()
608 struct most_channel *c = get_channel(mdev, mdev_ch); in most_set_cfg_num_buffers()
619 struct most_channel *c = get_channel(mdev, mdev_ch); in most_set_cfg_datatype()
637 struct most_channel *c = get_channel(mdev, mdev_ch); in most_set_cfg_direction()
658 struct most_channel *c = get_channel(mdev, mdev_ch); in most_set_cfg_packets_xact()
680 struct most_channel *c = get_channel(mdev, mdev_ch); in most_add_link()
691 struct most_channel *c; in most_remove_link()
739 struct most_channel *c = mbo->context; in trash_mbo()
746 static bool hdm_mbo_ready(struct most_channel *c) in hdm_mbo_ready()
763 struct most_channel *c = mbo->context; in nq_hdm_mbo()
773 struct most_channel *c = data; in hdm_enqueue_thread()
811 static int run_enqueue_thread(struct most_channel *c, int channel_id) in run_enqueue_thread()
838 struct most_channel *c; in arm_mbo()
872 static int arm_mbo_chain(struct most_channel *c, int dir, in arm_mbo_chain()
944 struct most_channel *c; in most_write_completion()
956 struct most_channel *c = iface->p->channel[id]; in channel_has_mbo()
988 struct most_channel *c; in most_get_mbo()
1029 struct most_channel *c = mbo->context; in most_put_mbo()
1052 struct most_channel *c = mbo->context; in most_read_completion()
1095 struct most_channel *c = iface->p->channel[id]; in most_start_channel()
1163 struct most_channel *c; in most_stop_channel()
1233 struct most_channel *c, *tmp; in disconnect_channels()
1267 struct most_channel *c = to_channel(dev); in release_channel()
1283 struct most_channel *c; in most_register_interface()
1384 struct most_channel *c; in most_deregister_interface()
1418 struct most_channel *c = iface->p->channel[id]; in most_stop_enqueue()
1439 struct most_channel *c = iface->p->channel[id]; in most_resume_enqueue()