Lines Matching refs:current_d
183 struct dma_descr_data current_d; member
277 cpu_physical_memory_read(addr, &ctrl->channels[c].current_d, in channel_load_d()
278 sizeof(ctrl->channels[c].current_d)); in channel_load_d()
280 D(dump_d(c, &ctrl->channels[c].current_d)); in channel_load_d()
290 D(dump_d(c, &ctrl->channels[c].current_d)); in channel_store_c()
301 cpu_physical_memory_write(addr, &ctrl->channels[c].current_d, in channel_store_d()
302 sizeof(ctrl->channels[c].current_d)); in channel_store_d()
330 || !ctrl->channels[c].current_d.eol) { in channel_continue()
336 D(dump_d(c, &ctrl->channels[c].current_d)); in channel_continue()
345 if (!ctrl->channels[c].current_d.eol && ctrl->channels[c].eol) { in channel_continue()
347 ctrl->channels[c].current_d.next)); in channel_continue()
349 (uint32_t)(unsigned long)ctrl->channels[c].current_d.next; in channel_continue()
352 (uint32_t)(unsigned long)ctrl->channels[c].current_d.buf; in channel_continue()
357 (uint32_t)(unsigned long)ctrl->channels[c].current_d.buf; in channel_continue()
411 (uint32_t)ctrl->channels[c].current_d.buf, in channel_out_run()
412 (uint32_t)ctrl->channels[c].current_d.after)); in channel_out_run()
416 meta.metadata = ctrl->channels[c].current_d.md; in channel_out_run()
427 ctrl->channels[c].current_d.after; in channel_out_run()
435 ctrl->channels[c].current_d.after) && in channel_out_run()
436 ctrl->channels[c].current_d.out_eop; in channel_out_run()
455 ctrl->channels[c].current_d.after) { in channel_out_run()
457 if (ctrl->channels[c].current_d.out_eop) { in channel_out_run()
460 if (ctrl->channels[c].current_d.intr) { in channel_out_run()
463 len, ctrl->channels[c].current_d.eol)); in channel_out_run()
468 if (ctrl->channels[c].current_d.eol) { in channel_out_run()
480 channels[c].current_d.next; in channel_out_run()
484 ctrl->channels[c].current_d.buf; in channel_out_run()
489 D(dump_d(c, &ctrl->channels[c].current_d)); in channel_out_run()
507 len = (uint32_t)(unsigned long)ctrl->channels[c].current_d.after; in channel_in_process()
517 (uint32_t)(unsigned long)ctrl->channels[c].current_d.after in channel_in_process()
522 ctrl->channels[c].current_d.after in channel_in_process()
523 - ctrl->channels[c].current_d.buf)); in channel_in_process()
524 ctrl->channels[c].current_d.after = saved_data_buf; in channel_in_process()
527 if (ctrl->channels[c].current_d.intr) { in channel_in_process()
533 ctrl->channels[c].current_d.in_eop = 1; in channel_in_process()
540 D(dump_d(c, &ctrl->channels[c].current_d)); in channel_in_process()
542 if (ctrl->channels[c].current_d.eol) { in channel_in_process()
554 channels[c].current_d.next; in channel_in_process()
558 ctrl->channels[c].current_d.buf; in channel_in_process()