Home
last modified time | relevance | path

Searched refs:hdm_ch (Results 1 – 1 of 1) sorted by relevance

/drivers/staging/most/dim2/
Ddim2.c158 static int try_start_dim_transfer(struct hdm_channel *hdm_ch) in try_start_dim_transfer() argument
161 struct list_head *head = &hdm_ch->pending_list; in try_start_dim_transfer()
166 BUG_ON(!hdm_ch); in try_start_dim_transfer()
167 BUG_ON(!hdm_ch->is_initialized); in try_start_dim_transfer()
175 if (!dim_get_channel_state(&hdm_ch->ch, &st)->ready) { in try_start_dim_transfer()
183 if (dim_dbr_space(&hdm_ch->ch) < buf_size) { in try_start_dim_transfer()
189 if (!dim_enqueue_buffer(&hdm_ch->ch, mbo->bus_address, buf_size)) { in try_start_dim_transfer()
198 list_move_tail(head->next, &hdm_ch->started_list); in try_start_dim_transfer()
261 struct hdm_channel *hdm_ch = dev->hch + ch_idx; in service_done_flag() local
269 BUG_ON(!hdm_ch); in service_done_flag()
[all …]