Searched refs:hdm_ch (Results 1 – 1 of 1) sorted by relevance
161 static int try_start_dim_transfer(struct hdm_channel *hdm_ch) in try_start_dim_transfer() argument164 struct list_head *head = &hdm_ch->pending_list; in try_start_dim_transfer()169 BUG_ON(!hdm_ch); in try_start_dim_transfer()170 BUG_ON(!hdm_ch->is_initialized); in try_start_dim_transfer()178 if (!dim_get_channel_state(&hdm_ch->ch, &st)->ready) { in try_start_dim_transfer()186 if (dim_dbr_space(&hdm_ch->ch) < buf_size) { in try_start_dim_transfer()192 if (!dim_enqueue_buffer(&hdm_ch->ch, mbo->bus_address, buf_size)) { in try_start_dim_transfer()201 list_move_tail(head->next, &hdm_ch->started_list); in try_start_dim_transfer()264 struct hdm_channel *hdm_ch = dev->hch + ch_idx; in service_done_flag() local272 BUG_ON(!hdm_ch); in service_done_flag()[all …]