Lines Matching refs:smd_channel
134 * destroying smd_channel structures
148 static int smd_stream_read_avail(struct smd_channel *ch)
154 static int smd_stream_write_avail(struct smd_channel *ch)
160 static int smd_packet_read_avail(struct smd_channel *ch)
172 static int smd_packet_write_avail(struct smd_channel *ch)
178 static int ch_is_open(struct smd_channel *ch)
185 static unsigned ch_read_buffer(struct smd_channel *ch, void **ptr)
198 static void ch_read_done(struct smd_channel *ch, unsigned count)
209 static int ch_read(struct smd_channel *ch, void *_data, int len)
234 static void update_stream_state(struct smd_channel *ch)
239 static void update_packet_state(struct smd_channel *ch)
259 static unsigned ch_write_buffer(struct smd_channel *ch, void **ptr)
278 static void ch_write_done(struct smd_channel *ch, unsigned count)
285 static void ch_set_state(struct smd_channel *ch, unsigned n)
310 static void smd_state_change(struct smd_channel *ch,
336 struct smd_channel *ch;
397 static inline int smd_need_int(struct smd_channel *ch)
411 struct smd_channel *ch;
559 struct smd_channel *ch;
561 ch = kzalloc(sizeof(struct smd_channel), GFP_KERNEL);
655 struct smd_channel *smd_get_channel(const char *name)
657 struct smd_channel *ch;
675 struct smd_channel *ch;