Lines Matching refs:prev_table
99 * chain the tables, by insteting a chain bd at the end of prev_table, pointing
102 static inline void chain_table(struct bd_table *prev_table,
107 prev_table->start_bd[bd_p_tab-1].offset[0] =
110 prev_table->start_bd[bd_p_tab-1].offset[1] =
113 prev_table->start_bd[bd_p_tab-1].offset[2] =
116 prev_table->start_bd[bd_p_tab-1].offset[3] =
123 struct bd_table *prev_table = NULL;
165 "index:%d start_bd:%p dma=%08llx prev_table:%p\n",
167 (unsigned long long)bd_table->dma, prev_table);
170 if (prev_table)
171 chain_table(prev_table, bd_table, bd_p_tab);
173 prev_table = bd_table;
175 chain_table(prev_table, ep->bd_list.bd_table_array[0], bd_p_tab);